Detection rules › Sigma
Potential Suspicious Windows Feature Enabled - ProcCreation
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
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A 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.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|