A Practical Guide to “Plug&Pwn” for Pentesters and Defenders
Plug&Pwn is a practical exploitation technique demonstrated at DEF CON 34 that abuses Windows Plug and Play to achieve arbitrary code execution as SYSTEM on fully patched systems. An attacker emulates specific USB devices (e.g., a Bluetooth adapter) using boards like GreatFET or Flipper Zero, triggering automatic driver installation from Windows Update and exploiting known vulnerabilities in legacy driver packages. The attack works in multiple scenarios: zero-click compromise of locked machines, remote privilege escalation over RDP via ADD_DEVICE commands, and local LPE via fake device installation. Critically, no Windows update prevents this—vulnerabilities are introduced by the driver installation process itself, and legacy packages with exploitable code remain available on Windows Update years after CVEs. The article provides practical pentesting guidance including hardware setup, PoC exploitation chains (e.g., Atheros Bluetooth service abuse), and defensive recommendations beyond disabling Co-Installers.