Potential Ruby Reverse Shell
Detects execution of ruby with the "-e" flag and calls to "socket" related functions. This could be an indication of a potential attempt to setup a reverse shell
Detection logic
Detection requirements
- Log source product
- linux
- Log source category
- process_creation
Known benign triggers
- Unknown
MITRE ATT&CK mappings
Not mapped to ATT&CK.
References
| Reference | Cited by |
|---|---|
| pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet | 10 |
| www.revshells.com | 12 |
From the source
- At source
- Open at source
- Upstream identifier
- b8bdac18-c06e-4016-ac30-221553e74f59
- Tagged by the source as
- attack.execution
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1