Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Challenge]Random Cheat Engine Challenge

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
efficacy28
Cheater
Reputation: 0

Joined: 07 Jun 2010
Posts: 35

PostPosted: Wed Aug 03, 2011 5:58 pm    Post subject: [Challenge]Random Cheat Engine Challenge Reply with quote

Hi, and welcome to the Random Cheat Engine Challenge! ~Efficacy28
Here, your cheat engine skills will be tested.

Challenge Level 1 - Difficulty:| Easy

________________________
No protection
Your everyday 'cheat engining'

Challenge Level 2 - Difficulty: |||| Medium

__________________________
Low protection
This one requires thinking...

Challenge Level 3 - Difficulty: |||||||| Hard

________________________
High protection
For some, this could be easier than level 2.

Challenge Level 4 - Difficulty: |||||||||||||||||||| Impossible
______________________________
MAXIMUM protection
Even I couldn't do this... I found it impossible, even though I created it o.O

I did this to show you how games store memory to prevent hacking or make it harder to hack. Rarely do games use the MAXIMUM anti-cheat protection algorithm on level 4.

Good luck~!

UPDATE: Fixed being able to bypass passwords; passwords changed.

- Password is: 5318008 -

Fast Download: http://download1204.mediafire.com/u3y5tlw9r4fg/7bahaw6ogjfy527/RCEC.zip
If that didn't work:

Download: http://www.mediafire.com/?7bahaw6ogjfy527
Virus Scan: http://www.virustotal.com/file-scan/report.html?id=0e45ef2f4e1de331c1948953f2051feaaca13bdbbf06ae328a6a338b1560850f-1316150666

_________________
I like pie so much, that no group could ever sum up to the value of how much of I like pie.


Last edited by efficacy28 on Fri Sep 16, 2011 12:26 am; edited 1 time in total
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Aug 03, 2011 6:13 pm    Post subject: Reply with quote

Challenge 1: (Entry: 5318008)
Code:

for(; input.nextInt() != 0x512578; System.out.print("Wrong passcode! You can get the passcode here: http://www.forum.cheatengine.org/\nTry again: "));

Password: 1234098756

Challenge 2: (Entry: 1234098756)
Code:

for(; input.nextInt() != 0x498eda44; System.out.print("Wrong passcode! You can get the passcode by completing Level 1 :)\nTry again: "));

Password: 311730

Challenge 3: (Entry: 311730)
Code:

for(; input.nextInt() != 0x4c1b2; System.out.print("Wrong passcode! You can get the passcode by completing Level 2 :)\nTry again: "));

Password: 3141337

Challenge 4: (Entry: 3141337)
Code:

for(; input.nextInt() != 0x2feed9; System.out.print("Wrong passcode! You can get the passcode by completing Level 3 :)\nTry again: "));

Password: iBeatThisChallenge


Pro-tip: Java is not secure.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 304

PostPosted: Wed Aug 03, 2011 6:23 pm    Post subject: Reply with quote

LoL. 15 minutes for an "IMPOSSIBLE" challenge. Nice work Wiccan. I didn't bother trying although I saw this, I just don't really trust random APPS and don't have a virtual machine handy at the moment. Maybe the OP will now learn something as well. Interpreted code is butt cheeks to secure.
Back to top
View user's profile Send private message
efficacy28
Cheater
Reputation: 0

Joined: 07 Jun 2010
Posts: 35

PostPosted: Wed Aug 03, 2011 8:20 pm    Post subject: Reply with quote

Haha, I knew that someone would try to bypass it. I could even bypass it myself. I didn't intend anyone to. I'm still learning java with six months experience. Right now, I'm looking if someone can solve level 4 with cheat engine Smile

Btw, how did you do that? I didn't use for loops, nor did I use System.out.print... I used while loops and out.print

_________________
I like pie so much, that no group could ever sum up to the value of how much of I like pie.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Aug 03, 2011 10:45 pm    Post subject: Reply with quote

efficacy28 wrote:
Haha, I knew that someone would try to bypass it. I could even bypass it myself. I didn't intend anyone to. I'm still learning java with six months experience. Right now, I'm looking if someone can solve level 4 with cheat engine Smile

Btw, how did you do that? I didn't use for loops, nor did I use System.out.print... I used while loops and out.print


It's the output from a decompiler. Java in it's plain format (unprotected) is just that; unprotected. You could essentially open the class files in a hex editor/notepad and see the passwords.

I don't recommend coding challenges in a higher level language like Java cause of that. And tacking on things like obfuscation defeat the purpose of the challenge and make it more of a 'deobfuscate this' type thing.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
efficacy28
Cheater
Reputation: 0

Joined: 07 Jun 2010
Posts: 35

PostPosted: Thu Aug 04, 2011 9:42 am    Post subject: Reply with quote

ok thx for the pro tip Smile
_________________
I like pie so much, that no group could ever sum up to the value of how much of I like pie.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Aug 04, 2011 3:08 pm    Post subject: Reply with quote

I have tried lvl4 only as Wiccaan has posted the passwords anyway.

The address was static, 0093F854.
I didn't bother finding out what is the obfuscation itself. It was easy because it is static. Would have been harder if it is dynamic. I didn't play any java games so I don't know if it is working like this with every java game.



lvl4.jpg
 Description:
 Filesize:  48.47 KB
 Viewed:  14284 Time(s)

lvl4.jpg



_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
gaming04
Expert Cheater
Reputation: 0

Joined: 06 Dec 2010
Posts: 190

PostPosted: Fri Aug 05, 2011 1:16 pm    Post subject: Reply with quote

Funny, I gave up after having taken longer than 20 minutes to find the pointer in Easy Mode. Maybe next time, when the challenge is actually a game I enjoy playing. LOL!
Back to top
View user's profile Send private message MSN Messenger
efficacy28
Cheater
Reputation: 0

Joined: 07 Jun 2010
Posts: 35

PostPosted: Fri Sep 16, 2011 12:28 am    Post subject: Reply with quote

Sorry for grave-digging, but I updated the files by improving security.
_________________
I like pie so much, that no group could ever sum up to the value of how much of I like pie.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Sep 16, 2011 1:21 am    Post subject: Reply with quote

efficacy28 wrote:
Sorry for grave-digging, but I updated the files by improving security.


Level 1: (5318008)
Code:
intList[num1] = 0x512578;


Level 2: (543219783)
Code:
 intList[num1] = 0x2060e047;


Level 3: (846214579)
Code:
intList[num1] = 0x327035b3;


Level 4: (431546780)
Code:
intList[num1] = 0x19b8e19c;



End number:
Code:
 intList[num2] = 0x2060cbe7;


543214567



Here is why I mentioned Java isn't secure for this type of thing, here is level 4 decompiled:

Code:

import java.io.PrintStream;
import java.util.Scanner;

public class Level4
{

    public Level4()
    {
    }

    public static void main(String args[])
    {
        Efficacy28 p = new Efficacy28();
        Scanner input = new Scanner(System.in);
        int num1 = (int)(Math.random() * 9999D);
        int num2 = (int)(Math.random() * 9999D);
        int intList[] = new int[9999];
        for(int i = 0; i < 9999; i++)
            intList[i] = (int)(Math.random() * 999999999D);

        intList[num1] = 0x19b8e19c;
        intList[num2] = 0x2060cbe7;
        System.out.print("Random CE Challenge! Level 4: MAXIMUM Protection\nWhat is the passcode?: ");
        for(; input.nextInt() != intList[num1]; System.out.print("Wrong passcode! You can get the passcode by completing Level 3 :)\nTry again: "))
        {
            intList[num1] = (int)(Math.random() * 999999999D);
            num1 = (int)(Math.random() * 1000D);
            intList[num1] = 0x19b8e19c;
            intList[num2] = (int)(Math.random() * 999999999D);
            num2 = (int)(Math.random() * 1000D);
            intList[num2] = 0x2060cbe7;
        }

        input.nextLine();
        int dec = (int)(Math.random() * 5D) + 1;
        int health = 0;
        int mult = 0;
        System.out.print("*** Passcode correct! Game initiated. ***\nInstructions: Edit your health to be larger than 100, and you win!\n\nHealth: 100\nPress the ENTER key to continue...");
        do
        {
            intList[num2] = (int)(Math.random() * 999999999D);
            num2 = (int)(Math.random() * 1000D);
            intList[num2] = 0x2060cbe7;
            mult = (int)(Math.random() * 1337D) + 1;
            health *= mult;
            input.nextLine();
            dec = ((int)(Math.random() * 5D) + 1) * mult;
            health += dec;
            if(health < 0 || health >= 101 * mult)
                break;
            System.out.print((new StringBuilder()).append("\nYou have been shot! Your health decreased by ").append(dec / mult).append(".\nYour health is ").append((100 * mult - health) / mult).append("\nPress the ENTER key to continue...").toString());
            dec /= mult;
            health /= mult;
        } while(true);
        if(health > 100 * mult)
            System.out.println("\n\nYou were shot and killed! :(");
        else
            System.out.println((new StringBuilder()).append("\n\nCongratulations! You have won!\nEnter this into the forums to receive glory: ").append(intList[num2]).toString());
        input.nextLine();
    }
}


It's not an exact copy of what you actually coded but it is enough to tell what is happening and to get the passwords.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
efficacy28
Cheater
Reputation: 0

Joined: 07 Jun 2010
Posts: 35

PostPosted: Fri Sep 16, 2011 6:34 pm    Post subject: Reply with quote

Is there a free obfuscator somewhere? Or that won't help? What do you suggest?
_________________
I like pie so much, that no group could ever sum up to the value of how much of I like pie.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Sep 17, 2011 3:12 am    Post subject: Reply with quote

efficacy28 wrote:
Is there a free obfuscator somewhere? Or that won't help? What do you suggest?


If it's free it probably wont help much except from beginners that don't know how to unpack / deobfuscate the protection. You're just better off not writing anything crackme/keygenme wise with Java as it is not a secure language in that manner.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Sep 17, 2011 3:19 am    Post subject: Reply with quote

Your protection should not be by obfuscation.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites