Detection rules › Sigma

Potential Suspicious Windows Feature Enabled - ProcCreation

Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects usage of the built-in PowerShell cmdlet "Enable-WindowsOptionalFeature" used as a Deployment Image Servicing and Management tool. Similar to DISM.exe, this cmdlet is used to enumerate, install, uninstall, configure, and update features and packages in Windows images

Event coverage

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

Stages and Predicates

Stage 1: all of selection_cmd

CommandLine|contains: -FeatureName
CommandLine|contains: -Online
CommandLine|contains: Enable-WindowsOptionalFeature

Stage 2: all of selection_feature

or:
CommandLine|contains: Client-ProjFS
CommandLine|contains: Internet-Explorer-Optional-amd64
CommandLine|contains: 'Microsoft-Windows-Subsystem-Linux'
CommandLine|contains: SMB1Protocol
CommandLine|contains: TFTP
CommandLine|contains: TelnetServer

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
  • -FeatureName
  • -Online
  • Client-ProjFS
  • Enable-WindowsOptionalFeature
  • Internet-Explorer-Optional-amd64
  • Microsoft-Windows-Subsystem-Linux
  • SMB1Protocol
  • TFTP
  • TelnetServer