WIP codebase is being pushed to repo as it is coded so you might not be able to compile while I write/test the code.
You'll need to use the tool WrappEm that I created to inject some payload DLL into a process.
Former Script Wrapper project. Now switching into a proper hooking module.
Some useful resources I've been using while I researched how to implement this module:
- Combined Volume Set of Intel® 64 and IA-32 Architectures Software Developer’s Manuals
- Volume 2 (2A, 2B, 2C & 2D): Instruction Set Reference, A-Z
- Volume 2 --- Appendix A Opcode Map
- Volume 3 --- Chapter 6 Interrupt and Exception Handling
- [pdf] AMD64 Architecture Programmer’s Manual Volume 1: Application Programming
- x86 and amd64 Instruction Reference
- [pdf] Assembly Language: Function Calls - Jennifer Rexford
- CS 301: Assembly Language Programming Lecture - Dr. Lawlor
- DJGPP COFF Spec
- PE Format
- Physical Address Extension
- Understanding the Import Address Table
Feel free to leave your contribution here, I would really appreciate it! Also, if you have any doubts or troubles using this library just contact me or leave an issue.