Skip to content

RedLectroid/APIunhooker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

APIunhooker

C++ function that will automagically unhook a specified Windows API

Simply add the functions to whatever you need it for, and call the function with unhookAPI([APIname]);

ex. unhookAPI("NtReadVirtualMemory");

Currently it has ntdll hardcoded, but there is no reason why you couldn't use it to unhook any other API. Make sure you use the full path for the dll.

Use it as many times as needed in your code to unhook all the APIs you want/need to for whatever reason.

There are some debugging printf you might want to remove for stealth reasons, but I left them for your testing.

This tool is based off this article https://ired.team/offensive-security/defense-evasion/bypassing-cylance-and-other-avs-edrs-by-unhooking-windows-apis by @spotheplanet

About

C++ function that will automagically unhook a specified Windows API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages