Obfuscating SWF files: new feature

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 :)

five comments, already:

where I may find more data?
Flame - 19 01 09 - 18:12

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 - 19 01 09 - 21:02

cool stuff, niko.
Virion - 19 01 09 - 22:30

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

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é (link) - 24 01 09 - 02:01

Displayed name:  
Remember personal info?
Website (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile


Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.