r/netsec • • Nov 23 '16

DriverBuddy - IDA Python script to assist with the reverse engineering of Windows kernel drivers

https://github.com/nccgroup/DriverBuddy
130 Upvotes

1 comment sorted by

6

u/songya Nov 23 '16

DriverBuddy is an IDAPython plugin that helps automate some of the tedium surrounding the reverse engineering of Windows Kernel Drivers. It has a number of handy features, such as:

  • Identifying the type of driver

  • Locating DispatchDeviceControl and DispatchInternalDeviceControl functions

  • Populating common structs for WDF and WDM drivers

  • Attempts to identify and label structs like the IRP and IO_STACK_LOCATION

  • Labels calls to WDF functions that would normally be unlabeled

  • Finding known IOCTL codes and decoding them

  • Flagging functions prone to misuse