Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/black-hell-team/thebhtinjector
TheBhTiNjector is a filebinder that can concatenate two or more files of some extensions that preserves the integrity of the files and gives you the option of injecting shellcode into them.
https://github.com/black-hell-team/thebhtinjector
binder cpp file-binder file-binding hides-malware malware malware-analysis malware-sample malware-samples ransomware ransomware-builder ransomware-source-code remote-access-tool remote-administration-tool shellcode shellcode-injector trojan trojan-builder trojan-rat
Last synced: 6 days ago
JSON representation
TheBhTiNjector is a filebinder that can concatenate two or more files of some extensions that preserves the integrity of the files and gives you the option of injecting shellcode into them.
- Host: GitHub
- URL: https://github.com/black-hell-team/thebhtinjector
- Owner: Black-Hell-Team
- License: mit
- Created: 2024-05-30T20:22:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-10-10T17:14:45.000Z (about 1 month ago)
- Last Synced: 2024-11-08T10:03:22.198Z (6 days ago)
- Topics: binder, cpp, file-binder, file-binding, hides-malware, malware, malware-analysis, malware-sample, malware-samples, ransomware, ransomware-builder, ransomware-source-code, remote-access-tool, remote-administration-tool, shellcode, shellcode-injector, trojan, trojan-builder, trojan-rat
- Language: Assembly
- Homepage:
- Size: 369 KB
- Stars: 9
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TheBhTiNjector ![C++](https://img.shields.io/badge/c++-%2300599C.svg?style=for-the-badge&logo=c%2B%2B&logoColor=white) [![GitHub followers](https://img.shields.io/github/followers/BrunoCiccarino?label=Follow&style=social)](https://github.com/BrunoCiccarino)
TheBhTiNjector is a file binder that concatenates files while preserving their functionality.## And how does it work?
Basically, it concatenates multiple types of files, which can be executables, images or executables with images, uniting them and having the possibility of injecting shellcode.## What is shellcode?
The shortest definition is, a shellcode is a small piece of code used as a payload in exploiting a software vulnerability. And what does it mean? Shellcode is defined as a set of instructions injected and then executed by an exploit. Shellcode is used to directly manipulate the registries and functionality of an exploit, and can even secure a shell on the target machine. For the shellcode to work correctly, you need to pay attention to these aspects:-- Shellcode Size: The shellcode size cannot exceed the available space in the image, resulting in improper injection.
-- Shellcode Format: The shellcode may not be formatted correctly to run on the target architecture. Make sure the shellcode is compatible with the architecture of the system where the image will run.
-- Poor Testing: If you are not seeing the expected behavior when opening the image, it is possible that your testing is incomplete or inadequate. Make sure you are testing in a suitable environment and that you are observing the results correctly.
## And how do I use it?
First you compile the shellcode, enter the shellcodes directory with ```cd shellcodes```, after entering you can compile them (this may vary depending on your machine) for example:```nasm -f elf32 -o shellcode.o shellcodeWin.asm```
```ld -m elf_i386 -o shellcode shellcode.o```or:
```nasm -f win32 shellcodeWin.asm -o shellcode.obj```
Then you move the compiled shellcodes to the main directory.
Then, you compile the main code with your preferred compiler, in this case I will use G++ for example: ```g++ -o main.exe main.cpp```
After you compile, you can run for example: ```./main.exe -h``` which will give you all the options of what to do and how to do it.
## running the script
After that, you can concatenate the files and inject the shellcode, as in this example:You can also concatenate binary with binary, as in this example:
You can also inject shellcode into binaries
## How do I contribute to this project?
To contribute to this project you need to make a pull request, and then give us a detailed description of what you want to add or change and we at the black hell team will review the code and authorize it, sometimes editing the implementation a little to maintain good programming practices.## License