开发者

Is it possible to spoof a value for a hardware profile in IO/Kit on OS X?

开发者 https://www.devze.com 2023-04-10 06:42 出处:网络
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 a

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!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号