Full SigmaHQ catalog

Author
Nasreddine Bencherchali (Nextron Systems)
Rule ID
ae2bdd58-0681-48ac-be7f-58ab4e593458
Collection
Core
Log source
windows / ps_script
Severity
high
Maturity
test
First published
2022-08-05
MITRE ATT&CK
T1685

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_remove:
        ScriptBlockText|contains: 'Remove-MpPreference'
    selection_tamper:
        ScriptBlockText|contains:
            - '-ControlledFolderAccessProtectedFolders '
            - '-AttackSurfaceReductionRules_Ids '
            - '-AttackSurfaceReductionRules_Actions '
            - '-CheckForSignaturesBeforeRunningScan '
    condition: all of selection_*
falsepositives:
    - Legitimate PowerShell scripts