Chuengsatiansup, C.Ronen, E.Rose, G.G.Yarom, Y.2022-08-112022-08-112023The Computer Journal, 2023; 66(6):1335-13410010-46201460-2067https://hdl.handle.net/2440/135982Advance Access publication on 19 July 2022The Pilsung cipher is part of the North Korean Red Star operating system, which was leaked to the West in 2014. Initial analysis by Kryptos Logic reported a possibility of a class of weak keys due to the use of pseudo-random diffusion. Following this lead, we analyzed the cipher and identified a small class of such weak keys. We developed techniques for searching for a key that belongs to the class. After spending thousands of CPU hours, we found a supposedly weak key for a slightly weaker version of Pilsung, but the key did not behave as we expected. On further investigation we found out a crucial misunderstanding in a critical part of the cipher and that no such class of weak keys exists in Pilsung. Thus, this paper makes two main contributions to the art of cryptanalysis. First, it identifies and shows how to investigate a potential weakness in randomizing diffusion, which although does not exist in Pilsung, may affect future designs. Second, it highlights the need for early verification of results in order to identify errors before expending significant resources.en© The Author(s) 2022. Published by Oxford University Press on behalf of The British Computer Society. This is an Open Access article distributed under the terms of the Creative Commons Attribution-NonCommercial License (http:// creativecommons.org/licenses/by-nc/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original work is properly cited.Pilsung; AES; weak keys; differential analysisRow, Row, Row Your Boat: How to Not Find Weak Keys in PilsungJournal article10.1093/comjnl/bxac0922022-08-11581684Yarom, Y. [0000-0003-0401-4197]