Basic Linux Malware Process Forensics for Incident Responders
We going to do some basic Linux malware process forensics using the command line and some simple investigation techniques for incident responders.
1 min read
Sandfly Security - Agentless Linux EDR and Incident Response Published Updated
A big myth around investigating Linux ransomware and malware is that the first tool you need is a debugger and deep knowledge of assembly to understand what it does. It’s easy for admins and security personnel responding to an incident to get discouraged by the thought. But, we’re going to let you in on a secret: For live process investigations it is unusual to need to pull out the debugger and in fact it has particular risks.
Most Linux malware, ransomware and suspicious activity can be investigated using simple and fast command line methods that are easy to use, especially when under pressure, to find out what is going on quickly. Attaching a debugger to a live process often is the last thing you want to do for a variety of reasons:
The fourth point is not academic. There has been an increase in malware with anti-debugging and anti-sandbox detection techniques in place. Running any kind of debugger before doing basic investigations on the host can be seriously counter-productive.
If you want a simple plan to investigate a suspicious Linux process, check out this article on command line tools that are less invasive and can provide immediate information on what Linux malware may be doing on a host.
We going to do some basic Linux malware process forensics using the command line and some simple investigation techniques for incident responders.
How to investigate fileless malware on Linux for different distributions: Ubuntu, Debian, Redhat, Suse, Fedora, Raspberry Pi, Arch Linux, CentOS......
How to investigate Linux systems for reverse bindshell backdoors using openssl as an encrypted tunnel to avoid detection.