arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.19683cs.CRcs.LG
收藏

一种基于机器学习的轻量级分组密码密码学不可区分性评估框架

A Machine Learning-Based Framework for Assessing Cryptographic Indistinguishability of Lightweight Block Ciphers

Department of Computer Science, Texas A&M University(计算机科学系,德克萨斯A&M大学)

Jimmy Dani, Kalyan Nakka, Nitesh Saxena

AI总结:

提出基于机器学习的MIND-Crypt框架,在已知明文攻击下评估SPECK32/64和SIMON32/64等轻量级分组密码的不可区分性,实验证明现有密码对ML评估具有安全性。

摘要:

不可区分性是密码学安全的基本原则,对于保障物联网设备间传输的数据安全至关重要。该原则确保攻击者无法区分加密数据(即密文)与随机数据,或无法区分使用同一密钥加密的两条消息的密文。本研究调查了机器学习(ML)在评估加密系统不可区分性方面的能力,重点关注轻量级密码。作为首个案例研究,我们考虑了为在显著能耗限制下运行的物联网设备设计的SPECK32/64和SIMON32/64轻量级分组密码。本研究引入了MIND-Crypt,这是一种新颖的基于ML的框架,旨在已知明文攻击(KPA)下评估轻量级分组密码(特别是CBC模式(密码分组链接)下的SPECK32/64和SIMON32/64加密算法)的密码学不可区分性。我们的方法涉及使用同一密钥加密的两条明文消息的密文来训练ML模型,以确定ML算法是否能识别出有意义的密码学模式或泄漏。实验表明,现代ML技术持续达到相当于随机猜测的准确率,表明所考虑的轻量级分组密码生成的密文中不存在统计上可利用的模式。此外,我们证明,在ML算法中使用给定明文消息所有可能的密文组合,反映的是记忆能力,而非对未见密文的泛化能力。总体而言,这些发现表明现有的分组密码针对基于ML的不可区分性评估具有安全的密码学设计,即使在减少轮数的条件下也巩固了其安全性。

英文摘要:

Indistinguishability is a fundamental principle of cryptographic security, crucial for securing data transmitted between Internet of Things (IoT) devices. This principle ensures that an attacker cannot distinguish between the encrypted data, also known as ciphertext, and random data or the ciphertexts of the two messages encrypted with the same key. This research investigates the ability of machine learning (ML) in assessing indistinguishability property in encryption systems, with a focus on lightweight ciphers. As our first case study, we consider the SPECK32/64 and SIMON32/64 lightweight block ciphers, designed for IoT devices operating under significant energy constraints. In this research, we introduce MIND-Crypt, a novel ML-based framework designed to assess the cryptographic indistinguishability of lightweight block ciphers, specifically the SPECK32/64 and SIMON32/64 encryption algorithm in CBC mode (Cipher Block Chaining), under Known Plaintext Attacks (KPA). Our approach involves training ML models using ciphertexts from two plaintext messages encrypted with same key to determine whether ML algorithms can identify meaningful cryptographic patterns or leakage. Our experiments show that modern ML techniques consistently achieve accuracy equivalent to random guessing, indicating that no statistically exploitable patterns exists in the ciphertexts generated by considered lightweight block ciphers. Furthermore, we demonstrate that in ML algorithms with all the possible combinations of the ciphertexts for given plaintext messages reflects memorization rather than generalization to unseen ciphertexts. Collectively, these findings suggest that existing block ciphers have secure cryptographic designs against ML-based indistinguishability assessments, reinforcing their security even under round-reduced conditions.

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

↑