No video

No recording of this talk has come out, and we’re no longer expecting one.

DEF CON 34

Reflections on Disregarding Trust (Weaponizing CDP and MHTML for Header-Agnostic Session Hijacking)

When and where

Day
Fri 7 Aug 2026
Time
10:30 to 11:30 PDT
Room
LVCC - L1 - Exhibit Hall West 3 - 904 (Main Track 4)

Speaker

  • Gregory Disney-Leugers (1umberhack) is a Independent Researcher specializing in adversary simulation, modern web authentication bypasses, and identity-based attacks. With over a decade of experience in red teaming and penetration testing since 2013, they have previously served as a Technical Lead at major technology and identity providers, including Juniper Networks and Okta.

Abstract

Adversary-in-the-Middle (AitM) phishing has become the de facto standard for bypassing legacy Multi-Factor Authentication (MFA). However, modern AitM frameworks rely on complex, fragile regex rules to rewrite HTTP streams on the fly. When target applications implement strict client-side security headers like Subresource Integrity (SRI) and Content Security Policy (CSP), traditional proxies break, alerting defenders. This presentation introduces a novel "Browser-in-the-Middle" architecture. By weaponizing the Chrome DevTools Protocol (CDP), this custom-built Go toolkit renders the target application server-side, allows legitimate scripts to execute, and captures the resulting DOM as an MHTML snapshot. I will demonstrate how converting external assets into Base64 Data URIs and serving a self-contained, live DOM neutralizes SRI and CSP organically without triggering browser security violations. Finally, the talk will detail a Just-In-Time (JIT) JavaScript shim that hooks API calls to silently harvest post-MFA tokens from major IdPs including Okta, Microsoft, Google, and Shibboleth effectively trapping the user in a perfectly mirrored, attacker-controlled environment.

What you'll get from it

Adversary-in-the-middle phishing kits rewrite pages with fragile regex rules, and they tend to break when a site uses Subresource Integrity or Content Security Policy. Gregory "1umberhack" Disney-Leugers built a Go toolkit that sidesteps this by rendering the real site server-side through the Chrome DevTools Protocol, then serving the victim a self-contained MHTML snapshot of the live page with its assets inlined as Base64 data URIs. A JavaScript shim then collects post-MFA tokens from IdPs including Okta, Microsoft, Google and Shibboleth. Red teamers get a new phishing architecture, and defenders learn why SRI and CSP won't catch it.

Did you find what you came for?