/InstrumentationCallbacks

A native Windows library for intercepting kernel-to-user transitions using instrumentation callbacks

Primary LanguageC++GNU General Public License v3.0GPL-3.0

InstrumentationCallbacks

This library extends the functionality of instrumentation callbacks, an undocumented Windows debugging feature. Instrumentation callbacks can be used to intercept kernel-to-user transitions for a process from user-mode.

Features

Currently, the library can be used to intercept the following:

  • System calls
  • User-mode APCs
  • User-mode exceptions
  • User-mode kernel callbacks (such as those used by WIN32K)
  • Initialization of new user-mode threads

The library's only dependency is NTDLL, so it can be run natively. It is currently only compatible with the x86-64 architecture.

Disclaimer

This is a proof-of-concept, and is intended for educational purposes only.

Credits