Elastic low stable kql
Unusual SSHD Child Process
This rule detects the creation of an unusual SSHD child process through the usage of the "new_terms" rule type. Attackers may abuse SSH to maintain persistence on a compromised system, or to establish a backdoor for remote access, potentially resulting in an unusual SSHD child process being created.
Detection Logic
event.category:process and host.os.type:linux and event.type:start and event.action:exec and
process.parent.name:(sshd or sshd-session) and process.parent.args:"-D" and process.interactive:false and
process.previous.executable:(
"/bin/bash" or "/usr/bin/bash" or "/usr/bin/dash" or "/bin/dash" or "/usr/bin/sh" or "/bin/sh" or
"/usr/bin/tcsh" or "/bin/tcsh" or "/usr/bin/csh" or "/bin/csh" or "/usr/bin/zsh" or "/bin/zsh" or
"/usr/bin/ksh" or "/bin/ksh" or "/usr/bin/fish" or "/bin/fish" or "/usr/bin/mksh" or "/bin/mksh"
) and process.previous.args:"-c" Field Validations
Loading…
Comments (0)
Loading comments...