SpecterOps releases LDAP Switcheroo PoC for Windows LDAP signing bypass (CVE-2026-70229) enabling NTLM relay to domain controllers
SpecterOps published full technical notes and a public LDAP Switcheroo PoC for CVE-2026-70229 (CVSS 8.1), a Windows LDAP signing bypass. It lets an attacker relay SMB machine-account NTLM authentication to LDAP on a domain controller even when LDAP signing and channel binding are enabled. According to the article, all Windows Server versions from 2016 to 2025 were exposed until the October 13, 2026 update. Microsoft rated the flaw Critical and "Exploitation More Likely". The article reports no confirmed exploitation yet, but public PoC code raises the risk for unpatched domain controllers. Primary sources (Microsoft MSRC, GitHub, SpecterOps) were not checked, so this record rests on the article alone.
Entenda a falha
A vulnerabilidade
CVE-2026-70229 (CVSS 8.1, rated Critical by Microsoft, "Exploitation More Likely") is an authorization flaw in the Windows LDAP service on domain controllers that bypasses LDAP signing. An attacker with a low-privileged or guest NTLM bind on TCP 389, who can coerce a victim host into an SMB NTLM login, can relay that machine-account authentication to LDAP even with signing and channel binding on. The result is unauthorized AD changes, then DCSync and domain takeover. Windows Server 2012 through 2025, Windows 10 and Windows 11 were affected until the October 13, 2026 update (e.g. 10.0.14393.9612, 10.0.17763.9376, 10.0.19044.7807, 10.0.19045.7807; KB5126646 for Server 2025). One article says the Microsoft advisory lists no privileges or user interaction and high complexity; it also calls the flaw remote code execution, which does not match the relay behavior described.
Como funciona
The attacker opens a signed LDAP connection to a domain controller on port 389, so they know that session's signing key. They coerce a victim host into an SMB NTLM login and pass that handshake through the signed session. The victim's final bind and a second LDAP operation are packed into one SASL block signed with the attacker's key. The server verifies the signature once, processes the bind and switches the connection identity to the victim machine account, then keeps processing the rest of the block and runs the second operation with the victim's permissions. The attack works on plain LDAP, not on LDAPS.
Por que é vulnerável
The signature check and the authorization decision are decoupled. The SASL data is verified once under the original security context, but when the connection's identity changes during reauthentication, the following operation is authorized under the new identity. The weakness is in authorization, not in the signing algorithm, and needs no recovery of the victim's password or session key. The fix makes Windows track identity changes on each LDAP connection (a user-identity counter) and discard the rest of the already verified data if the identity changes.
Onde está
The article places the bug in LDAP_CONN::ProcessRequestEx, which is where the fix drops the rest of the SASL block when the bound user changes.
Como foi descoberta
According to the story, researcher mad31k first reported the flaw. SpecterOps later found the same bug in September 2026 with help from OpenAI's Daybreak Red model. Microsoft released the fix on October 13, 2026, and on October 23 SpecterOps researcher Raj Patel published the analysis, followed by the PoC. The articles report no confirmed exploitation, and the story notes it was not checked against primary sources.
PoC pública
SpecterOps published the LDAP Switcheroo PoC, which adds custom relay logic to ntlmrelayx.py, and a second standalone Python PoC is also on GitHub. They demonstrate relaying SMB machine-account NTLM authentication to LDAP on a domain controller despite signing and channel binding. Public working code makes domain takeover easier for anyone with internal network access, so unpatched domain controllers should be patched urgently. The articles give no link, so no URL is listed.
Explicação gerada por IA a partir da matéria e dos artigos, em 01/12/2026 11:16.
Detalhes técnicos
- Researcher mad31k first reported the flaw. SpecterOps later found the same bug in September 2026 with help from OpenAI's Daybreak Red model. The SpecterOps researcher credited in the article is Raj Patel.
- The bug is in
LDAP_CONN::ProcessRequestEx. The attacker opens a signed LDAP connection on TCP 389 using a low-privileged or guest NTLM bind, so the attacker knows the session key. The attacker then coerces a victim host into sending an SMB NTLM login and passes that handshake through the signed LDAP session. - The attacker packs the victim's final bind and a rogue LDAP operation into one SASL block signed with the attacker's own key. The domain controller verifies the signature once, switches the connection identity to the victim machine account, and then runs the second operation as that account.
- Writes to delegation or shadow-credential attributes (msDS-AllowedToActOnBehalfOfOtherIdentity, msDS-KeyCredentialLink) can lead to DCSync and full domain takeover.
- The attack targets plain LDAP on port 389, not LDAPS on port 636.
- The PoC adds custom relay logic to ntlmrelayx.py, and a second standalone Python PoC is also on GitHub.
- A related SMB signing bypass was fixed in September 2026 (KB5122882).
Detalhes da correção
The October 13, 2026 cumulative update fixes it (for example KB5126646 for Windows Server 2025). The fix adds a user-identity counter to each LDAP connection. If a bind changes the user mid-block, ProcessRequestEx drops the rest of the SASL block. Fixed builds include 10.0.14393.9612, 10.0.17763.9376, 10.0.19044.7807 and 10.0.19045.7807. Updates are also listed for Windows Server 2012 and 2012 R2 (gbhackers.com).
Remediação
- Install the October 2026 update on all domain controllers first, including systems outside the normal patch cycle, and make sure the September 2026 SMB patch (KB5122882) is also applied.
- Enable LDAP signing and channel binding together, and block plain LDAP on port 389 where applications allow.
- Reduce NTLM use; inventory legacy NTLM dependencies before restricting it (gbhackers.com).
- Monitor AD logs for unexpected changes to msDS-AllowedToActOnBehalfOfOtherIdentity and msDS-KeyCredentialLink, to computer accounts, and for replication requests from non-DC systems (gbhackers.com).
Relatos divergentes
gbhackers.com lists updates for Windows Server 2012 and 2012 R2 as well, while the earlier source says exposure covered Windows Server 2016 to 2025. gbhackers.com also describes the flaw as critical remote code execution with a CVSS of 8.1, which is a mismatch with the relay and authorization behavior described.
Linha do tempo
-
Microsoft fixes CVE-2026-70229, a Windows Server LDAP signing authorization bypass that exposes Active Directory to NTLM relay
This article adds the older Windows Server 2012 and 2012 R2 to the list of updated versions. It also describes the identity-tracking fix and the detection advice to look for computer account changes and non-DC replication requests.
ler a análise desta fonte ocultar
This article adds the older Windows Server 2012 and 2012 R2 to the list of updated versions. It also describes the identity-tracking fix and the detection advice to look for computer account changes and non-DC replication requests.
Microsoft fixed CVE-2026-70229 on October 13, 2026. The flaw is in Windows Server LDAP. It lets an attacker abuse an identity change during reauthentication on an existing signed LDAP connection. The server accepts traffic protected under the original security context but checks a directory change under the new identity. SpecterOps researcher Raj Patel published an analysis on October 23. The article says Microsoft rates the flaw critical with a CVSS base score of 8.1 and high attack complexity. It lists no required privileges or user interaction. Primary sources were not checked, so this record rests on the article alone.
Technical Details
- The weakness is in authorization, not the signing algorithm, and exploitation does not require the victim's password or session key.
- A relayed domain controller machine account can lead to unauthorized directory changes and DCSync credential theft.
- The bypass affects signed LDAP. It does not directly carry over to LDAPS.
Fix Details
The advisory lists updates for Windows Server 2012, 2012 R2, 2016, 2019, 2022 and 2025, including KB5126646 for Server 2025. The fix tracks changes to the connection's authenticated identity. If the identity changes mid-processing, Windows discards the remaining data.
Remediation
- Verify that every domain controller has the October fix or a later update, including systems outside the normal patch cycle.
- Keep LDAP signing and channel binding enabled, and reduce reliance on NTLM.
- Look for unexpected changes to computer accounts and for replication requests from systems that are not domain controllers.
-
SpecterOps releases LDAP Switcheroo PoC for Windows LDAP signing bypass (CVE-2026-70229) enabling NTLM relay to domain controllers
ler a análise desta fonte ocultar
SpecterOps published full technical notes and a public LDAP Switcheroo PoC for CVE-2026-70229 (CVSS 8.1), a Windows LDAP signing bypass. It lets an attacker relay SMB machine-account NTLM authentication to LDAP on a domain controller even when LDAP signing and channel binding are enabled. According to the article, all Windows Server versions from 2016 to 2025 were exposed until the October 13, 2026 update. Microsoft rated the flaw Critical and "Exploitation More Likely". The article reports no confirmed exploitation yet, but public PoC code raises the risk for unpatched domain controllers. Primary sources (Microsoft MSRC, GitHub, SpecterOps) were not checked, so this record rests on the article alone.
Technical Details
- Researcher mad31k first reported the flaw. SpecterOps later found the same bug in September 2026 with help from OpenAI's Daybreak Red model. The SpecterOps researcher credited in the article is Raj Patel.
- The bug is in
LDAP_CONN::ProcessRequestEx. The attacker opens a signed LDAP connection on TCP 389 using a low-privileged or guest NTLM bind, so the attacker knows the session key. The attacker then coerces a victim host into sending an SMB NTLM login and passes that handshake through the signed LDAP session. - The attacker packs the victim's final bind and a rogue LDAP operation into one SASL block signed with the attacker's own key. The domain controller verifies the signature once, switches the connection identity to the victim machine account, and then runs the second operation as that account.
- Writes to delegation or shadow-credential attributes (msDS-AllowedToActOnBehalfOfOtherIdentity, msDS-KeyCredentialLink) can lead to DCSync and full domain takeover.
- The attack targets plain LDAP on port 389, not LDAPS on port 636.
- The PoC adds custom relay logic to ntlmrelayx.py, and a second standalone Python PoC is also on GitHub.
- A related SMB signing bypass was fixed in September 2026 (KB5122882).
Fix Details
The October 13, 2026 cumulative update fixes it (for example KB5126646 for Windows Server 2025). The fix adds a user-identity counter to each LDAP connection. If a bind changes the user mid-block,
ProcessRequestExdrops the rest of the SASL block. Fixed builds include 10.0.14393.9612, 10.0.17763.9376, 10.0.19044.7807 and 10.0.19045.7807.Remediation
- Install the October 2026 update on all domain controllers first, and make sure the September 2026 SMB patch (KB5122882) is also applied.
- Enable LDAP signing and channel binding together, and block plain LDAP on port 389 where applications allow.
- Reduce NTLM use.
- Monitor AD logs for unexpected changes to msDS-AllowedToActOnBehalfOfOtherIdentity and msDS-KeyCredentialLink.