Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey all,
So I have created my first driver .sys file and I wanted to check if it works well. I'm getting message that "this driver has been blocked from loading" when I try to use StartService Windows API in order to run the driver. I'm using windows 8 64 bit and I've found out that my driver needs to be certificate signed. So I followed this guide: How to Test-Sign a Driver Package

I'm a bit confused about this signing and have some questions which hopefully someone would be willing to answer ^^.

While readingCreating a Catalog File for Test-Signing a Driver Package I came across:
SQL
A catalog file is not needed to install the following types of drivers:

    A boot-start driver.

    A driver that is installed by using an application that does not use a catalog file.

For these types of drivers, you have to embed a digital signature within the driver. For more information about this procedure, see Test-Signing a Driver through an Embedded Signature.

I would like to load/unload my driver by WinAPI. Does this mean I don't have to create this catalogue file in order to sign my driver? I've just followed the above link: Test-Signing a Driver through an embedded signature and signed my driver with the custom certificate. Then I copied this custom certificate to the Trusted Root Certificate Authorities but I still can't run the driver. It still says it's blocked from loading. I'm doing all on my test machine and TESTSIGNING boot option is enabled.
Posted
Updated 18-Sep-13 0:31am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900