SkillAgentSearch skills...

DotNetHook

A hook proof of concept with no native dependencies. Hook both .NET methods (even framework methods) and Native methods entirely in .NET.

Install / Use

/learn @Elliesaur/DotNetHook
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DotNetHook

A hook proof of concept with no native dependencies. You can hook .NET and Native (in progress) methods without using a C++ DLL or some other native project.

Features

  • Hook a .NET Method to another .NET Method.
  • Hook a Native export (MessageBoxA, kernel32 exports) to a .NET Method.
  • Call the original method (native or managed) with ease.
  • x86 and x64 supported.
  • Disposable hooks, clean up is done.

Bugs

  • Are you sure it is a bug? Things like the "this" keyword and instances of objects can get a bit strange when you're hooking another instance based method! This may not be this!

Related Skills

View on GitHub
GitHub Stars85
CategoryDevelopment
Updated29d ago
Forks18

Languages

C#

Security Score

100/100

Audited on Mar 12, 2026

No findings