Detection rules › Sigma

Sticky Key Like Backdoor Execution

Severity
critical
Author
Florian Roth (Nextron Systems), @twjackomo, Jonhnathan Ribeiro, oscd.community
Source
upstream

Detects the usage and installation of a backdoor that uses an option to register a malicious debugger for built-in tools that are accessible in the login screen

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1546.008 Event Triggered Execution: Accessibility Features
Privilege EscalationT1546.008 Event Triggered Execution: Accessibility Features

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

or:
CommandLine|contains: DisplaySwitch.exe
CommandLine|contains: Magnify.exe
CommandLine|contains: Narrator.exe
CommandLine|contains: osk.exe
CommandLine|contains: sethc.exe
CommandLine|contains: utilman.exe
or:
Image|endswith: '\cmd.exe'
Image|endswith: '\cscript.exe'
Image|endswith: '\mshta.exe'
Image|endswith: '\powershell.exe'
Image|endswith: '\pwsh.exe'
Image|endswith: '\regsvr32.exe'
Image|endswith: '\rundll32.exe'
Image|endswith: '\wscript.exe'
Image|endswith: '\wt.exe'
ParentImage|endswith: '\winlogon.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.

FieldKindValues
CommandLinematch
  • DisplaySwitch.exe
  • Magnify.exe
  • Narrator.exe
  • osk.exe corpus 2 (sigma 2)
  • sethc.exe corpus 2 (sigma 2)
  • utilman.exe corpus 2 (sigma 2)
Imageends_with
  • \cmd.exe corpus 92 (sigma 92)
  • \cscript.exe corpus 64 (sigma 64)
  • \mshta.exe corpus 57 (sigma 57)
  • \powershell.exe corpus 143 (sigma 143)
  • \pwsh.exe corpus 140 (sigma 140)
  • \regsvr32.exe corpus 57 (sigma 57)
  • \rundll32.exe corpus 76 (sigma 76)
  • \wscript.exe corpus 64 (sigma 64)
  • \wt.exe corpus 4 (sigma 4)
ParentImageends_with
  • \winlogon.exe corpus 3 (sigma 3)