<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: [AS3] Hiding Assets And Code By Embedding SWF Within Another SWF</title>
	<atom:link href="http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/</link>
	<description>Flash UI Components</description>
	<lastBuildDate>Tue, 23 Aug 2011 08:29:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Lorenzo</title>
		<link>http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/comment-page-1/#comment-524</link>
		<dc:creator>Lorenzo</dc:creator>
		<pubDate>Thu, 03 Jun 2010 16:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=709#comment-524</guid>
		<description>this technique is very smart !
thank&#039;s to share this.</description>
		<content:encoded><![CDATA[<p>this technique is very smart !<br />
thank&#8217;s to share this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunny</title>
		<link>http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/comment-page-1/#comment-495</link>
		<dc:creator>sunny</dc:creator>
		<pubDate>Wed, 31 Mar 2010 04:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=709#comment-495</guid>
		<description>The technique discussed here involves embedding one SWF in another shell SWF, and then loading the shell SWF instead of the module SWF.  This means you have to do it for every module SWF.

Or, you can also look at
http://www.ghostwire.com/blog/archives/as3-applying-rot128-encryption-on-embeddedmodule-swfs/</description>
		<content:encoded><![CDATA[<p>The technique discussed here involves embedding one SWF in another shell SWF, and then loading the shell SWF instead of the module SWF.  This means you have to do it for every module SWF.</p>
<p>Or, you can also look at<br />
<a href="http://www.ghostwire.com/blog/archives/as3-applying-rot128-encryption-on-embeddedmodule-swfs/" rel="nofollow">http://www.ghostwire.com/blog/archives/as3-applying-rot128-encryption-on-embeddedmodule-swfs/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vic</title>
		<link>http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/comment-page-1/#comment-494</link>
		<dc:creator>vic</dc:creator>
		<pubDate>Wed, 31 Mar 2010 04:07:06 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=709#comment-494</guid>
		<description>Hi,

Does anyone know how this could be implemented in Flex? I have a &quot;main&quot; flex project/application that loads a module (from a separate project) into the main flex project at runtime. I am able to encrypt/obfuscate the main application using secureSWF, but the modules...which end up being separate swfs in the air package don&#039;t get encrypted as well. It seems that these obfuscators only encrypt the main swf files. I even extracted all files from the air app via unzipping and obfuscated the module file swf and then recompiled/repackaged the air app via ADT fine with no errors. However, when I after I successfully install and run the air application, the module that gets loaded into the main application does not function. I am assuming at this point that the main flex swf can no longer interpret the module swf that it is trying to load because it has been altered via obfuscation?

Anyone know how to handle this? To obfuscate or encrypt a module that is a separate flex project? I only know of nitro-lm so far, but I want to see if anyone has a workaround to this maybe even using the above code, but just don&#039;t know how to implement this in my flex module?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Does anyone know how this could be implemented in Flex? I have a &#8220;main&#8221; flex project/application that loads a module (from a separate project) into the main flex project at runtime. I am able to encrypt/obfuscate the main application using secureSWF, but the modules&#8230;which end up being separate swfs in the air package don&#8217;t get encrypted as well. It seems that these obfuscators only encrypt the main swf files. I even extracted all files from the air app via unzipping and obfuscated the module file swf and then recompiled/repackaged the air app via ADT fine with no errors. However, when I after I successfully install and run the air application, the module that gets loaded into the main application does not function. I am assuming at this point that the main flex swf can no longer interpret the module swf that it is trying to load because it has been altered via obfuscation?</p>
<p>Anyone know how to handle this? To obfuscate or encrypt a module that is a separate flex project? I only know of nitro-lm so far, but I want to see if anyone has a workaround to this maybe even using the above code, but just don&#8217;t know how to implement this in my flex module?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunny</title>
		<link>http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/comment-page-1/#comment-393</link>
		<dc:creator>sunny</dc:creator>
		<pubDate>Tue, 25 Aug 2009 08:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=709#comment-393</guid>
		<description>As mentioned in the post, the part about encrypting the embedded SWF is not to prevent manual hacking, but **automated** extraction by decompilers (they don&#039;t do this now, but I wouldn&#039;t think it is difficult for them to implement such a feature).

Encrypting the SWF is also not equivalent to obfuscating the source code.  The encrytion does not even have to be complicated - even if you just corrupt a few bytes and not the whole SWF, it will be good enough to prevent automated extraction.</description>
		<content:encoded><![CDATA[<p>As mentioned in the post, the part about encrypting the embedded SWF is not to prevent manual hacking, but **automated** extraction by decompilers (they don&#8217;t do this now, but I wouldn&#8217;t think it is difficult for them to implement such a feature).</p>
<p>Encrypting the SWF is also not equivalent to obfuscating the source code.  The encrytion does not even have to be complicated &#8211; even if you just corrupt a few bytes and not the whole SWF, it will be good enough to prevent automated extraction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: makc</title>
		<link>http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/comment-page-1/#comment-392</link>
		<dc:creator>makc</dc:creator>
		<pubDate>Tue, 25 Aug 2009 05:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=709#comment-392</guid>
		<description>I fully agree about this being too simple for not taking advantage of, in fact I came up with same idea some time before, http://board.flashkit.com/board/showthread.php?t=790614 :)

However, I do not agree in a slightest with &quot;taking it further&quot; part, because it is now not so simple and the ratio of effort to effect is much worse, see this thread http://board.flashkit.com/board/showthread.php?t=767745 - it took me probably 10 minutes to restore his SWF.

A reasonable and acceptable compromise between simple embedding and messing up with SWF bytes would be base64 since not only it has ready codes for en/de-cryption, but also does not require you to use Flex SDK and does not compile useless Flex classes into your SWF.

Personally, I still think C-like preprocessor like the one linked to from post in 1st link is the best way to obfuscate your code. And there are, of course, commercial tools that do this job better.</description>
		<content:encoded><![CDATA[<p>I fully agree about this being too simple for not taking advantage of, in fact I came up with same idea some time before, <a href="http://board.flashkit.com/board/showthread.php?t=790614" rel="nofollow">http://board.flashkit.com/board/showthread.php?t=790614</a> <img src='http://www.ghostwire.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>However, I do not agree in a slightest with &#8220;taking it further&#8221; part, because it is now not so simple and the ratio of effort to effect is much worse, see this thread <a href="http://board.flashkit.com/board/showthread.php?t=767745" rel="nofollow">http://board.flashkit.com/board/showthread.php?t=767745</a> &#8211; it took me probably 10 minutes to restore his SWF.</p>
<p>A reasonable and acceptable compromise between simple embedding and messing up with SWF bytes would be base64 since not only it has ready codes for en/de-cryption, but also does not require you to use Flex SDK and does not compile useless Flex classes into your SWF.</p>
<p>Personally, I still think C-like preprocessor like the one linked to from post in 1st link is the best way to obfuscate your code. And there are, of course, commercial tools that do this job better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/comment-page-1/#comment-389</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Fri, 21 Aug 2009 19:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=709#comment-389</guid>
		<description>That&#039;s clever :)

It should stop lots of hackers.</description>
		<content:encoded><![CDATA[<p>That&#8217;s clever <img src='http://www.ghostwire.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It should stop lots of hackers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dim</title>
		<link>http://www.ghostwire.com/blog/archives/as3-hiding-assets-and-code-by-embedding-swf-within-another-swf/comment-page-1/#comment-388</link>
		<dc:creator>dim</dc:creator>
		<pubDate>Fri, 21 Aug 2009 09:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=709#comment-388</guid>
		<description>very handy - thank you</description>
		<content:encoded><![CDATA[<p>very handy &#8211; thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>

