Full SigmaHQ catalog

Author
frack113
Rule ID
0332a266-b584-47b4-933d-a00b103e1b37
Collection
Deprecated
Log source
windows / ps_script
Severity
low
Maturity
deprecated
First published
2022-01-12
Updated
2023-12-11
MITRE ATT&CK
T1546

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        ScriptBlockText|contains:
            - 'Get-WmiObject'
            - 'gwmi'
    filter_cl_utility:
        Path|endswith: '\CL_Utility.ps1'
        ScriptBlockText|contains|all:
            - 'function Get-FreeSpace'
            - 'SELECT * FROM Win32_LogicalDisk WHERE MediaType=12'
    condition: selection and not 1 of filter_*
falsepositives:
    - Legitimate PowerShell scripts