Service StartupType Change Via Sc.EXE

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detect the use of "sc.exe" to change the startup type of a service to "disabled" or "demand"

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\sc.exe" OR ORIGINALFILENAME = "sc.exe") AND ((COMMANDLINE contains " config " AND COMMANDLINE contains "start") AND COMMANDLINE contains "disabled,demand") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)