Falco high stable other
Reverse Shell from Web Server
Detects common reverse shell patterns spawned from web server processes. Attackers frequently establish reverse shells after exploiting web vulnerabilities to maintain interactive access to the compromised system. This rule looks for specific command patterns known to create reverse shells, including bash /dev/tcp redirects, netcat with -e flag, and common scripting language reverse shell idioms.
Detection Logic
spawned_process and spawned_by_web_server and (proc.cmdline contains "/dev/tcp/" or
proc.cmdline contains "nc -e" or
proc.cmdline contains "ncat -e" or
proc.cmdline contains "bash -i" or
proc.cmdline contains "python -c 'import socket" or
proc.cmdline contains "python3 -c 'import socket" or
proc.cmdline contains "perl -e 'use Socket" or
proc.cmdline contains "ruby -rsocket" or
(proc.cmdline contains "mkfifo" and proc.cmdline contains "/tmp")) Field Validations
Loading…
Comments (0)
Loading comments...