Wisp: 網路協定模糊測試的效能評估與改善方法

Wisp: On the Performance Profiling and Improvement of Fuzzing for Network Protocols

檔案

日期

2022

類型

語言

中文

摘要

模糊測試(Fuzz Testing)是現今漏洞挖掘的熱門技術,測試目標涉及各式各樣的領域,常用的網路協定也是其中之一。然而與一般程式不同,測試網路協定程式必須透過網路傳輸測試資料,途中的網路延遲與應用程式相關的處理延遲導致模糊測試器(Fuzzer)的處理量(Throughput)遠低於一般程式。

本論文提出了Wisp,一個基於狀態與覆蓋率的灰箱模糊測試器(Stateful Coverage-based Greybox Fuzzer)來改進網路協定測試處理量低的問題。Wisp對模糊測試器AFLNET進行了效能評估來確認不同模糊測試階段花費的時間,並根據其結果使用數種機制來提升模糊測試速度,包含了以共享記憶體為基礎的網路接口置換、額外的控制接口(Control Socket)與動態CPU綁定(Dynamic Affinity)。經實驗測試三種不同的協定實踐,能夠提升介於1.9倍到15.88倍的處理量,進而增加邊緣覆蓋率(Edge Coverage)與加快找到錯誤的速度(Time to error)。
Fuzz testing is a popular technique for discovering vulnerabilities nowadays, and testing targets can be related to various subjects, such as network protocols. However, network protocol fuzzing sends test cases through network socket compared to normal fuzzing, so network delays and application-specific processing delays result in low throughput.

In this thesis, we propose Wisp, a stateful coverage-based greybox fuzzer, to deal with the above problem. Wisp checks time cost in different fuzzing stages by profiling the AFLNET fuzzer and uses multiple mechanisms to improve fuzzing throughput, including shared memory-based socket replacement, extra control socket, and dynamic affinity. The experiment results against three protocol implementations show that Wisp can improve fuzzing throughput ranging from 1.9x and 15.88x. Moreover, it can increase edge coverage and reduce time to error.
顯示完整詮釋資料 統計資料

引用此條目

黃冠璋 (2022). Wisp: 網路協定模糊測試的效能評估與改善方法. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/81045

BibTeX RIS

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

分享

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