Deny Service Access Using Security Descriptor Tampering Via Sc.EXE

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects suspicious DACL modifications to deny access to a service that affects critical trustees. This can be used to hide services or make them unstoppable.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\sc.exe" OR ORIGINALFILENAME = "sc.exe") AND (COMMANDLINE contains "sdset" AND COMMANDLINE contains "D;") AND COMMANDLINE contains ";IU,;SU,;BA,;SY,;WD" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Jonhnathan Ribeiro, oscd.community