• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Dungeon Defenders 2 - Packet Encryption?

Newbie Spellweaver
Joined
Feb 3, 2014
Messages
6
Reaction score
1
Hey guys,
I've started to work on a emulator for dungeon defenders 2, since this game for myself had took the attention to start my first emulator. As far right know ive managed to emulate the whole login and authentication to get into the main menu of the game. (login stuff works through http post) I've also the ability to tell the client to which server he should connect. After coding a winsock hook for send and recv I came to the conclusion that the buffer size are most just 2 bytes.

I started a debugger and tried to traceback the function to see where the buffer is getting encrypted but i end up in nothing to read and no function calls i can see an encryption. (but i believe the packets are encrypted)




Code:
64 C0 38 74 06 00 00 00 80 1F 6B 3F 68 6F 44 02 A0 95 60 33 A0 95 60 33 C0 
2D FC 40 C0 2D FC 40 A0 95 60 33 C7 DC FF 00 C0 2D FC 40 74 6F 44 02 A0 95 
60 33 00 BD B8 33 3C F8 35 02 DD DB FF 00 3C F8 35 02 64 C4 5A 8D 03 00 00 
00 EC 00 00 00 04 F7 35 02 0D 00 00 00 AC 66 C5 00 04 F7 35 02 00 00 00 00 
F8 00 00 00 33 00 00 00 00 00 00 00 A0 00 57 33 F4 67 C5 00 F4 F6 35 02 A0 
00 57 33 B4 00 57 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
94 F8 35 02 A0 4B F1 18 00 00 00 00 FF FF 00 00 A0 4B F1 18 00 00 00 00 00 
00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 C8 F7 35 02 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 A0 FE 7F 38 F8 35 02 07 67 72 77 EC F7 35 
02 E8 F7 35 02 00 00 00 00 A1 40 53 00 C8 F7 35 02 FF FF FF FF 00 00 00 00 
00 00 00 00 00 00 00 00 94 F8 35 02 2E 43 53 00 25 6D 53 5F F0 F7 35 02 01 
0E 78 77 FF FF FF FF E8 F7 35 02 EC F7 35 02 8E 00 00 00 83 00 4B 1D 94 F8 
35 02 E0 77 55 00 38 F8 35 02 4C 01 00 00 64 86 0B 19 48 F8 35 02 EA 05 72 
77 AD F9 87 66 9C 06 4B 1D 00 00 4B 1D 3C 5A FD 4A CC 1F B1 00 5D 86 58 00 
C8 95 00 00 00 00 00 00 00 00 00 00 48 61 6C 54 00 A0 FE 7F 0C 00 00 00 8E 
00 00 00 FF 6C 90 1D 49 9F 3E C8 61 01 00 00 14 39 F2 7F 53 FF 01 00 AD F9 
87 66 9C 06 4B 1D 00 00 4B 1D C0 F8 35 02 C9 F4 EB 00 C2 29 B0 CB AD F9 87 
66 9C 06 4B 1D FC F8 35 02 00 00 4B 1D 88 18 35 01 FF FF FF FF B6 C4 52 00 
00 E2 F7 33 00 00 00 00 94 AA 91 01 B0 6D 9A 00 00 00 00 00 48 0C CF E5 EF 
01 00 00 00 00 00 00 00 00 00 00 C2 3A DB 00 00 00 00 00 3E 29 B0 CB 00 23 
B2 19 20 C9 6B 01 00 00 4B 1D CB 9E 13 17 88 AA 91 01 01 00 00 00 00 00 A5 
01

Anyone can help me to lead the way?
 
Back
Top