I am wondering if there is a way to modify a USB Configuration Descriptor of a USB Mass Storage device? I need to force Windows to use a different interface or an alternate setting instead of the one it uses by default.
I tried loading my filter driver as LowerFilter on USB Bus Devices (36fc9e60-c465-11cf-8056-444553540000) and modifying the descriptor by intercepting URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE request. I do see the system getting the descriptor, however, attempts to modify it at that stage does nothing, as it looks like the original value of the descriptor has already cached/processed somewhere before that point.
Is there any other way to do this? E.g. to load the filter driver any lower on the driver stack?
Or any other ideas on how to force the system to select a different interface/protocol of the connected USB Mass Storage device?
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|Developing Minifilters||29 July 2019||OSR Seminar Space|
|Writing WDF Drivers||23 Sept 2019||OSR Seminar Space|
|Kernel Debugging||21 Oct 2019||OSR Seminar Space|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|