|
You last visited: Today at 05:48
Advertisement
[Question] Packet Encryption
Discussion on [Question] Packet Encryption within the Kal Online forum part of the MMORPGs category.
02/08/2010, 10:10
|
#31
|
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
|
m packets used in selling to npc, trade and the hshield function u mentioned.
and f/l but that one is released somewhere here 
SendDetour(0x5c,"bbssdwbdd",[...])
this is from kalhackzz v0.4 from hello123456
very hard to find sth like this i think
|
|
|
02/08/2010, 17:33
|
#32
|
elite*gold: 0
Join Date: Feb 2009
Posts: 256
Received Thanks: 474
|
Well, all packets are listed in packet forging function (atleast it looks like there are all).
|
|
|
02/08/2010, 17:45
|
#33
|
elite*gold: 281
Join Date: Oct 2007
Posts: 6,248
Received Thanks: 887
|
Quote:
Originally Posted by katze123
and f/l but that one is released somewhere here 
SendDetour(0x5c,"bbssdwbdd",[...])
|
wrong...sending an fl is no 'm' packet....
but well...doesn't matter cause it doesn't belong to hs :P
|
|
|
02/08/2010, 21:06
|
#34
|
elite*gold: 0
Join Date: Feb 2009
Posts: 256
Received Thanks: 474
|
I found some time to continue working on the engine.
Quick facts:
If HShield driver wasn't loaded during initialization, then none of hackshield services will work (Such as checking for memory manipulation).
If HShield driver is killed then there is one more packet sent. If it's sent, you will be expelled.
Packet order if driver isn't loaded:
1. Packet with session keys
2. 0x09 packet (Version?)
3. 0x05 aka ping packet
4. Packet of format Ud. Doesn't went through pre-encryption packetsend (or better for you - "SendPacketMain") and will disconnect you. I don't remember type. I guess it was 0x5B
5. Here should be "m" packet... but dunno...
Packet order if everything is allright:
1. Packet with session keys
2. 0x09 packet (Version?)
3. 0x05 aka ping packet
4. "m" packet
I tried to follow that 0x5B packet, but I endup in KalOnline callback WindowProc. I bookmarked it, and I will continue later. I hope I have atleast good lead...
I must admit, that after reversing session keys, the debugging is lot less time consuming.
I hope those informations will be helpful to someone (or somebody will help me o.O).
|
|
|
02/08/2010, 21:21
|
#35
|
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
|
yust hook the send where is encryptet and make new decrypt algorithmus or look whats changed^^
its not so hard how emulate hackshield
|
|
|
02/08/2010, 23:11
|
#36
|
elite*gold: 281
Join Date: Oct 2007
Posts: 6,248
Received Thanks: 887
|
Quote:
Originally Posted by meak1
its not so hard how emulate hackshield
|
i don't think that u are able to do it... :P
|
|
|
02/08/2010, 23:16
|
#37
|
elite*gold: 0
Join Date: Feb 2009
Posts: 256
Received Thanks: 474
|
What would you do, if the ws2_32 exports were also scanned by integrity check? Sure, engine has very badass method to check if it isn't hooked. Called one time at initialization
#EDIT:
@Mahatma
I think the sentance he had written was actually meant as "Decrypting is easier than emulating hackshield"
"its not so hard how emulate hackshield " -> "...it's not so hard, unlike emulating HShield"
imho
|
|
|
02/08/2010, 23:19
|
#38
|
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
|
ich meint halt das es nich so schwer ist(send da decrypt) wie hackshield zu emulieren(glaube ich) ;/ aber mein english is **** oder du hast es falsch verstanden^^
|
|
|
02/08/2010, 23:34
|
#39
|
elite*gold: 281
Join Date: Oct 2007
Posts: 6,248
Received Thanks: 887
|
Quote:
Originally Posted by Thiesius
@Mahatma
I think the sentance he had written was actually meant as "Decrypting is easier than emulating hackshield"
"its not so hard how emulate hackshield " -> "...it's not so hard, unlike emulating HShield"
imho
|
oh, yap...i misunderstood him :P
well, b2t: really good work!
i would help u but i'm totally noob in debugging and also pretty nooby with ida :/
Quote:
Originally Posted by meak1
ich meint halt das es nich so schwer ist(send da decrypt) wie hackshield zu emulieren(glaube ich) ;/ aber mein english is **** oder du hast es falsch verstanden^^
|
***, sry...hatte dich falsch verstanden^^
|
|
|
02/08/2010, 23:51
|
#40
|
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
|
what u want to make if u have send working?
|
|
|
02/09/2010, 00:27
|
#41
|
elite*gold: 0
Join Date: Feb 2009
Posts: 256
Received Thanks: 474
|
Quote:
Originally Posted by Mahatma
well, b2t: really good work!
i would help u but i'm totally noob in debugging and also pretty nooby with ida :/
|
Well, thank you. I don't know much about IDA either (but I should  ), so that's why I mainly focus on olly (IDA wouldn't help in this case anyways).
Quote:
Originally Posted by meak1
what u want to make if u have send working?
|
Well I could focus on encryption too, but come on: HShield could be really powerfull tool one day ( I don't think it isn't powerful enough, but I have in my mind a lot of improvements  ) and one day you might not be able to use any hooks when the hackshield is active.
And I'm learning a lot when I'm reversing, so it's atleast some kind of experience.
|
|
|
02/09/2010, 00:36
|
#42
|
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
|
only experience or for what u need the send ;o?
|
|
|
02/09/2010, 00:47
|
#43
|
elite*gold: 0
Join Date: Feb 2009
Posts: 256
Received Thanks: 474
|
I know I can PUSH params directly to the stack (by asm or detour) and then call the "SendPacketMain". But I might use it to sniff packet format directly. Like "dddwwwsddwwwwwwwww".
Btw I have found today most epic packet format in packet forging function. When I saw that I was like "OMFG monkey ballz!". It was really like "dawwbbbwddwbmbdw"
|
|
|
02/09/2010, 00:49
|
#44
|
elite*gold: 220
Join Date: Jun 2007
Posts: 3,768
Received Thanks: 1,126
|
i want to know what u want to do if u have send working ^^ its so hard question ;p?
|
|
|
02/09/2010, 01:02
|
#45
|
elite*gold: 0
Join Date: Feb 2009
Posts: 256
Received Thanks: 474
|
I will stand up and yell: "OMG, I DID IT!!!"  ... Guess I will create bot, and I have concept of two other useful things (first will work for sure, not sure about second).
#EDIT: Go sleep already :P
|
|
|
 |
|
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 05:50.
|
|