微軟驅動簽名


具體操作流程,完全按照微軟要求即可,包括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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM