A Novel Memory-Efficient MitM Attack on Ascon-Hash
This paper proposes a novel memory-efficient Meet-in-the-Middle attack on round-reduced Ascon-Hash that leverages SAT modeling, Gaussian elimination, and triangulation to significantly reduce memory complexity while maintaining the best-known time complexities.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the digital world, security often relies on a delicate balance between strength and efficiency. For the billions of tiny, battery-powered devices that make up the Internet of Things—sensors in factories, smart meters, and medical monitors—computing power is scarce, and memory is even scarcer. These devices need cryptographic tools that are robust enough to keep data safe but light enough to run without draining a battery or filling up a tiny chip. Ascon is a leading solution for this challenge, a family of encryption and hashing methods designed specifically for these resource-constrained environments. To ensure Ascon remains safe, researchers constantly test it against sophisticated attacks, trying to find the shortest path to break its code. One of the most powerful tools in this arsenal is the "meet-in-the-middle" attack, a strategy where an attacker works backward from the final result and forward from the starting point, hoping to meet in the middle with a match. However, this strategy has traditionally required a massive amount of memory to store the millions of intermediate steps, a requirement that often made the attack impractical for the very devices Ascon is meant to protect.
A team of researchers has now developed a new way to execute this attack that drastically cuts down the memory needed, making the test far more realistic for lightweight systems. In a study focused on the Ascon-Hash function, the authors demonstrated that they could perform the attack on a reduced version of the system using significantly less storage space than previously thought possible, without sacrificing the speed of the calculation. By treating the problem as a complex puzzle of logical constraints, they found a way to filter out unnecessary data before it ever needed to be stored. Their work shows that for a three-round version of the hash, the memory required can be reduced from a complexity of 2^24 down to 2^14. For a four-round version, the reduction is even more dramatic, dropping the requirement from a complexity of 2^34 to 2^12. This achievement does not just lower the cost of the attack; it provides a sharper, more accurate picture of how secure Ascon truly is when facing an adversary with limited resources.
The researchers began by acknowledging that previous attempts to break Ascon using automated search tools had hit a wall of memory usage. While computers had become faster at finding the right path through the encryption, the process still demanded that the attacker keep a vast library of intermediate results in memory, much like trying to solve a maze by writing down every single turn you take on a separate piece of paper. If the maze is large enough, you run out of paper long before you find the exit. The team realized that the key to solving this was not just finding the path faster, but being smarter about what they wrote down. They used a method called satisfiability solving, which is essentially a way of asking a computer to find a set of conditions that makes a complex logical statement true. This allowed them to map out the specific points in the encryption process where the forward and backward calculations could potentially meet.
Once they had mapped out these potential meeting points, the researchers applied a series of algebraic filters to clean up the data. They noticed that many of the constraints governing the encryption could be separated into simple, linear relationships and more complex, nonlinear ones. The linear parts were straightforward; they could be simplified using standard mathematical techniques to remove redundant information, effectively shrinking the list of possibilities the computer had to track. The nonlinear parts were trickier, but the team developed a method to rearrange them into a triangular shape, allowing them to solve for certain variables based on others. This process eliminated the need to explicitly calculate and store those specific variables, further reducing the memory footprint.
The most significant innovation came in how they handled the remaining complex constraints that could not be easily simplified. Instead of storing every possible outcome, the researchers used these remaining constraints to create a "residual index," a kind of digital tag or label. As they generated the list of potential forward paths, they assigned each one a tag based on its specific properties. Crucially, they realized that the backward path could only match with a forward path if their tags were compatible. This meant that the computer did not need to keep every single forward path in memory; it only needed to keep the ones that carried a tag that the backward path could possibly reach. In the specific configurations they tested, this filtering was so effective that it reduced the entire list of necessary forward paths to a single, tiny bucket of data.
The results of this new approach were striking. When applied to a three-round version of Ascon-Hash, the method maintained the same speed as previous attacks but reduced the memory requirement from a complexity of 2^24 to 2^14. For the four-round version, the reduction was even more profound, cutting the memory need from a complexity of 2^34 to 2^12 compared to the previous best method. The researchers verified that this aggressive filtering did not accidentally discard valid solutions; they checked that the remaining data still satisfied all the original rules of the encryption system. The study confirms that by carefully analyzing the structure of the encryption and applying these logical filters, it is possible to perform deep security tests with a fraction of the resources previously thought necessary. This work suggests that the security margin of Ascon in resource-limited environments is being evaluated with greater precision, ensuring that the cryptographic standards protecting our connected world are as robust as they appear.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.