Skip to content

Commit

Permalink
ARCHITECTURE: Add brief hider API description
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Fleytman <[email protected]>
  • Loading branch information
Dmitry Fleytman committed Feb 24, 2015
1 parent cb5e0a5 commit fad5829
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ARCHITECTURE
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ At this stage any request to this vendor specific device will be forwarded
to UsbDk.sys which in turn will patch and pass requests to/from original device
created by USB hub as needed.

There is also a separate API provided by UsbDkHelper.dll intended to detach
USB device from USB stack without acquiring actual access to the device (hider API).

This API may be useful for security applications that need to deny access
to USB devices according to security policy. When UsbDk.sys discovers device
to be hidden during enumeration phase (IRP_MJ_PNP/IRP_MN_QUERY_DEVICE_RELATIONS)
it wipes corresponding PDO from device array returned by underlying USB
bus driver, this effectively hides given device from PNP manager and OS
driver stack.

Device stack after UsbDk.sys installation
------------------------------------
Expand Down

0 comments on commit fad5829

Please sign in to comment.