Detection rules › Sigma
Non-privileged Usage of Reg or Powershell
Search for usage of reg or Powershell by non-privileged users to modify service configuration in registry
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1112 Modify Registry |
| Defense Evasion | T1112 Modify Registry |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A new process has been created. |
Stages and Predicates
Stage 1: all of selection_cli
or:
CommandLine|contains: add
CommandLine|contains: 'reg '
CommandLine|contains: ' sp '
CommandLine|contains: new-itemproperty
CommandLine|contains: powershell
CommandLine|contains: set-itemproperty
Stage 2: all of selection_data
or:
CommandLine|contains: FailureCommand
CommandLine|contains: ImagePath
CommandLine|contains: ServiceDLL
IntegrityLevel: [Medium, S-1-16-8192]
CommandLine|contains: ControlSet
CommandLine|contains: Services
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 |
|
IntegrityLevel | eq |
|