c++ - Machine ID for Mac OS? -


I need to calculate machine ID for computers running MacOS, but I do not know the notifications To retrieve - such as the contents of HDD serial number etc. The main requirement for my special application is that the user should not be able to deceive it Before starting to laugh, I know that it is too far, but < At em> very low , the spoofing method requires a reboot.

The best solution will be one of C / C ++ , but I take objective-if there is no other way the best solution requires the necessary rights Not .

Any thoughts? Eric's suggestions (and its underlying, but without documented SystemProfiler) for system_profiler

system_profiler and / or SystemProfiler.framework.

I do not have your real requirements here, but these posts may be useful: <

  • (It was around copy protection, which can not be your problem)
  • (It was related to network authentication, which looks like your problem)
  • I will post in the first post Saying something, I repeat: It is not possible, the duration is not possible, to ensure that your clients are only your server If this is your inherent need, then it is not a compromise problem. I will expand by saying that it is not possible to create your program so that people can not do any of the tests you have selected, Licensing, this is not a completely settled problem. The second post mentioned above discusses that, to think about the problem, however, in terms of business Instead of engineering.

    Edit: Regarding your request for a reboot requirement, remember that the kernel extensions of Mac OS X are loading by loading kernel extensions It is possible to modify how the system sees itself at runtime without reboot. In theory, it will be a Mac rootkit, which is not more complex than the basic rootkit by default. You have to carefully consider who is your attacker, but if your attackers include the Mac kernel hacker (which is not a trivial group), then the requirements of reboots are not commendable. It is not to say that you are the majority of users Can not be made fraudulent. It is possible by a largely capable attacker. This is true on all modern OS; There is nothing special about Mac here.


  • Comments

    Popular posts from this blog

    c++ - Linux and clipboard -

    Visual Studio 2005: How to speed up builds when a VSMDI is open? -

    booting ubuntu from usb using virtualbox -