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] Dealing with Xlive and similar protections
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials
View previous topic :: View next topic  
Author Message
satanrules666
Advanced Cheater
Reputation: 0

Joined: 31 Oct 2010
Posts: 70
Location: New Zealand

PostPosted: Sat Mar 12, 2011 11:23 pm    Post subject: Reply with quote

I got my hands on blaz blue through how did you get the value for health

is it 4 byte byte 2 byte ?

and do you have to use changed value unchanged value

if i use the address you found it doesnt work for me

_________________
I know you're reading this, Jiehfeng. Smile


http://forum.cheatengine.org/viewtopic.php?t=533625
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sat Mar 12, 2011 11:40 pm    Post subject: Reply with quote

It is stored on 4 bytes. The max health of your player is 10000 if I remember correctly. It is easy to find it that way.
_________________
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
satanrules666
Advanced Cheater
Reputation: 0

Joined: 31 Oct 2010
Posts: 70
Location: New Zealand

PostPosted: Sun Mar 13, 2011 2:57 am    Post subject: Reply with quote

cool ive found the address for both player health now just need to know how to find the player id

and to know a scipt to check if the health is only working for my character

_________________
I know you're reading this, Jiehfeng. Smile


http://forum.cheatengine.org/viewtopic.php?t=533625
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sun Mar 13, 2011 8:35 am    Post subject: Reply with quote

Try to check the same offset. I think it will work.
_________________
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
ReversalApprentice
How do I cheat?
Reputation: 0

Joined: 14 May 2011
Posts: 4

PostPosted: Mon May 16, 2011 2:30 pm    Post subject: Reply with quote

Geri, your posts on this forum have been fantastic reads for me. I have some private comments I'd like to share with you but the forums will not allow me to PM yet.

If you understand browsing posts at pastebin, you can find what my PM contents should have been at paste rJqkdpxS. I'd love to hear from you, thanks.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Mon May 16, 2011 2:46 pm    Post subject: Reply with quote

You can send e-mail:

[email protected]

(This is for the cheat related stuff, trainers, tutorials, reverse-engineering in general.)

_________________
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
ReversalApprentice
How do I cheat?
Reputation: 0

Joined: 14 May 2011
Posts: 4

PostPosted: Mon May 16, 2011 3:23 pm    Post subject: Reply with quote

Thanks Geri, I sent an email.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Mon May 16, 2011 4:16 pm    Post subject: Reply with quote

Don't mind me, just bursting into the conversation but I just had to say this: (again and again)
Adding security after the design phase, and even worse, after the implementation is the worst kind of development order game developers can use, especially when it's online

Anyhow, first thing would be: Make sure your client doesn't have direct access to the database where it has write access to all tables and issues database commands (e.g issuing select passwordasplaintext from users where username='$username' and then compare the password to be the same as inputed is not such a good idea, and yes, I have seen some online applications do this)

Also, you can also ask me specific questions, and pm'ing me is available for everyone (Tip: Don't waste time detecting Cheat Engine itself, spend more time on the changes cheat engine makes instead. CE is opensource and there are quite a lot of ce versions out that you never even heard off, including a CE version that runs outside of the system)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
ReversalApprentice
How do I cheat?
Reputation: 0

Joined: 14 May 2011
Posts: 4

PostPosted: Mon May 16, 2011 4:49 pm    Post subject: Reply with quote

Hey DB, thanks for the reply.

Don't worry, all of the database stuff is written by the server. The client can send things such as "I won the match", but the server is what says "Okay, add 100xp for match win to the database", the client can't modify those instructions or the amount of XP / gold gain. The server uses a unique token for each game so the client can send cloned encrypted packets over and over to rack up game wins, HOWEVER you can modify the client to think you've won and it will generate the encrypted "I win" packet and send it for you. This is a problem right now Razz
Luckily we've implemented logging so we can write a script to detect when wins are happening in too quick of succession.

There are several other vulnerabilities as well, but the most dangerous ones are those that allow a player to force a defeat against another player (by setting the opponents HP to 0). I already pointed this out to the developer and he implemented some variable obfuscation and address shifting to counter it. I haven't been successful in recreating the hack yet, but I have gotten uncomfortably close (I can lock the encrypted variables for instance and keep the HP from going down), so I feel someone better experienced could still do this hack.

I agree there is no point wasting time in detecting CE, but rather forcing stricter server checks on the client responses, such as checking the other clients HP variables before assuming the hacked clients response of 0 is correct.

So this is why I'm reaching out to Geri to help me prove the insecurity of the client (so the developer will listen and implement the server checks I'm suggesting), but also primarily for me to improve my debugging knowledge and to make contacts who can help me as I continue to learn reverse engineering. Thank you for taking an interest in my problem. Smile
Back to top
View user's profile Send private message
Channel GannoK
pffrt
Reputation: 129

Joined: 12 Apr 2008
Posts: 601

PostPosted: Mon May 16, 2011 4:50 pm    Post subject: Reply with quote

Dark Byte wrote:
Don't mind me, just bursting into the conversation but I just had to say this: (again and again)
Adding security after the design phase, and even worse, after the implementation is the worst kind of development order game developers can use, especially when it's online

Anyhow, first thing would be: Make sure your client doesn't have direct access to the database where it has write access to all tables and issues database commands (e.g issuing select passwordasplaintext from users where username='$username' and then compare the password to be the same as inputed is not such a good idea, and yes, I have seen some online applications do this)

Also, you can also ask me specific questions, and pm'ing me is available for everyone (Tip: Don't waste time detecting Cheat Engine itself, spend more time on the changes cheat engine makes instead. CE is opensource and there are quite a lot of ce versions out that you never even heard off, including a CE version that runs outside of the system)

Did any companies eventually try to sue you for the design of cheat engine and how it enables certain players to have an advantage over other, on a game that can be payed for?

_________________
Some Retarded Muslim who crys ad hominem every chance he can get wrote:
btw, since im a leech i have to get a job, arent u a 4x leech by having 4?

https://guildav.com
THIS IS JUST AN OPINION
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Wed May 18, 2011 7:06 pm    Post subject: Reply with quote

Ok for those who still don't get it, here are tons of help:
1. Tutorial:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles/243-xlive

2. Recifense's script to disable Xlive:

http://forum.cheatengine.org/viewtopic.php?t=495872

3. My scripts to disable Xlive:

Code:
//A script to disable Xlive's memory check protection
//Made by Geri with Cheat Engine 6.0
//18th May, 2011
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
label(xlivekiller)
registersymbol(xlivekiller)
aobscan(aobxlive,74 14 FF 75 14 8B CE FF 75 10 53 E8)

aobxlive:
xlivekiller:
db EB 14

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
xlivekiller:
db 74 14
unregistersymbol(xlivekiller)





Code:
//A script to disable Xlive's memory check protection
//Made by Geri with Cheat Engine 6.0
//18th May, 2011
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
label(xlivekiller)
registersymbol(xlivekiller)
aobscan(aobxlive,74 14 FF 75 14 8B CE FF 75 10 53 E8 * * * * 8B F8 85 FF)

aobxlive:
xlivekiller:
db EB 14

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
xlivekiller:
db 74 14
unregistersymbol(xlivekiller)



4. If the aobscan would not work anymore, here is the code that you need to scan for:

Code:
012BCEA8 - 74 14                      - je 012BCEBE     //jump to change
012BCEAA - FF 75 14                   - push [ebp+14]
012BCEAD - 8B CE                      - mov ecx,esi
012BCEAF - FF 75 10                   - push [ebp+10]
012BCEB2 - 53                         - push ebx
012BCEB3 - E8 C7230000                - call 012BF27F
012BCEB8 - 8B F8                      - mov edi,eax
012BCEBA - 85 FF                      - test edi,edi
012BCEBC - 7C 20                      - jnge 012BCEDE
012BCEBE - F6 C3 10                   - test bl,F6
012BCEC1 - 74 0D                      - je 012BCED0
012BCEC3 - 8B CE                      - mov ecx,esi
012BCEC5 - E8 93170000                - call 012BE65D
012BCECA - 8B F8                      - mov edi,eax
012BCECC - 85 FF                      - test edi,edi
012BCECE - 7C 0E                      - jnge 012BCEDE
012BCED0 - F6 C3 20                   - test bl,F6
012BCED3 - 74 09                      - je 012BCEDE
012BCED5 - 8B CE                      - mov ecx,esi
012BCED7 - E8 1A180000                - call 012BE6F6
012BCEDC - 8B F8                      - mov edi,eax
012BCEDE - 8D 8E 74010000             - lea ecx,[esi+00000174]
012BCEE4 - E8 C0110000                - call 012BE0A9
012BCEE9 - 8D 8E 98010000             - lea ecx,[esi+00000198]
012BCEEF - E8 B5110000                - call 012BE0A9
012BCEF4 - 8D 8E BC010000             - lea ecx,[esi+000001BC]
012BCEFA - E8 AA110000                - call 012BE0A9
012BCEFF - 8B C7                      - mov eax,edi
012BCF01 - 5F                         - pop edi
012BCF02 - EB 05                      - jmp 012BCF09
012BCF04 - B8 14BB0480                - mov eax,8004BB14
012BCF09 - 5E                         - pop esi
012BCF0A - 5B                         - pop ebx
012BCF0B - 5D                         - pop ebp
012BCF0C - C2 1000                    - ret 0010
012BCF0F - 8B FF                      - mov edi,edi
012BCF11 - 55                         - push ebp
012BCF12 - 8B EC                      - mov ebp,esp
012BCF14 - 51                         - push ecx
012BCF15 - 53                         - push ebx
012BCF16 - 56                         - push esi
012BCF17 - 8B B1 70010000             - mov esi,[ecx+00000170]
012BCF1D - 33 DB                      - xor ebx,ebx
012BCF1F - 3B F3                      - cmp esi,ebx
012BCF21 - 74 62                      - je 012BCF85
012BCF23 - 39 19                      - cmp [ecx],ebx
012BCF25 - 74 5E                      - je 012BCF85
012BCF27 - 39 59 04                   - cmp [ecx+04],ebx

_________________
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.


Last edited by Geri on Sat May 21, 2011 6:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Fri May 20, 2011 10:37 pm    Post subject: Reply with quote

If you are totally stuck and you have no idea what to do, here is a radical but working way to use the debugger with games that are using Xlive. Basically the method is killing Xlive so all of it's features will be disabled. Of course it is not the right way to handle the situation but I don't want to bother with an Xlive anti-debug bypass as I don't need it at all at the moment.

Here is a video to show how is it working:

Link


For more info, check this page:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles/323-xlive-anti-debug

_________________
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
Alice0725
Expert Cheater
Reputation: 11

Joined: 24 Jul 2012
Posts: 145

PostPosted: Sat Mar 02, 2013 12:50 am    Post subject: Reply with quote

This patch is always fine! But, after I installed this windows update "Windows6.1-KB2670838-x64", the game crashed at 'd3d11.dll'. I mean, is there sth. check in this new d3d11.dll? Evil or Very Mad Microsoft!
_________________
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sat Mar 02, 2013 6:21 pm    Post subject: Reply with quote

That's DirectX. Why would DirectX contain protection for a game?
_________________
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
Alice0725
Expert Cheater
Reputation: 11

Joined: 24 Jul 2012
Posts: 145

PostPosted: Sat Mar 02, 2013 8:40 pm    Post subject: Reply with quote

I thought ms may hide sth. in this update to protect xlive games.

Then I searched this page:
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/internet-explorer-and-firefox-both-crash-after/772b86bc-82dc-4cff-a8bd-f8e70dc0c7a6

KB2670838 causes crash.

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials 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 can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites