Suspicious Service Creation With Batch File Command Line
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects a new Windows service registry ImagePath invoking cmd.exe against a batch file.
Severity
Trouble
Rule Requirement
Criteria
Action1:
actionname = "Registry Event" AND OBJECTNAME contains "\System\CurrentControlSet,System\ControlSet" AND ( OBJECTNAME endswith "\ImagePath" OR OBJECTVALUENAME = "ImagePath" ) AND (( INFORMATION contains "cmd.exe /c" AND INFORMATION contains ".bat" ) OR ( CHANGES contains "cmd.exe /c" AND CHANGES contains ".bat" ))
select Action1.HOSTNAME,Action1.MESSAGE,Action1.PROCESSNAME,Action1.OBJECTNAME,Action1.OBJECTVALUENAME,Action1.ACCESSES,Action1.USERNAME,Action1.DOMAIN,Action1.PREVVAL,Action1.CHANGES,Action1.INFORMATION
Detection
Execution Mode
continuous
Log Sources
Windows


