Execution (TA0002)(external, opens in a new tab or window)
Command and Control (TA0011)(external, opens in a new tab or window)
text code block:host.os.type:linux and event.category:process and event.type:start and event.action:(exec or ProcessRollup2) and process.name:mkfifo and process.parent.name:(bash or csh or dash or fish or ksh or sh or tcsh or zsh) and process.args:((/dev/shm/* or /tmp/* or /var/tmp/*) and not /*fifo*)
Install detection rules in Elastic Security
Detect Suspicious Named Pipe Creation in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).