Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
Greetings everyone!
I've come across at least one driver in the wild that somehow manages to act as a class filter driver without having any of the common registry values UpperFilters
and LowerFilters
in place and without modifying any of the existing device's INF files.
How is this wizardry achieved? Is this a valid practice but simply not publicly documented or most probably some "API-hookery" that runs under the radar of PatchGuard etc.?
And most importantly: how can I do that myself?
Thanks for reading, cheers
Upcoming OSR Seminars | ||
---|---|---|
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead! | ||
Internals & Software Drivers | 7 February 2022 | Live, Online |
Kernel Debugging | 21 March 2022 | Live, Online |
Developing Minifilters | 23 May 2022 | Live, Online |
Writing WDF Drivers | 12 September 2022 | Live, Online |
Comments
Hi Doron,
as per my emoji this was more of the lighthearted joking side. I am primarily interested in how that is achieved.
Classes I've seen this with:
HICClass
,XnaComposite
andXboxComposite
Cheers
A bit more context: I've observed older versions of said driver and back then the authors used the usual way of going with the registry values. For whatever reason (to remain undetected? To work around non-disclosed bugs with another 3rd party driver?) they switched to this "other method" without losing functionality but not being visible in the usual locations (not in Device Manager's filter properties but definitely present in the device's driver stack).
What got me curious: I found another 3rd party HID device that struggles to boot when a filter is present (bug? intentional? I don't know) and interestingly enough it works with the mysterious class filter nonetheless.
All very weird jet very interesting.
Cheers