微软驱动签名

具体操作流程,完全按照微软要求即可,包括cab文件如何生成,严格按照。DDF文件要求

https://docs.microsoft.com/zh-cn/windows-hardware/drivers/dashboard/attestation-signing-a-kernel-driver-for-public-release

 

创建Echo.ddf文件

;*** Echo.ddf example ; .OPTION EXPLICIT ; Generate errors .Set CabinetFileCountThreshold=0 .Set FolderFileCountThreshold=0 .Set FolderSizeThreshold=0 .Set MaxCabinetSize=0 .Set MaxDiskFileCount=0 .Set MaxDiskSize=0 .Set CompressionType=MSZIP .Set Cabinet=on .Set Compress=on ;Specify file name for new cab file .Set CabinetNameTemplate=Echo.cab ; Specify the subdirectory for the files. ; Your cab file should not have files at the root level, ; and each driver package must be in a separate subfolder. .Set DestinationDir=Echo ;Specify files to be included in cab file C:\Echo\Echo.Inf C:\Echo\Echo.Sys

用命令生成,必须在相同目录下执行命令
C:\Echo> MakeCab /f "C:\Echo\Echo.ddf"

 https://partner.microsoft.com/zh-cn/dashboard/hardware/Search

cab文件要用单签名 sha256 签名(普通签名),不要双签,不用内核签名

.sys等驱动文件不用签名

 

download hck:

https://docs.microsoft.com/en-us/previous-versions/windows/hardware/hck/jj124227(v=vs.85)

测试会有一些不能通过的项,下载filter,可以过滤掉没有通过的测试项

https://docs.microsoft.com/en-us/previous-versions/windows/hardware/hck/hh998024(v=vs.85)?redirectedfrom=MSDN

posted @ 2019-08-30 10:47  IWing  阅读(964)  评论(0编辑  收藏  举报