Pentester's Promiscuous Notebook
TwitterGitHubBlogSponsor
Search
⌃K
Links
README
⚒️ Pentest
C2
Infrastructure
Misc
OSINT
Password Brute Force
Perimeter
Shells
Web
Wi-Fi
⚔️ Red Team
Basics
Cobalt Strike
Infrastructure
Malware Development
API Hashing
API Hooking
BOF / COFF
Code Injection
D/Invoke
DLL Hijacking
Nim
Sandbox Evasion
Shellcodes
Syscalls
Windows API
SE
⚙️ Admin
Git
Linux
Networking
Virtualization
Windows
Powered By GitBook

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​
Last modified 8mo ago
Copy link
On this page
Examples
C++
C#
Tools