How to Sign Kernel-Mode Drivers using EV Code Signing Certificates

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)

Like applications, software, codes and scripts, Kernel-Mode Drivers can also be signed using EV Code Signing Certificates. The benefit of signing Kernel-Mode Drivers is that it helps users verify that this digitally signed kernel-mode driver packages are coming from a trusted organization or company.

If it has been tampered with, the user will be notified via a warning sign at installation time.

how-to-sign-kernel-mode-drivers-with-ev-code-signing

The Process of Signing with EV Code Signing Certificate

Before you start signing Kernel-Mode Drivers using EV Code Signing Certificatethe steps below need to be followed:

  1. Prepare EV Code Signing Certificate
  2. Download EV Code Signing Certificate
  3. Signing Kernel-Mode Drivers Using EV Code Signing Certificate
  • For Signing your Kernel-Mode Driver

  • Open a Command Prompt in admin mode.
  • Go to Windows Start and type cmd
  • Right click on Command Prompt and click on Run as administrator
  • Run the command below in the Command Prompt
signtool sign /v /ac "C:\path\CA-Name High Assurance EV Root CA.crt" /tr http://timestamp.<CA-Name>.com /td sha256 /fd sha256 /s my /n "Subject Name" "c:\path\to\ExampleFileSigned.cat"
  • If the process was successful, you will see the response below, informing you that the program is signed and timestamped.
c:\Code>signtool sign /v /ac "C:\path\CA-Name High Assurance EV Root CA.crt" /tr http://timestamp.<CA-Name>.com /td sha256 /fd sha256 /s my /n "Subject Name" "c:\path\to\ExampleFileSigned.cat"

Done Adding Additional Store

Successfully signed and timestamped: ExampleFileSigned.cat

Additional Information:

How to Batch Sign Files with EV Code Signing Certificates

For batch signing files with an EV Code Signing Certificate, enable the single logon for the SafeNet Token. Once it’s enabled, you can log into the Token and start batch signing the files, while entering the password once per user session.

Steps to Enable Single Logon for a SafeNet Token

  1. Go to SafeNet Authentication Client Tools
    • Start > Program Files > Safenet > Safenet Authentication Client Tools
  2. Click on the golden geared Advanced View
  3. Select Client Settings from the left pane in the menu tree
  4. Select Advanced Tab from the right pane
  5. Select Enable single logon option from the Advanced tab
  6. Click Save
  7. After enabling the Single Logon feature, log off from the computer and log on again