Threat reportThreat IntelligenceTL-2026-2824
Attackers Abuse Microsoft Defender Exclusions with HideExclusionsFromLocalAdmins to Evade Antivirus Scans
Attackers with local administrator privileges pair Microsoft Defender Antivirus exclusions with the HideExclusionsFromLocalAdmins policy setting, creating hidden blind spots where malware runs unscanned and exclusions no longer appear through standard admin tooling such as Get-MpPreference. Huntress research (published 2026-09-30) documents the technique and detection approaches; no CVE is involved.
Key facts
| Identifiers | TL-2026-2824 |
|---|---|
| Severity | HIGH |
| First disclosed | |
| Affected products | Microsoft Microsoft Defender Antivirus |
| Malware | GootKit, LunarWeb - S1141, WhisperGate - S0689 |
| Tools | GootKit, Turla |
| MITRE ATT&CK techniques | T1012 Query Registry, T1047 Windows Management Instrumentation, T1059.001 Command and Scripting Interpreter: PowerShell, T1112 Modify Registry, T1564.012 Hide Artifacts: File/Path Exclusions, T1685 Disable or Modify Tools |
| Motivation | UNKNOWN |
| Detection rules | 9 (1 shown free) |
| Sources | 9 cited sources |
Detection coverage
As of 2026-10-01, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-2824 across Splunk SPL, Microsoft KQL and Sigma, covering 10 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: HideExclusionsFromLocalAdmins Policy Value Set or Removed
Detects creation or modification of HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\HideExclusionsFromLocalAdmins. When set to 1 outside approved Intune/GPO policy, it hides Defender exclusions from Get-MpPreference, Registry Editor and Windows Security, creating a blind spot for responders. The setting does not stop exclusion creation, so this is the signature of an attacker concealing exclusions they added.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1562.001, T1112, T1564.012
- Data sources: sysmon, windows_registry, DeviceRegistryEvents
- Severity: high
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode IN (12,13) TargetObject="*\\Windows Defender\\HideExclusionsFromLocalAdmins" earliest=-24h
```Hide flag written; DWORD 0x00000001 enables hiding```
| eval hide_enabled=if(match(Details,"0x00000001"),"yes","no")
| stats count min(_time) as first_seen max(_time) as last_seen values(Details) as value_data values(hide_enabled) as hide_enabled values(TargetObject) as registry_value by host, User, Image
| convert ctime(first_seen) ctime(last_seen)Microsoft KQL
DeviceRegistryEvents
| where Timestamp > ago(24h)
| where RegistryValueName =~ "HideExclusionsFromLocalAdmins"
| where ActionType in ("RegistryValueSet", "RegistryValueDeleted")
| extend HideEnabled = iff(RegistryValueData in ("1", "0x1", "0x00000001"), true, false)
| project Timestamp, DeviceName, ActionType, HideEnabled, RegistryKey, RegistryValueName, RegistryValueData, InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessAccountName
| order by Timestamp descSigma
title: Defender HideExclusionsFromLocalAdmins Registry Value Set
id: 7b2e9d14-61a3-4c85-a0f7-2c8d5e913b02
status: experimental
description: Detects a write to the HideExclusionsFromLocalAdmins Microsoft Defender policy value. When enabled outside approved policy it conceals Defender exclusions from local administrators, Get-MpPreference, Registry Editor and Windows Security, hiding attacker-added blind spots.
references:
- https://www.huntress.com/blog/you-can-run-but-you-cant-hide-defender-exclusions
- https://blog.nviso.eu/2022/12/02/can-we-block-the-addition-of-local-microsoft-defender-antivirus-exclusions/
- https://attack.mitre.org/techniques/T1562/001/
author: Threadlinqs Team
date: 2026-10-01
tags:
- attack.defense-evasion
- attack.t1562.001
- attack.t1564.012
- attack.t1112
logsource:
category: registry_set
product: windows
detection:
selection:
TargetObject|endswith: '\Windows Defender\HideExclusionsFromLocalAdmins'
condition: selection
falsepositives:
- Security hardening baselines deployed through Intune, MDM or Group Policy
- Administrators enabling the control manually during an approved hardening change
level: highKnown false positives:
- Hardening baselines (Intune/GPO) that legitimately enable HideExclusionsFromLocalAdmins
Tuning notes: Allow-list the process and account that apply your sanctioned hardening policy (policy engine Image, SYSTEM during Intune sync). Anything set by cmd.exe, powershell.exe, reg.exe, wmic.exe or an interactive user session should be treated as high priority. Pair with SPL-001 to catch the exclusion + hide-flag combination on the same host.
- WMI MSFT_MpPreference Defender Exclusion Creation · unlock with TL Creds
- Command-Line Registry or Group Policy Write to Defender Exclusion / Hide Keys · unlock with TL Creds
- Payload Staged into a Newly Excluded Defender Path · unlock with TL Creds
- Direct Registry Query of Defender Exclusions (Hidden Exclusion Discovery) · unlock with TL Creds
- Defender Tampering Spawned by Web Server or Webshell Parent Process · unlock with TL Creds
- Companion Defender Impairment - Real-Time Protection Disabled via Set-MpPreference or reg.exe · unlock with TL Creds
- Defender Exclusion Registry Store Modified Outside Defender Engine (with Broad-Exclusion Risk Scoring) · unlock with TL Creds
- PowerShell Set-MpPreference / Add-MpPreference Defender Exclusion · unlock with TL Creds
Indicators of compromise
As of 2026-10-01, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-2824.
Technical analysis
Microsoft Defender Antivirus (MDAV) exclusions let a user with administrator privileges or higher bypass AV scans for folders, binaries, extensions and IP addresses. Exclusion types are Process (files opened by a named process), Path (whole directories removed from real-time and scheduled scans), Extension (file types) and IpAddress (network inspection for designated IPs). Exclusions can be configured through Intune, MDM, Group Policy, PowerShell (Set-MpPreference / Add-MpPreference) and WMI (the MSFT_MpPreference class in the root/Microsoft/Windows/Defender namespace, e.g. via Invoke-CimMethod). They can also be written directly to the registry, for example with reg add under HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions\Paths.
The HideExclusionsFromLocalAdmins policy value (HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\HideExclusionsFromLocalAdmins, REG_DWORD = 1) is a legitimate hardening control meant to stop local attackers from discovering which locations are excluded. Per the sources, when enabled it prevents exclusions from appearing through ordinary local administrative queries including Get-MpPreference, and can affect SYSTEM-level PowerShell queries. NVISO's analysis notes it also hides exclusions in Registry Editor and Windows Security, and that it does not prevent an admin from creating new exclusions; it only obscures existing ones. An attacker with local admin rights can therefore add an exclusion for a payload staging path and also set the hide flag, so defenders and responders reviewing a host with ordinary tooling do not see the blind spot. Huntress notes the exclusions can still be read by querying the registry directly (HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions and HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions), which bypasses the restriction that blocks PowerShell queries for both administrators and SYSTEM.
Exclusion tampering has precedent: Huntress cites GootKit (2019), which created a Defender path exclusion via the MSFT_MpPreference WMI class, and WhisperGate (2022), which used PowerShell Set-MpPreference to exclude the C:\ drive; it also references Muddled Libra (2024) as using similar techniques. MITRE ATT&CK catalogs the generic behavior as T1562.001 (Impair Defenses: Disable or Modify Tools) and the abuse of pre-existing or well-known exclusions as T1564.012 (Hide Artifacts: File/Path Exclusions), where Turla deployed LunarWeb installer files into directories excluded from scanning. The GBHackers report (2026-10-01) states real-world use in campaigns but names no specific current actor, victims, CVE, CVSS or network/file IOCs; severity is analyst-assigned.
Defender guidance from the sources: Tamper Protection does not prevent exclusion creation; DisableLocalAdminMerge (set to 1) makes Intune/policy settings take precedence over local-admin settings, though NVISO observed locally added PowerShell exclusions persisting until a restart or policy reapplication. Detection should monitor registry-level changes to the exclusion keys and to HideExclusionsFromLocalAdmins (works regardless of whether PowerShell, WMI, GPO or manual methods were used), baseline approved exclusions, and flag broad entries such as root-drive paths, temp directories, user-writable folders, Downloads, wildcard extensions and unexpected IP exclusions, correlating with PowerShell, WMI, Group Policy, credential-access or payload-staging activity.
MITRE ATT&CK techniques by tactic:
Discovery
Execution
T1047 Windows Management Instrumentation; T1059.001 Command and Scripting Interpreter: PowerShell
defense-impairment
T1112 Modify Registry; T1685 Disable or Modify Tools
Defense Evasion
Remediation
Immediate actions
- Query exclusions directly from the registry (HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions and HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions) instead of relying on Get-MpPreference
- Audit hosts for HideExclusionsFromLocalAdmins set outside of approved Intune/GPO policy
- Review and remove broad exclusions: root-drive paths, Temp, Downloads, user-writable folders, wildcard extensions, unexpected IP exclusions
Workarounds
- Set DisableLocalAdminMerge = 1 so centrally managed (Intune/GPO) settings take precedence over local admin settings
- Note that Tamper Protection does not block exclusion creation
Longer-term hardening
- Baseline approved exclusions and alert on registry changes to the Defender Exclusions keys and HideExclusionsFromLocalAdmins
- Correlate exclusion changes with PowerShell, WMI, Group Policy, credential-access and payload-staging activity
- Restrict local administrator rights to limit who can alter Defender configuration
Affected and fixed versions
- Microsoft — Microsoft Defender Antivirus
Vulnerable versions: Configurations where attackers hold local administrator privileges; exclusions manageable via Intune, MDM, Group Policy, PowerShell or WMI
Timeline
- GootKit creates a Microsoft Defender path exclusion via the MSFT_MpPreference WMI class (year only per Huntress; day/month not stated)
- WhisperGate uses PowerShell Set-MpPreference to add a Defender path exclusion for the C:\ drive (year only per Huntress; day/month not stated)
- SentinelOne researcher Antonio Cocomazzi publicly discloses that Defender exclusions can be read by local users from the registry (month approximate per BleepingComputer: January 2022)
- NVISO publishes analysis concluding admins cannot be blocked from adding exclusions; documents DisableLocalAdminMerge and HideExclusionsFromLocalAdmins behavior and Advanced Hunting detection on DeviceRegistryEvents
- Muddled Libra referenced by Huntress as employing similar exclusion-abuse techniques (year only per source)
- Huntress (author Jonathan Johnson) publishes 'You Can Run, but You Can't Hide: Defender Exclusions' covering HideExclusionsFromLocalAdmins abuse, registry querying and detections
- GBHackers reports attackers hiding Defender exclusions from admins to evade AV scans, citing Huntress research and MITRE T1562.001
Sources cited
- MITRE ATT&CK T1562.001 Impair Defenses: Disable or Modify Tools MITRE · Advisory · 2026-10-01
- MITRE ATT&CK T1564.012 Hide Artifacts: File/Path Exclusions MITRE · Advisory · 2026-10-01
- You Can Run, but You Can't Hide: Defender Exclusions (Huntress) Huntress · Research · 2026-09-30
- Defence Impairment Olympics (Huntress) Huntress · Research
- Threat Actor Defense Evasion: How Attackers Disable AV & EDR (Huntress) Huntress · Research
- Huntress Labs on X: Microsoft Defender Antivirus exclusions x.com · Research · 2024-12-18
- Can we block the addition of local Microsoft Defender Antivirus exclusions? (NVISO) blog.nviso.eu · Blog · 2022-12-02
- Hackers Hide Microsoft Defender Exclusions From Admins to Evade Antivirus Scans (GBHackers) gbhackers.com · News · 2026-10-01
- Microsoft Defender weakness lets hackers bypass malware detection (BleepingComputer) BleepingComputer · News · 2022-01-01
Previous and next in threat intel
Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated —.