{"id":"91109523-17f0-4248-a800-f81d9e7c081d","title":"PowerShell WMI Win32_Product Install MSI","description":"Detects the execution of an MSI file using PowerShell and the WMI Win32_Product class","author":"frack113","status":"test","level":"medium","date":"2022-04-24","modified":"","tags":["attack.stealth","attack.t1218.007"],"technique_ids":["T1218.007"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.007/T1218.007.md"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_win32_product_install_msi.yml","source_sha256":"39e0ceb2eab52addf6b072be316c493b43e13c2b779cc314e0dc3887f5a9fa45","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_win32_product_install_msi.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 WMI Win32_Product Install MSI\nid: 91109523-17f0-4248-a800-f81d9e7c081d\nstatus: test\ndescription: Detects the execution of an MSI file using PowerShell and the WMI Win32_Product class\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.007/T1218.007.md\nauthor: frack113\ndate: 2022-04-24\ntags:\n    - attack.stealth\n    - attack.t1218.007\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection:\n        ScriptBlockText|contains|all:\n            - 'Invoke-CimMethod '\n            - '-ClassName '\n            - 'Win32_Product '\n            - '-MethodName '\n            - '.msi'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1218.007","id":"T1218.007","name":"Msiexec","page":"techniques/enterprise/T1218.007/"}],"data_path":"data/detection-rules/91109523-17f0-4248-a800-f81d9e7c081d.json","kind":"sigma"}
