Register for your free account! | Forgot your password?

You last visited: Today at 06:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Packet encryption

Discussion on Packet encryption within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 32
Received Thanks: 57
Question Packet encryption

Hi guys, i know that some of you know the packet encryption mechanism used by DarkOrbit, so I was wondering if you might share it.

I am trying to figure it out but with no luck whatsoever :/ ...

I know that they use RC4 to encrypt their data, but i can't find the key. I have an idea, that they are sending the key over the connection, where the unique ID = 9098 , but i am not sure. the code decrypted by SWF Decompiler is so hard to understand ...

Any ideas here?
Thanks.
EliteRinciks is offline  
Thanks
1 User
Old 02/18/2013, 00:56   #2
 
mouradhndr's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 167
Received Thanks: 15
how did you know that they use RC4 to encrypt their data? moreover there are variants in this kind of encryption (RC4A, VMPC, and RC4+)...
mouradhndr is offline  
Old 02/18/2013, 01:12   #3
 
elite*gold: 0
Join Date: Feb 2013
Posts: 32
Received Thanks: 57
I found it in the source code, but, man, it's hard to understand. There are so many functions connected to it, just omg. I just can't figure it out...
EliteRinciks is offline  
Old 02/18/2013, 01:15   #4
 
TheFallenAngel's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 479
Received Thanks: 272
sounds like a DO employee trying to find out what we know O.o
(this is mostly a joke because of join date and post count)
TheFallenAngel is offline  
Thanks
1 User
Old 02/18/2013, 01:21   #5
 
elite*gold: 0
Join Date: Feb 2013
Posts: 32
Received Thanks: 57
Hahaha, no m8, not at all.
I have only been reading the stuff here without an account, only joined today to ask the question.
EliteRinciks is offline  
Old 02/18/2013, 04:23   #6
 
jesse13042's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 295
Received Thanks: 387
funny how he starts of with complete sentences and in his other post it goes down hill slowly.....
jesse13042 is offline  
Thanks
1 User
Old 02/18/2013, 05:06   #7
 
V.I.R.U.S.'s Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 310
Received Thanks: 460
triple encryption
V.I.R.U.S. is offline  
Thanks
3 Users
Old 02/18/2013, 06:07   #8
 
elite*gold: 0
Join Date: Feb 2013
Posts: 32
Received Thanks: 57
Quote:
Originally Posted by V.I.R.U.S. View Post
triple encryption
triple encryption ? anything more precise? I can see that they add something to the ByteArray before ARC4'ing it, but couldn't figure out - what.
EliteRinciks is offline  
Old 02/18/2013, 06:53   #9
 
»jD«'s Avatar
 
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
Do a google search, its called a salt, or more commonly in crypto terms, an IV (In RC4's case its a nonce, as its used once as a seed to a counter that is used on both sides, so RC4 is one of the weaker encryptions out there.)

-jD
»jD« is offline  
Thanks
4 Users
Old 02/18/2013, 07:33   #10
 
GnomeProgramming's Avatar
 
elite*gold: 30
Join Date: Jan 2013
Posts: 212
Received Thanks: 463
Quote:
Originally Posted by »jD« View Post
Do a google search, its called a salt, or more commonly in crypto terms, an IV (In RC4's case its a nonce, as its used once as a seed to a counter that is used on both sides, so RC4 is one of the weaker encryptions out there.)

-jD

The problem in the DO encryption is how to get the Key and IV, Thats the real probem, maybe you could give us a clue with that about where did you get the IV?
GnomeProgramming is offline  
Old 02/18/2013, 07:36   #11
 
»jD«'s Avatar
 
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
The RC4 implementation they use has no IV, its based on a count.

-jD
»jD« is offline  
Thanks
1 User
Old 02/18/2013, 09:35   #12
 
elite*gold: 0
Join Date: Feb 2013
Posts: 32
Received Thanks: 57
Thanks, jD!

So basicly - the only encryption they use is the RC4 with an IV - bytearray count?
How did u find the passkey ?
EliteRinciks is offline  
Old 02/18/2013, 09:49   #13
 
»jD«'s Avatar
 
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
Keep looking, its in the first 3 packets

-jD
»jD« is offline  
Thanks
2 Users
Old 02/18/2013, 09:50   #14
 
elite*gold: 0
Join Date: Feb 2013
Posts: 32
Received Thanks: 57
It isnt encoded, right?

Thanks a lot!
Once im home, will try to look in them.
EliteRinciks is offline  
Thanks
1 User
Old 02/18/2013, 10:07   #15
 
GnomeProgramming's Avatar
 
elite*gold: 30
Join Date: Jan 2013
Posts: 212
Received Thanks: 463
Quote:
Originally Posted by »jD« View Post
Keep looking, its in the first 3 packets

-jD
Thanks for the help, but in the first 3 packets to the port 8080 i can just find this packets, did you say that the key is there?

00 0E 02 9A 00 00 00 00 00 00 00 1D 00 00 00 08 = ................

00 0F 02 9B 01 00 00 00 00 00 00 00 1D 00 00 00 08 = .................

00 02 7A 3E = ..z>
GnomeProgramming is offline  
Reply


Similar Threads Similar Threads
BOI Packet Encryption
09/28/2011 - Battle of the Immortals - 13 Replies
I've made some research about the packet encryption used in this game and I thought I'd share them. BOI uses a simple XOR-Algorithm. Each byte of a packet is being XORed with the value of the previous byte. The first byte of every packet indicates its length. Furthermore the first byte of the very first packet sent after the connection was established is being XORed with the value 0xCD. Example: Let's say the client sends this packet right after connecting to the server. 0x06 0xA7 0x57...
Packet encryption.
06/22/2009 - Shaiya - 2 Replies
Not sure if anyone has tried making a proxy yet, other than the one that is stickied (which is injected and I imagine directly hooks the games send function bypassing the need for encryption?). Anyway, just curious if anyone knows what sort of encryption is being used on packets? US server for the record.
Help with Packet Encryption?
04/16/2009 - General Coding - 9 Replies
can someone help with these packets? im completely lost lol.i typed in A,B,ABC aand recorded the 3 packets A 2C 35 52 66 BF 66 15 E1 2C 3A D6 AD E3 29 82 A9 BC C5 EE F5 90 A9 1A 71 0C CD 06 3D FC 3A F6 5C A7 A1 4C 30 63 CD 03 AE 12 A6 20 88 1E C0 E8 95 19 F3 3D A7 42 3A 09 22 B A7 9E F9 6D D4 5D 9E 6A F7 81 0D D6 B8 22 D9 52 57 8E E5 9E 9B 92 31 9A 97 F6 DD 46 A7 11 ED A7 6C 8A E7 7B 08 F6 48 65 09 EE C8 80 76 78 00 1D 81 8B 85 BF 79 F2 D1 BA
Packet Encryption
02/22/2007 - General Coding - 4 Replies
so heute mal nichts zu tun also hab ich mal nach einem opfer ausschau gehalten und stieß dabei auf steam steam ist wie vermutlich jeder weiß eine online platform zum kaufen und spielen von spielen einige dinge die ich mir ueberlegt hab: steam bruter no-recoil hack fuer cs ein steam bruter gab es soweit ich weiß noch nicht und koennte sich als sehr nuetzlich erweisen natuerlich sollte er interface unabhaengig sein und rein auf packet basis arbeiten keke wireshark angeschmissen...
Packet encryption
09/19/2005 - Lineage 2 - 1 Replies
Hi,I'm trying to make a simple L2 bot, but i got stuck in begginning - in the packet encryption. I rewrote the l2j login thread sources (those about encryption) but it doesn't work. Has anyone any description of L2 packet encryption. And second question - what Init packet (server packet,nr. 0) means? I guess that it something related with encryption, but in l2j sources that packet content is hardcoded. Thanks for replies (if any ;) )



All times are GMT +1. The time now is 06:05.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.