主動式控制流劫持漏洞探測與抑制
Proactive Control-flow Hijack Vulnerability Probing and Inhibition
摘要
隨著軟體越來越複雜,漏洞成為了軟體安全領域中難以避免的挑戰。當漏洞被
觸發並可能導致漏洞攻擊的第一時間,我們的系統能夠迅速採取行動,引入動
態補丁的機制,以防止控制流劫持攻擊進一步危害系統。這種機制的關鍵在於
利用符號化執行來尋找漏洞利用的狀態,然後通過二分搜尋演算法,對漏洞利
用條件進行收斂,以確定觸發控制流劫持漏洞攻擊的判斷條件。我們的動態補
丁機制透過自主設計的偵錯程式對應用程式進行動態監測實現,當系統偵測到
漏洞觸發時,我們會在漏洞路徑上設置中斷點。一旦中斷點被觸發,我們即刻
使用符號化執行所獲得的判斷條件對應用程式進行檢測,若判斷條件成立並則
進行應對措施,避免漏洞導致的控制流劫持和安全風險。我們的系統在漏洞防
禦方面採用了動態補丁和符號化執行的綜合機制。在不需重新編譯執行檔的情
況下,迅速應對漏洞攻擊事件,保護系統的安全,並最小化應用程式的干擾。
這一研究的成果在當前的資訊安全領域中具有重要意義,有助於提高系統的安
全性和穩定性。
觸發並可能導致漏洞攻擊的第一時間,我們的系統能夠迅速採取行動,引入動
態補丁的機制,以防止控制流劫持攻擊進一步危害系統。這種機制的關鍵在於
利用符號化執行來尋找漏洞利用的狀態,然後通過二分搜尋演算法,對漏洞利
用條件進行收斂,以確定觸發控制流劫持漏洞攻擊的判斷條件。我們的動態補
丁機制透過自主設計的偵錯程式對應用程式進行動態監測實現,當系統偵測到
漏洞觸發時,我們會在漏洞路徑上設置中斷點。一旦中斷點被觸發,我們即刻
使用符號化執行所獲得的判斷條件對應用程式進行檢測,若判斷條件成立並則
進行應對措施,避免漏洞導致的控制流劫持和安全風險。我們的系統在漏洞防
禦方面採用了動態補丁和符號化執行的綜合機制。在不需重新編譯執行檔的情
況下,迅速應對漏洞攻擊事件,保護系統的安全,並最小化應用程式的干擾。
這一研究的成果在當前的資訊安全領域中具有重要意義,有助於提高系統的安
全性和穩定性。
As software complexity continues to increase, vulnerabilities have become an inevitable challenge in the field of software security. When vulnerabilities are triggered, potentially leading to vulnerability attacks, our system can take swift action by implementing a dynamic patching mechanism to prevent further exploitation of control flow hijacking attacks on the system. The key to this mechanism lies in the utilization of symbolic execution to identify states in which vulnerabilities are exploited, followed by the convergence of vulnerability exploitation conditions using a binary search algorithm to determine the judgment criteria for triggering control flow hijacking vulnerability attacks. Our dynamic patching mechanism is realized through the dynamic monitoring of applications by a self-designed debugging program. When the system detects the triggering of vulnerabilities, we establish breakpoints along the vulnerability path. Once a breakpoint is triggered, we immediately employ the judgment criteria obtained through symbolic execution to inspect the application. If the judgment criteria are met, appropriate countermeasures are taken to prevent control flow hijacking and mitigate security risks caused by vulnerabilities. Our system employs a comprehensive mechanism of dynamic patching and symbolic execution for vulnerability defense. It enables rapid responses to vulnerability attack events without the need for recompilation of executable files, thereby safeguarding system security and minimizing disruption to applications. The outcomes of this research hold significant relevance in the current field of information security, contributing to the enhancement of system security and stability.