Obfuscating SWF files: new feature

Posted on:January 19 2009

I just released a new version of the ActionScript 3.0 obfuscator irrfuscator which includes a nice new feature, the ability to obfuscate binary .SWF files: Simply select an existing SWF file, and irrFuscator will mess around with its Actionscript 3 bytecode so that decompilers won't be able to gather much useful information out of your swf file.


I initially created irrfuscator last year to obfuscate ActionScript 3.0 source code, .as and .mxml files. It seemed to be quite useful for some people, but having to obfuscate a large amount of source files and then needing to recompile them is a bit inconvenient, so I added this option now.
irrFuscator will open the .swf, search for action script 3 bytecode sections and mess around with them. After this, a new SWF is created, packed and written out, simple as that. It was quite interesting to implement, but not as hard as I thought it would be. Learned a lot. Most unusual about the .swf file format: Reading a simple 32 bit integer value out of an (already decompressed) .swf file requires about 12 lines of code. That's a small first obstacle in the beginning if you should ever try to implement something like this yourself :)





Comments:


where I may find more data?
Flame
Quote
2009-01-19 18:12:00


Wow Niko you keep me amazed! I admire your productivity :)

By the way are you still freelancing or you already have a day job? I think many would love to hear that side. I also quit work some time ago to start my own project. I had some money saved up, but it did not last too long, since my lifestyle required too much money :) Now I have a paid job again, and try to do my own stuff in evenings, but it is sooo hard I do not have an energy!
Martins1
Quote
2009-01-19 21:02:00


cool stuff, niko.
Virion
Quote
2009-01-19 22:30:00


Where I can to find blogs on thsi topic?
Barry
Quote
2009-01-20 12:52:00


Arggg. 12 lines just to read a 32 bit int value ? I hope that it's for good reasons !! I remember trying to read WMF Files (OK, it's a completely different format), and when you have such a complex format (in the other case, with no reason at all IMHO), it rapidly become a nightmare to work with it ;)
Hervé
Quote
2009-01-24 02:01:00


Add comment:


Posted by:


Enter the missing letter in: "Internation?l"


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons