Lune

USENIX Security2021顶会

Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types

Sergej Schumilo, Cornelius Aschermann, Ali Abbasi, Simon Wörner, Thorsten Holz

摘要

A hypervisor (also know as virtual machine monitor, VMM) enforces the security boundaries between different virtual machines (VMs) running on the same physical machine. A malicious user who is able to run her own kernel on a cloud VM can interact with a large variety of attack surfaces. Exploiting a software fault in any of these surfaces leads to full access to all other VMs that are co-located on the same host. Hence, the efficient detection of hypervisor vulnerabilities is crucial for the security of the modern cloud infrastructure. Recent work showed that blind fuzzing is the most efficient approach to identify security issues in hypervisors, mainly due to an outstandingly high test throughput. In this paper we present the design and implementation of NYX, a highly optimized, coverage-guided hypervisor fuzzer. We show how a fast snapshot restoration mechanism that allows us to reload the system under test thousands of times per second is key to performance. Furthermore, we introduce a novel mutation engine based on custom bytecode programs, encoded as directed acyclic graphs (DAG), and affine types, that enables the required flexibility to express complex interactions. Our evaluation shows that, while NYX has a lower throughput than the state-of-the-art hypervisor fuzzer, it performs competitively on simple targets: NYX typically requires only a few minutes longer to achieve the same test coverage. On complex devices, however, our approach is able to significantly outperform existing works. Moreover, we are able to uncover substantially more bugs: in total, we uncovered 44 new bugs with 22 CVEs requested. Our results demonstrate that coverage guidance is highly valuable, even if a blind fuzzer can be significantly faster.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 52 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • LibAFL: A Framework to Build Modular and Reusable Fuzzers 引用了 The Use of Likely Invariants as Feedback for Fuzzers
  • LibAFL: A Framework to Build Modular and Reusable Fuzzers 引用了 Directed Greybox Fuzzing
  • LibAFL: A Framework to Build Modular and Reusable Fuzzers 引用了 Angora: Efficient Fuzzing by Principled Search
  • LibAFL: A Framework to Build Modular and Reusable Fuzzers 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Nyx-net: network fuzzing with incremental snapshots 引用了 Directed Greybox Fuzzing
  • Nyx-net: network fuzzing with incremental snapshots 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Nyx-net: network fuzzing with incremental snapshots 引用了 Angora: Efficient Fuzzing by Principled Search
  • Nyx-net: network fuzzing with incremental snapshots 引用了 Evaluating Fuzz Testing
  • Nyx-net: network fuzzing with incremental snapshots 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 The Use of Likely Invariants as Feedback for Fuzzers
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Evaluating Fuzz Testing
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • The Use of Likely Invariants as Feedback for Fuzzers 引用了 Directed Greybox Fuzzing
  • The Use of Likely Invariants as Feedback for Fuzzers 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • The Use of Likely Invariants as Feedback for Fuzzers 引用了 Angora: Efficient Fuzzing by Principled Search
  • The Use of Likely Invariants as Feedback for Fuzzers 引用了 Evaluating Fuzz Testing
  • The Use of Likely Invariants as Feedback for Fuzzers 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Directed Greybox Fuzzing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Directed Greybox Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Coverage-based Greybox Fuzzing as Markov Chain 引用了 Directed Greybox Fuzzing
  • Angora: Efficient Fuzzing by Principled Search 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Angora: Efficient Fuzzing by Principled Search 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Evaluating Fuzz Testing 引用了 Directed Greybox Fuzzing
  • Evaluating Fuzz Testing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Evaluating Fuzz Testing 引用了 Angora: Efficient Fuzzing by Principled Search
  • Evaluating Fuzz Testing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • ItyFuzz: Snapshot-Based Fuzzer for Smart Contract 引用了 LibAFL: A Framework to Build Modular and Reusable Fuzzers
  • ItyFuzz: Snapshot-Based Fuzzer for Smart Contract 引用了 Nyx-net: network fuzzing with incremental snapshots
  • Coverage-based Greybox Fuzzing as Markov Chain 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper52

  1. Nyx-net: network fuzzing with incremental snapshotsSergej Schumilo, Cornelius Aschermann, Andrea Jemmett, Ali Abbasi 等EuroSys 2022 · 76 次引用
  2. ItyFuzz: Snapshot-Based Fuzzer for Smart ContractChaofan Shou, Shangyin Tan, Koushik SenISSTA 2023 · 76 次引用
  3. LibAFL: A Framework to Build Modular and Reusable FuzzersAndrea Fioraldi, Dominik Christian Maier, Dongjia Zhang, Davide BalzarottiCCS 2022 · 71 次引用
  4. SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard 等S&P 2024 · 69 次引用
  5. The Use of Likely Invariants as Feedback for FuzzersAndrea Fioraldi, Daniele Cono D'Elia, Davide BalzarottiUSENIX Security 2021 · 67 次引用

它引用的 Paper27

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
  2. Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher 等NDSS 2016 · 1,021 次引用
  3. Directed Greybox FuzzingMarcel Böhme, Van-Thuan Pham, Manh-Dung Nguyen, Abhik RoychoudhuryCCS 2017 · 836 次引用
  4. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
  5. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 次引用

相关 Paper

  1. Morphuzz: Bending (Input) Space to Fuzz Virtual DevicesAlexander Bulekov, Bandan Das, Stefan Hajnoczi, Manuel EgeleUSENIX Security 2022
  2. HYPER-CUBE: High-Dimensional Hypervisor FuzzingSergej Schumilo, Cornelius Aschermann, Ali Abbasi, Simon Wörner 等NDSS 2020
  3. MundoFuzz: Hypervisor Fuzzing with Statistical Coverage Testing and Grammar InferenceCheolwoo Myung, Gwangmu Lee, Byoungyoung LeeUSENIX Security 2022
  4. HyperMirage: Direct State Manipulation in Hybrid Virtual CPU FuzzingManuel Andreas, Fabian Specht, Marius MomeuNDSS 2026
  5. NecoFuzz: Effective Fuzzing of Nested Virtualization via Fuzz-Harness Virtual MachinesReima Ishii, Takaaki Fukai, Takahiro ShinagawaEuroSys 2026
黄昏的海面,两侧是细线勾勒的悬崖