Service DACL Abuse To Hide Services Via Sc.EXE
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects usage of the "sc.exe" utility adding a new service with special permission seen used by threat actors which makes the service hidden and unremovable.
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 "DCLCWPDTSD")
select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME,Action1.DOMAIN,Action1.ORIGINALFILENAME,Action1.PARENTPROCESSID,Action1.PROCESSID,Action1.PRODUCT_NAME,Action1.SECURITYID
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Andreas Hunkeler (@Karneades)


