Full SigmaHQ catalog

Author
frack113
Rule ID
1f6399cf-2c80-4924-ace1-6fcff3393480
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2022-02-12
MITRE ATT&CK
T1018

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|all:
            - 'New-Object '
            - 'System.DirectoryServices.DirectorySearcher'
            - '.PropertiesToLoad.Add'
            - '.findall()'
            - 'Properties.name'
    condition: selection
falsepositives:
    - Unknown