I have question about encryption
Aparently decrypt/encrypt doesn't work (with this key?), so I was thinking, that you might help me out . I used encryption from SyronX's source (BakaBug's).
Image describes: Hook, Nothing, Decrypted, Encrypted again
Code:
//...
//Declarations:
//DWORD SendPacketMain = SearchPattern("55 8B EC 83 EC 18 83 3D x x x x 00 74 07 33 C0 E9 x x x x 8A 45 08",SendPacketMain_+1,0x007FFFFF);
//BYTE *TKey = (BYTE*)*((DWORD*)(PacketSendMain+0xCA));
//BYTE TableKey;
//BYTE Header;
//BYTE tmp;
//....
//INSIDE FUNCTION
TableKey = ((*TKey)-1) & 0x3F;
Header = buf[2];
DecryptTable(TableKey,(unsigned char *)&Header,1);
DecryptTable(TableKey,(unsigned char*)buf+2,nSentBytes-2);
DecryptPacketAES((char*)buf);
//.....
EncryptPacketAES((char*)buf);
EncryptTable(TableKey,(unsigned char*)buf+2,nSentBytes-2);
//....
By the way, wouldn't be easier to hook HackShield functions? The one which is called to check if functions aren't hooked and the second one, which is called when server asks for CRC(or some hash I dunno) of specified engine functions.... Of course clientless wouldn't work....
a friend mean that only changing the decrypt and encrypt table , encrypt to decrypt and decrypt to encrypt^^ but i can ask him next time how he got it ;p
I know that I don't basicly need hooking the send function, but what if I don't know packet structures? How can I know (yea I know few packet structures) which format I should use when I want to response with send after recv? Tracing the packet forging functions in engine? That can take ages .
I don't want only bot.... I want both - send and recv - functions hooked so I can sniff.
I had 2 Methods of bypassing:
First one works for 2-10 minuts... Then server CRC check pwns me.
Second one: I made it today... I disabled HShield driver (Not with Registry key security - that is pretty nooby and doesn't always work) so I can load engine into olly. I patched hackshield memory checking functions... So now I'm logged in and waiting for expell. I think there is one more function, which generate CRC.
Now it's 35 minuts from my login. I haven't been disconnected yet.
EDIT:
Hmmm 2 hours 30 mins and no C/L yet.
I know that I don't basicly need hooking the send function, but what if I don't know packet structures? How can I know (yea I know few packet structures) which format I should use when I want to response with send after recv? Tracing the packet forging functions in engine? That can take ages .
I don't want only bot.... I want both - send and recv - functions hooked so I can sniff.
I had 2 Methods of bypassing:
First one works for 2-10 minuts... Then server CRC check pwns me.
Second one: I made it today... I disabled HShield driver (Not with Registry key security - that is pretty nooby and doesn't always work) so I can load engine into olly. I patched hackshield memory checking functions... So now I'm logged in and waiting for expell. I think there is one more function, which generate CRC.
Now it's 35 minuts from my login. I haven't been disconnected yet.
EDIT:
Hmmm 2 hours 30 mins and no C/L yet.
Yup, I also thought so... It's possible, that there is another different function which checks the functions again and send a CRC/hash to server. At evening I will start Kal and let it run over the night.... Will see.... If there is another function, then I should patch it too .
Basicly Hackshield "Memory Manipulation" check is every 2-3 mins (Maybe it's that one which was kicking us after 30-300 mins, but now it's more frequented and loads a error message from config too...) and HShield "Check if all hackshield functions are OK" every 3-5 mins.
hmm... yes while we hooked the functions with intercept we got expelled, but maybe now you don't get an expell because you bypassed something which was checking this... really nice work
Intercept only replace original instructions with jump to your modified function.
So I setup Time logging on every 0x05 packet sent. Will see how long it will stay without expell (if there will be any). I hope noone will play with router or internet connection settings again (Probabilty is high for some reasons....)
Thanks. I hope I won't have to patch any more functions.... Because if there is that "3rd one", it would probably take some time to trace it and fix it.
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 ;) )