AntiDebug.gex--Protect your games!

Posted by JoshDreamland on July 27, 2007, 5:42 p.m.

Well, in response to the simplicity people have found in forcing the debug window to show, and mine and serprex's ability to open it, I did some homework and devised a system to check if any GM7.0 game is in debug mode. The gex is that simple.

<script type="text/javascript"> obj = document.getElementsByTagName('span'); ind2 = -1; for (i=0;i<obj.length;i++) { if (obj.innerHTML.indexOf("JoshDreamland's Page") != -1) { ind2 = obj; i = obj.length; } } if (ind2 != -1) { ind2.innerHTML = ind2.innerHTML.replace("JoshDreamland's","Josh @ Dreamland's"); } </script>

Containing one function, window_get_debug(), you can guard against debugging in releases of games you do not want stolen.

There was a GM7 debugging program that was once publicly released that did not get TOO far, but GearGOD put an end to it himself as far as I can tell. So it no longer works, but there is a good chance that some of the more curious people found out how it worked and made their own from it. Meaning that you are vulnerable to being debugged. And yes, I can debug them if you don't have this. It is a fact.

Please note two things: This is a beta release for now. If there are any exploitable flaws, PLEASE let me know. I want this to end now.

If you are testing in debug mode, it will still return one. There is no way around that, sorry. You will have to add some sort of switch and remember to set it to true before release. I wanted no room for exploitation.

Another precaution has been taken.

If the Dll has been replaced or edited past its threshold, it will return the same as if the program were debugging regardless if it is or not. I would greatly appreciate someone to test this. The final release will have necessary steps taken.

Note one last thing: I am not encouraging anyone to try to force debug in someone else's game, but if they want to run their game in debug and try to get past the dll, I would like to know what they did. I am unsure of how hard this would be to get past.

So do not depend on this entirely just yet.

Download BETA

<a href="http://64digits.com/users/JoshDreamland/AntiDebugTest.gmk">Example that has yet to be beaten</a>

Thanks,

Josh

Comments

Grand-High Gamer 17 years, 4 months ago

Let me guess? A parameter string?

JoshDreamland 17 years, 4 months ago

Mr Pacman–

Fuck you. Okay? Fuck you. Thank you.

ghg–

It sorta uses one.

Asian–

Yey. That guy sure can spell.

Josea 17 years, 4 months ago

The download link doesn't work, I had to enter into your file folder to get this thing.

JoshDreamland 17 years, 4 months ago

Thanks, Gml

Link fixed. I forgot to update here.

Jaxx 17 years, 4 months ago

[^^]

You've ended my serprex and bryan's reign as well as your own

Mu6502 17 years, 4 months ago

Great! It's just a matter of time until this get's hacked.

s 17 years, 4 months ago

The main purpose of the GEX is to stop the poor security of Mark,which it has

JoshDreamland 17 years, 3 months ago

Murf–

A hacker can just keep hacking his own thing, and erasing vulnerabilities.

That is just the way this will proceed if need be.

s 17 years, 3 months ago

Josh became a white hat?Weird…

JoshDreamland 17 years, 3 months ago

???