# CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits?

CyberBinGym：AIエージェントはバイナリパッチから実際のエクスプロイトを作れるのか

Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin ほか2名 · arXiv · 2026年11月7日

- **課題** パッチの配布が遅れる期間に、公開されたセキュリティ修正のストリップ済みパッチバイナリと脆弱なバイナリだけで、AIエージェントが実際の1-dayエクスプロイトを作れるかを測る問題です。
- **手法** CYBERBINGYMは、ソースコードなしでストリップ済みの脆弱バイナリとパッチバイナリを与え、差分クラッシュテストとflag回収によるエクスプロイト検証をそれぞれ独立に行います。
- **結果** 最も強力な評価構成であるCodex with GPT-5.6は、100件の課題のうち88件で脆弱性を復元し、20件でエクスプロイトを達成しました。

## 配布遅延の期間でパッチが攻撃情報になる問題

セキュリティ修正は通常、コンパイル済みの更新として利用者に届けられます。ただ、実際の配布には長い時間がかかるため、重要なシステムでも修正の公開後に数か月から数年にわたって脆弱な状態が続くことがあります。この期間にパッチ済みのバイナリとパッチされていないバイナリを比べると、攻撃者が脆弱性をエクスプロイトする方法を見つけられる可能性があります。論文はこれを1-day設定と呼び、パッチバイナリが脆弱性についての主要な情報源になる状況を扱っています。

既存のソースコードベースのベンチマークは、ソースを公開するか、人手で設計した課題を使うか、セキュリティ上の結果を伴わずバイナリの理解だけを評価します。そのため、ストリップ済みバイナリだけから1-day脆弱性を復元し、実際のエクスプロイトまで作る能力は十分に測られてきませんでした。この論文は、その空白を埋めるためにCYBERBINGYMを紹介します。

## CYBERBINGYMの課題構成と差分検証の手順

CYBERBINGYMの各課題は、ストリップ済みの脆弱バイナリと、それに対応するパッチバイナリを提供します。ソースコード、脆弱性の説明、参照用のPoCは含めません。エージェントはバイナリを逆アセンブルし、逆コンパイルし、実行し、デバッグできます。最終的には、トリガーとなるPoC、エクスプロイトの成果物、回収したflagを提出します。

成功の判定は2段階で、それぞれ独立に行われます。脆弱性の復元では、提出された入力が、隠されたサニタイザ計測付きの脆弱ビルドでサニタイザが検出する失敗を起こし、かつパッチビルドでは失敗しなければ成功とみなします。エクスプロイトでは、被害サービスからroot所有のflagを回収する必要があります。回収したflagが正解と一致するだけでは不十分で、軌跡監査で環境への直接アクセスや対象の組み込みコマンドの実行が行われていないと確認されて初めて認められます。

![Figure 1: Evaluation protocol of CYBERBINGYM. The agent analyzes stripped vulnerable and patched binaries using static and dynamic tools, then submits a trigge…](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-c564ecd46d778edb478e0e49e421b9ed.png?thumb=512)

**Figure 1** : Evaluation protocol of CYBERBINGYM. The agent analyzes stripped vulnerable and patched binaries using static and dynamic tools, then submits a triggering input and exploitation evidence. Two separate checks measure success: the input must trigger the target failure in the hidden vulnerable validation build but not the patched build; exploitation must retrieve the victim’s flag and pass a trajectory audit. The two outcomes are scored independently.

[出典](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

課題の選定では、複雑度をlow、medium、highの順に20%、40%、40%になるようにしました。複雑度は、到達可能性、PoCの構成の複雑さ、クラッシュの観測しやすさ、バイナリの複雑さ、パッチの複雑さを合計して決まります。論文では、この複雑度が攻撃の深刻度やエクスプロイトの可能性の順序を保証するものではないと述べられています。

![Table 2: Task-complexity dimensions used for the normalized patch-aware rubric](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-aa1659b4c075a65d8d8e1aa0b630246a.png?thumb=512)

**Table 2** : Task-complexity dimensions used for the normalized patch-aware rubric.

[出典](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 論文の図を引用 · 元のPDFの14ページ目から図の部分を抽出しています。

## 主要な評価結果とエクスプロイトのボトルネック

3つのエージェント構成を、同じ100件の課題で評価しました。Codex with GPT-5.6は88件の課題で脆弱性を復元し、20件の課題でエクスプロイトを達成しました。Claude Code with Claude Opus 5は、復元率85%、エクスプロイト率6%でした。Kimi Code with Kimi K3は、復元率64%、エクスプロイト率0%でした。この数値は、パッチバイナリを提供し、脆弱性の説明は提供しない主要な評価条件で得られたものです。

復元率とエクスプロイト率の差は大きく表れました。論文は、3つのエージェントすべてがトリガーとメモリ破壊の段階はおおむね完了できたものの、破壊を制御可能なプリミティブに変える段階で行き詰まると分析しています。たとえば、Apache Arrowのサンプル24101では、Codexはクラッシュからヒープ上書きに切り替え、コード再利用によってflagを回収しました。この事例は能力の違いを示すために選ばれた比較であり、全課題についての統計ではありません。

![Figure 2: Shortened trajectory of Codex exploiting the Apache Arrow vulnerability in sample 24101. Starting from a vulnerable-onlynegative-size-paramPoC, Codex…](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-31eb1b73e96094a95659801bf0d964d9.png?thumb=512)

**Figure 2** : Shortened trajectory of Codex exploiting the Apache Arrow vulnerability in sample 24101. Starting from a vulnerable-onlynegative-size-paramPoC, Codex changes the dictionary layout to turn an out-of-bounds read into a bounded heap overwrite, traces the corrupted shared- pointer control block to a virtual call during object teardown, and uses code reuse to invoke the benchmark’s privilege helper. The crash oracle validates the differential trigger, and the exploit scorer verifies flag retrieval.

[出典](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

## パッチ情報と説明の提供による効果

パッチバイナリの効果は、20件のmatched課題で、Codexに脆弱バイナリだけを与えた場合と比べて確認されました。2つのバイナリを一緒に与えると、PoCの割合は55.0%から90.0%に、エクスプロイトの割合は10.0%から25.0%に上がりました。論文では、パッチビルドが脆弱な箇所を特定し、エージェントが提出前に候補入力が脆弱ビルドでのみクラッシュするかを確かめるローカルオラクルとして働いていると説明されています。

![Figure 5: Effect of reasoning effort and patched-binary availability](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-70e904a037ca8e03dfdc329e568c0624.png?thumb=512)

**Figure 5** : Effect of reasoning effort and patched-binary availability.

[出典](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

パッチ影響の監査では、成功した26件の軌跡のうち17件はパッチに関連する差分に直接つながっていました。7件は探索の方向を変える間接的な影響で、2件は影響が不明確でした。この結果から、パッチバイナリが成功と同時に現れたというだけでは、決定的な役割を果たしたとは言えないことがわかります。一方、脆弱性の説明を与える実験では、50件のmatched課題でKimiの復元率が64.0%から70.0%に上がりました。しかしCodexの復元率とエクスプロイト率はむしろ下がりました。そのため、説明を与えても成功率が常に上がるわけではないと考えられます。

![Figure 4: Effect of vulnerability descriptions](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-1f17295eece2dcad725c5161026e7361.png?thumb=512)

**Figure 4** : Effect of vulnerability descriptions.

[出典](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

![Table 14: Recorded patch influence among successful trajectories, by agent](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-c729f97729f49b9893afa276fcb5bb57.png?thumb=512)

**Table 14** : Recorded patch influence among successful trajectories, by agent.

[出典](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 論文の図を引用 · 元のPDFの21ページ目から図の部分を抽出しています。

## 適用範囲と残された限界

主要な実験は、安全装置を無効にした信頼済みアクセスプログラムの条件で行われました。これは、フロンティアモデルとエージェントの能力の限界を測るための設定です。そのため、結果を実際に運用中のシステムの侵害率や、新しいパッチのエクスプロイトにかかる時間にそのまま当てはめることはできません。論文でも、過去の脆弱性と管理された被害サービスを使ったため、運用環境での侵害の割合や時間は直接測っていないと述べられています。

また、ハードニング実験では、Codexは既存のエクスプロイト20件のうち2件しか再現できませんでした。ただし、この差が保護技術だけによるものかは切り分けられていません。エージェントの探索のばらつきやサービス提供の失敗も含まれているからです。メモリ安全性の欠陥に焦点を当てた範囲も、別の種類の脆弱性に一般化する前に確かめる必要があります。

## 論文情報

- **著者**: Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月7日
- **登録日**: 2026年11月10日
- **更新日**: 2026年11月7日
- **バージョン**: v1
- **arXiv**: 2611.10723
- **カテゴリ**: cs.CR · cs.AI · cs.LG
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.10723v1) · [PDF ↗](https://arxiv.org/pdf/2611.10723v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

Security fixes usually reach users as compiled updates, but deployment delays leave unpatched systems exposed. During this window, comparing patched and unpatched binaries can reveal how to exploit a vulnerability, turning a defensive update into actionable information for attackers. Existing benchmarks do not measure this capability: they expose source code, rely on human-crafted challenges, or evaluate binary comprehension without requiring exploitation. We introduce CyberBinGym, a benchmark containing 100 tasks derived from real vulnerabilities in 53 widely used projects, spanning six vulnerability families and three levels of analysis complexity. Agents receive stripped vulnerable and patched binaries without source code or vulnerability information, and must combine static and dynamic analysis to recover and exploit the vulnerability. Evaluation separately measures vulnerability recovery through differential crash testing and end-to-end exploitation through flag retrieval, with trajectory audits to reject reward hacking. The strongest evaluated agent recovers the target vulnerability in 88% of tasks and exploits it in 20%. Providing the patched binary raises its exploit rate from 10% to 25% on a matched 20-task subset; with standard binary hardening enabled, it still exploits two of its 20 previously successful tasks. These results demonstrate that current agents can turn released binary patches into working exploits in a controlled setting, although exploitation remains unreliable. These capabilities lower the barriers to targeting unpatched software and compress defenders' effective response window, increasing the urgency of timely patch deployment.

## この論文を引用

Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song (2026). CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits?. arXiv:2611.10723v1. https://arxiv.org/abs/2611.10723v1

**BibTeX**

```
@misc{wijayadi2026cyberbingym,
  title = {{CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits?}},
  author = {Lambang Akbar Wijayadi and Zhaoqi Xiao and Zhun Wang and Hongwei Li and Wenbo Guo and Heng Yin and Zhenkai Liang and Dawn Song},
  year = {2026},
  eprint = {2611.10723},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10723v1}
}
```

## この論文の用語

- [reward hacking](https://refivu.com/ja/terms/2413bbf555b3-reward-hacking)

## ほかの論文解説

- [Done Is Not Correct: Measuring Silent Failures and Self-Verification Calibration When LLM Agents Take CAD Actions](https://refivu.com/ja/papers/55faa4f4-f2a8-47b8-b8cf-58bed596872c-done-is-not-correct-measuring-silent-failures-and.md)
- [SPRING-5: Measuring Tool Documentation Repair for LLM Agents by Efficiency](https://refivu.com/ja/papers/d2846765-4203-48b2-8e62-5757c120b7fc-spring-5-measuring-tool-documentation-repair-for-llm.md)
- [The Limits of Information-Flow Control Enforcement for Agentic Systems](https://refivu.com/ja/papers/cee05c71-484a-4bad-ba2c-c58494290ac5-the-limits-of-information-flow-control-enforcement-for.md)
- [From Reflection to Co-Evolution: Self-Evolving Agents with Locally Verified Memory](https://refivu.com/ja/papers/cbbe388f-f036-4542-8fc6-f6b3901438a8-from-reflection-to-co-evolution-self-evolving-agents.md)
- [Deploying Physically and Epistemically Compliant Agents by Distilling Belief-Space Task and Motion Planners](https://refivu.com/ja/papers/5683ab20-2e74-4278-84ff-63394b14fe7e-deploying-physically-and-epistemically-compliant-agents-by.md)
- [BunshinRL: Splitting Live Agent Workspaces for Memory-Efficient Agentic RL](https://refivu.com/ja/papers/9292e3d6-762e-46df-a9a5-341c387c6972-bunshinrl-splitting-live-agent-workspaces-for-memory.md)
- [The Delta Gap: Cellular World Models for Perturbation Response Prediction Are Far Harder Than Global Correlation Implies](https://refivu.com/ja/papers/43da08c5-16b6-4ced-9974-803d52f5ad84-the-delta-gap-cellular-world-models-for-perturbation.md)
- [AI in the Clinical Documentation Loop: Effects of LLM-Induced Note Bloat and Diagnostic Overcall on Downstream LLMs](https://refivu.com/ja/papers/c2363fed-ff33-4aa5-90de-0a7ae3b26ed6-ai-in-the-clinical-documentation-loop-effects-of.md)
- [When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics](https://refivu.com/ja/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15-when-greedy-is-sorting-exact-and-certified-ideal.md)
- [No Second Run: Does RSI Stop at Frontier Pre-training?](https://refivu.com/ja/papers/dba88920-bad4-4d52-b341-5c70637671ef-no-second-run-does-rsi-stop-at-frontier.md)
- [Close and Sort: Exact Maximum-Likelihood Aggregation of Cyclic Rank-Two Preferences](https://refivu.com/ja/papers/3e86e3b9-1d2d-4f03-9a7d-c923ae11dc85-close-and-sort-exact-maximum-likelihood-aggregation-of.md)
- [Imperfectly Imperfect: Evaluating Graded Cognitive Diversity in LLM Persona Simulations](https://refivu.com/ja/papers/2a630784-93c8-4318-8368-838f443309f1-imperfectly-imperfect-evaluating-graded-cognitive-diversity.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/116dfd67-e49f-43c9-8460-be71ca8edc22-cyberbingym-can-ai-agents-turn-binary-patches-into)
