kqlElastic-2.0from elastic/detection-rules
Unusual SSHD Child Process
Quality
92
FP risk
—
Forks
0
Views
0
Rule sourcerules/linux/persistence_unusual_sshd_child_process.toml
event.category:process and host.os.type:linux and event.type:start and event.action:(exec or ProcessRollup2) and
process.parent.name:sshd and process.args_count:2 and process.parent.args:"-D" 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) or
process.executable:/var/tmp/foreman-ssh-cmd*/script
)