Hide fragmented Key Codes in registry?

It's been suggested to me to hide a fragmented key code (approx. 25 pieces) in the OS registry to prevent program piracy.

Q. Is it safe to write new sub values within the pre-existing Windows registry keys?

I thought this might be more stealth than creating entire new tracable keys and subkeys.

Opinions and advice needed..............
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Mikeh926Connect With a Mentor Commented:
SoftIce is a debugging tool, commonly favoured by hackers/crackers.

Depends what you mean by "safe"!

Yes, it's fairly safe to go and stick your own keys amongst all of the window's keys as long as you pick obscure names so you don't go accidentally altering how windows works! You also would have to be carefull not to put a key somewhere a user might delete the entire branch, maybe because they are trying to remove an app or fix an error.

As for whether it's safe from hackers finding it, I take the view that it someone really wants to hack your code, and they are experienced enough, they probably will. I think you have to weigh up the ammount of effort you want to put into your protection vs the likelyhood that expert hackers will try and break it. I don't think any protection scheme will be totally secure ... but that's probably a discussion for another topic.

MySt1kConnect With a Mentor Commented:
this is security trough obscurity, might not work very well vs a good softice programmer...
While tracing where your application get this fragment, the ppl will eventually have acces to all fragments.

well, this is only my 2 cent...
i'll let other ppl give solutions.

good luck !
kvnsdrAuthor Commented:
...good softice programmer?
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

kvnsdrAuthor Commented:
I agree that determined theives cannot be stopped.

However, why simply give it to them by doing little or nothing.

I would guess that successful software companies probably change their licensing code often....

I think continual change is the answer..........
Mikeh926Connect With a Mentor Commented:
True, but when you analyse the problem in more detail, I don't think that you will find many people attempting to copy software directly from one PC to another. Most software creates so many registry and file entires, com objects, etc, that it's almost impossible to copy it to another PC. It's much easier just to copy the original installation CD or internet download exe. What you really want is a mechanism that either prevents that, or makes such a copy worthless. In our case, we have two different copy protection mechanisms, one is based upon a hardware dongle, the other is a form of internet activation where the software is locked to the specific PC that it's installed to. We also have mechanisms to detect if anyone has hacked the software, so we can change the system for the next version...

kvnsdrAuthor Commented:
Do you think that Harddrive cloning is an issue?
Mikeh926Connect With a Mentor Commented:
I think it depends on who the software is targetted for. If you have software that a school or business wants to copy it then they might install it once and clone the hard disk image to all the PC's on their network. This is a pretty standard way of deploying software in large corporations. In this case, you have to be carefull that your software protection doesn't make it so inconvenient for the legitimate customer that they device not to buy your software in the first place! I don't see most home users going to the lengths of hard disk cloning to get a copy from their mate. In any case, if you have access to a PC and the ability to clone the hard disk, you probably have access to the original media that the software was instaleld from. What is your distribution mechanism for the software? CD? Download?
kvnsdrAuthor Commented:
Only download. All downloads require a proper login which inturn is required for latter purchase.

My target sales is corporation networks. So cloning may pose a threat.

You suggest very good points.......
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.