Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2017-15361 PoC — Infineon Trusted Platform Module Infineon RSA库安全漏洞

Source
Associated Vulnerability
Title:Infineon Trusted Platform Module Infineon RSA库安全漏洞 (CVE-2017-15361)
Description:Infineon Trusted Platform Module(TPM)是德国英飞凌(Infineon)科技公司的一款数据加密芯片。Infineon RSA library是其中的一个加密库。 Infineon TPM中的Infineon RSA库1.02.013版本中存在安全漏洞,该漏洞没有正确的处理RSA密钥的生成。攻击者可利用该漏洞破坏加密保护机制。以下版本受到影响:使用0000000000000422 - 4.34之前版本、000000000000062b - 6.43之前版本和00000000
Readme
# ROCA-attack-on-vulnerability-CVE-2017-15361
This repository contains the thesis developed for my bachelor's degree in Mathematical Engineering at Polytechnic of Turin. It's a script based on python and sage.

The goal of the script is to generate an RSA key, evaluete if it's vulnerable by the ROCA attack and performe the ROCA attack.

Comments in the scripts are in italian.

### Folder structure

```
.                
└── 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
```

### Usage and libraries needed
To use this program you need to have installed on your machine python3 and sage compatible with python3.

The libraries you need to install on sage and python are: sympy, Cryptodome, math, labmath.

To start the program, open the sage shell and use this command

```
    #sage -python3 path/to/the/folder/on/your/pc/main.py
```
File Snapshot

[4.0K] /data/pocs/a23e8623f3d64e03351c7a64f7f228693b1bd2a7 ├── [1.0K] LICENSE ├── [4.0K] Program │   ├── [3.1K] Attack.py │   ├── [1.0K] Fingerprinting.py │   ├── [2.9K] Keygen.py │   └── [2.9K] Main.py ├── [1.3K] README.md └── [516K] Thesis.pdf 1 directory, 7 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.