Sigma rule: Suspicious Invocation of Shell via AWK - Linux
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-2cccdf56681f, updated 2024-09-02T00:00:00.000Z.
Rule
- Title
- Suspicious Invocation of Shell via AWK - Linux
- Status
- test
- Level
- high
- Author
- Li Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.)
- Date
- 2024-09-02
- File
- rules/linux/process_creation/proc_creation_lnx_awk_shell_spawn.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the execution of "awk" or it's sibling commands, to invoke a shell using the system() function.
This behavior is commonly associated with attempts to execute arbitrary commands or escalate privileges, potentially leading to unauthorized access or further exploitation.
Log source
- product
- linux
- category
- process_creation
Detection
selection_img:
Image|endswith:
- '/awk'
- '/gawk'
- '/mawk'
- '/nawk'
CommandLine|contains: 'BEGIN {system'
selection_cli:
CommandLine|contains:
- '/bin/bash'
- '/bin/dash'
- '/bin/fish'
- '/bin/sh'
- '/bin/zsh'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.t1059
MITRE ATT&CK ids this rule names
References
- https://gtfobins.github.io/gtfobins/awk/#shell
- https://gtfobins.github.io/gtfobins/gawk/#shell
- https://gtfobins.github.io/gtfobins/nawk/#shell
- https://gtfobins.github.io/gtfobins/mawk/#shell
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_awk_shell_spawn.yml
Sources and licences
SigmaHQ
"Suspicious Invocation of Shell via AWK - Linux" by Li Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_awk_shell_spawn.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Invocation of Shell via AWK - Linux",
entity page, dataset version ref-2cccdf56681f, updated 2024-09-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/8c1a5675-cb85-452f-a298-b01b22a51856 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 8c1a5675-cb85-452f-a298-b01b22a51856, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.