Defender Exclusion Added via PowerShell

Severity highWindowsSingle eventexperimentalsigma.powershell_defender_exclusion · v1.0.0

What it detects

Adding a Microsoft Defender exclusion — security-tool tampering

MITRE ATT&CK mapping

  • T1562.001Impair Defenses: Disable or Modify Tools· Defense Evasion

False positives and triage

Converted from Sigma; review before enabling.

The rule

Declarative YAML read by the detection engine — data, never executed. Confidence 70%. Source: rules/sigma/sigma.powershell_defender_exclusion.yaml, licensed under the Detection Rule License 1.1.

id: sigma.powershell_defender_exclusion
version: 1.0.0
status: experimental
severity: high
confidence: 0.7
platforms:
- windows
mitre_techniques:
- T1562.001
description: Adding a Microsoft Defender exclusion — security-tool tampering (Sigma sample)
match:
  event_category: process
  command_line_contains_any:
  - Add-MpPreference
  - Set-MpPreference
  - ExclusionPath
  - ExclusionProcess
  - DisableRealtimeMonitoring
false_positive_guidance: Converted from Sigma; review before enabling.

Adapted from the SigmaHQ rule “Defender Exclusion Added via PowerShell”, distributed under the Detection Rule License 1.1. SigmaHQ.

Related detections

Run this rule on your own logs — offline

KIROSEC runs this rule and the rest of the library over Windows, Linux, macOS and cloud audit logs on the analyst's own machine. Every alert links to the events that raised it, and nothing leaves the device.

Browse all detections