Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Archlord
You last visited: Today at 20:48

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

Advertisement



New bot development

Discussion on New bot development within the Archlord forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2008
Posts: 12
Received Thanks: 0
New bot development

Ok, i decided to make a new thread for this.
So basically we have nothing, we're starting from scratch.

So our obvious obstacle is: packet encryption

From my testing I've discovered the whole packet where the "session key" is sent. Meaning I don't know specifically what in the packet is the session key.

I can do all the programming for the bot, packet handling, GUI etc.
But I do need a team, or people willing to help.
Mostly I someone who can analyze the client and find the encryption method.

I'll explain in steps how it work,

1) Server sends packet containing session key
2) Client uses the session key (may or may not manipulate it somehow) to encrypt all its outgoing packets from now on.
3) Client sends a encrypted OK packet
4) Server checks the packet to see that it is valid and sends an OK packet aswell

So, if we can find the encryption method we can encrypt our packets and thus send valid packets.
dmiden is offline  
Old 12/15/2008, 02:05   #2
 
alabatusa's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 5
Received Thanks: 0
dont u need server ip and port? or are u gonna send it to the client?
i havent hacked in ages
im tryna see if i can find attack speed packet
alabatusa is offline  
Old 12/15/2008, 03:38   #3
 
alabatusa's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 5
Received Thanks: 0
i found this on another respected website mpcforum. hope it helps...

"These are the decrypted versions of the files found in the \ini directory, they contain the settings for just about everything including item stats, npcs, skills, teleport fees etc.
This is just to help hackers, I'm not going to tell you what you can do with them and how (except one pointer for hackers: 004E2110). I don't even know if they are useful yet, although characterdatatable.txt contains a lot of useful info about the mobs. Enjoy."

a reply to this is.

"I assume that 004E2110 is the program offset to the crypto key in the client? If that is the case, then the next step is to identify the crypto algorithm and try to decrypt the files on our own.

If the key is a symmetric key, then the same key can be used to decrypt the ini files, change them and then reencrypt to make the changes perminant.

If the key is asymmetric then we need to write a patcher to decrypt the ini files, replace the client key and reencrypt the ini files.

Is this on the right track?"
Attached Files
File Type: rar archlord_ini.rar (1.35 MB, 41 views)
alabatusa is offline  
Old 12/15/2008, 11:14   #4
 
elite*gold: 0
Join Date: Dec 2008
Posts: 12
Received Thanks: 0
Hey alabatusa, I'm glad you're trying to help!
First off, the ini files are a completely different thing, they are checked server-side anyways. I did some hacking to those, f.ex. I added other classes skills to my character's skilltree, I couldn't however learn them. There is with 99% chance that they check that kind of things server-side which makes it pointless to hack the ini files.

As for ip & port, that's no problem. The client connects to login.archlordgame.com port 11002.

I'm gonna do some testing later today by setting up my "fake" loginserver and redirect "login.archlordgame.com" to my own ip. I'll try to mess around with the packet containing the "session key" and see how the client responds.

EDIT
But what we need the most, is someone who can hack the client and find the encryption algoritm.
dmiden is offline  
Old 12/15/2008, 13:13   #5
 
Newbb's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 2,384
Received Thanks: 371
i'd like to thank u for helping, though ur both jun members, i dont know crp about hacking and id like to learn, but dont know where and how^^

so u have my blessing, and i hope itll work, im looking forward to a bot that is supported and works on vista^^

grtz
Newbb is offline  
Old 12/15/2008, 13:30   #6
 
elite*gold: 0
Join Date: Dec 2008
Posts: 12
Received Thanks: 0
Thank you Newbb, if we can get the algoritm there's no obstacle for it to not work on vista. The bots main features would be:
standalone application (no need to have archlord open)
repair items
sell items
delete items if inventory is full
logout if PK is near
run if low hp
attack mob that is already attacking oneself

etc etc

Progress:
I've analyzed the session key packet further, here are the same session key packet but from 3 different connections:
first set:
->2 > 0xD62E004800000000000301200006394B090097B12B206C50 CC82CA7B86BC93C5CD9313C5E54E318BD81C632DFB6B
->1 > 0xD616004820000000000306080000000000000000006B
second set:
->2 > 0xD62E0048FE0000000003012000BFFB35859A57967F1DA4BE D7B57A75F7AE242D3A73D7066803FECE66CB8D6C9D6B
->1 > 0xD6160048FE000000000306080000000000000000006B
third set:
->2 > 0xD62E0048000000000003012000B95A06729D0391CF3A9C93 FA4589042801639349DAFD0734852A83CB58E766706B
->1 > 0xD616004800000000000306080000000000000000006B

So this are the packets sent to the client containing the session key.
First packet contains 0xD6160048 then a key with 2 or more bytes, followed by 00000000000306080000000000000000006B.

Second packet 0xD62E0048 followed by the two bytes from the first packet and then 0000000003012000 followed by an encrypted string which ends with 6B.

Now the client has the session key, encrypts a string of it owns and sends a packet back to the server to confirm that the client has successfully used the session key.

So, is anyone here familiar with crypto signatures in .exe files?
dmiden is offline  
Old 12/15/2008, 21:35   #7
 
elite*gold: 0
Join Date: Dec 2008
Posts: 12
Received Thanks: 0
Seems like the client encrypts the packet clientside too by some variable which I dont know yet. Gamehackers needed!!!
dmiden is offline  
Old 12/15/2008, 23:56   #8
 
Newbb's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 2,384
Received Thanks: 371
HOWTO: tutorial needed^^
Newbb is offline  
Old 12/17/2008, 17:38   #9
 
elite*gold: 0
Join Date: Dec 2008
Posts: 12
Received Thanks: 0
I'm sorry Newbb, I've got very limited skills in .exe hacking and crypto signatures, that's why I need someone else to help me on this.

Anyone?
dmiden is offline  
Old 12/18/2008, 23:13   #10
 
tux-penguin's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,450
Received Thanks: 373
its an awesome idea but i really think it will be far to much work and unfortunatly no rewards at the end.
chinese bot is having BIG problems at the moment and they havent been able to fix it for a month. making a new bot will be twice as hard. and the encryption will be super hard as it is different for everyone and every charatcer. unless you can find how they encrypt and re encrypt it and how it links to each individuale char upon each log in.
tux-penguin is offline  
Old 12/18/2008, 23:30   #11
 
temp0rary's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 26
Received Thanks: 0
look for the encryption/decryption functions with a disassembler
temp0rary is offline  
Old 12/19/2008, 02:07   #12
 
elite*gold: 0
Join Date: Dec 2008
Posts: 12
Received Thanks: 0
I will do that shortly.
dmiden is offline  
Old 12/19/2008, 18:06   #13
 
elite*gold: 0
Join Date: Jun 2008
Posts: 14
Received Thanks: 0
Its been a long time since i did this, but it works something like this

The server uses a fixed key that it sends in one of the first packets

The client generates its own random client key, that it encrypts with the server key and sends back

The respective key is used for client->server comms or server->client comms

Hint: the encryption used is a broken version of a popular patent free 256 bit cipher
Marveh is offline  
Old 12/19/2008, 21:10   #14
 
elite*gold: 0
Join Date: Dec 2008
Posts: 12
Received Thanks: 0
Yes, I know that the encryption is AES 256
And your description sounds to confirm my testing results.

Think you could help a little further by pointing out the key server/client uses to encrypt the packets?
dmiden is offline  
Old 12/19/2008, 21:51   #15
 
elite*gold: 0
Join Date: Jun 2008
Posts: 14
Received Thanks: 0
Hehe, its not AES, you have PM

I'll see if I can find my proof of concept code again and clarify a few things, its been a while
Marveh is offline  
Reply


Similar Threads Similar Threads
[Development] CPX 3G
09/05/2010 - CO2 Private Server - 6 Replies
I know, I know. My last project didn't go too well because it was really rubbish, I guess me and Nullable both agree on that. So yeah, I decided to take this project into development again for those who actually followed the development of the previous project. I'm writing a new source this time, using different methods and actually have gained more information about certain things. Some examples; Mapping system: private Dictionary<uint, IMap> mapCollection; IMap interface: ...
[Development] CoProxy
07/08/2010 - Conquer Online 2 - 22 Replies
Hello, I considered the profital side of conquer, and therefore have chosen to create a proxy project. The proxy is being constructed by 3 people: Me, -Impulse- and Kinshi88. The proxy will be for sale, and these are the so far containing features; -AutoBot: You can record, load or save your own paths, bot on specific mobs, avoid specific mobs, modify the bot speed and run this unlimited. -AutoPot: Can be set to a certain HP limit, where it pots to regain your hit points. -AutoFollower:...
Development question
03/26/2009 - CO2 Private Server - 10 Replies
Sorry this is in the wrong sub forum but I just want to ask a quick question. Is anyone good with game creation, as in 3D maps and scratch games? Because me n my friend oscar are creating 1, so far we have built 3D maps and citys n bunkers etc, and are moving to coding the game now. Any tips or help would b cool. We all are playing our parts! Just leave an comment if u are good at any of the following things and are willing to be dedicated: Coding Website design Map creation(2d or 3d)...
New server in development.
01/17/2009 - Dekaron Private Server - 20 Replies
I got a hoster and i'm looking for a few helpers in the development of a new server.Also I was wonderring if anyone would like a server with : 1000x exp 1000x drops argating rate same as 2moons but 20% more Wings stay the same but lvl to get them at 90 or 95 Events daily espically exp events Maxed lvl at 250 a seperate server for pvp's and wars(just for people to go to and kick some ass) And alot more .
New Bot in Development.
03/02/2008 - Conquer Online 2 - 19 Replies
If this is not the correct place for this, then please move it mods, i was unsure of where to put it. For the DMapViewer, go to: http://www.elitepvpers.com/forum/co2-main-discussi ons-questions/113588-dmap-file-parsing.html I've started development on my new bot, it will not be standalone due to the fact that there would be to many things to code, perhaps in the future once everything has been mapped/able to be replicated it can move to standalone, but for now, it will act as a proxy,...



All times are GMT +1. The time now is 20:48.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.