siweisun / aes-attacks-finder Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cbouilla/aes-attacks-finder
Automatic tool from 2011 to find low-data complexity MitM attacks on the AES
License: The Unlicense
This project forked from cbouilla/aes-attacks-finder
Automatic tool from 2011 to find low-data complexity MitM attacks on the AES
License: The Unlicense
Notes ======== This tool tries to generate automatically a program that finds the solutions of a system of equation given in the input. Note that compiling it requires flex (or lex) and bison (or yacc). It is typically invoked in the following way: ./Resolution -e equations_file.txt -t [log_256 of the maximum attack complexity] Examples ========= # finds an attack on 1 AES round, 1 known plaintext, complexity up to 2^(6*8) ./Resolution -e equations/1r.txt -t 6 # finds an attack on 1 AES round, 1 known plaintext, complexity up to 2^(4*8) ./Resolution -e equations/1r.txt -t 4 # disproves the existence of such attack with complexity 2^(3*8) or less ./Resolution -e equations/1r.txt -t 3 -r 1 # finds an attack on 2 AES rounds, 2 known plaintext, complexity up to 2^(4*8) ./Resolution -e equations/2r_2KP.txt -t 4 # finds an attack on 2 AES rounds, 1 known plaintext, complexity up to 2^(8*8) ./Resolution -e equations/2r.txt -t 8 # finds the state-recovery part of the attack on Pelican-MAC complexity up to 2^(3*8) ./Resolution -e equations/pelican.txt -t 3 # note that this may take a while More information ================== The format of the equation files is fairly self-explanatory. Once an attack is found, the program will offer you to generate an XML file describing the attack in a not-very human-readable way. It will then offer you to generate C code for the attack, and lastly it will offer you to include a chunck of code that automatically generates a set of values of the parameters (plaintext/ciphertext,etc.) compatible with the equations. Note that the generated programs may require a 64-bit machine to be run. Contact us =========== Questions may be sent to [email protected] or to [email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.