Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to get the actual CPUID

25 views
Skip to first unread message

Fabianmo

unread,
Dec 6, 2005, 2:14:02 AM12/6/05
to
Hello!

I want to obtain the actual CPUID from the "Win32_Processor" MFC class, to
use it as a product protection mechanism for my software. Can any one tell me
how to get the CPUID Family-UniqueID pair?

Thank you very much.

angshuman

unread,
Dec 6, 2005, 4:23:18 AM12/6/05
to
Hi,
I think now one cannot get the actual processor ID because intel has
stopped that feature. Earlier it used to give an exe to get the
PROCESSOR ID.

Instead , to make your code secure or to do Machine Fingerprinting u
can use the Original Hard Disk's Manufacturer ID (NOTE: Not the Hard
Disk Volume Serial Number)

refer:
http://www.winsim.com/diskid32/diskid32.html

Joseph M. Newcomer

unread,
Dec 6, 2005, 2:58:15 PM12/6/05
to
Oh, dear. It sounds like another "I'm going to write my own copy protection scheme"!!!

Forget it.

All software-only copy protection systems are flawed. Crackers will take between two
minutes (for the poor ones) and ten minutes (for the strong ones) to break the average
amateur attempt. A really good professional system might take a half-day to break.

But most roll-your-own systems are trivially breakable. I spent several months studying
how crackers attack copy-protection schemes while evaluating a client's software-only
scheme. His idea moved the breakability out of the trivial, but I can't talk about the
details since they are proprietary. But I can assure you that CPUID was *not* one of the
mechanisms used, because it is not universal, and not reliable in terms of avoiding copy
protection violations.

The easiest way to spot a beginner in this field is that they post a question about the
CPUID. Professionals spend years figuring out how to make these schemes work. Crackers
collectively spend massive amounts of time (successfully) figuring out how to break the
best schemes.
joe

Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

0 new messages