Reflecting Your Authentication: Look In The Mirror - It’s You

Andrea Pierini (Senior Security Consultant · Semperis)

Insomni'hack 2026 · Day 1 · Main Track

Overview

Authentication reflection attacks have been a persistent thorn in the side of enterprise security architectures for over two decades. In this talk, Andrea Pierini explores the modern evolution of reflection techniques within Windows environments, demonstrating how machine coercion primitives can be combined with local loopback authentication to achieve high-privilege escalation and full domain compromise. Despite decades of mitigations, fundamental design flaws in how Windows handles authentication state continue to emerge, proving that reflection is far from an obsolete threat vector.

Watch on YouTube

Visual summary for Reflecting Your Authentication: Look In The Mirror - It’s You by Andrea Pierini
Visual summary for Reflecting Your Authentication: Look In The Mirror - It’s You by Andrea Pierini

Key moments

  1. 0:00 Introduction and agenda of the talk
  2. 2:00 What is authentication reflection and how it works
  3. 7:00 Explanation of the SCMTI trick for forcing local auth
  4. 11:40 SMB reflection technique and remote privilege escalation demo
  5. 18:00 NTLM local authentication and Local Potato overview
  6. 24:00 Full domain compromise demo on Windows Server 2022
  7. 31:50 Exclusive disclosure: Windows Admin Center remote privilege escalation
  8. 44:00 Defensive countermeasures and audience Q&A

Reflecting Your Authentication: Look In The Mirror - It’s You

Speakers: Andrea Pierini (Senior Security Consultant, Semperis)

Conference: Insomni'hack

YouTube: https://www.youtube.com/watch?v=xTM42IEykk0

Overview

Authentication reflection attacks have been a persistent thorn in the side of enterprise security architectures for over two decades. In this talk, Andrea Pierini explores the modern evolution of reflection techniques within Windows environments, demonstrating how machine coercion primitives can be combined with local loopback authentication to achieve high-privilege escalation and full domain compromise. Despite decades of mitigations, fundamental design flaws in how Windows handles authentication state continue to emerge, proving that reflection is far from an obsolete threat vector.

The presentation provides a rigorous breakdown of how attackers can weaponize Kerberos and NTLM reflection against core infrastructure services. Pierini walks through multiple historical and novel attack paths, culminating in the disclosure of a critical remote privilege escalation vulnerability in Windows Admin Center (WAC). By coercing an Active Directory Certificate Services (AD CS) server running vulnerable management software, an unprivileged user can reflect authentication back to the local machine, capture system-level privileges, and ultimately achieve a golden certificate attack resulting in full domain compromise.

This research matters because it challenges the assumption that modern Windows operating systems—such as Windows Server 2022 and Windows Server 2025—are inherently immune to authentication reflection. By highlighting how legacy protocol behaviors, RPC callbacks, and third-party web servers like Kestrel interact with underlying operating system primitives, Pierini underscores the critical need for defense-in-depth measures beyond basic protocol hardening.

Background

▶ Watch: Introduction and agenda of the talk (0:00)

Windows authentication reflection occurs when an attacker captures an authentication request originating from a machine and reflects it back to the victim machine itself, tricking it into authenticating against its own local services. Unlike traditional relay attacks where credentials are forwarded across the network to a different target, reflection forces a host to talk to itself, bypassing traditional credential knowledge requirements.

The history of authentication reflection dates back to 2008 with the classic MS08-068 vulnerability, which allowed authenticated users to coerce SMB authentication from a remote machine and relay it locally to gain SYSTEM privileges. Over time, Microsoft implemented mitigations in Windows Server 2016 and Windows 10, largely blocking NTLM reflection using identical or cross-protocol vectors. However, local NTLM loopback authentication remained a fertile ground for abuse.

Kerberos, while widely considered vastly superior to NTLM, lacks any built-in anti-reflection mechanism. Exploiting Kerberos reflection requires an attacker to control the Service Principal Name (SPN) and manage valid service tickets, presenting a higher operational overhead. To circumvent restrictions when direct control over an SPN is missing, researchers leverage the Create Marshal Target Info Trick (CMIT). By embedding a base64-encoded empty target information structure into a custom DNS hostname, attackers force SMB, RPC, or DCOM clients to strip the target info and use the hostname for ticket generation.

Tools such as Coercer (developed by Remi Gacogne) have made triggering machine authentications trivial via protocols like DFS, EFS, and the Print Spooler. When a domain-joined machine authenticates against its own local services via coercion, it executes actions under the context of its computer account, which in a local context equates to LOCAL SYSTEM.

Key Findings

▶ Watch: Explanation of the SCMTI trick for forcing local auth (7:00)

Pierini’s research spans several distinct eras of authentication reflection, uncovering significant architectural oversights in both core Windows components and administrative software:

  • Kerberos DCOM-to-HTTP Reflection: Standard users can coerce an AD CS server via the certSRV interface (using tools like ADCS Coercer Potato). If extended protection is disabled, reflecting this authentication to the HTTP web enrollment endpoint allows an attacker to request a machine certificate and take over the AD CS server.
  • Ghost SPN SMB Reflection: Domain environments frequently contain "ghost SPNs"—SPNs referencing hostnames no longer registered in DNS. Standard domain users can recreate these DNS records, coerce authentication using the printer bug, and achieve remote code execution as LOCAL SYSTEM via SMB reflection.
  • NTLM Local Authentication Flaws: In NTLM local authentication, the final authentication message (NTLM_AUTH) is empty because the loopback occurs entirely in memory via LSA. This caused Windows to completely skip message integrity checks, attribute value pairs, and the Message Integrity Code (MIC).
  • Domain Controller Takeover via NTLM Relay (June 2025): Until patched in June 2025, an unprivileged domain user could coerce a Domain Controller (running with LMCompatibilityLevel = 5 and enforced LDAPS channel binding) via DFS, use the CMIT trick, and reflect NTLM local authentication back to LDAP/LDAPS to grant themselves DC-Sync rights.
  • RPC Print Notify Callback Bypass (September 2025): Microsoft mitigated the CMIT SMB vector in Windows Server 2025 by migrating print notify callbacks from named pipes to RPC calls. However, Pierini discovered that passing an IP address directly to the RPC print notify callback still triggered local authentication without requiring DNS spoofing, keeping the domain controller vulnerable until September 2025.
  • Windows Admin Center (WAC) Vulnerability (July 2025): Windows Admin Center—running on the .NET Kestrel web server—failed to enforce Extended Protection for Authentication (EPA) by default. Coercing an AD CS server running WAC allowed local authentication reflection against WAC's REST endpoints, granting system-level code execution and leading to full domain compromise.

Technical Deep Dive

▶ Watch: NTLM local authentication and Local Potato overview (18:00)

The mechanics of authentication reflection rely heavily on manipulating protocol flags, SPNs, and session bindings. In NTLM loopback scenarios, the NTLM security support provider sets a reserved field in the NTLM negotiation phase to reference an LSA handle rather than routing traffic over the wire. Because the final NTLM message is empty, critical security structures such as the AV_PAIR fields and signing flags are bypassed.

When examining the Kerberos SMB reflection vector, the attack chain proceeds as follows:

  1. The attacker creates a DNS record utilizing the CMIT format (appending a base64-encoded empty target info buffer to the hostname).
  2. The attacker initializes a Kerberos relay tool listening for incoming connections.
  3. The victim machine is coerced (e.g., via the Printer Bug using named pipes) to connect back to the attacker.
  4. The victim requests a Kerberos ticket for its own ghost/CMIT hostname.
  5. The relay tool reflects the ticket back to the victim's SMB service. Assuming SMB signing is not strictly enforced in a way that blocks the loopback state, the session is established as NT AUTHORITY\SYSTEM.

In the context of the Windows Admin Center vulnerability (CVE-managed via MSRC reporting starting July 2025), the architecture introduces unique exposure. WAC relies on a Kestrel web server rather than IIS. IIS typically benefits from kernel-level HTTP stack (HTTP.sys) protections that natively enforce EPA. Kestrel, operating as a managed .NET web server, lacked these inherent guardrails in earlier versions.

By leveraging WAC's management REST endpoints—specifically Invoke-Command—an authenticated loopback session with administrative cookies allows arbitrary PowerShell execution under the local system context. If WAC is installed on an AD CS server, this directly yields access to the CA private keys.

Demo / Proof of Concept

▶ Watch: Full domain compromise demo on Windows Server 2022 (24:00)

Pierini demonstrated multiple proof-of-concept exploits during the presentation:

  1. Ghost SPN Exploitation: The speaker identified a ghost SPN (ghost) on a test network, created a fake DNS record pointing to the Kerberos relay tool, triggered the printer bug against the ghost hostname, and successfully executed remote code (whoami) resulting in NT AUTHORITY\SYSTEM.
  2. 2022 Domain Controller DC-Sync: Demonstrating a fully patched Windows Server 2022 Domain Controller (LMCompatibilityLevel set to 5, LDAPS channel binding set to required), Pierini used DFSCoerce to force authentication, applied the CMIT DNS trick, and utilized a modified NTLM relay script to grant the low-privileged user DC-Sync rights over LDAP.
  3. Windows Admin Center AD CS Takeover: Using a PowerShell wrapper script named AD CS Coercer Potato, Pierini coerced an AD CS server hosting Windows Admin Center, authenticated as the machine account, verified full administrative privileges and membership in local security groups, and successfully backed up the private and public keys of the Certificate Authority.

Defensive Implications

▶ Watch: Defensive countermeasures and audience Q&A (44:00)

Defending against authentication reflection requires a multi-layered approach that goes beyond simply disabling legacy protocols:

  • Enforce Extended Protection for Authentication (EPA): Ensure that EPA and channel binding are explicitly required across all IIS, HTTP.sys, and Kestrel-backed web applications. Relying on default configurations is insufficient.
  • Harden Active Directory Certificate Services (AD CS): Isolate AD CS infrastructure. Never install management utilities like Windows Admin Center directly on Tier-0 assets such as Domain Controllers or Enterprise Certificate Authorities.
  • Implement RPC Filters: Block known machine coercion vectors (such as DFS, EFS, and Print Spooler callbacks) by deploying strict RPC filters at the network and host levels.
  • Disable Unnecessary Services: Ensure that the Print Spooler and other vulnerable RPC/Named Pipe services are explicitly disabled on Domain Controllers and critical infrastructure servers.
  • Apply Up-to-Date Patches: Ensure all systems are updated past the Microsoft June 2025, September 2025, and subsequent out-of-band patches that addressed local NTLM authentication integrity bypasses and HTTP.sys extended protection backports.

Key Takeaways

  • Authentication reflection remains viable against modern Windows environments when protocols lack proper channel binding or loopback validation.
  • The Create Marshal Target Info Trick (CMIT) allows attackers to manipulate SPNs and force local Kerberos or NTLM authentication from unprivileged positions.
  • NTLM local loopback authentication historically omitted crucial message integrity checks (MIC) and attribute value validation, enabling domain compromise via LDAP/LDAPS relay until mid-2025 patches.
  • Windows Admin Center running on the .NET Kestrel web server exposed unmitigated reflection vectors due to missing native Extended Protection for Authentication.
  • Coercing services on Tier-0 assets like AD CS servers or Domain Controllers remains a primary path from standard domain user to full domain compromise.

About the Speaker(s)

  • Andrea Pierini (Senior Security Consultant, Semperis): Andrea Pierini has deep experience across nearly every layer of IT, from software development to system and network administration, and ultimately security, with research focusing on overlooked authentication paths, protocol inconsistencies, and privilege-escalation techniques in modern Windows environments. He has presented at various national and international conferences, published several CVEs, and was recognized by Microsoft as one of the Top 100 Most Valuable MSRC Security Researchers in 2020 and 2022.

Reviews

→ Top-rated talks at Insomni'hack 2026

All talks from Insomni'hack 2026