parsing sysmon events using krabs etw

TL;DR

krabsetw 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. krabsetw also provides code to simplify parsing generic event data into strongly typed data types.

krabsetw

The repo has sufficient docs and examples to go through. I was just playing with parsing sysmon events a while back for something.

sysmon events parse

Steps

Clone and build the project from krabsetw repo with code shared above.

  • make sure sysmon is installed
  • launch NativeExamples.exe
  • watch the events fly by.

Code

setup


sample output when the application is run with sysmon installed


output

Enjoy and Profit ;)

2021

memory tracking through nt!PoolHitTag

8 minute read

Let’s explore how nt!PoolHitTag can be useful for while tracking memory issues. Along with useful windbg command like !pool, !poolfind, !verifier etc.

Lost registers during kernel debugging Win7

less than 1 minute read

When kernel debugging an old target like Windows 7 after a long time using windbg. I noticed not being able to see the registers in register pane. That was k...

Back to Top ↑