PocketMatrix forums

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

diProtector 1.1 released!

diProtector · 08 Feb 2006, 19:19 UTC
Release notes:

Version 1.1 07th February 2006.
Bug fix: Access violation on 2003SE platforms on startup;
Bug fix: incorrect handling of PE-file resource section;
Nag-message field size increased;
Minor bug fixes.


diProtector is a software protection tool against reverse engineering on different platforms for PDA developers.

diProtector includes the following features:
- total destruction of the protected code fragments logic, which makes it impossible to analyse by disassembling;
- detection and protection from active debuggers like eVC, eVB debuggers and others;
- protection from code tracing under a debugger;
- protection of application's import table;
- entry point protection;
- protection from code modification;
- protected registry work;
- resource and executable code compression;
- internal short (16 chars) serial number manager with strong encryption (symmetric crypto-algorithm 3DES is used);
- external serial number generator with keygen interface;
- quick addition of trial-features and short
serial number support to any applications;
- no more "owner names" needed yet. Unique ID produced by diProtector is a MD5 hash-function of PresetID, PlatformID and random number. Therefor it's unique to each device and protected programs copy.

Image

You can download demo version now!
http://www.diprotector.com/downloads/diProtector_wince_arm_demo.zip

Best price - only $49!!!
diProtector wrote:- internal short (16 chars) serial number manager with strong encryption (symmetric crypto-algorithm 3DES is used);
"symmetric". This means that having 1 valid serial number a skilled person can make a keygen. It is easy to obtain a serial (for example via carding). You should consider asymmetric algorythms, this would stop releasing a keygen for several days. And don't reproduce the well-known ASProtect problem with weak random number generator that allowed making a universal keygen for most of protected programs (the bug is fixed now).
- no more "owner names" needed yet. Unique ID produced by diProtector is a MD5 hash-function of PresetID, PlatformID and random number. Therefor it's unique to each device and protected programs copy.
I've published source code of a tool that can hook any OS service. It can be used (and soon it would be) to make all devices look equal for a protection, so they would have identical serial numbers.
I've published source code of a tool that can hook any OS service. It can be used (and soon it would be) to make all devices look equal for a protection, so they would have identical serial numbers.


Hey!

Why did you published this thing?

Could you make it public here so people would at least be able to try a counter measure?
StephC wrote:Why did you published this thing?
Because I've spent my time on creating that code, and I no longer need it. And I usually share information I've found during reverse engeneering/studying OS source code.
http://forum.xda-developers.com/viewtopic.php?t=40346 (you have to login to that forum to download source code). SRC is for WM5, but can be easily modified for older OSes.
On the same forum I've published a file IO monitoring tool, but maybe without source code.

The same methods can be used to create a strong software protection, but noone would make it for pocket devices.
Well...

Publishing this thing mean more work for us Software Developers who try to protect their games.. But thank you for sharing your source code here.

By the way, do you know if the PXA CPU has some kind of unique serial number register ? Or if the deviceID is implemented as a peripheral, with probable hardware differences across manufacturers...
StephC wrote:Publishing this thing mean more work for us Software Developers who try to protect their games..


and more hassles for users... next time I receive a complaint about "how hard" is registering legal games I'll forward him to mamaich :)

I suppose it'd be a great feature for DiProtector to counter this hack by himself :)
Kak wrote:and more hassles for users... next time I receive a complaint about "how hard" is registering legal games I'll forward him to mamaich :)
And I'll send him a crack ;)
Sometimes it is easier to use a cracked version than reregistering it after each hard reset (which I do regularly).
mamaich wrote:
Sometimes it is easier to use a cracked version than reregistering it after each hard reset (which I do regularly).


How could you know?

You said in an other forum that you never bought any software... ;)

Seriously, when the registration occurs during the game installation, without even the need to manually input a serial number, it's quite painless..
//offtopic
StephC wrote:You said in an other forum that you never bought any software... ;)
Yes. "I" never bought any software except for bundled useless outlook 2002 and pen reader that came with my PocketPC. But my company does (and I safely use that soft at home/give it to trusted people). And most of soft I use are the first or second copies from a licensed CD with a valid s/n, so I know what I'm talking about.
// offtopic end
The most convenient registration method for me would be if a software during first runs would collect all info about my device (my name/email/ROM checksum/etc), send it via GPRS to your activation server and continue running without asking me anything (or only the question "do you whant to start GPRS connection and activate program automatically, or you prefere to enter that 1024-letter serial number?").
The activation server would check if I'm a registered user and allow program to run.
Or another way - instead of serial number you can send a program that is hardcoded to be run on a specific device. And embed watermarks so that when it would be cracked you'll be able to find a guilty person and stop him receiving tech support/updates/etc. For example www.datarescue.com in IDA does this.
Of cause this method can be cracked, but it is a bit more complex than cracking s/n.
In the case of watermark the cracker has to buy 2 devices to compare your program binaries, and if watermarks are choosed wizely he would not be able to clean all of them (for example one watermark can change each week, second each month). In this case you'll be able to find a set of people who can be possible crackers, and reduce this set after each software update. Of cause this is a complex method for a developer and that is why it is never used.
By the way, SD/MMC/CF cards have unique serial number that can be obtained via IOCTL, and this can be used in a protection.
mamaich wrote:
The most convenient registration method for me would be if a software during first runs would collect all info about my device (my name/email/ROM checksum/etc), send it via GPRS to your activation server and continue running without asking me anything (or only the question "do you whant to start GPRS connection and activate program automatically, or you prefere to enter that 1024-letter serial number?").
The activation server would check if I'm a registered user and allow program to run.
Or another way - instead of serial number you can send a program that is hardcoded to be run on a specific device.


This is almost what we are doing, the registration is done by the installer from the PC using the internet connection, the user only have to enter the email he used during the purchase.

The registration server generate a unique "keyfile" for the device, it's sent over the net and installed on the device, the keyfile is not a s/n, it's a crypted piece of code used by the game.



By the way, SD/MMC/CF cards have unique serial number that can be obtained via IOCTL, and this can be used in a protection.


Interessting, but useless I think, we have to found something that is physically tied to the device, something soldered on the motherboard.

And IOCTL can be hooked anyway... I think I'll add the MAC addr of the device to the actual deviceid and devicename.

About watermark : it's in fact quite easy to hide, if you have a large enough file, without a large set of valid keyfiles it will be hard to detect the random parts...
mamaich":vk2y0v54]

no problem, I'll only forward you customers which already paid the product ;)

By the way, SD/MMC/CF cards have unique serial number that can be obtained via IOCTL, and this can be used in a protection.


Since I enjoy the subject, and things seem to be moving a little bit faster this year in that field, a little glimpse of interesting things to come on memory cards (warning, you'll have to cut through the marketing speech, but you get the idea) :

http://www.m-systems.com/site/en-US/Cor ... 0213-5.htm
http://www.axalto.com/Company/press/pdf ... o_en_1.pdf
http://www.oberthurcs.com/press_page.aspx?id=37

And another interesting technology to watch : the closest thing to TPM on the processor itself
http://www.arm.com/products/esd/trustzo ... oping.html

Perhaps we'll get some interesting half-hardware protection schemes soon. But there are still some "political" problems to solve for massive distribution of these beasts :)
I don't reall get all the talk about copy protection.

It's easy, our game (Michael Schumacher Racing whaterver) is out for almost two years now, and the cracks (or the things that call themselfs cracks) still don't work.

Yes, the registration process requires two mails, but afterwards the game installs fine and is even movable to other devices.
torus wrote:I don't reall get all the talk about copy protection.

It's easy, our game (Michael Schumacher Racing whaterver) is out for almost two years now, and the cracks (or the things that call themselfs cracks) still don't work.


Yeah, people keep saying that everything is finally cracked, and most often than not at day one...

As if cracks where magically appearing on the net without any effort, where in fact this quite a lot of work to crack a good protection.

Good enough protections are feasible, simply check the StarForce system, and their work is harder than on mobile devices...
torus wrote:It's easy, our game (Michael Schumacher Racing whaterver) is out for almost two years now, and the cracks (or the things that call themselfs cracks) still don't work.

I never played your game, but there is one crack by nlz for 1.45, and several cracks by RCAPDA for 1.46 (one of them named "working"), so probably your program is cracked.
torus wrote:I don't reall get all the talk about copy protection.

It's easy, our game (Michael Schumacher Racing whaterver) is out for almost two years now, and the cracks (or the things that call themselfs cracks) still don't work.

Yes, the registration process requires two mails, but afterwards the game installs fine and is even movable to other devices.


You were behind MSR? I really enjoyed playing that - have you got anything else planned? :-)
David Horn":1pr6qwd0]

No - To make a long story short, we're out of business. :)
torus":36v6u3lw]
David Horn wrote:

Ah. Yes, I can see how that might cause a problem... ;)
torus wrote:No - To make a long story short, we're out of business. :)
If this is true, can you release source codes of your games? ;)