> For the complete documentation index, see [llms.txt](https://ppn.snovvcra.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ppn.snovvcra.sh/red-team/dev/api-hooking.md).

# API Hooking

* <https://www.ired.team/offensive-security/code-injection-process-injection/how-to-hook-windows-api-using-c++>
* <https://www.malwaretech.com/2015/01/inline-hooking-for-programmers-part-1.html>
* <https://www.malwaretech.com/2015/01/inline-hooking-for-programmers-part-2.html>

## Examples

### C++

* <https://github.com/mgeeky/ShellcodeFluctuation/blob/master/ShellcodeFluctuation/main.cpp>
* <https://github.com/snovvcrash/VeraCryptThief/blob/main/VeraCryptThiefDll/veracryptthief.cpp>

### C\#

* <https://gist.github.com/NaxAlpha/144d1dd96c7d0ad29fe149e4063a8f25>

## Tools

* <https://github.com/CCob/MinHook.NET>
* <https://github.com/CCob/SharpBlock>
* <https://github.com/ars3n11/MineSweeper>
