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 


[Tutorial] Massive Code Injection Tutorial for Dummies!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Studio80
Advanced Cheater
Reputation: 2

Joined: 12 Sep 2012
Posts: 83

PostPosted: Tue Sep 18, 2012 4:45 pm    Post subject: [Tutorial] Massive Code Injection Tutorial for Dummies! Reply with quote

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
View user's profile Send private message
renomous
Advanced Cheater
Reputation: 0

Joined: 15 Jul 2012
Posts: 86

PostPosted: Tue Sep 18, 2012 11:20 pm    Post subject: Reply with quote

bro thats the most fucking well done explained tutorial i ever seen
thanks you so much Very Happy 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
View user's profile Send private message
Studio80
Advanced Cheater
Reputation: 2

Joined: 12 Sep 2012
Posts: 83

PostPosted: Thu Sep 20, 2012 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Acubra
Advanced Cheater
Reputation: 0

Joined: 19 Jun 2011
Posts: 64
Location: C:\Windows\System32\HoG

PostPosted: Thu Sep 20, 2012 4:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Studio80
Advanced Cheater
Reputation: 2

Joined: 12 Sep 2012
Posts: 83

PostPosted: Thu Sep 20, 2012 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
renomous
Advanced Cheater
Reputation: 0

Joined: 15 Jul 2012
Posts: 86

PostPosted: Fri Sep 21, 2012 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Studio80
Advanced Cheater
Reputation: 2

Joined: 12 Sep 2012
Posts: 83

PostPosted: Fri Sep 21, 2012 8:42 am    Post subject: Reply with quote

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
View user's profile Send private message
renomous
Advanced Cheater
Reputation: 0

Joined: 15 Jul 2012
Posts: 86

PostPosted: Fri Sep 21, 2012 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Studio80
Advanced Cheater
Reputation: 2

Joined: 12 Sep 2012
Posts: 83

PostPosted: Sat Sep 22, 2012 8:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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