cscli scenarios install sigmahq/proc_creation_win_dism_enable_powershell_web_access_feature
1type: trigger2name: sigmahq/proc_creation_win_dism_enable_powershell_web_access_feature3description: |4 Detects the use of DISM to enable the PowerShell Web Access feature, which could be used for remote access and potential abuse5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith '\\dism.exe' || evt.Parsed.OriginalFileName == 'DISM.EXE') && evt.Parsed.CommandLine contains 'WindowsPowerShellWebAccess' && evt.Parsed.CommandLine contains '/online' && evt.Parsed.CommandLine contains '/enable-feature')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1548.0021516 label: "PowerShell Web Access Feature Enabled Via DISM"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324