Sigma rule: PowerShell Defender Threat Severity Default Action Set to 'Allow' or 'NoAction'

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e241d1465061, updated 2025-07-11T00:00:00.000Z.

Rule

Title
PowerShell Defender Threat Severity Default Action Set to 'Allow' or 'NoAction'
Status
experimental
Level
high
Author
Matt Anderson (Huntress)
Date
2025-07-11
File
rules/windows/process_creation/proc_creation_win_defender_default_action_modified.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the use of PowerShell to execute the 'Set-MpPreference' cmdlet to configure Windows Defender's threat severity default action to 'Allow' (value '6') or 'NoAction' (value '9').
This is a highly suspicious configuration change that effectively disables Defender's ability to automatically mitigate threats of a certain severity level.
An attacker might use this technique via the command line to bypass defenses before executing payloads.

Log source

product
windows
category
process_creation

Detection

selection_cmdlet:
    CommandLine|contains: 'Set-MpPreference'
selection_action:
    CommandLine|contains:
        - '-LowThreatDefaultAction'
        - '-ModerateThreatDefaultAction'
        - '-HighThreatDefaultAction'
        - '-SevereThreatDefaultAction'
        - '-ltdefac '
        - '-mtdefac '
        - '-htdefac '
        - '-stdefac '
selection_value:
    CommandLine|contains:
        - 'Allow'
        - '6'
        - 'NoAction'
        - '9'
condition: all of selection_*

False positives (as the rule lists them)

  • Highly unlikely

Tags

  • attack.defense-impairment
  • attack.t1685

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_defender_default_action_modified.yml

Sources and licences

  • SigmaHQ

    "PowerShell Defender Threat Severity Default Action Set to 'Allow' or 'NoAction'" by Matt Anderson (Huntress) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_defender_default_action_modified.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: PowerShell Defender Threat Severity Default Action Set to 'Allow' or 'NoAction'",
entity page, dataset version ref-e241d1465061, updated 2025-07-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1e8a9b4d-3c2a-4f9b-8d1e-7c6a5b4f3d2e (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1e8a9b4d-3c2a-4f9b-8d1e-7c6a5b4f3d2e, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.