Register for your free account! | Forgot your password?

Go Back   elitepvpers Popular Games Silkroad Online SRO Coding Corner
You last visited: Today at 09:10

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

Advertisement



SRO encryption/decryption algoritm

Discussion on SRO encryption/decryption algoritm within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2026
Posts: 6
Received Thanks: 0
Unhappy SRO encryption/decryption algoritm

I need help to build packet sniffer. Private keys, crption algorithm...
Could you help me obtain up-to-date information?
blacklogic is offline  
Old   #2
 
elite*gold: 0
Join Date: Jun 2022
Posts: 28
Received Thanks: 9
All you need is stuff. Here are introduction into silkroad security, for more just check his other threads.
Here is C# code
Attached Files
File Type: pdf pdfslide.net_silk-road-security.pdf (148.0 KB, 13 views)
YuBeDev is offline  
Thanks
1 User
Old   #3
 
elite*gold: 0
Join Date: Sep 2026
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by YuBeDev View Post
All you need is stuff. Here are introduction into silkroad security, for more just check his other threads.
Here is C# code
Thanks bro
blacklogic is offline  
Old   #4
 
elite*gold: 0
Join Date: Jul 2021
Posts: 3
Received Thanks: 2
There isn't one static server private key that you can extract once and reuse. SRO derives a Blowfish session key for each connection during the 0x5000 security handshake.

The handshake uses a customized Diffie-Hellman exchange, basically G^X mod P with 32-bit values, plus Silkroad's own key transforms. Flow's roughly: server sends 0x5000 with flag 0x0E, including the security configuration, count/CRC seeds and handshake values; client replies with its public value and handshake data; server sends 0x5000 with flag 0x10; client finishes with 0x9000. From that handshake, both sides derive the final Blowfish key for the connection.

After that, packets with the 0x8000 bit set in the size field are Blowfish-encrypted. One gotcha with the old security guide: some copies use size & 0x7FF, which is wrong. The real size is the low 15 bits: size & 0x7FFF.

Encryption is separate from the count/CRC security bytes. For passive decoding, you don't need to generate them, but if you modify or inject packets, you need to get them right, or you'll get disconnected.

For a sniffer, I'd start with a security-aware local proxy using SilkroadSecurityAPI, so it maintains the handshake/session state and hands you decrypted packets directly. JellyBitz's srodevs-docs repo collects most of the old material worth reading, including Drew Benton's security guide, jMerlin's security-byte writeup, and the protocol docs.
RyuzakiH is offline  
Thanks
2 Users
Old   #5
 
elite*gold: 0
Join Date: Sep 2026
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by RyuzakiH View Post
There isn't one static server private key that you can extract once and reuse. SRO derives a Blowfish session key for each connection during the 0x5000 security handshake.

The handshake uses a customized Diffie-Hellman exchange, basically G^X mod P with 32-bit values, plus Silkroad's own key transforms. Flow's roughly: server sends 0x5000 with flag 0x0E, including the security configuration, count/CRC seeds and handshake values; client replies with its public value and handshake data; server sends 0x5000 with flag 0x10; client finishes with 0x9000. From that handshake, both sides derive the final Blowfish key for the connection.

After that, packets with the 0x8000 bit set in the size field are Blowfish-encrypted. One gotcha with the old security guide: some copies use size & 0x7FF, which is wrong. The real size is the low 15 bits: size & 0x7FFF.

Encryption is separate from the count/CRC security bytes. For passive decoding, you don't need to generate them, but if you modify or inject packets, you need to get them right, or you'll get disconnected.

For a sniffer, I'd start with a security-aware local proxy using SilkroadSecurityAPI, so it maintains the handshake/session state and hands you decrypted packets directly. JellyBitz's srodevs-docs repo collects most of the old material worth reading, including Drew Benton's security guide, jMerlin's security-byte writeup, and the protocol docs.
That was an informative answer, thank you. I see there are many silkroad versions. Which one is worth playing or experimenting with officially?
blacklogic is offline  
Old   #6
 
elite*gold: 0
Join Date: Jun 2022
Posts: 28
Received Thanks: 9
Quote:
Originally Posted by blacklogic View Post
That was an informative answer, thank you. I see there are many silkroad versions. Which one is worth playing or experimenting with officially?
In my opinion the best way to play and understand it is to start your own local vsro pserver.
It is easy to do, you can even have it on virtual machine.

That way you will have ideal test environment. Once you know how vsro does it you can work with other versions.
YuBeDev is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Need Magician MP and Archer HP algoritm
11/21/2015 - Nostale - 3 Replies
Hi, i search magician MP and Archer HP algoritm does anyone know the true sequence? thank you in advance
Packet encryption/decryption software
06/29/2007 - Conquer Online 2 - 4 Replies
Does anyone know any program that can encrypt/decrypt packets? Ultimatehacker's packet suite link doesn't work, sadly.
is there any encryption or decryption program
12/06/2006 - Eudemons Online - 5 Replies
Is there any encryption or decryption program for eudemons? i really don't understand it so a program would be better and i heard ther is in Conquer Online.... If don't agree with me or thinking that i'm being a nerd here or a dork, don't post rude replies or something against me. Just ignore this topic if you don't want this topic.
File encryption / decryption
09/06/2006 - Conquer Online 2 - 3 Replies
i have a question regaurding the wdfBatcher tool that was released by unknownone, and the DeEn.exe Tool. I was wondering if perhap's i can get the encryption / decryption algorithm of these type's of files and maybe a source code so i can work to expand my knowledge.And maybe add soem of my own ideas. For instance how exactly did you get the batcher to read the .wdf file? let alone extract it.I'm hoping to as i said expand my knowledge and learn to view these files fully as so maybe i can...



All times are GMT +2. The time now is 09:10.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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