Potential Netcat Reverse Shell Execution
Detects execution of netcat with the "-e" or "-c" flags followed by common shells, which are commonly used to spawn reverse shells.
Detection logic
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- linux
- Log source category
- process_creation
Known benign triggers
- Unlikely
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| man7.org/linux/man-pages/man1/ncat.1.html | Only this detection cites it |
| pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet | 10 |
| www.hackingtutorials.org/networking/hacking-netcat-part-2-bind-reverse-shells/ | Only this detection cites it |
| www.infosecademy.com/netcat-reverse-shells/ | Only this detection cites it |
| www.revshells.com | 12 |
From the source
- At source
- Open at source
- Upstream identifier
- 7f734ed0-4f47-46c0-837f-6ee62505abd9
- Tagged by the source as
- attack.execution
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Sep 25, 2026
- Version
- 2