0:00
–:––
React at 0:00
DEF CON 34

Plug And Pwn: Weaponizing Windows PnP Auto-Install

When and where

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

Speakers

  • Alejandro Hernando is a red team operator and security researcher at Accenture Security's Hacking team in Spain, with over a decade of hands-on experience in offensive cybersecurity. Throughout his career, he has assessed, exploited, and helped mitigate security vulnerabilities across commercial and proprietary systems, developing PoC exploits, offensive and defensive tooling, and conducting deep security research. His approach combines applied research with real world operational experience, driven by a focus on continuous learning and on sharpening both attack and defense strategies.

  • Borja Martínez is a red team operator and security researcher at Accenture Security Hacking team in Spain, where he focuses on offensive security, advanced adversary simulation and hardware exploitation. A self-taught hacker with a deeply hands-on approach, he specializes in red team operations, penetration testing and low level attack research including DMA attacks, BIOS/UEFI exploitation, and TPM security.

Abstract

Every time a USB device is plugged into a Windows machine, the OS may silently download a package from Microsoft and execute vendor code as SYSTEM. No admin required. The package is signed, so nothing looks wrong. We spent the better part of a year mapping this attack surface. We analyzed 7K packages approx, built tools to emulate arbitrary USB devices without hardware, and found that the same kernel code path fires when a USB device is redirected over RDP channels, meaning a non admin user can trigger SYSTEM level code execution on the target, with no physical access at all (under certain conditions). - How Windows PnP search actually works, the real kernel flow, not the MSDN summary. - How to make Windows believe any USB device is connected, using device emulation and composite device tricks that bypass inbox driver interception. - Why RDP USB redirection (MS-RDPEUSB / URBDRC) triggers the exact same kernel PnP path as a physical plug-in, and what that means for remote exploitation. - A WHQL-signed software that contains a hidden debug backdoor alowing execution as SYSTEM, chainable with other vulnerabilities for full user to SYSTEM escalation from a standard account. - A forced installation leading to the creation of a named pipe that lets any authenticated network user rewrite config on any machine.

What you'll get from it

When a USB device is plugged into Windows, the OS may quietly fetch a signed driver package from Microsoft and run vendor code as SYSTEM, with no admin rights needed. Alejandro Hernando and Borja Martinez spent close to a year mapping this surface, analysing thousands of packages and building tools to emulate USB devices without any hardware. They show how the same kernel path fires over RDP USB redirection, opening remote SYSTEM execution with no physical access, and point to signed software carrying a hidden debug backdoor. It is one for Windows internals and offensive researchers.

Did you find what you came for?