μCFI: Formal Verification of Microarchitectural Control-flow Integrity


연구 분야: Verification



학회: CCS '24: Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security


초록

Formal verification of hardware often requires the creation of clock-cycle accurate properties that need tedious and error-prone adaptations for each design. Property violations further require attention from verification engineers to identify affected instructions. This oftentimes manual effort hinders the adoption of formal verification at scale. This paper introduces Microarchitectural Control-Flow Integrity (μCFI), a new general security property that can capture multiple classes of vulnerabilities under different threat models, most notably the microarchitectural violation of constant-time execution and (micro-)architectural vulnerabilities that allow an attacker to hijack the (architectural) control flow. We show a novel approach for the verification of μCFI using a single property that checks for information flows from instruction operands to the program counter by injecting taint at appropriate clock cycles. To check arbitrary sequences of instructions and associate property violations to a specific Instruction Under Verification (IUV), we propose techniques for declassifying tainted data when it is being written to registers and forwarded from the IUV through architecturally known paths. We show that our verification approach is low effort (e.g., requires tagging six signals) while capturing all interactions between unbounded sequences of instructions in the extended threat model of øurname. We verify four RISC-V CPUs against μCFI and prove that μCFI is satisfied in many cases while detecting five new security vulnerabilities (4 CVEs), three of which are in Ibex, which has already been checked by state-of-the-art verification approaches.


Author Profile
Katharina Ceesay-Seitz

ETH Zurich Zurich Switzerland

Ethiopia
Author Profile
Flavien Solt

ETH Zurich Zurich Switzerland

Ethiopia
Author Profile
Kaveh Razavi

ETH Zurich Zurich Switzerland

Ethiopia

📄 논문 정보

발행 연도 2024년
인용수 2
출판 국가 Ethiopia
사이트 ACM
좋아요 수 0

연관 논문 목록 (46건)