Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 18:32

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

Advertisement



C++/CLI Packet sniffer

Discussion on C++/CLI Packet sniffer within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
C++/CLI Packet sniffer

I've started working on this:



As I said, it's made in C++/CLI, it will first be just a packet sniffer, it can turn into anything else later on. It's undetected, since it involves no hooking to Conquer process at all.

For the beginning, I need a few ideas on how to organize the packets output, so it would be easier to read and analyze.

Any further questions or suggestions are welcomed. The only thing that I'm keeping secret for now is the method used for intercepting the packets.
donn is offline  
Thanks
2 Users
Old 10/05/2014, 13:26   #2
 
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540


Am I getting warmer or colder?
Best Coder 2014 is offline  
Thanks
1 User
Old 10/05/2014, 17:55   #3
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
Cooler. You know you can't decrypt CO2 packets without injecting your own DH key exchange. So just a sniffer is not enough, you also need to re-write those packets.
donn is offline  
Old 10/05/2014, 18:33   #4
 
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
Quote:
Originally Posted by donn View Post
Cooler. You know you can't decrypt CO2 packets without injecting your own DH key exchange. So just a sniffer is not enough, you also need to re-write those packets.
If the client can decrypt the packets, so can a third party program. But okay, is colder or warmer then?
Best Coder 2014 is offline  
Old 10/05/2014, 18:35   #5
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
Warmer. It's WFP indeed.

Quote:
Originally Posted by Best Coder 2014 View Post
If the client can decrypt the packets, so can a third party program.
Still, I need to own the private key if I want to send my own packets.
donn is offline  
Old 10/05/2014, 19:39   #6
 
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
Quote:
Originally Posted by donn View Post
Warmer. It's WFP indeed.



Still, I need to own the private key if I want to send my own packets.
Best Coder 2014 is offline  
Old 10/05/2014, 21:43   #7
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
And since it's a packet sniffer, does anyone knows what packet is that:

donn is offline  
Old 10/06/2014, 07:49   #8
 
elite*gold: 0
Join Date: Aug 2014
Posts: 1
Received Thanks: 0
did u decrypth the packets?
schacka2 is offline  
Old 10/06/2014, 11:31   #9


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
This seems really similar to what Fang was working on. Good job nonetheless!
KraHen is offline  
Thanks
1 User
Old 10/06/2014, 19:38   #10
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
Well, I had no idea about what Fang was working on.
Thanks for appreciating it.
donn is offline  
Old 10/08/2014, 14:46   #11
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
Question: is there some public private server source available, working on the last patch, so I can extract some packets info from it? I'm loosing a lot of time trying to find the new offsets for them, maybe there are already out there.

I searched, but failed to find one.


Nevermind, I'm slowly structuring them all.
donn is offline  
Old 10/15/2014, 08:53   #12
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
If anyone is curios, I reached this point in development:



and I decided to dump C++/CLI and go fully native C++ (thanks to CptSky support) so I'm re-coding it entirely.

GUI will be made in Qt (also using signals/slots for events processing).
donn is offline  
Thanks
3 Users
Old 10/15/2014, 11:32   #13


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Great success. TBH in your place I`d go with a service-based app for the routing, which would communicate through WebSockets with a web-based GUI application.
KraHen is offline  
Old 10/15/2014, 12:00   #14
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
There's a slight problem going this way. Since I'm intercepting (in the real sense of the word), the packets sent from client to server or from server to client are actually stopped at the filter level.

At that point I'm decrypting/reading/interpreting/encrypting them and pass them forward.

If those steps are not done in a timely fashion, the packet TTL is exceeded, which in turn would cause the sender (either client or the server) to re-send those packets (it's how TCP works). If I go to a service app based implementation and web-based GUI, I'm afraid doing all those steps in a timely fashion will be close to impossible (or I might not be seeing the things correctly and I might be wrong).
donn is offline  
Old 10/15/2014, 12:43   #15


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Quote:
Originally Posted by donn View Post
There's a slight problem going this way. Since I'm intercepting (in the real sense of the word), the packets sent from client to server or from server to client are actually stopped at the filter level.

At that point I'm decrypting/reading/interpreting/encrypting them and pass them forward.

If those steps are not done in a timely fashion, the packet TTL is exceeded, which in turn would cause the sender (either client or the server) to re-send those packets (it's how TCP works). If I go to a service app based implementation and web-based GUI, I'm afraid doing all those steps in a timely fashion will be close to impossible (or I might not be seeing the things correctly and I might be wrong).
Maybe remotely, locally with a ping of ~0 there should me minimal to no overhead, maybe 70ms max, although that could be a problem in these circumstances, I haven `t looked into it.
KraHen is offline  
Reply


Similar Threads Similar Threads
Packet Sniffer from C#
10/01/2011 - CO2 Exploits, Hacks & Tools - 43 Replies
Hi, I did a google and I found this packet sniffer in C#. I compiled it and found it not bad. This is not my work ^^ You may use it to see where is your packet goes to. This also help you to find out if there is any trojan / backdoor & etc.
[Help]Packet Sniffer in c++
08/17/2010 - C/C++ - 16 Replies
Hey leute, sry wenn ich einen neuen thread mit der selben frage die schon einmal vorgekommen ist eröffne aber ich habe sufu nichts gefunden :) Ich habe in Memory Hacking viel gelernt und einige hacks in c++ geschrieben (d3d hooks,dialog menü usw..), aber ich glaube der kern beim hacken von online games ist die kommunikation zwischen server und clienten zu beeinflussen. Ich habe schon viel gegoogelt jedoch kam ich da nie auf ein richtiges ergebnis. Ich programiere alles in c++. Ich würde...
Packet Sniffer
07/13/2010 - CO2 Programming - 4 Replies
Is their any program that can get packets and you can also send them?
packet sniffer
08/13/2008 - Dekaron - 3 Replies
I find works packet sniffer for 2moons. WPE dont works:S THX
Packet Sniffer
08/08/2008 - Kal Online - 6 Replies
Hi I searched epvp forum and google, but i didnt find a "good" packet sniffer ... Do any1 know a good packet sniffer for kalonline? I used WPE Pro once, but didnt helped me much ;/



All times are GMT +1. The time now is 18:32.


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.