ridter/binhol — explained in plain English
Analysis updated 2026-08-04 · repo last pushed 2024-09-10
Inject test code into a harmless program to see if antivirus software detects the modification.
Test how a Windows application responds when its internal functions are patched or replaced.
Evaluate endpoint security tools by modifying digitally signed executables and observing detection.
Study early-stage program startup behavior using TLS callback injection techniques.
| ridter/binhol | 00kaku/gallery-slider-block | 04amanrajj/netwatch | |
|---|---|---|---|
| Stars | — | — | 0 |
| Language | — | JavaScript | Rust |
| Last pushed | 2024-09-10 | 2021-05-19 | — |
| Maintenance | Stale | Dormant | — |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 4/5 | 2/5 | 3/5 |
| Audience | researcher | general | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires Go installed and comfort with command-line tools and Windows executable internals, modified files may trigger antivirus alerts.
BinHol is a security research tool that lets you insert custom code into existing Windows executable files. Think of it as a way to modify a program's behavior after it has been compiled, without needing access to the original source code. It is designed for people working in cybersecurity, malware analysis, or software testing who need to study how programs behave when their code is altered. The tool offers three different methods for injecting code into a Windows executable. The first method, "Function Patch," replaces or modifies a specific function within the target program. The second, "Entrypoint Hijack," changes the starting point of the executable so that your custom code runs first when the program launches. The third, "TLS Injection," uses a built-in Windows mechanism called Thread Local Storage to run your code at a very early stage of the program's startup. You choose the method that best fits your research scenario, run the tool from the command line, and it produces a modified version of the executable. Security researchers and penetration testers are the primary audience. For example, a researcher studying how antivirus software detects threats might use this tool to embed test code into a harmless utility program, then observe whether security systems catch the modification. It is also useful for testing how applications respond to unexpected changes in their internal logic. The tool handles Windows digital signatures, meaning it can even modify programs that carry a publisher's signature, which is valuable for testing endpoint security tools. It is worth noting that the project is built using the Go programming language and does not rely on heavy external code libraries for dissecting binary files. The README is clear that this is strictly an educational and research tool. Modifying executables can break them, and antivirus software will likely flag the results as suspicious. You should back up any files before modifying them.
BinHol is a command-line security research tool that injects custom code into compiled Windows programs without needing the original source code. It offers three injection methods for studying how altered programs behave.
Stale — no commits in 1-2 years (last push 2024-09-10).
The explanation does not mention a license, so the terms of use are unclear.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.