Full SigmaHQ catalog

Author
Norbert Jaƛniewicz (AlphaSOC)
Rule ID
4ff4ad3e-9fb5-4a70-9962-d6ea58090318
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
experimental
First published
2026-10-06
MITRE ATT&CK
T1027, T1059.001

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_module_export_enum:
        ScriptBlockText|contains:
            - 'Get-Module '
            - 'gmo '
        ScriptBlockText|contains|all:
            - 'ListAvailable'
            - 'Microsoft.PowerShell.Utility'
            - 'ExportedCommands'
            - 'Values'
    selection_index_used:
        ScriptBlockText|contains: '[*]'
    condition: all of selection_*
falsepositives:
    - Legitimate use of exported commands array indexing in PowerShell scripts (should be rare)