Detection rules › Sigma

New Service Creation Using Sc.EXE

Severity
low
Author
Timur Zinniatullin, Daniil Yugoslavskiy, oscd.community
Source
upstream

Detects the creation of a new service using the "sc.exe" utility.

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1543.003 Create or Modify System Process: Windows Service
Privilege EscalationT1543.003 Create or Modify System Process: Windows Service

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

CommandLine|contains: binPath
CommandLine|contains: create
Image|endswith: '\sc.exe'

Stage 2: not 1 of filter_optional_dropbox

or:
ParentImage|startswith: 'C:\Program Files (x86)\Dropbox\Client\'
ParentImage|startswith: 'C:\Program Files\Dropbox\Client\'
ParentImage|endswith: '\Dropbox.exe'

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.

FieldKindValues
CommandLinematch
  • binPath corpus 4 (sigma 4)
  • create corpus 8 (sigma 8)
Imageends_with
  • \sc.exe corpus 17 (sigma 17)
ParentImageends_with
  • \Dropbox.exe corpus 2 (sigma 2)
ParentImagestarts_with
  • C:\Program Files (x86)\Dropbox\Client\
  • C:\Program Files\Dropbox\Client\