Agentic Vulnerability Reasoning on Windows COM Binaries
This contribution introduces SLYP, an end-to-end agent pipeline that autonomously discovers race-condition vulnerabilities in Windows COM binaries and generates verified proof-of-concept code, having successfully identified 28 previously unknown vulnerabilities in production services and earned $140,000 in bounties while significantly outperforming existing static analysis tools and coding agents.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a massive, highly secured bank vault (the Windows operating system) where the most sensitive operations are handled by a team of elite, superhuman guards (the COM services). These guards possess the master keys to the entire building. However, there is a catch: hundreds of regular employees (authenticated users) are allowed to approach the guards' counters and ask them to perform tasks.
The problem is that these guards can sometimes become confused when two employees try to speak to them at exactly the same time. If the guards lack a strict "one-at-a-time" rule, they might drop a key, delete a file they are currently holding, or accidentally hand over a master key to the wrong person. In computer science, these situations are called Race Conditions, and they allow a regular user to steal the powers of the "super guard"—a process known as Privilege Escalation.
The Problem: Finding the Flaw
For years, security experts have tried to find these flaws using two main methods:
- The "Fuzzer" (The Hammer): This is comparable to throwing thousands of random balls against the vault door to see if any break it open. It is good at finding large holes but terrible at discovering the tiny, specific timing errors where two people speak at the exact same millisecond interval.
- The "Static Analyzer" (The Map Reader): This tool reads the vault's blueprints to find potential problems. However, since the blueprints for these Windows services are often scribbled on napkins (compiled code without clear labels), the map reader gets confused, overlooks real dangers, and shouts "Danger!" when none exists (false alarms).
The Solution: Slyp (The Detective Agent)
The authors of this paper have developed a new system called Slyp. Do not think of Slyp as a hammer or a map reader, but rather as a super-intelligent detective agent equipped with a special toolkit.
Slyp uses a "brain" (a Large Language Model) that is very good at reading and understanding messy code, grasping what it means even when labels are missing. Yet, a brain alone is not enough; it needs hands to touch the evidence.
Slyp's three special tools:
- The Binary Explorer (The Flashlight): This tool shines light into the dark, messy code, translates the gibberish into readable sentences, and identifies which "virtual" doors the guards use to enter rooms.
- The COM Inspector (The ID Scanner): This tool checks the official registry to see exactly how the guards are called, what their names are, and what permissions they hold. It is like having the exact phone number and secret handshake code for every guard.
- The Dynamic Debugger (The Crash Test Dummy): This is the most important tool. Instead of just guessing, Slyp writes a small test program, runs it against the real guard, and observes what happens. If the guard stumbles and falls (crash), Slyp catches the fall, logs exactly how it happened, and writes a report.
How It Works: The Detective's Loop
Slyp does not guess just once. It works in a loop:
- Think: The detective brain examines the code and says, "I think if two people ask for a file at the same time, the guard might drop it."
- Act: It uses the tools to examine the code, find the specific "drop" point, and write a test script to provoke this.
- Observe: It runs the test. Did the guard fall?
- No? The detective says: "Okay, my timing was wrong. I will try again with a slightly modified script."
- Yes? The detective says: "Got you!" and writes a formal report with evidence.
The Results: A Record-Breaking Hunt
The paper tested Slyp against the best existing tools and human experts:
- The Benchmark Test: On a test set of 20 known problem areas, Slyp found the issues with 97.3% accuracy. The best "map reader" (static analyzer) achieved only about 30%. The best "hammer" (fuzzer) and standard coding bots got stuck or missed most of them.
- The Real-World Hunt: The authors deployed Slyp on real, live-running Windows services. It found 28 brand-new, never-before-seen security vulnerabilities (Zero-Days).
- Microsoft's security team confirmed all 28.
- They issued 16 official CVEs (security warning numbers).
- The authors received $140,000 in bounties for finding these holes.
Why This Matters
The paper claims that Slyp is the first system capable of going alone—without human help in writing the test code—from "observing messy code" to "proving the existence of a bug with a working crash."
It is like having a detective who not only spots a loose floorboard in a dark room but also jumps on it, proves that it breaks, and hands you the broken piece as evidence. This makes tracking down these tricky, time-based security vulnerabilities much faster and more reliable than ever before.
In short: Slyp is an AI detective with a special toolkit that can find hidden timing traps in Windows software, prove their danger by triggering a crash, and report them to the authorities, all without access to the original source code.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.