paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Abacus: Precise Side-Channel Analysis

Abacus:精确的侧信道分析
ICSE 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)2021匹配度 2/10 · 该论文属于传统程序分析与安全方向(符号执行+蒙特卡洛量化侧信道泄露),未涉及用户核心关注的 PL↔AI/LLM 交叉、浮点程序分析或贝叶斯程序分析,仅在最宽泛的“程序分析”层面有微弱关联。引用 25 inbox
Qinkun Bao, Zihao Wang, Xiaoting Li, James R. Larus, Dinghao Wu
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出精确量化单次执行侧信道泄露比特数的程序分析方法,并实现工具 Abacus。

现有侧信道检测能发现大量潜在漏洞,却无法量化单次攻击泄露的信息量,开发者难以判断严重性。本文提出精确量化单条执行轨迹侧信道泄露比特数的程序分析方法:将攻击者对每个泄露点的观察建模为约束,用符号执行生成约束,再以蒙特卡洛采样估计泄露比特数,并基于中心极限定理给出误差界;实现工具 Abacus。在 OpenSSL、mbedTLS、Libgcrypt 与 Monocypher 上评估表明,Abacus 在性能与准确率上优于现有动态检测工具;多数报告漏洞实际难以利用,应降低优先级,同时发现若干现有工具漏报的敏感漏洞,并经人工检查与联系开发者确认。

问题
现有侧信道检测工具虽能发现潜在漏洞,但无法量化泄露的信息量,使开发者难以评估严重性并决定修复优先级。
方法
将攻击者对每个泄露点的观察建模为约束,用符号执行生成约束,再通过蒙特卡洛采样估计泄露比特数,并用中心极限定理给出误差界;实现 Abacus 工具。
评估
在 OpenSSL、mbedTLS、Libgcrypt 和 Monocypher 上评估,与现有动态侧信道检测工具比较性能与准确率,并人工检查/联系开发者确认新发现漏洞。
原文摘要(Abstract)

Side-channel attacks allow adversaries to infer sensitive information from non-functional characteristics. Prior side-channel detection work is able to identify numerous potential vulnerabilities. However, in practice, many such vulnerabilities leak a negligible amount of sensitive information, and thus developers are often reluctant to address them. Existing tools do not provide information to evaluate a leak's severity, such as the number of leaked bits. To address this issue, we propose a new program analysis method to precisely quantify the leaked information in a single-trace attack through side-channels. It can identify covert information flows in programs that expose confidential information and can reason about security flaws that would otherwise be difficult, if not impossible, for a developer to find. We model an attacker's observation of each leakage site as a constraint. We use symbolic execution to generate these constraints and then run Monte Carlo sampling to estimate the number of leaked bits for each leakage site. By applying the Central Limit Theorem, we provide an error bound for these estimations. We have implemented the technique in a tool called Abacus, which not only finds very fine-grained side-channel vulnerabilities but also estimates how many bits are leaked. Abacus outperforms existing dynamic side-channel detection tools in performance and accuracy. We evaluate Abacus on OpenSSL, mbedTLS, Libgcrypt, and Monocypher. Our results demonstrate that most reported vulnerabilities are difficult to exploit in practice and should be de-prioritized by developers. We also find several sensitive vulnerabilities that are missed by the existing tools. We confirm those vulnerabilities with manual checks and by contacting the developers.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{BaoWLLW21,
  title = {Abacus: Precise Side-Channel Analysis},
  author = {Qinkun Bao and Zihao Wang and Xiaoting Li and James R. Larus and Dinghao Wu},
  booktitle = {ICSE},
  year = {2021},
  doi = {10.1109/icse43902.2021.00078}
}