arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2607.07926cs.CR
收藏

KS-CFA:通过符号重放抵御控制流弯曲攻击的控制流认证

KS-CFA: Control-Flow Attestation via Symbolic Replay Against Control-Flow Bending Attacks

Royal Holloway, University of London(伦敦大学皇家霍洛威学院);Durham University(杜伦大学)

Zhanyu Sha, Konstantinos Markantonakis, Carlton Shepherd, Amir Rafi

AI总结:

研究针对控制流弯曲攻击难检测问题,提出KS-CFA方案,结合符号执行与输入源控制流相关变量识别,在可信执行环境记录控制流跟踪和输入,验证器重放路径检测攻击,实现时证明端开销有倍数提升,验证无需枚举。

摘要:

控制流认证(CFA)可让远程实体通过在运行时监控控制流行为来验证目标设备上的程序执行。然而,控制流弯曲(CFB)攻击仍难以检测,对手通过破坏分支标志、循环计数器和其他运行时数据,沿程序控制流图的合法边引导执行。现有解决方案存在重大缺陷。本文提出KS-CFA,一种新的CFA方案,可检测四种转移类型的CFB攻击且无上述代价。为此,结合符号执行和输入源控制流相关变量的选择性识别。证明设备在可信执行环境中记录控制流跟踪和外部输入,验证器通过单路径符号执行重放报告路径,预测转移并定位攻击分歧。通过RISC-V Keystone TEE和Embench-IoT在QEMU和基于Rocket的FPGA平台上实现并评估KS-CFA。证明端开销在QEMU上为6.8 - 20.5倍,在FPGA上为6.7 - 32.2倍,验证无需路径或值枚举。

英文摘要:

Control-flow attestation (CFA) enables a remote entity to verify program execution on a target device by monitoring control-flow behaviour at runtime. However, control-flow bending (CFB) attacks remain difficult to detect, where an adversary steers execution along legal edges of the program's control-flow graph by corrupting branch flags, loop counters, and other runtime data. Existing solutions impose significant drawbacks: they require enumerating vast measurement spaces, cover only a reduced subset of attacks, or rely on low-level hardware modifications. In this work, we present KS-CFA, a new CFA scheme that detects CFB attacks across four transfer types (indirect calls, conditional and indirect jumps, and returns) without those costs. To this end, we combine symbolic execution and selective identification of input-sourced control-flow dependent variables: a strict subset of control-flow-relevant state whose values are directly read from external input. The proving device records, inside a trusted execution environment (TEE), a control-flow trace and the external inputs that determine relevant run-time variables. The verifier then replays the reported path through single-path symbolic execution, predicting each transfer and localising divergences that signal an attack. We implement and evaluate KS-CFA using the RISC-V Keystone TEE and Embench-IoT on QEMU and a Rocket-based FPGA platform (NiteFury II). Prover-side overhead relative to unattested execution ranges from 6.8-20.5x on QEMU and 6.7-32.2x on the FPGA, and verification requires no path or value enumeration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑