[Need A Suggestion] Harmony Encryption Function in Ollydbg

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

Moderator: Moderators

phuriphat
Noob
Noob
Posts: 3
Joined: 21 Mar 2013, 10:40
Noob?: No

[Need A Suggestion] Harmony Encryption Function in Ollydbg

#1 Post by phuriphat »

I have been debugging .exe file of some private servers which have harmony protected.
I used OllyDbg as a debugging tool.

For the time being, I think I just found a function that harmony uses to encrypt all packets before sending to the server.

I discover this function by tracing back "send" function from WinSock.

I found a CALL that call for JMP commnad that jump far far away and this JMP command replaces PUSH ESI
of this function after harmony is loaded. Besides, after I change this JMP back to the normal (PUSH ESI)
I can sniff a decrypted Login packet using Wireshark.

I am quite sure that this is the function I am looking for but I have no idea what to do next.
How can I use the advantage of this function?
How can I encrypt my packet from openkore using this function?

So I need a suggestion from you guys.

Thanks and sorry for my very bad English so if you don't understand my question just ask I will try my best to explain it.
Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: [Need A Suggestion] Harmony Encryption Function in Ollydbg

#2 Post by Raider »

Awesome work man, maybe you can use the files of BlackoutRO crack_head made for reference? He found a way to get around the custom packet encryption.
http://forums.openkore.com/viewtopic.php?f=9&t=29304
phuriphat
Noob
Noob
Posts: 3
Joined: 21 Mar 2013, 10:40
Noob?: No

Re: [Need A Suggestion] Harmony Encryption Function in Ollydbg

#3 Post by phuriphat »

Thanks Raider.
I will look around it :)
phuriphat
Noob
Noob
Posts: 3
Joined: 21 Mar 2013, 10:40
Noob?: No

Re: [Need A Suggestion] Harmony Encryption Function in Ollydbg

#4 Post by phuriphat »

It seems like I can't download a file from this link: http://shareplace.com/?E946EDA837
Could you upload this file for me at other hosts? (ex. mediafire)

Thanks
Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: [Need A Suggestion] Harmony Encryption Function in Ollydbg

#5 Post by Kaspy »

If you really can find the packages, try to rely on bRO.pm because the server all Brazilian packet type are changed, and it's made ​​the adjustment.
Image