International Association for Cryptologic Research

International Association
for Cryptologic Research

Transactions on Cryptographic Hardware and Embedded Systems 2026

Faultless Key Recovery:

Iteration-Skip and Loop-Abort Fault Attacks on LESS


README

Artifact for Faultless Key Recovery: Iteration-Skip and Loop-Abort Fault Attacks on LESS

This is the artifact for the paper "Faultless Key Recovery: Iteration-Skip and Loop-Abort Fault Attacks on LESS", which has been published at TCHES 2026/3.

This artifact consists of three parts for readers to verify our algorithms:

  1. Simulation code in the "Single Iteration Skip" model with zero-filled array
  2. Simulation code in the "Loop Abort" model with zero-filled array
  3. Simulation code in the "Loop Abort" model with statically addressed array

For detailed functional descriptions of the four components, please refer to the README documents in the corresponding four subdirectories.

Prerequisites

To build and run artifact 1, 2 and 3, the following environments are required:

We advise that users run our code on Linux, for example, Ubuntu 22.04 or later versions, for best running results (We tested our artifact on Ubuntu 25.10 and 26.04). There may be some conflicting components, and some code is not guaranteed to run successfully on macOS.

Of course, it would be nice to use Docker to ensure a clean and reproducible environment, as well as to avoid dependency conflict with the host system. This is a favourable configuration:

FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
    bash \
    python3 \
    python3-pip \
    sagemath \
    g++ \
    clang \
    make \
    build-essential \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /app

CMD ["/bin/bash"]

Building and Running

For build and execution guidelines of the four components, please check the dedicated README files in each subdirectory.

Code Authorship and Origin

To clarify the authorship and origin of the code in this artifact, please note the following distinctions between our original contributions and the referenced official implementation:

Note

Due to space limit of the submission size, we can only provide the three directories for simulation to verify the correctness of our algorithms.

For the attack code on ChipWhisperer platform, see the 4-th directory at https://github.com/huangx607087/L-Artifact-LESS-Attack.