是否可以在 OS X 上的 IO/Kit 中欺骗硬件配置文件的值?
作为 OS X IO/Kit 操作的练习,我希望向系统分析器以及任何其他程序返回不同的 UUID、串行、引导 ROM 版本,甚至可能是内核数量和处理器类型(任意值)。问道。
据我了解,有关系统的这些信息存储在 IO/Kit 注册表中,该注册表在启动时编译后存储在内存中。
如何在内存中覆盖 I/O Kit 注册表中的这些值,或者拦截 IO/Kit 库调用并返回与内存中不同的值?通过拦截来实现这一点是否需要自定义内核扩展或某种库修改?
有没有办法可靠地做到这一点?只是好奇。
谢谢你!
As an exercise in OS X IO/Kit manipulation, I am looking to return a different UUID, Serial, Boot ROM version, perhaps even number of cores and processor type (just any value) to the System Profiler as well as any other program that asks.
From my understanding, this information about the system is stored in the IO/Kit registry which is stored in memory after being compiled at boot time.
How would one go about either over-writing these values in the I/O Kit registry in memory, or intercepting the IO/Kit library calls and returning different values than what is in memory? Would doing it via interception require a custom kernel extension, or some kind of library modification?
Is there anyway to reliably do this at all? Just curious.
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论