MBMarcos BajoCISPA Helmholtz Center for Information Security
Marcos Bajo aka h3xduck is a security researcher and PhD student at the CISPA Helmholtz Center for Information Security in Germany. His research focuses on exploitation techniques and malware, but more broadly, he's interested in breaking things others build—and building things to break things.
CRChristian RossowCISPA Helmholtz Center for Information Security
Coming soon.
Abstract
Control Flow Integrity (CFI) has emerged as the definitive defense against code-reuse attacks, enforcing strict execution flow checks that effectively stop classic exploitation techniques like Return-Oriented Programming (ROP). Today, CFI defenses—such as Intel CET, Control Flow Guard and LLVM CFI—are already present in everyday systems, and their widespread adoption marks a new era where most binary exploitation attacks are significantly mitigated.
In this talk, we will present Coroutine Frame-Oriented Programming (CFOP), a novel exploitation technique that bypasses the leading CFI defenses—including CET, CFG and LLVM CFI—on both Linux and Windows, across all major compilers. CFOP arises from a key insight: while CFI effectively stops well-known attack vectors like return address hijacking, programming languages continue to evolve and introduce new weak points, which CFI is not ready to handle.
Notably, despite rigorous standardization, C++20 coroutines present weaknesses that undermine these CFI defenses. Coroutines are already present in major software projects (such as popular databases), and with CFOP we demonstrate how to practically exploit them in a post-CFI world—highlighting the need for continuously adapting CFI defenses to evolve alongside new programming paradigms.
What you'll get from it
Control-flow integrity, built in as Intel CET, Microsoft's Control Flow Guard and LLVM CFI, has made classic code-reuse exploits much harder. Marcos Bajo and Christian Rossow show that new language features can undo that. C++20 coroutines, already used in popular software such as databases, can be abused to bypass all the leading CFI defences on Linux and Windows, with every major compiler. They call the technique Coroutine Frame-Oriented Programming. Exploit developers and anyone hardening native code will see why defences have to keep up with the languages.