透過容器與檔案系統快照與還原實現在線模糊測試之橫向擴展

Scaling Out In-Vivo Fuzz Testing with Cross-Machine Container and File System Snapshots and Restores

檔案

全文將於 2030年8月12日 起公開。

日期

2026

類型

語言

中文

摘要

傳統 In-Vivo Fuzzing 系統需針對正在執行的目標程式進行動態錄製與模糊測試,其測試流程侷限於單一主機執行,每次檢查點的還原與測試必須中斷原本運行中的服務,造成服務中斷風險與測試流程的低效率,亦與 In-Vivo Fuzzing 所追求的「不中斷測試」原則相違。本研究針對此限制提出跨主機容器遷移機制,將容器執行狀態及其對應檔案系統完整遷移至其他測試節點,實現不中斷、分散式且具彈性的測試調度流程,進一步提升模糊測試的即時性與可擴展性。本系統整合 Podman 容器平台、CRIU(Checkpoint/Restore In Userspace)檢查點技術與 Btrfs 檔案系統快照,實現記憶體與檔案狀態同步凍結與一致性還原。參考 Picocenter 所提出虛擬機快照一致性的設計理念,我們透過協調式容器暫停操作,確保記憶體狀態(CRIU dump)與檔案系統狀態(Btrfs snapshot)於同一時間點共同保存,達成具一致性的可回溯環境。再搭配 Restic 與 Backblaze B2 雲端儲存服務,提供高效能的檢查點備份與跨節點還原能力。本研究實作的容器遷移與還原機制不僅提升容器級模糊測試的效率與穩定性,亦為分散式 In-Vivo Fuzzing 測試架構提供一項可擴展的解決方法。
In-Vivo Fuzzing enables dynamic testing of live systems by recording and analyzing execution traces without halting the target application. However, previous In-Vivo testing is limited to restoring checkpoints only on the original host, requiring the termination of the running service before fuzzing can proceed. This constraint not only increases response latency but also contradicts the fundamental principle of In-Vivo Fuzzing’s non-disruptive testing. To address this limitation, we present a cross-host live migration mechanism that allows checkpoints and their associated file system state to be relocated and restored on remote testing nodes. This design enables flexible and immediate scheduling of fuzzing tasks across multiple hosts without interfering with the original service. The aim is to support distributed and scalable fuzz testing across multiple hosts through reliable and efficient container migration. Our system leverages Podman containers, CRIU (Checkpoint/Restore in Userspace), and Btrfs snapshots to achieve container-level isolation and consistent state restoration. Inspired by Picocenter’s design for VM state consistency via synchronized snapshots, we implement coordinated suspension of container processes to capture both memory state (via CRIU) and file system state (via Btrfs) at a single, synchronized point in time. Additionally, we integrate Restic and Backblaze B2 cloud storage to support efficient, versioned, and portable backup of checkpoints. This work provides a scalable and non-intrusive foundation for distributed In-Vivo Fuzzing and demonstrates the feasibility of coordinated snapshot-based state migration for containerized applications.
顯示完整詮釋資料 統計資料

引用此條目

李亭萱 (2026). 透過容器與檔案系統快照與還原實現在線模糊測試之橫向擴展. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/86149

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/86149