Skip to content

K-Minhyeok/Vuln_detection_patch

Repository files navigation

ELF Vulnerability Detector & Patcher

📌 Overview

This project provides a tool to detect vulnerable functions in ELF (.bin) binaries and patch them with safer alternatives.

✅ Detects unsafe functions (gets, strcpy, sprintf, …)
✅ Automatically patches with secure wrapper functions in SAFE bin file
✅ Supports batch scanning for multiple ELF files at once

[ Usage ]

You can put your several ELF(.bin) files into 'test_ELF_file' as below

ex) In this picture, It's Inspecting a,b files.

{8BE0FB80-3889-434F-80E5-4DE63CC8F0D0}

{886272DC-7803-4FB8-8703-6ACE7C11AE10}



and run dectection_patch.py to patch the file that could be vulnerable

> python3 detection_patch.py


image

Result

image image

About

Check Vulnerable Functions and Patch Automatically

Resources

Stars

Watchers

Forks

Contributors