Giter VIP home page Giter VIP logo

aes-attacks-finder's Introduction

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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.