View previous topic :: View next topic |
Author |
Message |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Tue Sep 18, 2012 4:45 pm Post subject: [Tutorial] Massive Code Injection Tutorial for Dummies! |
|
|
Hello people. I decided to create this video tutorial about Code Injection and some basic ASM for beginners who're having problems with Code Injection. In this tutorial I'll be using:
- OllyDebugger
- Notepad
- Windows Calculator
- Cheat Engine v6.2
- Cheat Engine v6.2 Tutorial (STEP 7)
- OPTIONAL T-Search for converting ASM to TMK.
I'm explaining and showing:
- What a Code Injection is.
- How a Code Injection works.
- Some basic ASM code manipulation.
- How to write manually your own Code Injection.
- How to use Olly Debugger for you Code Injection.
- How to find a static code cave.
- How to generate TMK Code from ASM (converting ASM to TMK).
Feel free to spread this tutorial anywhere you like! If you have any questions feel free to ask.
Link:
multiupload(DOT)nl/MSVGLOOFHN
|
|
Back to top |
|
 |
renomous Advanced Cheater
Reputation: 0
Joined: 15 Jul 2012 Posts: 86
|
Posted: Tue Sep 18, 2012 11:20 pm Post subject: |
|
|
bro thats the most fucking well done explained tutorial i ever seen
thanks you so much love you
maybe you have somthing that i can contact you ?
might have some trouble in future still havnt tried your script
|
|
Back to top |
|
 |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Thu Sep 20, 2012 1:40 pm Post subject: |
|
|
No problem, glad I could help. I had so many problems with Code Injection when I started out because I wasn't nopping enough bytes. So here is the help for you people I couldn't get. I will be an active user on this board so you always can PM me. Going to check this board everyday.
|
|
Back to top |
|
 |
Acubra Advanced Cheater
Reputation: 0
Joined: 19 Jun 2011 Posts: 64 Location: C:\Windows\System32\HoG
|
Posted: Thu Sep 20, 2012 4:17 pm Post subject: |
|
|
Hey,
nice tutorial I like it.
But at 0:57 you are saying that the dec instruction is decreasing a value and that's in our case 1. That is wrong. The dec instruction decreases in every case 1 from the given address.
At 1:38 Dec is the decimal number system (http://en.wikipedia.org/wiki/Decimal) and hex the hexadecimal system (http://en.wikipedia.org/wiki/Hexadecimal).
And we don't move values into pointers, but into addresses.
|
|
Back to top |
|
 |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Thu Sep 20, 2012 7:07 pm Post subject: |
|
|
Acubra wrote: | Hey,
nice tutorial I like it.
But at 0:57 you are saying that the dec instruction is decreasing a value and that's in our case 1. That is wrong. The dec instruction decreases in every case 1 from the given address.
At 1:38 Dec is the decimal number system and hex the hexadecimal.
And we don't move values into pointers, but into addresses. |
Technically it does decrease 1 from the chosen addie, I said it like that so beginners would get an idea of what it does, people might be confused or they will confuse it with the SUB instruction.
About the decimal number system ... thats what you see on your screen while playing the game. Lets say you have a game, and your score is 2000. So the 2000 you're seeing in game is the score in decimal, CE shows the value into HEX. Thats why I mentioned the Windows Calculator stuff.
|
|
Back to top |
|
 |
renomous Advanced Cheater
Reputation: 0
Joined: 15 Jul 2012 Posts: 86
|
Posted: Fri Sep 21, 2012 1:54 am Post subject: |
|
|
i made code cave
how can i make the cool time to 0 look here
imageshack.us/f/23/55865716.jpg/
here is the old script
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
00717E75:
jmp newmem
nop
returnhere:
newmem:
originalcode:
xor ecx,ecx
mov [edx+64],ecx
mov ecx,[edx+64]
mov [eax+64],ecx
exit:
jmp returnhere
[DISABLE]
dealloc(newmem)
00717E75:
mov ecx ,[edx+64]
mov [eax+64],ecx
|
|
Back to top |
|
 |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Fri Sep 21, 2012 8:42 am Post subject: |
|
|
You need to know what the value of the cool timer is. Then you need to check out the Extra Information windows so you'll know which register holds it then you'll modify the code.
If thats an online game I really think the values etc are stored on the server.
|
|
Back to top |
|
 |
renomous Advanced Cheater
Reputation: 0
Joined: 15 Jul 2012 Posts: 86
|
Posted: Fri Sep 21, 2012 12:17 pm Post subject: |
|
|
Studio80 wrote: | You need to know what the value of the cool timer is. Then you need to check out the Extra Information windows so you'll know which register holds it then you'll modify the code.
If thats an online game I really think the values etc are stored on the server. |
yea i wanted to ask you how to check extra information of adress ?
like in debuger
also one more question how to descript trainer
i mean how to get the scripts from a trainer
|
|
Back to top |
|
 |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Sat Sep 22, 2012 8:22 am Post subject: |
|
|
I showed you in my tutorial. How to get the ASM code, adresses with the opcodes. If you have them you can code it.
Use Olly debugger, set a BP on the address, run the game. Play the game, once you play if you should break on the breakpoint. Thats why I have told you its better to have some basic cracking skills, how to tackle simple protection scheme's, bybass nags etc. By this you learn the basics of ASM.
|
|
Back to top |
|
 |
|