https://github.com/b72u68/two-faces
Inspired by SEEDLab MD5 Collision Attack
https://github.com/b72u68/two-faces
Last synced: 3 months ago
JSON representation
Inspired by SEEDLab MD5 Collision Attack
- Host: GitHub
- URL: https://github.com/b72u68/two-faces
- Owner: b72u68
- Created: 2021-11-06T05:14:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-06T20:03:34.000Z (over 3 years ago)
- Last Synced: 2025-01-20T00:41:38.304Z (5 months ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# two-faces
This project is inspired by the coding problem in MD5 Collision Attack Lab of SEEDLab.
This program generates two versions of a program with the same MD5 hash but one can execute malicious code.## Requirements
This project is based heavily on MD5 collision generate tools called `md5collgen` made by [HashClash](https://github.com/cr-marcstevens/hashclash).
You can read more about `md5collgen` and HashClash [here](https://www.win.tue.nl/hashclash/).## Usages
This tool can only run on executable files compiled from a C program. An example C program is in `/examples`. You
will have to compile the program first before using this tool.```
python3 two-faces -f -t -n
```It will generate two executable files `a1.out` and `a2.out`, one is benign and one can execute malicious code in the
program.## Future development
I will look into how to build tool for MD5 Collision Attack in Python based on
a research paper by Marc Stevens (he is also the creator of `md5collgen`).