Shell Invocation via Env Command - Linux
Detects the use of the env command to invoke a shell. This may indicate an attempt to bypass restricted environments, escalate privileges, or execute arbitrary commands.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSNetwork Devices
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
- Github operations such as ghe-backup
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/env/#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
- bed978f8-7f3a-432b-82c5-9286a9b3031a
- Tagged by the source as
- attack.execution
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Aug 26, 2026
- Version
- 1