Full SigmaHQ catalog

Author
frack113
Rule ID
adf876b3-f1f8-4aa9-a4e4-a64106feec06
Collection
Core
Log source
windows / ps_script
Severity
medium
Maturity
test
First published
2022-01-23
MITRE ATT&CK
T1571

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:
            - Test-NetConnection
            - '-ComputerName '
            - '-port '
    filter:
        ScriptBlockText|contains:
            - ' 443 '
            - ' 80 '
    condition: selection and not filter
falsepositives:
    - Legitimate administrative script