Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 20:03

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Camfrog encryption/decryption algorithm
PostPosted: 05 Nov 2008 00:28 

Joined: 05 Nov 2008 00:20
Posts: 6
Hi Luigi,

I found your site while searching for documentation on Camfrog packet encryption/decyption algorithm.
I've just started to learn about network programming and found your site and what you've done very
interesting.

I have few questions to ask you:
- Does all the packet send to and recieve from camfrog server are encrypted the same way?
(ie. login process, registration process)
- Is there anyway to edit/modify packets before they will be sent to camfrog server?
- Is it possible if you include, in the future, some explanations and papers on the research you did on camfrog
software? I've studying your code for few days now and still can't understand most of them (or if that's not
possible maybe add some more comments in the code).

Thank you for such a great job. I've learned a lot from your site.
Pat

PS. Sorry for my English. I'm not a native speaker :)


Top
 Profile  
 
 
 Post subject: Re: Camfrog encryption/decryption algorithm
PostPosted: 05 Nov 2008 00:35 

Joined: 05 Nov 2008 00:20
Posts: 6
Few more questions:
Can you please tell me good books or websites I can study on network programming?
or any suggestion to make be able to do (at least half of) what you did :)

And by the way, what camfrog nickname you use? I'm regularly online on camfrog
maybe I can talk to you about computer stuffs. I really want to learn new things.

Thanks in advance for your upcoming answers :)
Pat


Top
 Profile  
 
 Post subject: Re: Camfrog encryption/decryption algorithm
PostPosted: 05 Nov 2008 22:19 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I premise that the Camfrog protocol (so the format of the data and not the encryption) is enough complex and unusual and I have worked only on the encryption and on the login protocol and the initial part of the main Camfrog server.

Now the answers:

1) the encryption seems to be the same for all the Camfrog services, in fact in my camfroglogin example it's the same for both the login and the main Camfrog servers.

2) sure but it's not so simple, is required a bit of patience and programming.
you can modify the packets if you find a way to put yourself between the Camfrog client and ALL the Camfrog servers.
an idea is to create custom socks proxy because the servers to which you must connect after the login are passed as IP:PORT so a datapipe is not enough and then you must use 2 new keys for decrypting and re-encrypting your data (due to the usage of private/public keys)

3) uhmmm no, I have really no interest in Camfrog and the material I have provided (camfrog encryption/decryption and the camfrog login example) are already a huge source of informations, examples and code for who wants to work on the Camfrog protocol.
the only requirement is naturally knowing the C language in which is written my stuff and reading some of the comments in my code

4) uhmmm I can't suggest books or websites simply because I don't know/use them, so for me is impossible to suggest you something.
instead if you know how to use a debugger and have the isDebuggerPresent plugin activated and Camfrog 5.1.0.129 you can find the following offsets enough useful: 01bb26b7 and 01bbcdf7 (encryption and decryption or viceversa, don't remember)

5) I have never used Camfrog, if you want to ask me something you can contact me via MSN (I'm rarely online)


Top
 Profile  
 
 Post subject: Re: Camfrog encryption/decryption algorithm
PostPosted: 05 Nov 2008 23:20 

Joined: 05 Nov 2008 00:20
Posts: 6
Thank you very much Luigi. I have a lot to learn. Thanks for inspiring me :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: