Persistence (TA0003)(external, opens in a new tab or window)
Lateral Movement (TA0008)(external, opens in a new tab or window)
Command and Control (TA0011)(external, opens in a new tab or window)
text code block:event.category:process and host.os.type:linux and event.type:start and event.action:(exec or ProcessRollup2) and process.parent.name:(ssh or sshd) and process.args_count:2 and not ( process.command_line:(-bash or -zsh or -sh) or process.name:(ractrans or exectask or tty or tput or ferny-askpass or id or ip) )
Install detection rules in Elastic Security
Detect Unusual SSHD Child Process 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).