sequence by host.id, process.parent.name with maxspan=1m
[process where host.os.type == "linux" and process.name == "ps" and event.action in ("exec", "start", "exec_event")
and process.args in ("-eo", "pid", "command")]
[process where host.os.type == "linux" and process.name == "strings" and event.action in ("exec", "start", "exec_event")
and process.args : "/tmp/*"]
Install detection rules in Elastic Security
Detect Potential Linux Credential Dumping via Proc Filesystem 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(opens in a new tab or window).