Decrypting Auth response?

02/16/2010 07:34 Trigorio#1
I can't seem to decrypt the auth response packet correctly but I can decrypty/encrypt every other packet from auth or game..

Am I supposed to decrypt the Auth response with the auth cryptography or the game cryptography? To me it would be obvious that I would be using Auth cryptography but why is it not working then?!??? haha so frustrating :/

Here is the first packet recieved from auth server.
Code:
08 00 23 04 9E 19 EF 53   ..#.ž.S
Here is the first packet recieved from Client.
Code:
14 01 3E 04 79 39 64 65 61 6E   ..>.y9dean
69 73 6D 65 61 6E 00 00 00 00   ismean....
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 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   ..........
I don't have to post the whole packet since u dont need to see my pass haha

2nd packet from the auth server would be the auth response but I can't seem to get it right...

Code:
AB 8B 99 84 87 31 A4 8C CE F5   ‹™„‡1Œ
59 D0 BE B9 AD BE BA BF A0 B5   Yо**
BC AC BC BA B2 82 81 89 3D 91   ‚‰=‘
8D 8C   Œ
What am I doing wrong?

Any help would be highley appreciated :)
02/16/2010 08:53 Warlax#2
Are you remembering the packet counter? and yes its still the auth encryption until it changes to the game server
02/16/2010 09:27 Trigorio#3
Quote:
Originally Posted by Warlax View Post
Are you remembering the packet counter? and yes its still the auth encryption until it changes to the game server
Acctually the packet counter resets to 0 everytime, no wonder.. lol
02/16/2010 16:58 InfamousNoone#4
Quote:
I don't have to post the whole packet since u dont need to see my pass haha
Passwords are encrypted and nearly nobody has the new password encryption -- hopefully it'll stay that way for a very very long time unlike what happended with the blowfish cipher -_-
02/16/2010 19:43 high9#5
Quote:
Originally Posted by InfamousNoone View Post
Passwords are encrypted and nearly nobody has the new password encryption -- hopefully it'll stay that way for a very very long time unlike what happended with the blowfish cipher -_-
I don't remember it fully but isn't it just,

Byte Swap, TEA (Modified), RC5?

Can't remember which one but I know 1 of them generates it's key using the seed sent in the first packet since the last update.

I gave up ripping it because that byte swap function is so god damn large.
02/16/2010 23:20 Trigorio#6
Quote:
Originally Posted by InfamousNoone View Post
Passwords are encrypted and nearly nobody has the new password encryption -- hopefully it'll stay that way for a very very long time unlike what happended with the blowfish cipher -_-
Acctually it's out there public -.-, I got it too..
02/16/2010 23:39 high9#7
Quote:
Originally Posted by Trigorio View Post
Acctually it's out there public -.-, I got it too..
You sure? I know that a few patches ago they changed it from just RC5 to what it is now.
02/16/2010 23:54 gabrola#8
Quote:
Originally Posted by InfamousNoone View Post
Passwords are encrypted and nearly nobody has the new password encryption -- hopefully it'll stay that way for a very very long time unlike what happended with the blowfish cipher -_-
[Only registered and activated users can see links. Click Here To Register...]

And that is? :p
02/17/2010 06:29 Trigorio#9
Quote:
Originally Posted by high9 View Post
You sure? I know that a few patches ago they changed it from just RC5 to what it is now.
Yes I am sure, me and gabrola worked on it like 2 days ago..