Legacy V3 | Bot + Encryption bypass |

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

Message
Author
Aris
Noob
Noob
Posts: 8
Joined: 10 Apr 2008, 00:01
Noob?: No
Location: Toronto, Ontario, Canada

Re: Legacy V3 | Bot + Encryption bypass |

#11 Post by Aris »

i think removing the encrypted packets would be kinda like playing with the old client eh?
hi, you are banned.
Image

olivers
Noob
Noob
Posts: 3
Joined: 05 May 2008, 11:53
Noob?: No

Re: Legacy V3 | Bot + Encryption bypass |

#12 Post by olivers »

I'm guessing the server only accepts encrypted packets. I'd follow tsuki's method and have kore send packets to the encryption process rather than the server itself.

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: Legacy V3 | Bot + Encryption bypass |

#13 Post by Mushroom »

Hey Aris, didn't you say that you got a working client??
Well, I was looking at the (un)supported private server, and there was one with the same anti-bot, but no ways to kore connect.
They have an unknown type of antibot, encrypted client and files. Kore doesn't work on this server.
or
This server have a strong self-made packet encrypt based on dynamic tables and own server emulator based on jAthena. So if you try to run Openkore, you can receive a ban for your account, ip-address or your hardware ID (mac-adress of your network card, login packets sends you mac).
Maybe this is what we have here in Legacy. But both still aren't supported ''/
Quit.

Aris
Noob
Noob
Posts: 8
Joined: 10 Apr 2008, 00:01
Noob?: No
Location: Toronto, Ontario, Canada

Re: Legacy V3 | Bot + Encryption bypass |

#14 Post by Aris »

no.

if you're wondering, lro uses harmony...
hi, you are banned.
Image

Barracks
Human
Human
Posts: 23
Joined: 19 Apr 2008, 13:00

Re: Legacy V3 | Bot + Encryption bypass |

#15 Post by Barracks »

Most of us have unpacked the .exe, it consists of harmony.dll, valour.dll and sakexe.exe. I'm currently experimenting with editting strings atm, will try other things soon. Anyone who is willing to HELP with this should come into IRC more, keep in mind some people that come in may or may not be LRO staff, but brainstorming is a + any way.

Kees
Noob
Noob
Posts: 14
Joined: 19 Apr 2008, 11:10

Re: Legacy V3 | Bot + Encryption bypass |

#16 Post by Kees »

cough ^_^

Whocares
Noob
Noob
Posts: 1
Joined: 06 May 2008, 23:19
Noob?: Yes

Re: Legacy V3 | Bot + Encryption bypass |

#17 Post by Whocares »

anyone got modified version of wpe please?

Kees
Noob
Noob
Posts: 14
Joined: 19 Apr 2008, 11:10

Re: Legacy V3 | Bot + Encryption bypass |

#18 Post by Kees »

To elaborate more on this molebox unpacking thing, I asked someone to do it for us.
What he said was this.
You're saying harmony prevents apps from injecting something ?
It's only 50 kb and exports a function called _dummyfunc which does nothing but

Code: Select all

PUSH EBP 
MOV EBP,ESP 
POP EBP 
RETN 
Anyway, it is not actually bound to the import table (not from what I've seen so far anyway), so without explicitly loading it, it wont be executed.

I found the dll patching the main exe's import table to reroute GetProcAddress and some ws2_32.dll address to an address inside the dll from within its entrypoint.

If the program actually needs that dll, it looks like you've got to add a new section and do LoadLibrary on it, otherwise it won't get loaded.

The second dll isn't really a dll, I guess he thought he's uberly smart adding .dll to the file name :mrgreen:
To download the unpacked version:

Code: Select all

http://www.zshare.net/download/1162500488692bd6/
Took me alot of time to find someone as nice as him.. lol... :/

Barracks
Human
Human
Posts: 23
Joined: 19 Apr 2008, 13:00

Re: Legacy V3 | Bot + Encryption bypass |

#19 Post by Barracks »

here's another mirror, i find faster.

http://www.megaupload.com/?d=EA6QS155

Still credit to Kees.

hal9000
Noob
Noob
Posts: 9
Joined: 04 Apr 2008, 10:20

Re: Legacy V3 | Bot + Encryption bypass |

#20 Post by hal9000 »

the whole real code is in the DllMain(x,x,x)

Code: Select all

BOOL __stdcall DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
_dummyfunc doesn nothing :)


and valour.dll's header is:

Code: Select all

4d 61 73 74 65 72 20 6f 66 20 4d 61 67 69 63  Master of Magic
so it's a grf

In harmony.dll there are some chunks of data, it imports connect() and send() from the winsock library and redirects these calls to his own functions :) it's a very simple method to inject and redirect system calls in a software. it's something like RoApp no sp teleport thing

Locked