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 


First CrackMe
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes
View previous topic :: View next topic  
Author Message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Dec 19, 2007 3:24 pm    Post subject: Reply with quote

Well yeah it's kinda like that code Rolling Eyes
I tried cracking it myself but I couldn't find my password I set Confused

_________________
Back to top
View user's profile Send private message
pimpstonie
Advanced Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 70

PostPosted: Wed Dec 19, 2007 3:34 pm    Post subject: Reply with quote

I found 6 variables, not sure how they go in the textboxs. =(

Trying to figure out how to use Olly lol.
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Dec 19, 2007 3:36 pm    Post subject: Reply with quote

Yea I found 6 too, although there aren't any clues that I could find
_________________
Back to top
View user's profile Send private message
pimpstonie
Advanced Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 70

PostPosted: Wed Dec 19, 2007 4:00 pm    Post subject: Reply with quote

Did you store it in the registry? o.0
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Dec 19, 2007 4:09 pm    Post subject: Reply with quote

No Shocked
It's a normal crackme:
If something.text = whatever And something.text = whatever then
msgbox
else
msgbox
end if

Although I did put a twist in it...

(Btw, it is possible, there is a password that works)

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Wed Dec 19, 2007 4:20 pm    Post subject: Reply with quote

Box 1: jjep
Box 2: iHih
Box 3: idjpi


The twist? Theres random strings that might be used when encrypting what is expected if thats the case. Other then that, you check the boxes in a different order then most will think as well. Box 3 -> 1 -> 2

Either way, break point on _vbaStrCmp, check the params, done.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Dec 19, 2007 4:21 pm    Post subject: Reply with quote

What did you use to get it?
I tried getting it myself with Olly but I couldn't Confused

And yeah, the twist was that I switched the order of the boxes. I put those random strings in there so people can read the message and think it's the password Rolling Eyes

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Wed Dec 19, 2007 4:23 pm    Post subject: Reply with quote

I used Olly. Worked fine.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Dec 19, 2007 4:26 pm    Post subject: Reply with quote

Oops, I meant to say the steps
Unless this was it:
Code:
break point on _vbaStrCmp, check the params, done

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Wed Dec 19, 2007 4:30 pm    Post subject: Reply with quote

Yea that was basically it. VB apps use the MSVBVM60.dll calls when they do basic string things such as the compares of

Code:
If Text1.Text = "This" Then


And so on. So you just look for the calls to that function. In this case the first call for the first check (box 3) is:

Code:
00402095   .  FF15 40104000 CALL DWORD PTR DS:[<&MSVBVM60.__vbaStrCm>;  MSVBVM60.__vbaStrCmp


Just before that is the creation of the string thats being compared against. I'm not sure what you are doing exactly to create the string to compare, but from what it looks, it's not just a static string. I would assume you are splitting words using Mid() or Split(), but can't guarantee that. Further down from the above func is the rest:

Second box check(box 1):

Code:
004020DF   .  FF15 40104000 CALL DWORD PTR DS:[<&MSVBVM60.__vbaStrCm>;  MSVBVM60.__vbaStrCmp


Again, just before is the creation of the string being checked.

And last:

Code:
0040211A   .  FF15 40104000 CALL DWORD PTR DS:[<&MSVBVM60.__vbaStrCm>;  MSVBVM60.__vbaStrCmp

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Dec 19, 2007 4:33 pm    Post subject: Reply with quote

Hmm ok, I'll remember that (Even though I don't understand some of it) Razz
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Wed Dec 19, 2007 4:35 pm    Post subject: Reply with quote

Blader wrote:
Hmm ok, I'll remember that (Even though I don't understand some of it) Razz


Can you post the code of the command button, or what ever you have doing the checks? I want test something out.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Dec 19, 2007 4:36 pm    Post subject: Reply with quote

Kk, really simple though:

Code:
Private Sub cmdCrack_Click()
Dim Password As String
Dim Password2 As String
Dim Password3 As String
Dim Blag As String
Dim Blam As String
Dim Arfg As String
Dim Zip As String
Dim Bla As String
Dim Der As String
Dim Fake As String
Dim Fake2 As String
Dim Fake3 As String
Password = "ZOMG"
Blam = "i"
Fake = "Blader"
Bla = "d"
Password2 = "Hi"
Blag = "h"
Fake2 = "Pwns"
Arfg = "p"
Password3 = "NOOO"
Zip = "j"
Der = "e"
Fake3 = "Everyone"

If txt1.Text = Blam & Bla & Zip & Arfg & Blam And txt2.Text = Zip & Zip & Der & Arfg And txt3.Text = Blam & Password2 & Blag Then
    MsgBox "You have cracked it woot! =D", vbOKOnly, "Cracked"
Else
    MsgBox "You lose, try again", vbOKOnly, "Fail"
End If
End Sub

_________________
Back to top
View user's profile Send private message
pimpstonie
Advanced Cheater
Reputation: 0

Joined: 27 Sep 2007
Posts: 70

PostPosted: Wed Dec 19, 2007 4:41 pm    Post subject: Reply with quote

If your a clean freak at code, you can do this:
Code:
Dim Password, Password2, Password3 As String
Dim Blag, Blam, Arfg, Zip, Bla, Der, Fake, Fake2, Fake3 As String


I am kinda a clean freak. When your coding something big, you want all the clutter formal.
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Dec 19, 2007 4:43 pm    Post subject: Reply with quote

pimpstonie wrote:
If your a clean freak at code, you can do this:
Code:
Dim Password, Password2, Password3 As String
Dim Blag, Blam, Arfg, Zip, Bla, Der, Fake, Fake2, Fake3 As String


I am kinda a clean freak. When your coding something big, you want all the clutter formal.


Yes I know you can do that.
I did it separately so it *might* confuse the person who is going to crack it, but that doesn't seem much of a difference.

_________________
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 programming -> Crackmes All times are GMT - 6 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites