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 


Effective way to sniff non tcp/ip program communication

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

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Fri Aug 05, 2016 1:28 pm    Post subject: Effective way to sniff non tcp/ip program communication Reply with quote

Launcher.exe -> Intermediate.exe -> Game.exe

I have reversed Game.exe traffic
I have reversed Launcher.exe login (sends an auth, login infos, gets a temporary login key and a serverlist).

I do not know how to approach Intermediate.exe
It's Themida packed.
It gets serverlist and auth token from launcher and gives it to Game.exe, it also starts Game.exe, I have no idea how those bytes are transfered though.

Are there specific APIs i should be looking to hook (like recv and send for ip traffic) or some effective way to trace this ?
can't have procmon running while the login takes place.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Aug 05, 2016 2:46 pm    Post subject: Reply with quote

There are a lot of IPC methods that can be used.

1. A file on disk could be used to read/write between the processes.
- CreateFile
- ReadFile
- WriteFile
- fopen / fclose / fread / fwrite

2. A memory mapped file could be used.
- CreateFileMapping
- MapViewOfFile
- UnmapViewOfFile

3. Named pipes.
- See: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365781(v=vs.85).aspx

4. Mailslots
- See: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365576(v=vs.85).aspx

5. WM_USER messages between the processes.

6. Raw sockets.

And so on. These are some of the more common ones that are used frequently.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Sat Aug 06, 2016 7:49 am    Post subject: Reply with quote

thanks
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