Detection rules › Sigma
Deny Service Access Using Security Descriptor Tampering Via Sc.EXE
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.
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 |
Stages and Predicates
Stage 1: all of selection_sc
or:
Image|endswith: '\sc.exe'
OriginalFileName: sc.exe
Stage 2: all of selection_sdset
CommandLine|contains: 'D;'
CommandLine|contains: sdset
Stage 3: all of selection_trustee
or:
CommandLine|contains: ';BA'
CommandLine|contains: ';IU'
CommandLine|contains: ';SU'
CommandLine|contains: ';SY'
CommandLine|contains: ';WD'
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 |
|
OriginalFileName | eq |
|