Full SigmaHQ catalog

Author
Nasreddine Bencherchali (Nextron Systems)
Rule ID
15b7abbb-8b40-4d01-9ee2-b51994b1d474
Collection
Deprecated
Log source
windows / ps_script
Severity
medium
Maturity
deprecated
First published
2022-10-26
Updated
2026-03-01

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:
            - 'Set-Mailbox '
            - ' -DeliverToMailboxAndForward '
            - ' -ForwardingSmtpAddress '
    condition: selection
falsepositives:
    - Legitimate usage of the cmdlet to forward emails