Lateral Movement (TA0008)(opens in a new tab or window)
sequence by process.entity_id with maxspan = 1m
[process where host.os.type == "windows" and event.type == "start" and
(process.name : "sc.exe" or process.pe.original_file_name : "sc.exe") and
process.args : "\\\\*" and process.args : ("binPath=*", "binpath=*") and
process.args : ("create", "config", "failure", "start")]
[network where host.os.type == "windows" and process.name : "sc.exe" and destination.ip != "127.0.0.1"]
Install detection rules in Elastic Security
Detect Service Command Lateral Movement 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).