Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


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/


To what level and how are Windows kernel driver code signing checked?

lastime1650lastime1650 Member Posts: 27
edited December 2023 in NTDEV

I am writing a Windows kernel driver.
For the driver I'm writing:
Many callback functions, IOCTL through the WDF driver, and network functions at the kernel level through WSK were put into a sys file.
Can I get approval from Microsoft for this?
There have been no BSOD cases during debugging and installation testing so far.

In other words.
How can I get my kernel driver certified by Microsoft without any problems?

Comments

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 14,832

    Microsoft does not "approve" or "certify" drivers. To get your package signed, you have two options.

    1. You can download the Windows Hardware Lab Kit, set up your own testing environment, and run all of the tests required for your class of driver. If you submit the driver package along with the test log showing that you passed all the tests, they will sign your driver package and return it.
    2. You can submit your driver for an "attestation" signature, where you "attest" that you have done good-faith testing. Again, you submit the driver to Microsoft and they sign it and return it.

    In both cases, you have to set up an account in the Microsoft Hardware Partner center to make your submissions. Microsoft does not do any testing. They rely on you to do it.

    Tim Roberts, [email protected]
    Software Wizard Emeritus

  • lastime1650lastime1650 Member Posts: 27
    edited December 2023

    Does that mean, I just need to pass the Windows Hardware Lab Kit test and return the result? thank you
    because I heard somewhere that Microsoft company is reversing driver files.

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 14,832

    Basically, yes. The WHLK includes instructions on how to create a submission package, which includes your driver files and the test results.

    If you have not done this before, however, do not underestimate the level of effort involved. The WHLK is a pain in the rear to setup and configure, and requires two computers (one controller, one client). One you have it configured, the test runs are all automated.

    THEN, you have to have the Microsoft Hardware Partner account in order to have a place to submit it, and creating that account requires an EV signing certificate. If you don't have that certificate, that's the first step, and it can take a week to get one.

    I don't know what you mean by "reversing driver files".

    Tim Roberts, [email protected]
    Software Wizard Emeritus

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

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!
Kernel Debugging 13-17 May 2024 Live, Online
Developing Minifilters 1-5 Apr 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 20-24 May 2024 Live, Online