A project to detect and mitigate hash-collision denial-of-service vulnerabilities automatically, in binary code.
Build the docker container with these commands.
cd ./docker_scripts
bash docker_build_pypy3.sh
(or bash docker_build_cpython3.sh
)
bash docker_run_pypy3.sh
(or bash docker_run_cpython3.sh
)
The hash function patching analysis can be run with:
python3 ./binalyzer_drivers/hash_func_patching_driver.py --help
This will produce a results file named results_*
(or as specified by the user).
The details of the experimental results in our RAID 2022 paper can be found in the raid2022_results_parsing/
directory.