Detection rules › Sigma

Registry Persistence via Explorer Run Key

Severity
high
Author
Florian Roth (Nextron Systems), oscd.community
Source
upstream

Detects a possible persistence mechanism using RUN key for Windows Explorer and pointing to a suspicious folder

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
Privilege EscalationT1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: selection

or:
Details|contains: ':\$Recycle.bin\'
Details|contains: ':\ProgramData\'
Details|contains: ':\Temp\'
Details|contains: ':\Users\Default\'
Details|contains: ':\Users\Public\'
Details|contains: ':\Windows\Temp\'
Details|contains: '\AppData\Local\Temp\'
TargetObject|endswith: '\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'

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
Detailsmatch
  • :\$Recycle.bin\
  • :\ProgramData\ corpus 2 (sigma 2)
  • :\Temp\ corpus 2 (sigma 2)
  • :\Users\Default\
  • :\Users\Public\ corpus 4 (sigma 4)
  • :\Windows\Temp\ corpus 4 (sigma 4)
  • \AppData\Local\Temp\ corpus 9 (sigma 9)
TargetObjectends_with
  • \Microsoft\Windows\CurrentVersion\Policies\Explorer\Run