Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RenardDev committed Nov 4, 2021
1 parent b4a6c72 commit 2a24e6d
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
# RenJack
Renard Injector (PE section injection)
Renard Injector (PE section injection with hooks)
# Principle of operation
1. Creates and embeds two sections.
2. Fills the `.rxtext` section with NOP instructions.
3. Places the jump to the entry point at the end of the section.
4. Changes the original entry point to the beginning of the section.
5. If the payload parameters are marked, then the payload is placed at the beginning of the section.
1. Creates and embeds two/three sections.
2. Creates `.rxhooks` for hooks. (if /hookexports is active)
3. Creates `.rxdata` for custom data.
4. Fills the `.rxtext` section with NOP instructions.
5. Places the jump to the entry point at the end of the section.
6. Changes the original entry point to the beginning of the section.
7. If the payload parameters are marked, then the payload is placed at the beginning of the section.
# Usage
```
> RenJack
RenJack by Ren (zeze839@gmail.com) [Version 1.0.0.1]
RenJack by Ren (zeze839@gmail.com) [Version 2.2]
[!] Warning: Usage: RenJack [/verbose:<level>] [/maxdatasize:<bytes>] [/maxcodesize:<bytes>] [/disabledep] [/disableaslr] [/forceguardcf] [/noentrypoint] [/input:<file>] [/payload:<file>] [/savepayload] [/outputpayload:<file>] [/output:<file>]
[!] Warning: Usage: RenJack [/verbose:<level>] [/maxdatasize:<bytes>] [/maxcodesize:<bytes>] [/disabledep] [/disableaslr] [/forceguardcf] [/noentrypoint] [/hookexports] [/hooksize:<bytes>] [/hookalign:<bytes>] [/input:<file>] [/payload:<file>] [/savepayload] [/outputpayload:<file>] [/output:<file>]
```
```
> RenJack /?
RenJack by Ren (zeze839@gmail.com) [Version 1.0.0.1]
RenJack by Ren (zeze839@gmail.com) [Version 2.2]
[!] Warning: Usage: RenJack [/verbose:<level>] [/maxdatasize:<bytes>] [/maxcodesize:<bytes>] [/disabledep] [/disableaslr] [/forceguardcf] [/noentrypoint] [/input:<file>] [/payload:<file>] [/savepayload] [/outputpayload:<file>] [/output:<file>]
[i] Usage: RenJack32 [/verbose:<level>] [/maxdatasize:<bytes>] [/maxcodesize:<bytes>] [/disabledep] [/disableaslr] [/forceguardcf] [/noentrypoint] [/hookexports] [/hooksize:<bytes>] [/hookalign:<bytes>] [/input:<file>] [/payload:<file>] [/savepayload] [/outputpayload:<file>] [/output:<file>]
/verbose:<level> - Verbosity level.
/maxdatasize - Maximum `.rxdata` size. (Default: 4096)
/maxcodesize - Maximum `.rxtext` size. (Default: 4096)
/maxdatasize:<bytes> - Maximum `.rxdata` size. (Default: 4096)
/maxcodesize:<bytes> - Maximum `.rxtext` size. (Default: 4096)
/disabledep - Disables DEP.
/disableaslr - Disables ASLR.
/forceguardcf - Force processing for GuardCF protected executable.
/noentrypoint - No entry point.
/hookexports - Hook exported functions in `.rxhooks` section.
/hooksize:<bytes> - Hook size for one function. (Default: 16)
/hookalign:<bytes> - Hook alignment size. (Default: 4)
/input:<file> - Input PE executable.
/payload:<file> - Input binary (.bin) or assembly file (.asm). (Default: null)
/savepayload - Save payload to binary file.
Expand Down

0 comments on commit 2a24e6d

Please sign in to comment.