Detection rules › Sigma
Allow Service Access Using Security Descriptor Tampering Via Sc.EXE
Detects suspicious DACL modifications to allow access to a service from a suspicious trustee. This can be used to override access restrictions set by previous ACLs.
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: 'A;'
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'
Stage 4: not 1 of filter_optional_hexnode
ParentImage: 'C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.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.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
OriginalFileName | eq |
|
ParentImage | eq |
|