基於安全相關操作導引之多參數模糊測試

Security Sensitive Operations Guided Multi-Argument Fuzzing

檔案

日期

2023

類型

語言

中文

摘要

隨著科技的不斷進步,軟體品質已經成為人們越來越注重的焦點,因為軟體中的任何一個缺陷都有可能為攻擊者提供潛在的攻擊機會,而自動化的測試通常有較高的效率和準確度,所以透過自動化的檢測工具來確保軟體的安全性及可靠性,是一件非常重要的事。

本研究以多參數模糊測試工具為基礎,結合安全性分支覆蓋率作為回饋,用以修改傳統模糊測試工具當中的輸入隊列選擇方式,並探討其影響,實作出新的多參數模糊測試工具SSG-Fuzz。透過多參數模糊測試的架構,使得我們可以同時對受測程式的各種參數組合進行測試,提高分支覆蓋率的同時,也在挖掘漏洞的能力上有顯著的提升,然而,除了提高分支覆蓋率之外,我們也希望可以針對那些更有可能產生漏洞的程式碼片段,進行更多的測試,因此我們以安全性分支覆蓋率為導向,檢查分支是否包含記憶體讀寫的相關操作,來作為分類分支的依據,並根據這樣的結果來修改我們測試資料的選擇策略。

最後,我們透過實驗證明,本篇論文所設計的 SSG-Fuzz,相較於現有的多參數模糊測試工具而言,不僅能夠保持相近的分支覆蓋率,還能夠在挖掘漏洞的能力上有所提升。在我們的研究過程中,總共在開源專案中發現了 9 個新的漏洞,並將這些漏洞回報給開發者,取得了 8 個 CVE 編號。
With the continuous advancement of technology, software quality has become an increasingly significant focus for people. This is because any defect in software can potentially provide attackers with vulnerabilities. Automated testing is often more efficient and accurate, making it crucial to ensure the security and reliability of software through automated testing tools.

This study is based on multi-argument fuzzing tools and incorporates security sensitive edge coverage as feedback to modify the seed selection method in traditional fuzz testing tools. We explore the impact of these modifications and implement a new multi-argument fuzzing tool called SSG-Fuzz. Through the architecture of multi-argument fuzz testing, we can simultaneously test various combinations of parameters in the target program, which not only enhances edge coverage but also significantly improves vulnerability discovery capabilities. However, in addition to increasing edge coverage, we also aim to conduct more testing on code segments that are more likely to produce vulnerabilities. Therefore, we orient our approach towards security sensitive edge coverage, checking whether branches involve memory read or write operations as the basis for categorizing edges, and modifying our seed selection strategy based on these results.

Finally, through experiments, we demonstrate that the SSG-Fuzz designed in this paper, compared to existing multi-argument fuzzing tools, not only maintains a similar edge coverage but also enhances vulnerability discovery capabilities. Throughout our research, we discovered a total of 9 new vulnerabilities in open-source projects. Subsequently, we reported these vulnerabilities to the developers, and we obtained 8 CVE IDs.
顯示完整詮釋資料 統計資料

引用此條目

張逸軍 (2023). 基於安全相關操作導引之多參數模糊測試. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/982

BibTeX RIS

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

分享

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