Stop Windows Service Via Sc.EXE

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the stopping of a Windows service via the "sc.exe" utility

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (ORIGINALFILENAME = "sc.exe" OR PROCESSNAME endswith "\sc.exe") AND COMMANDLINE contains " stop " 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)