Detection rules › Sigma
Suspicious New Service Creation
Detects creation of a new service via "sc" command or the powershell "new-service" cmdlet with suspicious binary paths
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1543.003 Create or Modify System Process: Windows Service |
| Privilege Escalation | T1543.003 Create or Modify System Process: Windows Service |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A new process has been created. |
Stages and Predicates
Stage 1: 1 of selection_sc
CommandLine|contains: 'binPath='
CommandLine|contains: create
Image|endswith: '\sc.exe'
Stage 2: 1 of selection_posh
CommandLine|contains: -BinaryPathName
CommandLine|contains: New-Service
Stage 3: susp_binpath
or:
CommandLine|contains: 'C:\Users\Public'
CommandLine|contains: 'C:\Windows\TEMP\'
CommandLine|contains: '\AppData\Local\Temp'
CommandLine|contains: '\Desktop\'
CommandLine|contains: '\Downloads\'
CommandLine|contains: '\Microsoft\Windows\Start Menu\Programs\Startup\'
CommandLine|contains: 'cmd '
CommandLine|contains: 'cmd.exe /c'
CommandLine|contains: 'cmd.exe /k'
CommandLine|contains: 'cmd.exe /r'
CommandLine|contains: cscript
CommandLine|contains: dllhost
CommandLine|contains: mshta
CommandLine|contains: powershell
CommandLine|contains: rundll32
CommandLine|contains: svchost
CommandLine|contains: wscript
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|