Page 1 of 2
SWTOR executable is now packed
Posted: Mon Jul 09, 2012 4:39 am
by tlvenn
Since the 1.3 patch, the StarWars The Old Replublic client (swtor.exe) is now packed and cant be reversed out of the box. I was wondering if someone has started to work on it and could share some intel. I tried various PE tool to identify which packer they have used with no luck.
Thanks in advance.
Re: SWTOR executable is now packed
Posted: Mon Jul 09, 2012 10:28 am
by Ekey
Upload main executable with all dll's and send me in PM. I do not want to download 30GB :}
Re: SWTOR executable is now packed
Posted: Mon Jul 09, 2012 10:42 am
by tlvenn
Sent ! Thanks in advance..
Re: SWTOR executable is now packed
Posted: Mon Jul 09, 2012 11:09 am
by Ekey
You sent msg without link.
Re: SWTOR executable is now packed
Posted: Mon Jul 09, 2012 5:14 pm
by tlvenn
Weird, I included a zip as attachment to the message....
Sending you another msg with a link this time.
Re: SWTOR executable is now packed
Posted: Mon Jul 09, 2012 5:59 pm
by Ekey
So executable not packed. Original Entry Point on 00C2E774
Re: SWTOR executable is now packed
Posted: Tue Jul 10, 2012 3:11 am
by tlvenn
Ya I noticed the entry point there but even when telling Ida about the image base address, I end up with pretty much all text segments with no code (all grey instead of blue):
>
https://dl.dropbox.com/u/45839385/ida-swtor.png
Steps I do :
1) Open the executable in Ida
2) In the options, I check "Manual Load" then click OK
3) Ida prompts for the new image base, i then enter "0x00C2E774"
4) I then proceed to load all the segments
5) At the end, IDA warns me that the imports segment seems to be destroyed, hinting at a packed file.
If it's not packed, I am guessing I do it wrong when it comes to manually loading the segments. Can you help me out ? Thanks !
Re: SWTOR executable is now packed
Posted: Tue Jul 10, 2012 9:38 am
by Ekey
tlvenn wrote:3) Ida prompts for the new image base, i then enter "0x00C2E774"
Image base always 00400000
For me Olly and IDA work fine.
0082E774 + Image base 00400000 = 00C2E774
Here IDA - Loaded corrected adresses
http://oi50.tinypic.com/2dj56ww.jpg
Re: SWTOR executable is now packed
Posted: Tue Jul 10, 2012 3:24 pm
by Caboose
@Ekey You can tell the exe is packed by looking at the IDA image you provide.
Re: SWTOR executable is now packed
Posted: Tue Jul 10, 2012 3:51 pm
by Ekey
Exe cleared and not packed.
Re: SWTOR executable is now packed
Posted: Tue Jul 10, 2012 5:20 pm
by tlvenn
Thanks for the info Ekey !
Could you explain how you load properly the exe into IDA plz ? No matter what i try, I dont end up with the same result as yours...
Also, could you elaborate what you mean by "The exe is cleared not packed" ?
Thanks in advance !
Re: SWTOR executable is now packed
Posted: Tue Jul 10, 2012 6:28 pm
by Ekey
For IDA 6.1 nothing hard. Run IDA, open swotr.exe , in opened window ->
just press OK and wait when dissasembling finished.
Re: SWTOR executable is now packed
Posted: Wed Jul 11, 2012 4:12 am
by tlvenn
Ok this is embarassing, I dont know how but I end up giving you an old version which is not packed yet at this point....
Here is a link to the latest version which I believe is packed:
https://dl.dropbox.com/u/45839385/retailclientV2.7z
Sorry about that.....
Re: SWTOR executable is now packed
Posted: Wed Jul 11, 2012 9:17 am
by Ekey
So yes this version is packed or obfuscated. I do not know what this.
Re: SWTOR executable is now packed
Posted: Fri Jul 13, 2012 8:23 am
by tlvenn
Yeah figured that much
It's been a long time since I didnt mess up with PE. So I am guessing the next steps are to find the original OEP and from there, dump the process from OllyDump and reconstruct the IAT ?
Looks like it gonna be fun....