Shell Execution GCC - Linux
Detects the use of the "gcc" utility to execute a shell. Such behavior may be associated with privilege escalation, unauthorized command execution, or to break out from restricted environments.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSNetwork DevicesWindows
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
- Unknown
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 |
|---|---|
| gtfobins.github.io/gtfobins/c89/#shell | 4from 3 sources |
| gtfobins.github.io/gtfobins/c99/#shell | 4from 3 sources |
| gtfobins.github.io/gtfobins/gcc/#shell | 3from 2 sources |
| www.elastic.co/guide/en/security/current/linux-restricted-shell-breakout-via-linux-binary-s.html | 7 |
From the source
- At source
- Open at source
- Upstream identifier
- 9b5de532-a757-4d70-946c-1f3e44f48b4d
- Tagged by the source as
- attack.discovery
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Aug 26, 2026
- Version
- 1