PowerShell WMI Win32_Product Install MSI

Detects the execution of an MSI file using PowerShell and the WMI Win32_Product class

Sigma rule (View on GitHub)

 1title: PowerShell WMI Win32_Product Install MSI
 2id: 91109523-17f0-4248-a800-f81d9e7c081d
 3status: test
 4description: Detects the execution of an MSI file using PowerShell and the WMI Win32_Product class
 5references:
 6    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.007/T1218.007.md
 7author: frack113
 8date: 2022-04-24
 9tags:
10    - attack.defense-evasion
11    - attack.t1218.007
12logsource:
13    product: windows
14    category: ps_script
15    definition: 'Requirements: Script Block Logging must be enabled'
16detection:
17    selection:
18        ScriptBlockText|contains|all:
19            - 'Invoke-CimMethod '
20            - '-ClassName '
21            - 'Win32_Product '
22            - '-MethodName '
23            - '.msi'
24    condition: selection
25falsepositives:
26    - Unknown
27level: medium

References

Related rules

to-top