Social Engineering The Windows Kernel: Finding And Exploiting Token Handling Vulnerabilities
by James Forshaw One successful technique in social engineering is pretending to be someone or something you're not and hoping the security guard who's forgotten their reading glasses doesn't look too closely at your fake ID. Of course there's no hyperopic guard in the Windows OS, but we do have an ID card, the Access Token which proves our identity to the system and let's us access secured resources. The Windows kernel provides simple capabilities to identify fake Access Tokens, but sometimes the kernel or other kernel-mode drivers are too busy to use them correctly. If a fake token isn't spotted during a privileged operation local elevation of privilege or information disclosure vulnerabilities can be the result. This could allow an attacker to break out of an application sandbox, elevate to administrator privileges, or even compromise the kernel itself. This presentation is about finding and then exploiting the incorrect handling of tokens in the Windows kernel as well as first and third party drivers. Examples of serious vulnerabilities, such as CVE-2015-0002 and CVE-2015-0062 will be presented. It will provide clear exploitable patterns so that you can do your own security reviews for these issues. Finally, I'll discuss some of the ways of exploiting these types of vulnerabilities to elevate local privileges.

The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation

BlueHat IL 2023 - James Forshaw - Windows Authentication

OffensiveCon22 - James Forshaw -These Are My Principals, If You Don't like Them, I Have Others

Attacking AI - Jason Haddix - NDC Security 2026

DEF CON 33 - Kill List: Hacking an Assassination Site on the Dark Web - Carl Miller, Chris Monteiro

USENIX Enigma 2016 - What Makes Software Exploitation Hard?

Writing Bad @$$ Malware For OS X

How To Think SO CLEARLY People Assume You're A Genius

DEF CON 25 - Saif El Sherei - Demystifying Windows Kernel Exploitation by Abusing GDI Objects

How bad OPSEC led to 4 arrests

The Big Short (2015): The Jenga Scene – Explaining the Financial Collapse

James Forshaw - COM in Sixty Seconds! (well minutes more likely) @ Infiltrate 2017.mp4

Windows Kernel Vulnerability Research and Exploitation - Gilad Bakas

DEF CON 26 - Alexei Bulazel - Reverse Engineering Windows Defenders Emulator

Detecting Access Token Manipulation

How to Hide in Plain Sight: Next-Level Digital Privacy | Ivan Banov at BSidesCache 2025

We're 99.9% sure this pattern is true, but no one can prove it

Abusing Microsoft Kerberos: Sorry You Guys Don't Get It

Trump's Wasting Taxpayer Dollars on Vanity Projects, Iran Victory Lap & the Nuttiest RFK Jr Story

