This repository encompasses the practical realization of Lattice Attacks against the Elliptic Curve Digital Signature Algorithm (ECDSA), as outlined in the following research paper: "Back to Construct a More Effective Lattice: a Generic Attack Model on ECDSA"
This compressed file contains 100 folders, with each folder housing the signature data collected from 1000 signatures using the same private key, including values such as 'r', 's', etc. The private keys differ among different folders. Please ensure that the file path is correctly set up before use.
This script implements Variant 1 to attack the MSB or LSB leakage models, where the number of signatures, the number of leaked bits, and other parameters can be specified.