strengthnotes / krabsetw

KrabsETW provides a modern C++ wrapper around the low-level ETW trace consumption functions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

Krabs is a C++ library that simplifies interacting with ETW. It allows for any number of traces and providers to be enabled and for client code to register for event notifications from these traces.

Krabs also provides code to simplify parsing generic event data into strongly typed data types.

O365.Security.Native.ETW is a C++ CLI (.NET) wrapper around Krabs. It provides the same functionality as Krabs to .NET applications and is used in production by the ODSP Security team. It's affectionately referred to as Lobsters.

Examples & Documentation

Important Notes

  • krabsetw and O365.Security.Native.ETW only support x64. No effort has been made to support x86.
  • krabsetw and O365.Security.Native.ETW are only supported on Windows 7 or Windows 2008R2 machines and above.
  • Throwing exceptions in the event handler callback or krabsetw or O365.Security.Native.ETW will cause the trace to stop processing events.
  • The call to "start" on the trace object is blocking so thread management may be necessary.
  • The Visual Studio solution is krabs\krabs.sln.
  • When building a native code binary using the krabsetw package, please refer to the compilation readme for notes about the TYPEASSERT and NDEBUG compilation flags.

NuGet Packages

NuGet packages are available both for the krabsetw C++ headers and the O365.Security.Native.ETW .NET library:

Community & Contact

Please feel free to file issues through GitHub for bugs and feature requests and we'll respond to them as quickly as we're able.

About

KrabsETW provides a modern C++ wrapper around the low-level ETW trace consumption functions.

License:Other


Languages

Language:C++ 87.2%Language:C# 12.8%