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

针对容错学习的攻击基准测试

Benchmarking Attacks on Learning with Errors

Emily Wenger, Eshika Saxena, Mohamed Malhou, Ellie Thieu, Kristin Lauter

AI总结:

该研究针对标准化LWE参数下的小/稀疏秘密,提供首个LWE秘密恢复攻击基准,扩展并实现四种攻击并对比实际性能与理论估计,开源代码以助力后量子密码安全性研究。

摘要:

基于容错学习(LWE)困难性假设的格密码方案已被NIST标准化为后量子密码系统,也被HomomorphicEncryption.org标准化用于敏感数据的加密计算。因此,理解其具体安全性至关重要。大多数关于LWE安全性的研究聚焦于攻击性能的理论评估,这一点很重要,但可能会忽略实际实现中出现的攻击细节差异。现有的唯一具体基准测试工作——达姆施塔特格挑战(Darmstadt Lattice Challenge),并未包含与标准化LWE参数选择相关的基准,比如小秘密和小误差分布,以及环-LWE(RLWE)和模-LWE(MLWE)变体。为了提升我们对LWE具体安全性的理解,我们针对标准化参数下的小权重和低权重(稀疏)秘密,提供了首个LWE秘密恢复基准测试。我们在这些设置下评估了四种LWE攻击作为基线:搜索型LWE攻击uSVP、SALSA和Cool & Cruel,以及判定型LWE攻击:双混合中间相遇(MitM)。我们对SALSA和Cool & Cruel攻击进行了重要扩展,并首次实现并扩展了MitM攻击的规模。例如,我们使用SALSA和Cool&Cruel在28-36小时内恢复了KYBER(κ=2)参数下汉明重量为9-11的二项式秘密;同时我们发现,对于Kyber参数,MitM可以在1小时内解决汉明重量高达4的判定型LWE实例,而uSVP攻击运行超过1100小时后仍未恢复任何秘密。我们还将具体性能与理论估计进行了比较。最后,我们开源了代码以支持未来研究。

英文摘要:

Lattice cryptography schemes based on the learning with errors (LWE) hardness assumption have been standardized by NIST for use as post-quantum cryptosystems, and by HomomorphicEncryption.org for encrypted compute on sensitive data. Thus, understanding their concrete security is critical. Most work on LWE security focuses on theoretical estimates of attack performance, which is important but may overlook attack nuances arising in real-world implementations. The sole existing concrete benchmarking effort, the Darmstadt Lattice Challenge, does not include benchmarks relevant to the standardized LWE parameter choices - such as small secret and small error distributions, and Ring-LWE (RLWE) and Module-LWE (MLWE) variants. To improve our understanding of concrete LWE security, we provide the first benchmarks for LWE secret recovery on standardized parameters, for small and low-weight (sparse) secrets. We evaluate four LWE attacks in these settings to serve as a baseline: the Search-LWE attacks uSVP, SALSA, and Cool & Cruel, and the Decision-LWE attack: Dual Hybrid Meet-in-the-Middle (MitM). We extend the SALSA and Cool & Cruel attacks in significant ways, and implement and scale up MitM attacks for the first time. For example, we recover hamming weight $9-11$ binomial secrets for KYBER ($κ=2$) parameters in $28-36$ hours with SALSA and Cool\&Cruel, while we find that MitM can solve Decision-LWE instances for hamming weights up to $4$ in under an hour for Kyber parameters, while uSVP attacks do not recover any secrets after running for more than $1100$ hours. We also compare concrete performance against theoretical estimates. Finally, we open source the code to enable future research.

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

↑