Full SigmaHQ catalog

Author
frack113, Nasreddine Bencherchali
Rule ID
9e620995-f2d8-4630-8430-4afd89f77604
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2023-01-22

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 enable'
detection:
    selection_generic:
        ScriptBlockText|contains|all:
            - 'Import-Module '
            - 'Microsoft.ActiveDirectory.Management.dll'
    selection_specific:
        ScriptBlockText|contains: 'ipmo Microsoft.ActiveDirectory.Management.dll'
    condition: 1 of selection_*
falsepositives:
    - Legitimate use of the library for administrative activity