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 


XOR?

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

Joined: 28 Jan 2014
Posts: 160

PostPosted: Tue Jan 26, 2016 11:19 am    Post subject: XOR? Reply with quote

hi, I've just seen in a forum that XOR is usually used to encrypt data,like this:

real number.....................in memory
0.................................5
1.................................4
2.................................7
3.................................6
4.................................1
5.................................0
6.................................3
7.................................2
8.................................13
9.................................10
10...............................15
which is (x XOR 5) (integer)
as you see memory value fluctuates and does not increase as real number increase
so we cant find the memory by INC/DEC search, CHANGE type also makes lots of results
so how do people find these?



Xor.png
 Description:
health XOR 123 from 0 to 500
 Filesize:  6.13 KB
 Viewed:  15575 Time(s)

Xor.png



_________________
Back to top
View user's profile Send private message
h3x1c
Master Cheater
Reputation: 17

Joined: 27 Apr 2013
Posts: 306

PostPosted: Tue Jan 26, 2016 12:31 pm    Post subject: Reply with quote

Creativity and patience.

Let's say you're looking for money and the value on your screen is $10,000. Try searching for that value, and if you find it, start exploring other instructions that access that address. Break/Trace can reveal a lot in those cases, too. The overall premise is that the value you see on the screen is somehow related to the actual XOR value, so dig through instructions and their data to look for related values.

If that fails, then try finding another value related to the character that might also reside in the same class. Find, say, ammo/health/etc., then dissect the structure containing that address/value and see what you can find.

You could also try something like reducing the range of memory you scan. Let's say you identify some other values (ammo, health, etc.) and you see that they're in addresses 05B48C14 and 05B4CC30.

Well, presumably, you should be able to find other character-related values within close range. So, to search for your XOR value, start a new search, select value type of All, select unknown initial value, then change your Start and Stop range to something like 03000000 -> 06000000. That should filter out results outside that range. Then, just keep searching for changed/unchanged values while continue to do as many things as you can think of to change (or keep unchanged) the value: add money all the different ways you can (find it, sell something, etc. -- changed value), sub money the same way (changed value), do a bunch of stuff that doesn't involve money (unchanged values), and setup hotkeys in CE so you can search for these things without having to pause the game or leave the window.

You just have to start thinking a bit more creatively and focus less on searching for only the address itself containing the value. Smile

_________________
Back to top
View user's profile Send private message Visit poster's website
mgostIH
Expert Cheater
Reputation: 3

Joined: 01 Jan 2016
Posts: 159

PostPosted: Tue Jan 26, 2016 1:05 pm    Post subject: Reply with quote

Watching some of sneakymofo videos, I can surely tell his usual way is to load up cheat engine and go for trial and error searching for the right address (which I am not referring to as a bad way, some times I do that aswell)
But I would prefer to explain another way of doing so.

First of all, you should reduce your range of scan, as stated by h3x1c, you can do this by finding another value that might be near your health address (player name for example?) which is not xored and then adjusting your range to something near that if you want to go with the changed value method (I suggest small ranges, like 0x401000-0x4B0000)

But it's very common the health itself is in the same structure as the pointer to the playername or the playername itself, so I think that finding your player structure would be better.

You could also analyze how the executable itself works: find references for the xor opcode (0x35 if 2 or 4 bits value) in the code section of the executable (rarely the values are processed in DLLs; I reccomend OllyDBG for this), find the code that kills you with either ultimap or whatever tool you like and the register that stores the hp is surely near there.

If you are really stuck in finding the right address, you have no other choice aside changed/unchanged value.

_________________
Do you need to ask me something? Feel free to join my discord server at: https://discord.gg/At4VZXA or ask me something in my YouTube channel: https://www.youtube.com/c/mgostIH
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Tue Jan 26, 2016 1:41 pm    Post subject: Reply with quote

Personally, I just used changed/unchanged scans to find xored values (or any encrypted stuff). Just use type=4 bytes, fast scan's alignment=4 regardless of the size of what you're looking for, and be patient...

If you absolutely can't lower the result count after several dozen scans, use dichotomy. ie: add all your results to the table, freeze half, see if it has an effect ingame. Remove the frozen ones if no effect, or remove the others if the value was frozen ingame. Rinse and repeat.

_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Wed Jan 27, 2016 11:29 am    Post subject: Reply with quote

thanks for replies!
i just saw "ultimap", do i need it? because its written it needs dbvm thing....
and i its not enabled in my bios, should i enabled it?

_________________
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Wed Jan 27, 2016 11:54 am    Post subject: Reply with quote

If you read the previous posts carefully you can see, that you don't need Ultimap but that you can also do an "oldschool" changed/unchanged scan ...

But if you know how to use it best, Ultimap can speed things up a bit ...
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Wed Jan 27, 2016 12:04 pm    Post subject: Reply with quote

is this dbvm and intelvt harmful for laptop?
_________________
Back to top
View user's profile Send private message
h3x1c
Master Cheater
Reputation: 17

Joined: 27 Apr 2013
Posts: 306

PostPosted: Wed Jan 27, 2016 12:14 pm    Post subject: Reply with quote

Nemexia55 wrote:
is this dbvm and intelvt harmful for laptop?


Go watch this and learn all about it: https://www.youtube.com/watch?v=Es-ziVPhrNs

_________________
Back to top
View user's profile Send private message Visit poster's website
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Wed Jan 27, 2016 12:41 pm    Post subject: Reply with quote

thanks
what about VEH and windows debugger?
what is their difference and benefits?

_________________
Back to top
View user's profile Send private message
mgostIH
Expert Cheater
Reputation: 3

Joined: 01 Jan 2016
Posts: 159

PostPosted: Wed Jan 27, 2016 1:25 pm    Post subject: Reply with quote

Nemexia55 wrote:
thanks
what about VEH and windows debugger?
what is their difference and benefits?


Windows debugger is the most common kind of debugger, which means it's pretty detectable, but has a good feature, which is that it's the only one that is apparently able to put breakpoints on created threads.
VEH debugger on the other hand, is far more stealthier for a usermode approach, but it requires DLL injection, which can be detected easily by good anticheats.
Usually, VEH debugger is used to evade the default protection used by steam games from debuggers.

_________________
Do you need to ask me something? Feel free to join my discord server at: https://discord.gg/At4VZXA or ask me something in my YouTube channel: https://www.youtube.com/c/mgostIH
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