Detectionlowtest
Docker Container Discovery Via Dockerenv Listing
Detects listing or file reading of ".dockerenv" which can be a sing of potential container discovery
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
Image|endswith:
# Note: add additional tools and utilities to increase coverage
- '/cat'
- '/dir'
- '/find'
- '/ls'
- '/stat'
- '/test'
- 'grep'
CommandLine|endswith: '.dockerenv'
condition: selectionFalse Positives
Legitimate system administrator usage of these commands
Some container tools or deployments may use these techniques natively to determine how they proceed with execution, and will need to be filtered
MITRE ATT&CK
Tactics
Techniques
Rule Metadata
Rule ID
11701de9-d5a5-44aa-8238-84252f131895
Status
test
Level
low
Type
Detection
Created
Wed Aug 23
Author
Path
rules/linux/process_creation/proc_creation_lnx_susp_dockerenv_recon.yml
Raw Tags
attack.discoveryattack.t1082