PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Going shareware - what should I use?

What's the best way to protect application i'm going to release as shareware? Serial numbers will be cracked in a matter of minutes... Unique device IDs also can be bypassed... Is there any more-or-less effective solution?
TT wrote:What's the best way to protect application i'm going to release as shareware? Serial numbers will be cracked in a matter of minutes... Unique device IDs also can be bypassed... Is there any more-or-less effective solution?


int13 is using advanced copy protection techniques to protects its games.

Crazy Kart was our first game and also our first attempt at protecting one, and the protection lasted 4 months.

Our latest game is out and not yet cracked, but it's only one month so we'll have to wait to see if our -improved- protection scheme is really effective.

I don't really understand shareware developers who do not care about protecting their games, most of them are available on the usual warez channels on day one, sometimes just few hours after the release.

You may argue that warez has no impact on the sales, and I may agree, but I think there is an honor issue, I simply don't want to see my work distributed for free the day it's released...
Lots of text... But no answer to my question :wink:
TT wrote:Lots of text... But no answer to my question :wink:

LOL thats exactly what I thought!
DEXplor had (has) a very advanced protection scheme, almost certainly the most advanced when it first came out. It took over a year for it to be cracked (of course the demand would not be as high for a game, but I still saw tons of requests for a crack).

The registration key is actually a tiny DLL containing a couple small routines needed by DEXplor. The DLL is encrypted using the product id, which is unique to the device.

I had to rush things a bit to be able to release, and had to decrypt the dll to a temp file to LoadLibrary it (as opposed to implementing a custom LoadLibrary type routine). That unencrypted copy that exists as long as DEXplor was running was the weak link that allowed it to be cracked.

Dan East
TT wrote:Lots of text... But no answer to my question :wink:


The problem of copy protection is not trivial, you have to make sure that your code will work only with an additional piece generated specifically for one device, (deviceID).

And add a lot of countermeasures, encryption, false check, and complicated code.

You can also try to add anti-debugging techniques, detect activesync connection and jam it...
Thanks for the answers!

Heh, I'm thinking of a procedure that will hard-reset user's PDA if security check fails... Is it legal?
Not very wise, unless you are the one person on earth who writes infallible code. Also, whether or not it is "legal" has nothing to do with whether or not someone can sue you over it (and win).

Dan East
TT wrote:Thanks for the answers!

Heh, I'm thinking of a procedure that will hard-reset user's PDA if security check fails... Is it legal?


I don't think it's a good idea at all...

Your software don't have to contain anything explicitely made to destroy user's data...

But you can release a false "cracked" version of your software and put anything you want into, as long as you release it anonymously... :twisted:
TT wrote:Thanks for the answers!

Heh, I'm thinking of a procedure that will hard-reset user's PDA if security check fails... Is it legal?


And remember that a user pirating your software today may be a registered user tomorrow.
BurningSheep · 12 Dec 2004, 21:26 UTC
Dan East wrote:Also, whether or not it is "legal" has nothing to do with whether or not someone can sue you over it (and win).


And whether or not someone can sue you over it and win has nothing to with something being the right thing to do or not.

For the topic starter, wouldn't you rather put your creativity and energy in things other than copy protection? Listing "the worlds 1337est copy protection" doesn't get a whole lot of end-users excited in general.
I'm not saying you shouldn't implement no copy protection at all, just that you should keep it in perspective a bit, because whatever you come up with the one thing you can be sure of is that it _will_ be cracked.
BurningSheep wrote:
I'm not saying you shouldn't implement no copy protection at all, just that you should keep it in perspective a bit, because whatever you come up with the one thing you can be sure of is that it _will_ be cracked.


I do not agree.

Whatever you come up with the one thing you can be sure of is that it _will_ be crackABLE.

crackable != cracked

We don't have legions of experienced crackers with infinite patience...

I'm writting games mostly for the fun (and also for money), and I think that anti piracy scheme is part of the job, it's a game...
Well, the easy retort to that is... Can you name a copy protection scheme that has NOT been cracked?

Now, I'll happily admit that someone here may come up with the first one that truly is uncrackable. I certainly wish everyone (including me) luck in doing so.

But, based on past experience and extrapolating forward from there, it is a true statement to say that no copy protection will remain uncracked and that there almost certainly is no such thing as an uncrackable scheme.

Much like relativity, it has never been disproven thus far, and it doesn't look likely that it ever will be. Same for copy protection.
fzammetti wrote:But, based on past experience and extrapolating forward from there, it is a true statement to say that no copy protection will remain uncracked and that there almost certainly is no such thing as an uncrackable scheme.


It would have to be implemented at the hardware level - Trusted Computing. Of course it would still be crackable, however it ups the ante to require specialized hardware tools to gain access to the application in an unencrypted state.

The goal of a software based scheme is two-fold:

Prevent casual copying by the average user (the whole "keeping honest people honest" thing)

Delay as long as possible the release of a cracked version of the app.

Dan East
Prevent casual copying by the average user (the whole "keeping honest people honest" thing)

I've always hated that argument... It's such a cynical view because it's implicit that you don't consider honest people honest either. Of course I see the reality of the situation that makes the statement valid, but it's just always bugger me.
Delay as long as possible the release of a cracked version of the app.

I think in the end this is the real goal, the only one that really counts for anything, and the one you can have at least SOME level of success with.

As for the hardware approach, history has proven them to be useless in the long-run as well, although as you say, ups the ante a bit. The whole Palladium thing is going to wind up being the same. It's inevitable... People have gotten so incredibly good at reverse-engineering everything. I mean, given a black box with no idea what it is or how it works, people eventually manage to deduce it's behavior. It's amazing sometimes what some people pull off. It'll always be that way, no matter what MS or others puts into place. They may be able to reduce the number of people capable of it, but the knowledge will still be shared.

I'm not saying no one should try by the way...
fzammetti wrote:Well, the easy retort to that is... Can you name a copy protection scheme that has NOT been cracked?


As far as I know the protection we implemented in our last released game (Darklaga) has not been cracked yet.

If you find a "cracked" copy on the usual channels please download it and try it, if it's crashing every time it's run after about 20 sec, then it's not cracked.
I don't generally frequent the usual channels unless I'm looking for my own stuff as an informational thing. Based on the fact that your protection does seem to fair better than most others though, I have no problem believing it hasn't been cracked yet.
I think the real question should be 'does it matter?'. If the wankers who either crack or download cracked software are in the very small minority then so long as the game has reasonable protection then it will sell. Personally I don't want to make my customers suffer too much just to make the game harder to crack. Most of our games are so cheap that the only people who will download a ripped off copy are kids or lamers who think it's cool to steal.
The dynamics of the PC and PPC underground community are fantastically different, to draw direct comparisons from the PC world would be mistaken.
Even Electronic Arts can't deal with this problem. I suggest just be honest and keep the price low.
Mostly people that download cracked games wouldn't buy the game at all. So you have to focus on people that want to buy the game, that's why make a good game :lol: with a decent price . :roll:
sponge wrote:The dynamics of the PC and PPC underground community are fantastically different, to draw direct comparisons from the PC world would be mistaken.
That might be interesting as its own topic.
I don’t think someone has mentioned it yet but a really good way to make a game hard/useless to crack is to use some net access for the game. The net access could be a part of the game design or just a part of the copy protection.

For instance let the user download new game levels from your website, when this is done you could also update the game binaries with bug-fixes and other stuff. This combined with a unique device id/serial key generation scheme would be hard to beat.

1. A user that not has a valid key can’t download the levels.
2. A user that in some way has got the hands of a key and has a cracked version of the game will get new binaries that won’t work with his fake key.

Serial keys should be generated with RSA (or similar) which means that it is impossible to build a key generator.
MikeW wrote:That might be interesting as its own topic.


Heh, parts of it have been done to death here in the past. Noticed the recent join date, but it pops up every few months it seems.

okku wrote:I don’t think someone has mentioned it yet but a really good way to make a game hard/useless to crack is to use some net access for the game. The net access could be a part of the game design or just a part of the copy protection.


A game *requiring* net access in any way is sure to kill any demand your game might've had. Look at all the crap about Steam and HalfLife2 - and those are on PCs. Put that on a mobile device, and forget about it, no one would buy it.

If it's something *extra*, then that's a different story - didn't Rayman Ultimate have races you can do, and your scores, ghosts are downloaded when you sync? Something like that, or the extra levels, is a good idea.
Yeah, requiring net access is a recipe for disaster. Heck, just imagine if your server is down and people can't play your game, or access something otherwise. Not gonna make you look good.

And then of course there's the privacy issues that people will balk at... What is your app sending across the wire? Are you going to deactivate a game that sends a bad key? Record IP address of offenders to prosecute? Are your updates going to be forced, as it seems you implied? NEVER a good idea to force upgrades, whether they are pirating your stuff or not.

No, there's more trouble down that path than it's worth I think, most especially on a PocketPC where you don't have always-on access anyway (yet). Heck, a lot of people (including me actually) don't go online with their PocketPC much anyway. I may surf the web a few minutes in the morning while I'm on the can, but otherwise I tend not to.
Our game is out for about two years now, but it hasn't been cracked yet.. There are several fake-cracks on the net, but none of them will run install correctly.

It's possible, guys.. we have internet, unique device id and everything we ever dreamed of. It just needs some work and creativity.
torus wrote:
It's possible, guys.. we have internet, unique device id and everything we ever dreamed of. It just needs some work and creativity.


Absolutely agree :)
sponge wrote:Heh, parts of it have been done to death here in the past. Noticed the recent join date, but it pops up every few months it seems.
I have been reading this and other forums on and off for the past few years. I guess I missed it--so I guess I'll do a search--thanks. I vaguely remember a similar thread that seemed to start the insider thing.

Like the OP, I am thinking about what to implement. One thing I may try is data encryption rather than code protection. Data encryption is not hard to implement. Even if a cracker knows what encryption scheme you are using, they still have to spend time generating a key. Crackers can crack most code, but you can't say the same thing about encryption. There does seem to be some drawbacks I think like needing many distributions and having users be able to verify correct key entry.

Aside from copy protection, for games, you can offer registered users bonus packs/levels that they get after a certain amount of time--when you know they are legit but they don't have to know that.
I suggest reading any of the numerous cracking guides out there, and maybe better yet spend some time talking to crackers in IRC. It's important to understand the mindset and the approaches if your really going to try and outwit them.

You may think encryption is a good idea, and it is to an extent, but remember that they aren't going to try and break your finally-crafted RSA-based key generator, they are going to go after the few bits in your executable that have to be switched to make the key check irrelevant. If I know it's going to take 4 years of computing time to generate a valid key, that's not the path I'm going to take to crack your stuff.

Get a feel for what they do and how they think, then see what you can come up with. They are far more clever than most people know (some are at least).

(I know this because in the mid 80's I was firmly in that crowd, an immature little punk kid, but I had a ton of knowledge and skills)
fzammetti wrote:You may think encryption is a good idea, and it is to an extent, but remember that they aren't going to try and break your finally-crafted RSA-based key generator, they are going to go after the few bits in your executable that have to be switched to make the key check irrelevant.
I should clarify that when I say "rather than code protection" I mean "no code protection". I could have my app run even if things haven't been decrypted right. If for instance the subkey is wrong for a particular piece of data, they will see garbage. There is no way to verify things except visually. That was one of the drawbacks I was refering to.
fzammetti wrote:
Get a feel for what they do and how they think, then see what yu can come up with. They are far more clever than most people know (some are at least).


Knowing how your ennemy think is very valuable, especially when you try to outsmart him.

Many crackers are smart, but many also do not know much about computer science and programming, they choosed the dark side...

They have extremely powerful tools, and they know how to use them.

Most of the time they don't try to fully understand how the protection is working, they just try to break the weakest part of it.
MikeW wrote:.I could have my app run even if things haven't been decrypted right. If for instance the subkey is wrong for a particular piece of data, they will see garbage. There is no way to verify things except visually. That was one of the drawbacks I was refering to.


Ok, so the what is the key ?

If it's a serial then the "crack" will just be the normal app release with a valid serial.

If the key is based on the unique device ID they will attack this part of the code.

But if all the correct data are stored in memory in an encrypted state at runtime, they may dump a memory image, and write a small "loader".
StephC wrote:If it's a serial then the "crack" will just be the normal app release with a valid serial.
If the key is based on the unique device ID they will attack this part of the code.

I believe that any definition in cracking would not include sharing serials/keys/codes but I get what you mean. Using a device id seems unnecessary and prone to problems. I don't want to limit a user (like me) to just one device--so sharing is ""permited"". Like the OP I assume, I'm just looking for a way to keep my app from being cracked quickly. Also I've always thought that you should not use a full release as a demo (a collection of demos is like a set of minigames)---that was partly why I suggested a bonus pack or features plugin that is not directly available--seems like a good incentive to buy.

StephC wrote:But if all the correct data are stored in memory in an encrypted state at runtime, they may dump a memory image, and write a small "loader".

I am suggesting that things should be decrypted as they are needed. At no point should the correct data be available anywhere except in encrypted form until required. And each piece of data can be encrypted uniquely. Being able to make a memory dump can only mean they are using a registered app for which cracking is not necessary. Assuming the data is secure, the insertion of substitute content (via a "loader" if you want) can be a problem---but at least a cracker might be forced to create something useful--in which case you can say they are ripping themselves off if it is a game.

I did mention briefly the drawbacks before that I think I will run into. It seems to be necessary to distribute a lot of different data since each data set should have only one key maybe. And it may be a problem for legitimate users to verify they have entered the key correctly because it is possible they won't know until they are in the middle of using an app---I guess you can't have users typing in keys. Error detection would not be good probably.

fzammetti wrote:I suggest reading any of the numerous cracking guides out there, and maybe better yet spend some time talking to crackers in IRC.

There have been times in the past I wanted to try cracking. But I don't have the time now to get into that I think (maybe I could), and so I thought maybe using encryption exclusively might be an easy alternative to code protection.
You could always make your game hundreds of megs, the servers are so slow no one will ever get them! ;)
Speaking about creativity, people involved in SIM card standards are designing a nice standard copy protection solution for Smartphone applications, basically using your SIM card as a smart programmable dongle for your game.

I'll post here a bit more when we'll be going public and organizing sessions with game providers :wink:
Now before i get flammed i will explain myself.
I have much experience in the dark side of programs, but no im not responsible for illegal cracks. I am part of a community that create protection methods, use them, send them to each other and have competitions in cracking software.
We have developed many methods that we have not cracked yet, and thats been 2 years now!!!

Anyway, as to your thinking like the enemy, they dont think they just calculate, more or less; within time your program will fall, just as mine have.

And as to the comment made earlier about a 'crack' to be released falsly, so that when they applied it it caused seious harm, that is a great idea and i know just how you can do it! except that your saying it in a public forum has leaked the information already (duh!)

Well, thats my rant, in short; Try whatever you can i hope you sucess but dont hold your breathe, they are resourceful S.O.B's.

Good luck, and if you find a really good method, drop me a line. (i need one because our 2 year old ones are mips and retarted and i need arm / xscale. Too much annoying work involved in changing source)

Regards,
:wink:
fzammetti wrote:Yeah, requiring net access is a recipe for disaster. Heck, just imagine if your server is down and people can't play your game, or access something otherwise. Not gonna make you look good.

And then of course there's the privacy issues that people will balk at... What is your app sending across the wire? Are you going to deactivate a game that sends a bad key? Record IP address of offenders to prosecute? Are your updates going to be forced, as it seems you implied? NEVER a good idea to force upgrades, whether they are pirating your stuff or not.

No, there's more trouble down that path than it's worth I think, most especially on a PocketPC where you don't have always-on access anyway (yet). Heck, a lot of people (including me actually) don't go online with their PocketPC much anyway. I may surf the web a few minutes in the morning while I'm on the can, but otherwise I tend not to.


My point is that if you want to protect your game, there are smart ways to do it.
Then you can always argue if you will gain anything from it. I think I will therefore I put some time into it. And as all people know (and stated in this thread) there is always a technique to bypass a protection, but it may require so much effort that only a few can break it.

And I stated; if you want to make it “harder” to crack your game use some net access. But if you think your solution “is a recipe for disaster” don’t do it. But I am really confident that there are clever ways to do this.

For instance in my upcoming smartphone game, users can download extra levels from internet. And I have added a function that patches the binaries of the game at the same time, used for game updates and bug fixes.

The user will get a question before the levels and patch is downloaded and the package size is stated: “Do you want to update your game and download level x (size: 73kb, game restart required)?”

Since the game is not released yet I have no clue how this will turn out in practice, but my initial feelings is that it will be a great feature cherished by the gamers.

PS1.
Not all pirates are lowlife-never-buy-anything-bitches. There is a great deal of users that first check with friends and other channels if they can get the application/game there for free. If not they probably buy it if they think it’s worth the money.

PS2.
Not all users are annoyed by copy protections; some feel the exclusiveness when they own a key to unlock the application/game.
Not all pirates are lowlife-never-buy-anything-bitches. There is a great deal of users that first check with friends and other channels if they can get the application/game there for free. If not they probably buy it if they think it’s worth the money.

so are the people you are describing not low life's? If they look everywhere they can to get something illegal for free before buying it only if they can't get a ripped off copy then they are just one notch higher than the creeps who will never buy anything cause they don't care who they rob so long as they get free fun.

I'm sure every one of us has had some knocked off software / dvd at some point in time (sometimes it's hard to refuse if it's literally handed to you) but there can never be an excuse for people hacking games knowing full well that they are causing serious damage to the developers who are usually individuals or very small businesses.
Well, ven if u can manage to get a protection method, even if its the best in the world, somebody made it, so therefore somebody can unmake it. As simple as that.