I got confused over where to post it since I couldn't find tool section, so I post it here. Mod, feel free to move it.
This tool de-obfuscates JASS code in case your deprotector didn't do it or didn't do it well enough. I tested it with both .j files and .wts files recovered with xdep.
Features (all features can be turned off in .ini file):
Indents lines, inserts blank lines between functions.
Renames globals, locals and functions (xdep only renames globals).
Restores integers obfuscated as hexadecimals or characters (e.g. 'd' is restored as 100), bypasses simple arithmetic operations with constants (e.g. 123+877 is restored as 1000) and restores unit/item/etc IDs after that (so if protector converted 'U000' to 135436526+1293784898 the original ID will get recovered).
Extracts strings from WTS.
Prints function definitions and their line numbers to another file.
Inlines short functions (mostly generated by GUI)
Does not bug up when it finds a linebreak inside string constant (xdep stops indenting lines in this case).
.zip file contains .exe console application and .ini config file.
All input/output files are defined in .ini
http://www.mediafire.com/?1yypxxwmcd3
JASSDO tool - deobfuscator
Moderator: Cheaters
Forum rules
While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.
While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.
-
- Some Honorary Title
- Posts: 24
- Joined: May 21st, 2008, 7:52 pm
JASSDO tool - deobfuscator
You do not have the required permissions to view the files attached to this post.
-
- Member
- Posts: 96
- Joined: October 6th, 2007, 12:21 am
Re: JASSDO tool - deobfuscator
Antivirus Version Last Update Result
AhnLab-V3 2008.5.22.1 2008.05.22 -
AntiVir 7.8.0.19 2008.05.22 -
Virus total results
Authentium 5.1.0.4 2008.05.22 -
Avast 4.8.1195.0 2008.05.22 -
AVG 7.5.0.516 2008.05.22 -
BitDefender 7.2 2008.05.22 -
CAT-QuickHeal 9.50 2008.05.22 -
ClamAV 0.92.1 2008.05.22 -
DrWeb 4.44.0.09170 2008.05.22 -
eSafe 7.0.15.0 2008.05.22 -
eTrust-Vet 31.4.5812 2008.05.22 -
Ewido 4.0 2008.05.22 -
F-Prot 4.4.2.54 2008.05.16 -
F-Secure 6.70.13260.0 2008.05.22 -
Fortinet 3.14.0.0 2008.05.22 -
GData 2.0.7306.1023 2008.05.22 -
Ikarus T3.1.1.26.0 2008.05.22 -
Kaspersky 7.0.0.125 2008.05.22 -
McAfee 5301 2008.05.22 -
Microsoft 1.3520 2008.05.22 -
NOD32v2 3123 2008.05.22 -
Norman 5.80.02 2008.05.22 -
Panda 9.0.0.4 2008.05.22 -
Prevx1 V2 2008.05.22 -
Rising 20.45.32.00 2008.05.22 -
Sophos 4.29.0 2008.05.22 -
Sunbelt 3.0.1123.1 2008.05.17 -
Symantec 10 2008.05.22 -
TheHacker 6.2.92.317 2008.05.22 -
VBA32 3.12.6.6 2008.05.22 -
VirusBuster 4.3.26:9 2008.05.22 -
Webwasher-Gateway 6.6.2 2008.05.22 -
Looks good
AhnLab-V3 2008.5.22.1 2008.05.22 -
AntiVir 7.8.0.19 2008.05.22 -
Virus total results
Authentium 5.1.0.4 2008.05.22 -
Avast 4.8.1195.0 2008.05.22 -
AVG 7.5.0.516 2008.05.22 -
BitDefender 7.2 2008.05.22 -
CAT-QuickHeal 9.50 2008.05.22 -
ClamAV 0.92.1 2008.05.22 -
DrWeb 4.44.0.09170 2008.05.22 -
eSafe 7.0.15.0 2008.05.22 -
eTrust-Vet 31.4.5812 2008.05.22 -
Ewido 4.0 2008.05.22 -
F-Prot 4.4.2.54 2008.05.16 -
F-Secure 6.70.13260.0 2008.05.22 -
Fortinet 3.14.0.0 2008.05.22 -
GData 2.0.7306.1023 2008.05.22 -
Ikarus T3.1.1.26.0 2008.05.22 -
Kaspersky 7.0.0.125 2008.05.22 -
McAfee 5301 2008.05.22 -
Microsoft 1.3520 2008.05.22 -
NOD32v2 3123 2008.05.22 -
Norman 5.80.02 2008.05.22 -
Panda 9.0.0.4 2008.05.22 -
Prevx1 V2 2008.05.22 -
Rising 20.45.32.00 2008.05.22 -
Sophos 4.29.0 2008.05.22 -
Sunbelt 3.0.1123.1 2008.05.17 -
Symantec 10 2008.05.22 -
TheHacker 6.2.92.317 2008.05.22 -
VBA32 3.12.6.6 2008.05.22 -
VirusBuster 4.3.26:9 2008.05.22 -
Webwasher-Gateway 6.6.2 2008.05.22 -
Looks good
-
- Shopping Maul USA Creator
- Posts: 1771
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Has thanked: 50 times
- Been thanked: 8 times
Re: JASSDO tool - deobfuscator
44k, I dont trust it. Could be a password stealer. who knows!! When I get a chance, I will try it on my other lappy with a banned key.
-
- Legendary Genius
- Posts: 1311
- Joined: August 8th, 2007, 8:10 am
- Title: Legendary Genius²
- Location: St. George Utah
Re: JASSDO tool - deobfuscator
It's 76kb... though he is from Vampirism Fire... so idk...
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
-
- Senior Member
- Posts: 108
- Joined: March 18th, 2008, 3:42 pm
- Title: Map Maker
- Location: Canadadadada
-
- Some Honorary Title
- Posts: 24
- Joined: May 21st, 2008, 7:52 pm
Re: JASSDO tool - deobfuscator
wow i didnt know you got such attitude.
here are the sources, if u still dont trust the .exe it then compile the sources yourself.
http://www.mediafire.com/?mtwxtbmxajg
here are the sources, if u still dont trust the .exe it then compile the sources yourself.
http://www.mediafire.com/?mtwxtbmxajg
-
- Forum Staff
- Posts: 2618
- Joined: June 2nd, 2007, 6:53 pm
- Title: I Just Lost the Game
Re: JASSDO tool - deobfuscator
I'll trust him. Looks safe , I'll test it out!
Well, it's an interesting program. It took the war3map.j and the war3map.wts and made two new files, war3mapDECL.j and war3mapDO.j. The DO is the normal war3map.j file. The DECL is actually just a list of the function titles, in order. It's a bunch of this.
I'm not even sure if it was obsfuscated beforehand, but afterward, it had changed from this
to THIS
It also tried to change rawcodes to four character rawcodes, from the integers that they were, but I unfortunately didn't have a .j file with that, so it did nothing. If anyone has a file with that type of protection, go ahead and try this, but I can't fully test it at the moment. One thing that was annoying, though, was that it renamed everything. I could have changed that, but it was the default. If I searched for function main, it will not come up. You need to figure out which line it was in the original, and scroll to it in the new one. Basically, it is TRUE AS ADVERTISED. If anyone else would like to test the other functions that I did not, please do, but this program seems like it will work if it IS obsfuscated. For the amount of stuff that this has, I also doubt it has room for a virus, and as everyone's scans have come up clean... We can trust him. This seems like a very useful tool for deobsfuscation, I'm going to keep it in case I do need it!
(edit) Yeah, you're right. I don't know what's up with that, nobody bothered to actually download and run a virus check, they just assumed that since it was that small, it must be a virus. Though, it doesn't help that you just joined yesterday, and that was your first post. Besides, my antivirus makes this horrible noise if I try to download spyware, and stops the download until I tell it to go, lol. Kaspersky seems pretty good so far!
Spoiler:
Well, it's an interesting program. It took the war3map.j and the war3map.wts and made two new files, war3mapDECL.j and war3mapDO.j. The DO is the normal war3map.j file. The DECL is actually just a list of the function titles, in order. It's a bunch of this.
Spoiler:
Spoiler:
Spoiler:
(edit) Yeah, you're right. I don't know what's up with that, nobody bothered to actually download and run a virus check, they just assumed that since it was that small, it must be a virus. Though, it doesn't help that you just joined yesterday, and that was your first post. Besides, my antivirus makes this horrible noise if I try to download spyware, and stops the download until I tell it to go, lol. Kaspersky seems pretty good so far!
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
-
- Some Honorary Title
- Posts: 24
- Joined: May 21st, 2008, 7:52 pm
Re: JASSDO tool - deobfuscator
Its small because there are no resources (except an icon which takes up 1 kb) and its done in C++ with no .net or anything, plus its console. I don't know how people manage to make 1 MB .exe files unless they put in a bunch of images and stuff.
Anyway, I suppose I should not rename the "main" function because then it will not work. But other than that, most of the time obfuscated files rename all variables/functions to those O1I0 things so making these options set by default is okay.
Anyway, I suppose I should not rename the "main" function because then it will not work. But other than that, most of the time obfuscated files rename all variables/functions to those O1I0 things so making these options set by default is okay.
-
- Old Wrinkly Member
- Posts: 272
- Joined: January 27th, 2007, 4:46 pm
- Title: OxyContin
- Location: Denver, Colorado
Re: JASSDO tool - deobfuscator
Cool tool, I wish I had thie earlier lol. Would have saved me some time.
You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.