简体   繁体   English

修改HaspFile的硬件密钥的存储为ReadOnly

[英]Modify memory of hareware key of HaspFile which is ReadOnly

I'd like to ask a question. 我想问一个问题。 I know it is possible to modify the memory of a hareware key by modifying HaspFile which is ReadWrite 我知道可以通过修改ReadWrite的HaspFile来修改硬件密钥的内存

Dim file As HaspFile = hasp.GetFile(HaspFileId.ReadWrite)       
Dim newBytes() AsByte  = New Byte() {1, 2, 3, 4, 5, 6, 7}  
status = file.Write(newBytes, 0, newBytes.Length)

But I'd like to know, is it possible to modify the readonly memory part of the Key without having a Mater key? 但是我想知道,是否可以在没有Mater密钥的情况下修改Key的只读内存部分?

It seems not possible to do it via code? 似乎不可能通过代码来做到这一点?

But is it possible to do via Tools such as Vendor Suit? 但是是否可以通过诸如Vendor Suit之类的工具来完成?

Thank you very much for your kindness help in advance. 非常感谢您的提前帮助。

From the v.5.10 Software Protection and Licensing Guide (emphasis mine) : v.5.10软件保护和许可指南(重点是我的)中

In the context of Sentinel HASP, Read‐only memory (ROM) is a segment of the memory that can contain data that the protection application can access, but cannot overwrite. 在Sentinel HASP的上下文中,只读存储器(ROM)是存储器的一部分,可以包含保护应用程序可以访问但不能覆盖的数据。 Sentinel HASP keys contain two ROM segments, one of which contains Sentinel HASP Feature‐based licenses. Sentinel HASP密钥包含两个ROM段,其中一个包含基于Sentinel HASP Feature的许可证。 The second segment provides an area in which vendor‐customized data can be stored. 第二部分提供了一个可以存储供应商自定义数据的区域。 These segments can only be updated using remote updates. 这些细分只能使用远程更新进行更新。

The "remote updates" that the documentation is referring to is the "Remote Update System" (RUS), which is the C2V/V2C method of updating a key. 文档所指的“远程更新”是“远程更新系统”(RUS),它是更新密钥的C2V / V2C方法。

Since a Master Key is required to generate a remote update, that means a Master Key is required to make modifications to the read-only memory section of a key . 由于需要主密钥来生成远程更新,因此这意味着需要主密钥来修改密钥的只读存储部分

The only component of the Vendor Suite that is capable of modifying the read-only memory is Business Studio (by creating an order for a remote update). 供应商套件中唯一能够修改只读内存的组件是Business Studio(通过创建远程更新订单)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM