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.
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?
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.
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...