How to backdoor Diffie-Hellman
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
attack colors in the attack Mar 18, 2016
backdoor_generator updates Jun 30, 2016
estimations removed footer Mar 25, 2016
socat_reverse Make link work and make some links HTTPS Mar 25, 2016
.gitignore better git ignore Feb 5, 2016 added whitepaper Jun 25, 2016 new demo Jun 30, 2016
factor.sage comments Feb 16, 2016
slides.key minor changes Aug 20, 2016
slides.pdf minor changes Aug 20, 2016

How to backdoor Diffie-Hellman

The whitepaper is on ePrint.

This repo contains research on how to backdoor Diffie-Hellman:

  • backdoor_generator/ contains everything to generate and export parameters for a Diffie-Hellman backdoor.
  • attack/ contains the setup to perform the Man-In-The-Middle attack on TLS (tested on Socat/OpenSSL so far).
  • socat_reverse/ contains work on reversing the "backdoor" discovered in Socat in February 2016.

Other repositories were created during this research:

  • github/test_DHparams contains a tool to check your Diffie-Hellman parameters (is the modulus long enough? Is it a safe prime? ...)

  • github/GoNTL contains an extension of the go bignumber library along with an implementation of Pollard Rho for discrete logarithm