Contact Us Search Paper

Key-Distinguishing Attack on XOR Operations Under Uncertain Ciphertext

Zeben Yang1, Yi Tian2, Jun Yan3, and Zhenqiang Wu4, 5, *

Corresponding Author:

Zhenqiang Wu

Affiliation(s):

1School of Mathematics and Statistics, Shaanxi Normal University, Xi'an, 710119, China

2School of Economics and Management, Shangluo University, Shangluo, 726000, China

3School of Mathematics and Computer Applications, Shangluo University, Shangluo, 726000, China

4Shaanxi Key Laboratory of Network and System Security, Xidian University, Xi'an, 710071, China

5School of Artificial Intelligence and Computer Science, Shaanxi Normal University, Xi'an, 710119, China

*Corresponding author

Abstract:

With the rapid development of emerging network infrastructures, including the Internet of Things (IoT), non-terrestrial networks, and edge computing, lightweight cryptography has been widely adopted in resource-constrained network devices. As the exclusive-or (XOR) operation is commonly used for linear mixing and masking, the distinguishability of its outputs over noisy channels warrants dedicated investigation. Standard models of classical cryptanalysis generally adopt an idealized noise-free assumption, under which an adversary can obtain complete and accurate ciphertexts. In practical transmission, however, channel noise and environmental interference may cause random bit flips in ciphertexts, producing uncertain ciphertext observations and severely degrading or even invalidating conventional distinguishing attacks. To address this issue, this paper constructs a noise-perturbation model based on a transition probability matrix, investigates key-bit distinguishing from repeated XOR observations over a binary asymmetric channel, and proposes a Manhattan-distance-based mean-prototype key-bit distinguishing framework. When the channel noise parameters are known, deterministic prototypes are constructed from the theoretical means of the two conditional distributions, and each key bit is classified according to the Manhattan distances between the observation vector and the two prototypes. A closed-form Gaussian approximation to the single-key-bit distinguishing success rate is derived, followed by an analysis of the special case of symmetric perturbations. When the channel noise parameters are unknown, a data-driven approach to prototype construction using method-of-moments estimation is further developed. An approximate expression for the probability of correctly distinguishing a single key bit is then derived to account for the effect of training sample size. Monte Carlo experiments compare the theoretical approximations with empirical results under different channel parameters and sample sizes, demonstrating that p+q = 1 constitutes the non-identifiability boundary of the observation channel. The proposed method provides a low-complexity and interpretable statistical tool for XOR key-bit distinguishing in noisy network environments, as well as methodological and theoretical support for key-recovery attacks in practical network scenarios.

Keywords:

Applied cryptography, binary asymmetric channel, uncertain ciphertext, key-bit distinguishing attack, Manhattan distance

Downloads: 14 Views: 72
Cite This Paper:

Zeben Yang, Yi Tian, Jun Yan, and Zhenqiang Wu (2026). Key-Distinguishing Attack on XOR Operations Under Uncertain Ciphertext. Journal of Networking and Network Applications, Volume 6, Issue 3, pp. 132–143. https://doi.org/10.33969/J-NaNA.2026.060303.

References:

[1] A. Al-Fuqaha, M. Guizani, M. Mohammadi, M. Aledhari, and M. Ayyash, Internet of Things: A survey on enabling technologies, protocols, and applications, IEEE Communications Surveys & Tutorials, vol. 17, no. 4, pp. 2347–2376, 2015.

[2] C. Bormann, M. Ersue, and A. Ker¨anen, Terminology for Constrained-Node Networks, RFC 7228, 2014.

[3] S. Sicari, A. Rizzardi, L. A. Grieco, and A. Coen-Porisini, Security, privacy and trust in Internet of Things: The road ahead, Computer Networks, vol. 76, pp. 146–164, 2015.

[4] K. A. McKay, L. Bassham, M. S. Turan, and N. Mouha, Report on Lightweight Cryptography, NISTIR 8114, 2017.

[5] M. Rana, Q. Mamun, and R. Islam, Lightweight cryp-tography in IoT networks: A survey, Future Generation Computer Systems, vol. 129, pp. 77–89, 2022.

[6] R. Beaulieu, D. Shors, J. Smith, S. Treatman-Clark, B. Weeks, and L. Wingers, The SIMON and SPECK lightweight block ciphers, in Proceedings of the 52nd Annual Design Automation Conference, pp. 1–6, 2015.

[7] C. Dobraunig, M. Eichlseder, F. Mendel, and M. Schl¨af-fer, Ascon v1.2: Lightweight authenticated encryption and hashing, Journal of Cryptology, vol. 34, no. 3, Article 33, 2021.

[8] M. S. Turan, K. A. McKay, D. Chang, J. Kang, and J. Kelsey, Ascon-Based Lightweight Cryptography Stan-dards for Constrained Devices, NIST SP 800-232, 2025.

[9] E. Biham and A. Shamir, Differential cryptanalysis of DES-like cryptosystems, Journal of Cryptology, vol. 4, no. 1, pp. 3–72, 1991.

[10] M. Matsui, Linear cryptanalysis method for DES ci-pher, in Advances in Cryptology—EUROCRYPT ’93, pp. 386–397, 1994.

[11] L. R. Knudsen, Truncated and higher order differentials, in Fast Software Encryption, pp. 196–211, 1995.

[12] N. Mouha, Q. Wang, D. Gu, and B. Preneel, Differential and linear cryptanalysis using mixed-integer linear pro-gramming, in Information Security and Cryptology, pp. 57–76, 2012.

[13] D. J. Costello and G. D. Forney, Channel coding: The road to channel capacity, Proceedings of the IEEE, vol. 95, no. 6, pp. 1150–1177, 2007.

[14] M. Giordani and M. Zorzi, Non-terrestrial networks in the 6G era: Challenges and opportunities, IEEE Net-work, vol. 35, no. 2, pp. 244–251, 2021.

[15] K. Jamieson and H. Balakrishnan, PPR: Partial packet recovery for wireless networks, ACM SIGCOMM Com-puter Communication Review, vol. 37, no. 4, pp. 409–420, 2007.

[16] B. Han, L. Ji, S. Lee, B. Bhattacharjee, and R. R. Miller, All bits are not equal: A study of IEEE 802.11 communication bit errors, in IEEE INFOCOM 2009, pp. 1602–1610, 2009.

[17] F. Schmidt, M. Ceriotti, and K. Wehrle, Bit error distri-bution and mutation patterns of corrupted packets in low-power wireless networks, in Proceedings of WiNTECH ’13, pp. 49–56, 2013.

[18] Y. S. Khiabani, S. Wei, J. Yuan, and J. Wang, Linear cryptanalysis against block ciphered system under noisy ciphertexts, in IEEE GLOBECOM 2012, pp. 856–861, 2012.

[19] Y. Xi, R. Feng, Y. Zhou, H. Liu, and L. Lu, Analysis methods for block ciphers under noise interference: A case study of XOR operations, in 2025 International Conference on Satellite Internet, pp. 67–72, 2025.

[20] T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed. Wiley, 2006.

[21] G. Cotardo and A. Ravagnani, Parameters of Codes for the Binary Asymmetric Channel, IEEE Transactions on Information Theory, vol. 68, no. 5, pp. 2941–2950, 2022.