Skip to content

A benchmark for open-ended vulnerability discovery in Windows kernel binariesBenchmarking Open-Ended Vulnerability Discovery in Windows Kernel Binaries

arXiv: 其他 AI 安全论文· arXiv:2611.33486· Jongseong Kim, Hwiwon Lee, Dongjun Kim, Lingming ZhangUniversity of Illinois Urbana-ChampaignIndexed by this site · 3 days ago· Originally publishedEvaluation· Its place in the scan record →

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors propose DeepBinary, a benchmark for Windows kernel binary vulnerability discovery; 7 models found 146 0-day defects across 204 campaigns.

Questions
Existing security benchmarks mostly center on known vulnerabilities in open-source projects and rarely evaluate unknown vulnerability discovery in closed-source binaries. Without an answer key, the validity, deduplication, impact, and training data contamination of reports are also difficult to determine.
Methods
DeepBinary has agents analyze targets in network-isolated VMs using only a disassembler and kernel debugger, and submit crashable PoCs. The Judge replays them in new VMs and then an LLM determines validity, duplication, and impact; WinDiffer uses patch diffing to label fix dates.
Experiments and results
Seven models completed 204 campaigns on 12 Windows kernel targets. In RQ1, GPT-6 Sol reported 116 unique bugs, and the three open-weight models each reported 13–19; deduplication across RQ1 and RQ2 yielded 146 defects that are still reproducible in the September build.
Limitations and future work
The authors note that the evaluation covers only one Windows build, that RQ1 runs only one campaign per model and target, and that run-to-run variation for other models is unknown. The Judge is GPT-6 Sol, which also participates in and discovers the most, and some validity tests were constructed by the authors themselves.
Experimental setupGPT-6 Sol、Claude Opus 5 et al. · DeepBinary、WinDiffer 1-day dataset · unique bugs、precision et al.
Evaluated models
GPT-6 SolClaude Opus 5Grok 4.7DeepSeek V4.1 Flash-1017Kimi K3GLM 5.3GPT-6 Luna
Benchmarks
DeepBinaryWinDiffer 1-day dataset
Metrics
unique bugsprecisionestimated bountydiscovery cost0-day reproduction rateJudge accuracyJudge consistency
AI summaryThe researchers propose DeepBinary, which the authors state is the first comprehensive benchmark for open-ended vulnerability discovery in Windows kernel binaries. Agents analyze target binaries with a disassembler and kernel debugger in network-isolated virtual machines, and report each vulnerability with a crashable proof-of-concept (PoC); the benchmark replays each report on a fresh virtual machine and uses an LLM-based reviewer to assess validity, uniqueness and impact (estimated by bug bounty amount), and can also discover and validate previously unknown 0-day vulnerabilities. The team evaluated open- and closed-weight models including GPT-6 Sol, Claude Opus 5 and DeepSeek V4.1 Flash, as well as coding agents such as Codex and Claude Code, on 12 target binaries, finding over 200 vulnerabilities with an estimated total bounty of $661,000, of which 146 were previously unknown distinct vulnerabilities. Results show significant differences among models in binary analysis, experiment execution and long-horizon sustained vulnerability discovery capability.

The researchers propose DeepBinary, which the authors state is the first comprehensive benchmark for open-ended vulnerability discovery in Windows kernel binaries. Agents analyze target binaries with a disassembler and kernel debugger in network-isolated virtual machines, and report each vulnerability with a crashable proof-of-concept (PoC); the benchmark replays each report on a fresh virtual machine and uses an LLM-based reviewer to assess validity, uniqueness and impact (estimated by bug bounty amount), and can also discover and validate previously unknown 0-day vulnerabilities. The team evaluated open- and closed-weight models including GPT-6 Sol, Claude Opus 5 and DeepSeek V4.1 Flash, as well as coding agents such as Codex and Claude Code, on 12 target binaries, finding over 200 vulnerabilities with an estimated total bounty of $661,000, of which 146 were previously unknown distinct vulnerabilities. Results show significant differences among models in binary analysis, experiment execution and long-horizon sustained vulnerability discovery capability.

Related events and news

2 events · 1 news mentions

News that mentions this paper

UK AISI 称预发布版 GPT-6.2 Astra 更易越狱

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Establish an open-ended evaluation for closed-source Windows kernel binaries that has no vulnerability hints, is replayable, and can discover 0-days.

    The core question is how to systematically evaluate frontier models' ability to openly discover deep vulnerabilities in production-grade closed-source binaries. The authors argue that existing benchmarks mainly cover known vulnerabilities in open-source projects, while much security-critical software is released only as binaries.

    • Application scenario and importance: Windows kernel drivers handle files, system calls, and network traffic reachable by unprivileged users; the authors state that memory safety defects in them may allow users to gain kernel privileges. Such analysis also involves disassembly, live kernel debugging, and long-running crash testing.
    • Gaps in existing evaluations: Reproduction benchmarks provide disclosure reports or patches, and exploitation benchmarks start from known vulnerabilities; discovery benchmarks provide source code, sanitizer harnesses, target locations, or vulnerability classes. The authors state that none of these settings evaluates discovering unknown vulnerabilities in closed-source binaries without location hints (Table 1).
    • Evaluation challenges without an answer key: Each report must be judged for validity, uniqueness, and impact, while crash signatures may split one defect or merge different defects. Models may also have seen fixes before their training cutoff, and each success crashes the kernel, requiring replay in a fresh VM.
    • Core design assumption: Each finding is required to include a PoC that triggers a kernel crash and a root cause analysis, so validity can be checked by replay; duplicate reports are merged by whether one minimal fix blocks both, rather than by callstack hash.
    • Proposed system: DeepBinary consists of WinDiffer patch diffing, a discovery harness, and a Judge, compares seven models with three coding agents on 12 targets, and retests 0-day status with later builds.
  2. What related research exists?

    Related work falls into four groups: binary analysis, binary vulnerability discovery, agent safety benchmarks, and crash validation and deduplication.

    LLM-assisted binary analysis

    • LLM4Decompile, DeGPT, DecLLM: These respectively perform assembly decompilation, rename, simplify, and comment decompiled code, and repair decompiler output to support recompilation; DecLLM also uses CodeQL to evaluate vulnerability detection.
    • ReSym, GenNm: ReSym recovers variable names, struct names, and types, and GenNm uses caller/callee context to predict variable names.
    • Relationship to this paper: The authors position DeepBinary as measuring how disassembler choice and symbol availability affect agent-reported vulnerabilities, rather than proposing a new decompilation or symbol recovery method.

    Vulnerability discovery in binaries

    • Kernel and filesystem fuzzing: NtFuzz infers Windows syscall types, Janus mutates both disk image metadata and file operation sequences, kAFL uses Intel Processor Trace for coverage feedback, and Hydra checks post-crash state and POSIX violations.
    • Guided agentic analysis: SLYP analyzes Windows COM services and drivers from a given entry point and target vulnerability class; FirmAgent uses taint sources obtained from fuzzing; Veritas checks out-of-bounds claims on source-to-sink flows.
    • Other binary analysis systems: ClearAgent queries a binary language server, REDOSPECTOR uses LLM-assisted seed fuzzing for resource leaks in Windows services, and Bajaj et al. study one workflow across Windows drivers and web applications. The authors state that DeepBinary fixes the task to compare models and tools and does not provide entry points, vulnerability classes, or candidate data flows.

    Agent security benchmarks

    • Reproduction and exploitation: SEC-bench and CyberGym evaluate vulnerability reproduction from reports; ExploitGym, ExploitBench, and KEX-bench evaluate exploitation of known vulnerabilities.
    • Open-ended discovery: SEC-bench Pro specifies source paths, vulnerability classes, and expected error types; MobileCybench checks Android exploits with security-property probes; CyberGym-E2E and FuzzingBrain-Bench evaluate open-source discovery without specifying target vulnerabilities.
    • Contamination control: The authors relay that prior work states pre-cutoff tasks may be memorized; SRE-Bench therefore uses private programs written from scratch. DeepBinary instead performs patch diffing on updates to commercial kernel binaries and labels dates.

    Validation, deduplication, and positioning of this paper

    • Validation and deduplication methods: SEC-bench Pro uses an LLM judge to score PoCs, and FuzzingBrain-Bench counts distinct crash signatures; other methods use approximate fixes inferred from patch templates, minimized trace similarity, or report embedding clustering.
    • Differences in this paper: The Judge compares root cause analysis with PoC replay evidence and merges only when the same minimal fix blocks both triggers. This paper does not set up a separate vulnerability discovery method baseline; the main comparison is seven model–agent configurations, and RQ2 compares Ghidra, IDA Pro, Binary Ninja, and conditions with symbols or the server removed.
  3. How does the paper address this problem?

    DeepBinary forms a complete evaluation loop consisting of patch diffing, an isolated discovery environment, and replay plus LLM adjudication.

    DeepBinary defines open-ended discovery as: the agent is given only the target binary and build number and must find all valid and unique crashes within a fixed output-token budget; the system then independently replays, deduplicates, assesses impact, and checks later builds.

    WinDiffer: Building a Date-Labeled 1-day Dataset

    • Patch diffing: For each target and its post-build security updates, extract the binaries before and after the update, export with BinExport, match functions with BinDiff, and identify added, modified, and deleted functions.
    • Lead triage: By default, an LLM triages each change based on function names and diff metrics; optional gate selection starts from feature-flag gate helpers and traces callers to the changed code.
    • Reporting and manual review: An LLM agent traces leads to fixes by connecting to disassembly MCPs for the two builds separately, and reports root cause, reachability, and impact; one well-formed report is kept per fix, and the authors manually review each one.
    • Data scale: 12 targets with 90,705 functions and 228 1-days in total; the dataset contains fixes for 11 of these targets, with 0 for clipsp.sys (Table 2). Each 1-day carries the public fix date for contamination checks.

    Discovery Task and Reporting Protocol

    • Hint-free search: The task prompt names only the target binary and build, provides no entry points, vulnerability classes, existing reports, or seed PoCs, and does not prescribe a workflow (Figure 3).
    • Valid vulnerability: The PoC must, as a standard user, trigger a BSOD in the currently running kernel through a defect in the target and be reachable under the default configuration; NULL dereference and invalid pointer read are valid, while intentional bugcheck, hang, and resource exhaustion are invalid.
    • Uniqueness: Different inputs or entry paths that reach the same defective operation count as only one vulnerability.
    • Unified artifacts: Each report contains the PoC's build and run scripts, root cause analysis, and the callstack saved by the agent, and the full trajectory is saved; the Judge does not read the PoC source or trajectory.

    Isolated Environment and Tools

    • VM pair: Each campaign creates a one-time target VM and debugger VM from the same Windows image; the PoC runs as a standard user, and an external runner records all bugchecks, including unreported crashes.
    • Network isolation: The agent container can reach the model API only through the host gateway, and the two VMs have no external network; the agent's web search and fetch are disabled, and it cannot read harness code or other campaign outputs.
    • MCP tools: All agents use the same disassembly, WinDbg, and guest-control services. The disassembler can be Ghidra, IDA Pro, Binary Ninja, or none; WinDbg allows only inspection commands.
    • Analysis freedom: The agent can write, compile, and run programs in the target VM at Medium or Low integrity, create and mount disk images, and restart or restore the VM.

    Judge: Replay, Adjudication, and Scoring

    • Clean replay: Each PoC is replayed on four fresh VM pairs, two with Driver Verifier enabled and two without; ntoskrnl.exe is not enabled in any of the four pairs. A crash under any condition counts, and each run stops after 180 seconds.
    • Single-shot query: One tool-free LLM call reads the root cause analysis, agent callstack, four replay evidence records, and prior unique reports, and outputs a JSON verdict on validity, duplicate relationship, and impact (Figure 4).
    • Decision rules: Missing root cause analysis or PoC script, no reproduction in all four runs, and root cause inconsistent with evidence are all hard fails; a duplicate is judged only when evidence shows a shared earliest defective operation and one minimal fix can block both.
    • Impact and bounty: Unique defects are classified as RCE, EoP, ID, or DoS, corresponding to estimated bounties of $5,000, $8,000, $2,000, and $500 (Table 3). The values use the maximum general award for a complete report in the Windows Insider Preview Bounty and are not the actual amounts paid by MSRC.

    Budget, Checkpoints, and Activity Metrics

    • Budget: RQ1 defaults to 3M output tokens per campaign, including reasoning tokens; report snapshots are saved at 1M and 2M. RQ2 was changed to 2M due to cost.
    • Activity metrics: Function inspections, VM runs, kernel crashes, hit rate, and root functions are recorded; the discovery point is the output-token count when the report is first written.
    • Cost basis: Discovery cost is calculated from recorded token usage and vendor list prices, excluding the Judge, VMs, and usage not recorded by the agent.
  4. What experiments did the paper conduct?

    204 campaigns compare seven models and five tool conditions, and test the Judge with a known answer set and retest 0-days with new builds.

    Experimental Setup

    • Targets and builds: The 12 Windows 11 x86-64 kernel targets in Table 2; the discovery build is 26100.7462 (cumulative update of December 9, 2025); 90,705 functions in total, and the WinDiffer dataset contains 228 1-days.
    • Configurations under test: GPT-6 Sol/Codex, Claude Opus 5/Claude Code, Grok 4.7/Grok Build, DeepSeek V4.1 Flash-1017/Codex, Kimi K3/Codex, GLM 5.3/Codex, GPT-6 Luna/Codex, all using the highest reasoning effort offered by the agent.
    • RQ1 scale: Each of the seven configurations ran once on each of the 12 targets, for 84 campaigns in total, 2,030 agent-hours, and $26.0K discovery cost; default Ghidra and 3M output tokens per campaign.
    • RQ2 scale: GPT-6 Sol only, comparing Ghidra, IDA Pro, Binary Ninja, No symbols, and No disassembler server; three 12-campaign runs per disassembler and one run per removal condition, for 120 campaigns in total, 2,089 agent-hours, $27.5K, and a 2M budget.
    • Metrics and adjudication: number of reports, within-model unique bugs, precision, impact, estimated bounty, cost, function inspections, VM runs, and crashes. The Judge used max-effort GPT-6 Sol to process 334 RQ1 and 892 RQ2 reports, and the final results incorporate manual corrections to 10 RQ1 and 54 RQ2 verdicts.
    • Reliability test: 30 publicly valid reports, 30 real crashes paired with incorrect root causes, and 48 reproduction reports for ten already-patched defects; single-shot GPT-6 Sol, single-shot Claude Opus 5, and agentic GPT-6 Sol with Ghidra were compared, with three rounds per report.

    Main Results

    RQ1 results on 12 targets at 3M output tokens are as follows (per Table 5; precision is the proportion of reports that are unique bugs):

    Swipe horizontally to read the table

    ModelAgentReportedUniquePrec.Estimated bountyTotal cost
    GPT-6 SolCodex13811684%$296,500$4,318
    Claude Opus 5Claude Code655686%$160,000$9,788
    Grok 4.7Grok Build422560%$57,500$4,120
    DeepSeek V4.1 FlashCodex241979%$68,000$208
    Kimi K3Codex321547%$30,000$2,478
    GLM 5.3Codex261350%$38,000$5,020
    GPT-6 LunaCodex7457%$11,000$92
    • Overall adjudication: Of the 334 reports, 248 were within-model unique bugs, 28 were valid duplicates, and 58 were hard fails; the total estimated bounty across all models was $661,000, and all 12 targets had findings.
    • Budget persistence: GPT-6 Sol found 51, 22, and 43 in the three 1M intervals; Grok 4.7 found 18, 6, and 1, and DeepSeek found 10, 7, and 2 (Figure 5a). The authors conclude from this that later discovery capability depends on the model.
    • Relationship between activity and findings: Across the 84 campaigns, the Spearman correlation of unique bugs with the number of distinct target functions inspected was −0.04, and with VM runs was +0.29; inspection records are incomplete for 12 campaigns, and function counts are lower bounds.

    Tool Support and Ablations

    • Disassemblers: Under a 2M budget, the average unique bugs per run for GPT-6 Sol were 70 for Ghidra, 85 for IDA Pro, and 87 for Binary Ninja (Figure 8a); the authors report +22% and +24% relative to Ghidra. The 95% bootstrap ratio intervals from resampling by target were 0.97–1.93 and 0.98–2.00, respectively, both including 1.
    • No symbols: An average of 44 unique bugs; the authors report 37% lower than the Ghidra mean, with a 95% bootstrap interval for the ratio of 0.46–0.96; overall precision was 92%, with no hard fails.
    • No disassembler server: An average of 23; the authors report 67% lower, with an interval of 0.17–0.43; 6 of the 12 campaigns had no findings, and all 23 reports were unique.

    Judge Reliability

    • Validity and deduplication: Single-shot GPT-6 Sol was 100% on both the 30 valid and 30 invalid cases (270/270 queries each), and 100% on duplicate judgments for the ten defects (144/144); all three Judges were 100% on duplicate judgments (Table 7).
    • Exceptions for other Judges: Single-shot Claude Opus 5 had 98.5% accuracy on invalid reports (266/270), and agentic GPT-6 Sol had 98.1% (265/270); the latter still rejected incorrect analyses in most verdicts at 90/90 rounds.
    • Impact: The vendor-label match rates for single-shot GPT-6 Sol, Claude Opus 5, and agentic GPT-6 Sol were 95.2% (257/270), 94.8% (256/270), and 92.6% (250/270), respectively; all 47 incorrect query responses classified EoP as ID.
    • Intermittent crashes: Of the 248 unique findings, 186 representative PoCs crashed all four times, and the remaining 62 crashed only one to three times; requiring the same or merged duplicate PoC to crash all four times retains 189 findings, and the authors state that the estimated bounty ranking is unchanged (Figure 9a).

    0-days, Contamination, and Coverage

    • Reproduction on later builds: On the September 2026 build 26100.9457, 110/248 (44%) of RQ1 within-model findings were still reproducible, and 324/792 (41%) for RQ2; deduplication across the two experiments yielded 146 defects (Table 8).
    • Impact distribution: The 146 defects include 12 RCE, 9 EoP, 43 ID, and 82 DoS. For RQ1, only 6/38 and 4/26 of RCE and EoP findings were still reproducible, respectively, versus 50/114 and 50/70 for ID and DoS.
    • Potential exposure: By model cutoff or weight release date, 27/248 (11%) were flagged as possibly exposed to public updates; the authors explicitly state that dates cannot determine whether a model learned from the fixes. Excluding these leaves 221, and only the rankings of Kimi and DeepSeek change.
    • Reference answer coverage: RQ1 matched only 58 of the 228 1-days; for the four models with public cutoffs, the stratified odds ratio for matching before versus after cutoff was 0.92 (95% CI 0.46–1.83), an interval compatible with both lower and higher odds.

    Other Ablations and Analyses

    • Disk image parsers: ntfs.sys, refs.sys, and spaceport.sys account for 186/248 unique bugs and 105/154 root functions (§4.2).
    • Cross-model inspection: Of the 110 model-level 0-day findings in RQ1, 77 had a root function that had been inspected and found by another model, but that model did not report the unique bug (§4.5).
    • Rejection reasons: Of the 58 rejected RQ1 reports, 12 lacked files, 21 failed to build, 24 had no verified crash, and 1 crashed before the stated trigger (Figure 9b).
    • Structural field naming: Of the 3,873 functions fully decompiled by all three, the proportion of fixed-offset accesses named as fields was 2% for Ghidra, 14% for IDA Pro, and 9% for Binary Ninja (§4.3).
  5. What are some points that can be further explored?

    The authors list limitations such as single build, single RQ1 run, and model adjudication, and describe policy implications and porting space.

    Limitations and future directions noted by the authors

    • Single kernel build: Results describe only the 12 targets of one Windows build; porting to other kernels requires its own VM image, debugger bridge, and impact table (§5 “One kernel build”).
    • RQ1 not repeated: Cost meant RQ1 ran only once per model and target; RQ2 can only estimate run-to-run variation for GPT-6 Sol, and variation for other models is unknown (§5 “One campaign per model and target”).
    • Run cost: The first 1M tokens of the 84 RQ1 campaigns cost $8.4K, and the full 3M cost $26.0K; the authors state that additional budget is important for measuring continued discovery (§5 “Cost of a run”).
    • Model as Judge: GPT-6 Sol is also the model that reports the most unique bugs; invalid reports were constructed by the authors, whose errors may differ from agents' actual errors, and the duplication study did not test different defects with similar crashes (§5 “A model grades validity, uniqueness, and impact”).
    • Prompt without strategy: The task leaves search strategy entirely to the agent; the authors state that specifying a preference for RCE or EoP could change the number and severity of vulnerabilities, and the current counts can serve as a baseline for such experiments (§5 “A prompt without strategy”).
    • Severity of the 0-days: Of the 64 RCE/EoP findings in RQ1, only 10 reproduced in the September build, and most of the 110 model-level 0-day findings were ID or DoS, so the authors weight by impact using estimated bounty (§5 “Severity of the 0-days”).

    Scope of the experiments

    • Models and targets: RQ1 covers seven model-agent configurations and the 12 targets in Table 2, with one campaign per combination; RQ2 runs only GPT-6 Sol.
    • Tool conditions: RQ2 includes three disassemblers with symbols, plus No symbols and No disassembler server derived from the Ghidra condition; each disassembler has three runs, and each removal condition has one.
    • Manual review: Final RQ1 and RQ2 corrected 10 and 54 verdicts, respectively; in RQ1 manual review overturned 1 of 277 acceptances, and none of the 27 merges were overturned (§4.1, §5).
    • Contamination determination: Four models use public cutoffs, and three models without public cutoffs use weight release dates as an upper bound; the authors do not assert actual training exposure on this basis (§4.5).
    • Reproduction criteria: A 0-day requires replaying the PoC as a standard user on the September build and capturing a symbolized trace with the kernel debugger; estimated bounty is not an actual payment or payment commitment by vendors (§4.1, §4.5).
  6. Summarize the main content of the paper

    DeepBinary uses replayable PoCs and dated patch data to turn long-open findings in closed-source kernels into comparable evaluations.

    DeepBinary is an open-ended vulnerability discovery benchmark for closed-source Windows kernel binaries, focusing on discovery, deduplication, impact assessment, and data contamination without answer keys, rather than reproduction of known vulnerabilities.

    • Task design: Agents are given only the target and build number; in a network-isolated VM pair they use a disassembler, read-only kernel debugging, and guest-control tools to autonomously search for and submit crash PoCs and root-cause analyses.
    • Evaluation loop: The Judge replays each report in four fresh VM pairs, then a single-shot LLM judges validity, duplication in the sense of minimal fix, and RCE/EoP/ID/DoS; WinDiffer establishes 228 1-days with fix dates via patch diffing.
    • Model differences: In the 84 campaigns of RQ1, GPT-6 Sol obtained 116 unique bugs at 3M output tokens, Claude Opus 5 obtained 56, and Grok 4.7 obtained 25; the three open-weight models each obtained 13–19 (Table 5).
    • Continued discovery: GPT-6 Sol discovered 43 in the last 1M tokens, higher than the 22 in the preceding second 1M; Grok 4.7 and DeepSeek V4.1 Flash discovered only 1 and 2, respectively, in the final interval (Figure 5a).
    • Tool effects: Under a 2M budget, GPT-6 Sol's average unique bugs with IDA Pro and Binary Ninja were 85 and 87, and with Ghidra 70; after removing symbols and the disassembler server they were 44 and 23, respectively, but the corresponding bootstrap ratio interval widths differ (Figure 8).
    • 0-days and adjudication: After deduplication across RQ1 and RQ2, 146 defects could still trigger crashes in the September build nine months later; 27/248 RQ1 findings were flagged by the date rule as possibly exposed, which the authors state does not prove training-time learning. Single-shot GPT-6 Sol was 100% on the constructed valid, invalid, and duplicate tests, and its impact label match was 95.2% (Table 7).

    The authors argue that the benchmark compares not only the number of discoveries but also how models inspect functions, conduct experiments, and sustain long-horizon search; at the same time, a single build, a single RQ1 run, and model adjudication mean results should be understood in light of these evaluation conditions.

Read originalarxiv.org