Detection rules › Kusto Query Language

Potential Fodhelper UAC Bypass

Source
upstream

'This detection looks for the steps required to conduct a UAC bypass using Fodhelper.exe. By default this detection looks for the setting of the required registry keys and the invoking of the process within 1 hour - this can be tweaked as required.'

MITRE ATT&CK coverage

TacticTechniques
Privilege EscalationT1548.002 Abuse Elevation Control Mechanism: Bypass User Account Control
Defense EvasionT1548.002 Abuse Elevation Control Mechanism: Bypass User Account Control

Event coverage

ProviderEvent IDTitle
Security-Auditing4657A registry value was modified.
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: source

SecurityEvent

Stage 2: where

EventID eq "4657"

Stage 3: parse

Stage 4: project-reorder

Stage 5: where

RegistryKey match "Software\\\\Classes\\\\ms-settings\\\\shell\\\\open\\\\command"

Stage 6: extend

Stage 7: join

Stage 8: extend

Stage 9: extend

Stage 10: extend

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
EventIDeq
  • 4657
RegistryKeymatch
  • Software\\Classes\\ms-settings\\shell\\open\\command