- Key differences between development test certificates and official Microsoft signatures.
- Methods to validate the authenticity of a driver by analyzing EKU extensions and OIDs.
- Technical procedures for bypassing the digital signature restriction in test environments or on older hardware.
When trying to install a peripheral or hardware component on Windows, it's very common to encounter the system's security barriers. Microsoft has implemented strict controls over drivers to prevent malicious software from infiltrating the system kernel, meaning that if a driver doesn't have a recognized digital signature , the system will simply block its execution as a precaution.
This measure is a boon for overall security, but it can become a real headache for those who work in software development or need to operate older devices that are no longer officially supported. Fortunately, there are several ways to manage these signatures, from using temporary certificates to the controlled deactivation of security restrictions.
The ecosystem of test firms

For developers working on a new driver, requesting an official Microsoft signature for each iteration isn't practical. Therefore, there's the so-called test signature , which allows the use of self-signed certificates (like those created with the MakeCert tool) to validate binaries in kernel mode. This is essential for verifying that the code functions correctly with active signature verification without having to go through the final certification process.
It is vital to understand that these signed test drivers are designed exclusively for development environments. Under no circumstances should they reach end users or be installed on production equipment , as they do not offer the security and stability guarantees of an official signature.
Steps to implement a test environment

To set up a test signing workflow, it's ideal to separate the tasks across two different machines. On one hand, there's the signing machine , where the driver is packaged and the digital certificate is applied using the Windows Driver Kit (WDK). On the other hand, there's the testing machine , where the package will be installed to verify its actual behavior.
The technical process typically follows a clear roadmap: first, a test certificate is generated (for example, a fictitious one like Contoso.com), then a catalog file (.cat) containing the digital signature is created, and finally, the binary is signed. If the driver is one that starts with the system, the signature must be embedded directly in the driver file.
How to validate an official Microsoft signature

Sometimes you might wonder if a driver you've downloaded is genuinely Microsoft-certified or an uncertified version. To find out, you can analyze the Enhanced Key Usage (EKU) extension of the certificate. This process involves accessing the properties of the .cat file, going to the digital signatures tab, and reviewing the certificate details.
The key piece of information here is the Object Identifier (OID). If, upon reviewing the EKU, we see that the Windows Hardware Driver Verification OID ends in the number 5 , it means that the driver has not been signed by attestation. Conversely, if the code ends in 1 , we are dealing with a driver signed by attestation, which confirms its official validation.
Solutions for installing unsigned drivers

There are desperate situations, such as when trying to install a SATO printer or legacy hardware, where error 0xE000022F indicates that the INF file is unsigned. To bypass this block, the quickest way is to access the Windows Advanced Startup menu. From there, in the Startup Settings section, you can choose the option to disable driver signature enforcement (usually by pressing F7).
If we need this change to be permanent and don't want to restart the computer every time, we can use the Command Prompt (CMD) run as administrator. By typing the command ` bcdedit /set testsigning on` , we tell Windows to accept drivers in test mode. To revert this state and restore full security, simply change the command to ` testsigning off`.
It's important to mention that other methods exist, such as modifying group policies or attempting to disable Secure Boot in the BIOS, although these aren't always effective if the system maintains strict control over the integrity of INF files . It's best not to leave test mode permanently active, as this leaves the door open to potential vulnerabilities.
Driver management in Windows is a balance between maximum security and the flexibility needed for specialized hardware. From creating certificates using the WDK and verifying OIDs in catalog files, to using bcdedit commands to force the installation of unsigned INF files, there are tools for every scenario, provided you are aware of the risks involved.
FAQ
How can I tell if a driver is officially signed by Microsoft?
The .cat file should be reviewed in the digital signatures tab and the OID checked in Enhanced Key Usage (EKU); if the code ends in 1, it is signed by attestation.
What is the purpose of the proof signature mode in Windows?
It allows developers to test drivers in kernel mode using self-signed certificates without needing to go through official Microsoft certification.
What to do if Windows gives an error when installing an unsigned INF file?
You can restart the computer in advanced startup mode and disable the requirement for signed drivers by pressing the F7 key in the setup menu.
How do I permanently enable the installation of unsigned drivers?
You need to run the command bcdedit /set testsigning on from a CMD terminal with administrator privileges and then restart your computer.
What is the difference between the signing team and the testing team?
The signing machine is where the WDK is used to create the certificate and sign the package, while the testing machine is where the installation and functionality are validated.
Is it safe to leave testsigning mode enabled?
It is not recommended to leave it permanently active because it reduces system security, making it easier for malicious drivers to be installed that could compromise the computer.