ESO Packet Decrypt/Encrypt. Close, but cannot determine key menu

User Tag List

Results 1 to 4 of 4
  1. #1
    jarjar1's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    52
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ESO Packet Decrypt/Encrypt. Close, but cannot determine key

    (This is all using the v0.27.5.629505 client)

    I am trying to reverse the ESO enc/decrypt. So far I have come to:

    sub_B303C0(void *Dst, void *Src, size_t Size)

    Which writes to Dst the decrypted data, and generates a new key for the next packet.

    The part that alludes me is this loop:

    .text:00B30340 loc_B30340: ; CODE XREF: sub_B30320+32j
    .text:00B30340 mov bl, [eax]
    .text:00B30342 lea esi, [edx+eax]
    .text:00B30345 mov cl, [esi+edi] ;encrypted data
    .text:00B30348 xor bl, cl
    .text:00B3034A mov [esi], bl
    .text:00B3034C mov [eax], cl
    .text:00B3034E inc eax
    .text:00B3034F dec [ebp+arg_C]
    .text:00B30352 jnz short loc_B30340
    .text:00B30354 pop edi
    .text:00B30355 pop esi
    .text:00B30356 pop ebx

    [eax] is a 16 byte buffer located in the Awesomium.dll memory area. It is clearly the key used to xor the data. After each received packet, the key is changed (im guessing sending packets uses a key in a different location). My problem is to figure out how this key is generated in the first place, and what its based off. Tracing it by write bps, you land in a huge function with a bunch of XMM stuff, that writes to different parts of the key. Then again another function. The instruction trace of this function is 1.6k lines.

    I looked for docs on Awesomium but it does not seem to support any native encryption methods. My best guess the initial key is generated off a session id, but the problem is the next key generation. To RE all the XMM stuff seems crazy, this must be using some kind of standard alogrithem.

    (this is not xor the current packet by the last packet, the key goes through 1 or 2 long XMM functions depending how large the received size is)

    Anyone working on this / can help me out? Or give some advice.
    Last edited by jarjar1; 10-03-2013 at 06:36 PM.

    ESO Packet Decrypt/Encrypt. Close, but cannot determine key
  2. #2
    yamashi12's Avatar Master Sergeant
    Reputation
    60
    Join Date
    Jan 2011
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wrong direction that's all I can tell you.

    If you want to work on an emu PM me.

  3. #3
    yamashi12's Avatar Master Sergeant
    Reputation
    60
    Join Date
    Jan 2011
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    jarjar1 has exceeded their stored private messages quota and cannot accept further messages until they clear some space.

  4. #4
    jarjar1's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    52
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oops. Cleared

Similar Threads

  1. [C] WoW packet decryption
    By pendra in forum WoW Memory Editing
    Replies: 12
    Last Post: 03-06-2010, 12:39 AM
  2. I am THIS close but I need help please!
    By Vampire79 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 02-13-2010, 09:00 AM
  3. Working POC Decrypt/Encrypt gate
    By amadmonk in forum WoW Memory Editing
    Replies: 1
    Last Post: 06-10-2009, 07:37 PM
  4. [ascent r5083] can can logon, but cannot play !
    By drdoobies23 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 10-04-2008, 08:01 PM
  5. So close but yet not
    By faizer in forum World of Warcraft General
    Replies: 0
    Last Post: 03-24-2007, 06:42 AM
All times are GMT -5. The time now is 04:06 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search