arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01568cs.CR
收藏

针对安全设备和安全 API 的自适应漏洞利用生成

Adaptive Exploit Generation against Security Devices and Security APIs

Robert Künnemann, Julian Biehl

AI总结:

本文扩展 ProVerif,通过语言无关模板将攻击轨迹自动转换为针对安全 API 的概念验证漏洞利用,并在 W3C Web Cryptography API、PKCS#11 和 YubiHSM2 上验证。

摘要:

概念验证漏洞利用有助于无可置疑地证明软件漏洞,并向非专家传达攻击。但漏洞利用可能是特定于配置的,例如在安全 API 中,密钥是专门为该 API 所服务的应用和企业设置的。在本工作中,我们展示了如何使用形式化方法自动推导针对安全 API 的概念验证漏洞利用。我们通过一种与语言无关的模板机制扩展了广受欢迎的协议验证器 ProVerif。利用附加到模型中各步骤的程序片段,我们可以将攻击轨迹(ProVerif 通常会自动发现这些轨迹)转换为程序。我们的方法通用、灵活且方便。我们展示了其在 W3C Web Cryptography API、PKCS#11 和 YubiHSM2 上的应用,并为后者提供了首个形式化模型。

英文摘要:

Proof-of-concept exploits help demonstrate software vulnerability beyond doubt and communicate attacks to non-experts. But exploits can be configuration-specific, for example when in Security APIs, where keys are set up specifically for the application and enterprise the API serves. In this work, we show how to automatically derive proof-of-concept exploits against Security APIs using formal methods. We extend the popular protocol verifier ProVerif with a language-agnostic template mechanism. Employing program snippets attached to steps in the model, we can transform attack traces (which ProVerif typically finds automatically) into programs. Our method is general, flexible and convenient. We demonstrate its use for the W3C Web Cryptography API, for PKCS#11 and for the YubiHSM2, providing the first formal model of the latter.

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

↑