Stop Windows Service Via PowerShell Stop-Service
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects the stopping of a Windows service via the PowerShell Cmdlet "Stop-Service"
Severity
Attention
Rule Requirement
Criteria
Action1: actionname = "Process started" AND (ORIGINALFILENAME = "PowerShell.EXE,pwsh.dll" OR PROCESSNAME endswith "\powershell.exe,\pwsh.exe") AND COMMANDLINE contains "Stop-Service " select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)


