フィルタドライバ

libusbはUpper-level class filter driver
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}

usbsnoopはLower-level device filter driver
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_1111&Pid_0001\5&25704263&0&2

You can install device filter drivers by specifying LowerFilters or UpperFilters to the Hardware registry key (HKLM\ \SYSTEM\CurrentControlSet\Enum) for the device; and class filters by specifying them to the Software registry key (HKLM\SYSTEM\CurrentControlSet\Control\Class\) for the device class.

Sample readme file from Windows DDK

  • [Types of WDM Drivers]

http://msdn.microsoft.com/en-us/library/aa490241.aspx#0ed35f26-9c20-409a-82c8-ab0db0e94808

  • [Filter Drivers]

http://msdn.microsoft.com/en-us/library/aa490247.aspx

  • [Toaster]

http://msdn.microsoft.com/en-us/library/dd163450.aspx

SniffUsb 2.0は以下を使用している模様

  • [How to send IOCTLs to a filter driver]

http://support.microsoft.com/kb/262305/EN-US/