{"id":"7e8f2d3b-9c1a-4f67-b9e8-8d9006e0e51f","title":"PowerShell Web Access Feature Enabled Via DISM","description":"Detects the use of DISM to enable the PowerShell Web Access feature, which could be used for remote access and potential abuse","author":"Michael Haag","status":"test","level":"high","date":"2024-09-03","modified":"","tags":["attack.privilege-escalation","attack.persistence","attack.t1548.002"],"technique_ids":["T1548.002"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate PowerShell Web Access installations by administrators"],"references":["https://docs.microsoft.com/en-us/powershell/module/dism/enable-windowsoptionalfeature","https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-241a","https://gist.github.com/MHaggis/7e67b659af9148fa593cf2402edebb41"],"source_path":"rules/windows/process_creation/proc_creation_win_dism_enable_powershell_web_access_feature.yml","source_sha256":"51de13392e2b0a9ad6328e5bfa0172d6bdefa2777d77eb53efb613d6b997f334","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_dism_enable_powershell_web_access_feature.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: PowerShell Web Access Feature Enabled Via DISM\nid: 7e8f2d3b-9c1a-4f67-b9e8-8d9006e0e51f\nstatus: test\ndescription: Detects the use of DISM to enable the PowerShell Web Access feature, which could be used for remote access and potential abuse\nreferences:\n    - https://docs.microsoft.com/en-us/powershell/module/dism/enable-windowsoptionalfeature\n    - https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-241a\n    - https://gist.github.com/MHaggis/7e67b659af9148fa593cf2402edebb41\nauthor: Michael Haag\ndate: 2024-09-03\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.t1548.002\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\dism.exe'\n        - OriginalFileName: 'DISM.EXE'\n    selection_cli:\n        CommandLine|contains|all:\n            - 'WindowsPowerShellWebAccess'\n            - '/online'\n            - '/enable-feature'\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate PowerShell Web Access installations by administrators\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1548.002","id":"T1548.002","name":"Bypass User Account Control","page":"techniques/enterprise/T1548.002/"}],"data_path":"data/detection-rules/7e8f2d3b-9c1a-4f67-b9e8-8d9006e0e51f.json","kind":"sigma"}
