Detection rules › Sigma

Add DisallowRun Execution to Registry

Status
test
Severity
medium
Log source
category registry_set, product windows
Author
frack113
Source
github.com/SigmaHQ/sigma

Detect set DisallowRun to 1 to prevent user running specific computer program

MITRE ATT&CK coverage

TacticTechniques
Persistence
Defense Impairment

Telemetry coverage

Rule body

title: Add DisallowRun Execution to Registry
id: 275641a5-a492-45e2-a817-7c81e9d9d3e9
status: test
description: Detect set DisallowRun to 1 to prevent user running specific computer program
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/40b77d63808dd4f4eafb83949805636735a1fd15/atomics/T1112/T1112.md
author: frack113
date: 2022-08-19
modified: 2023-08-17
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|endswith: 'Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun'
        Details: 'DWORD (0x00000001)'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith: 'Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun'
    Details: 'DWORD (0x00000001)'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailseq
  • DWORD (0x00000001) corpus 40 (sigma 36, chronicle 4)
field:"Details" kind:eq value:"DWORD (0x00000001)"
TargetObjectends_with
  • Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun
field:"TargetObject" kind:ends_with value:"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun"