1.准备证书

从微软处购买证书

找到泄漏的过期签名证书

2.签名

方法一: 使用签名软件签名

方法二:使用微软签名软件签名

打开x64 Native Tools Command Prompt for VS 2022->切换到驱动程序路径

1
signtool sign /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 /f cert.pfx /p password driver.sys

测试签名

方法一:使用Signer

64Signer(驱动数字签名工具) V1.2 绿色安装版

方法二:使用微软自带工具与测试证书签名

  1. 安装wdk后导出测试证书,存储位置:个人(Personal) → 证书。导出到驱动程序路径。
  2. 打开x64 Native Tools Command Prompt for VS 2022->切换到驱动程序路径
1
signtool sign /f WDK.pfx /p 123 /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 HelloWorld.sys