Suspicious Invocation of Shell via AWK - Linux
Description
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.
Query · sigma
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_*
Known false positives
- Unknown