Detection rules › Sigma

PowerShell Web Access Feature Enabled Via DISM

Severity
high
Author
Michael Haag
Source
upstream

Detects the use of DISM to enable the PowerShell Web Access feature, which could be used for remote access and potential abuse

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
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|endswith: '\dism.exe'
OriginalFileName: DISM.EXE

Stage 2: all of selection_cli

CommandLine|contains: '/enable-feature'
CommandLine|contains: '/online'
CommandLine|contains: WindowsPowerShellWebAccess

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
  • /enable-feature
  • /online
  • WindowsPowerShellWebAccess
Imageends_with
  • \dism.exe corpus 4 (sigma 4)
OriginalFileNameeq
  • DISM.EXE