内核模式代码签名

发布于 2024-09-26 07:10:43 字数 688 浏览 1 评论 0原文

我做了一个驱动程序,现在我需要签名。它在内核模式下运行。

根据我在 Microsoft 的 内核模式代码签名演练,我必须从商业 CA 购买软件发行商证书。在该文档中,他们说要查看末尾,然后按照此链接< /a> 获取我可以购买该证书的 CA 列表。我发现该链接非常令人困惑,因为我无法确切地弄清楚我需要购买什么证书。我需要对驱动程序进行签名,以便它可以安装在 64 位 Windows 系统上。非常欢迎直接链接(我想从 GlobalSign 购买)。

是来自此处的 Microsoft Authenticode 吗?

I made a driver, and now I need to sign it. It runs in kernel mode.

From what I've read in Microsoft's Kernel Mode Code Signing Walkthrough, I have to buy a software publisher certificate from a commercial CA. In that document, they say to look at the end, and follow this link for a list of CAs from which I can buy that certificate. I find the link very confusing somehow because I can't figure out exactly what certificate I need to buy. I need to sign the driver so that it will install on 64-bit Windows systems. A direct link would be very welcome (I would like to buy it from GlobalSign).

Is it the Microsoft Authenticode from here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

我的奇迹 2024-10-03 07:10:43

我前段时间在微软驱动开发者论坛上问过类似的问题。这是他们的答案:

您需要让您的公司从 GlobalSign 或 VeriSign 获得代码签名证书(不再提供该链接中列出的其他证书)。 GlobalSign 更便宜,但 Verisign 的优势在于可以提供 WHQL 访问权限(如果您的公司对此感兴趣)。这些并不便宜,Verisign 证书每年的费用为 499 美元。一旦你有
您可以使用该证书代替测试证书来签署驱动程序。

您的链接在支持的平台中包含此信息:通过 Authenticode 对 Windows ActiveX 控件进行数字签名(32 位和 64 位)位 .exe、.ocx、.dll 或其他)和 Windows 内核软件。兼容 Windows 7。

看来您来对地方了。

准确的说:我还没有使用过代码认证,我刚刚学习。我建议您在 osronline 或 Microsoft 驱动程序开发人员论坛中验证此答案。

I asked a similar question in Microsoft Drivers Developers Forum some time ago. This is their answer:

You need to have your company get a code signing certificate from either GlobalSign or VeriSign (the others listed in that link are no longer offered). GlobalSign is cheaper, but Verisign has the advantage of providing access to WHQL if that is of interest to your firm. These are not cheap, the Verisign certificate costs $499 per year. Once you have
the cert you can use it instead of the test cert to sign the driver.

Your link contains this information in Supported Platforms: Digitally sign Windows ActiveX controls via Authenticode (32 bit and 64 bit .exe, .ocx, .dll or other) and kernel software for Windows. Windows 7 compatible.

It looks like you are in the right place.

Just to be precise: I have not used the code certification yet, I just learned it. I recommend you to verify this answer in osronline or Microsoft Drivers Developers Forum.

避讳 2024-10-03 07:10:43

查看 https://www.startssl.com/?app=40 - StartSSL 提供此类证书价格为 199.00 美元

交叉签名的 CA 证书位于 https://www.startssl.com/certs/< /a> 命名为 microsoft.kernel.mode.pem 或 microsoft.kernel.mode.crt

Check out https://www.startssl.com/?app=40 - StartSSL offers such certificates for US$ 199.00

The cross-signed CA certificate is at https://www.startssl.com/certs/ named microsoft.kernel.mode.pem or microsoft.kernel.mode.crt

何其悲哀 2024-10-03 07:10:43

您可以从 Digicert 购买签名。

Digicert 将颁发 zip 文件中的交叉签名证书。解压它
DigiCert 高保证 EV 根 CA.crt

双击它并将其添加到您的 IE 个人存储

使用 IE,将证书和密码导出到 .pfx 文件 对

驱动程序进行签名的命令是

signtool sign /t http://timestamp.digicert.com /f ".pfx 文件路径" /p PASSWORD_OF_PFX "驱动程序 .cat 文件路径"

您可以使用相同的命令来签署 .exe 文件
signtool sign /t http://timestamp.digicert.com /f ".pfx 文件路径" /p PASSWORD_OF_PFX “驱动程序 .exe 文件的路径”

确保该计算机可以访问互联网,否则签名过程将失败。

You can buy a signature from Digicert.

Digicert will issue a cross signing certificate in a zip file. Unzip it
DigiCert High Assurance EV Root CA.crt

Double click it and add it to your IE personal store

Using IE, export the cert, with password to a .pfx file

The command to sign the driver is

signtool sign /t http://timestamp.digicert.com /f "path to .pfx file" /p PASSWORD_OF_PFX "path to driver .cat file"

You can use this same command to sign .exe files
signtool sign /t http://timestamp.digicert.com /f "path to .pfx file" /p PASSWORD_OF_PFX "path to driver .exe file"

Ensure this machine has internet access otherwise the signing process will fail.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文