endpoint(opens in a new tab or window)
event.category:process and host.os.type:windows and event.type:start and process.name:(net.exe or sc.exe or taskkill.exe) and
process.args:(stop or pause or delete or "/PID" or "/IM" or "/T" or "/F" or "/t" or "/f" or "/im" or "/pid") and
not process.parent.name:(osquerybeat.exe or agentbeat.exe)
Install detection rules in Elastic Security
Detect High Number of Process and/or Service Terminations 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).