
Ataque ROCA sobre la vulnerabilidad CVE-2017-15361
Este repositorio contiene la tesis desarrollada para mi grado en Ingeniería Matemática en el Politécnico de Turín. Es un script basado en Python y Sage.
El objetivo del script es generar una clave RSA, evaluar si es vulnerable al ataque ROCA y realizar el ataque ROCA.
Los comentarios en los scripts están en italiano.
.
└── Attacco-ROCA-sulla-vulnerabilita-CVE-2017-15361 # The folder containing this repository
└──Program
├── Main.py # The main file
├── Keygen.py # Keygen of the key
├── Fingerprinting.py # Fingerprinting of the key
└── Attack.py # ROCA attack of the key
Para usar este programa, necesitas tener instalados en tu máquina python3 y sage compatible con python3.
Las librerías que necesitas instalar en sage y python son: sympy, Cryptodome, math, labmath.
Para iniciar el programa, abre la shell de sage y usa este comando:
#sage -python3 path/to/the/folder/on/your/pc/main.py