<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   
	 xmlns:podcast='http://ipodder.sourceforge.net/docs/podcast.html'
>
<channel>
    <title>БэФ블로그 - Web2.0 (왭 이쩜영)</title>
    <link>http://pentaphase.de/</link>
    <description>:wq</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.1 - http://www.s9y.org/</generator>
    <pubDate>Mon, 24 Nov 2008 18:48:08 GMT</pubDate>

    <image>
        <url>http://pentaphase.de/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: БэФ블로그 - Web2.0 (왭 이쩜영) - :wq</title>
        <link>http://pentaphase.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Playing hide and seek in a flash</title>
    <link>http://pentaphase.de/index.php?/archives/36-Playing-hide-and-seek-in-a-flash.html</link>
            <category>Code</category>
            <category>Web2.0 (왭 이쩜영)</category>
    
    <comments>http://pentaphase.de/index.php?/archives/36-Playing-hide-and-seek-in-a-flash.html#comments</comments>
    <wfw:comment>http://pentaphase.de/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://pentaphase.de/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>nospam@example.com (БэФ)</author>
    <content:encoded>
    Imagine a warm and bright Saturday afternoon the summer you were just eight years old. Can you remember playing hide and seek with other children from the neighbourhood or from school? Everybody likes to be the one hiding somewhere. You choose a seemingly hidden spot and wait. After a while it would become boring, if the spot is just too well concealed, so you declare a time-out and win the round. However once a hideout is known to any of the seekers, you will be found eventually. From the seeker&#039;s perspective, most likely hiding spots are being searched first, depending on where the seeker would hide if he were on the opposing team. Most likely, some even obvious spots will be missed during the first round, like right on top of you inside the trees. Seekers learn and will check there first in the next round. However the hiding party is learning as well, always coming up with tons of new hideouts and ideas to conceal themselves even better. But they will all be found eventually.&lt;br /&gt;
It is not surprising that discovering at least one person is rather easy if most of the group are hiding and few are seeking, so we&#039;ll assume the opposite: Many are searching, few are hiding.&lt;br /&gt;
&lt;br /&gt;
The same game may be applied to Flash/SWF. An attacker wants to execute fraudulent code on a victim&#039;s machine. In this case, it should be sufficient to execute arbitrary code inside someone&#039;s flash player. The &quot;seeker&#039;s&quot; objective is (1) to recognise an attack, preferably before execution, and (2) to know the threat in detail. Obviously, the attacker&#039;s role in this game consists of suitable counterparts: (1) Hide the existence of an attack, at least until the code is being executed without being found before and (2) obfuscate the code to discourage easy analysis. &lt;br /&gt;
&lt;br /&gt;
You may see certain similarities to the game, virus writers and the antivirus industry have been playing for some time now. The word &#039;virus&#039; in this context may stand for trojan horses, spyware, malware or any kind of unwanted software. The dominating virus detection technique - at least referring to static analysis - is a signature match against a dictionary of known viruses (see &lt;a href=&quot;http://en.wikipedia.org/wiki/Antivirus_software&quot;&gt;antivirus software&lt;/a&gt;). Once a virus has been identified, a fingerprint of its program code or parts of the code results in a new signature for the dictionary. Round one for the hide and seek goes to the seekers. The natural response to avoid signature detection is a self-modifying code, otherwise known as polymorphic or metamorphic code (see &lt;a href=&quot;http://en.wikipedia.org/wiki/Computer_virus#Methods_to_avoid_detection&quot;&gt;computer virus&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
Once again, applied to Flash, a signature approach seems appropriate. Flash code can not (easily) alter and strore itself. Even though Flash files are usually not stored locally for constant analysis by virus checkers, the static nature can be observed in the wild. But there is no reason, why a server should not be able to recreate a different version of the same SWF for each request, which is somewhat like an outsourced metamorphism. So, attackers score round two.&lt;br /&gt;
&lt;br /&gt;
For the analysis of non-static code with static function range, heuristic approaches come to mind. &lt;i&gt;[ Georgia Frantzeskou, Efstathios Stamatatos, and Stefanos Gritzalis - Suppοrting the Cybercrime Investigation Process: Effective Discrimination of Source Code Authors Based on Byte-Level Information - 2007]&lt;/i&gt; suggested a statistical classification method based on n-grams (see &lt;a href=&quot;http://en.wikipedia.org/wiki/Ngram&quot;&gt;Ngram&lt;/a&gt;). The front row application for n-grams is language detection of written text. The occurrence of every N successive characters (including whitespace) of a text is counted and then compared relatively to a reference count of known language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;serendipity_imageComment_left&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!-- s9ymdb:43 --&gt;&lt;a href=&quot;http://pentaphase.de/uploads/ngram-abc.png&quot;&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;110&quot; height=&quot;67&quot;  src=&quot;http://pentaphase.de/uploads/ngram-abc.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;statistical classification - n-gram over bytecode ops&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
This classification method can be applied to Flash as well. Instead of N characters of a text, we&#039;ll take a sequence of N ABC OP-codes (aka. AVM2 bytecode). The figure shows a graph representation of several arbitrarily chosen SWF9/10 files and their distance based upon the n-gram analysis. (n=3, hidden edges by distance threshold).&lt;br /&gt;
&lt;br /&gt;
Three clusters become apparent: {9,10}, {17,16,12,15,20} and {3,13,19,11,18,5,21,7}. Clustering is an expression of similarity between the SWF&#039;s bytecode. N-gram profiles contain characteristics of the compiler or IDE, std. libraries and the code&#039;s author(s), each with different intensity. I&#039;d say, that&#039;s another point for the seekers.&lt;br /&gt;
&lt;br /&gt;
Now, in order to defy heuristics, two ways pop into consciousness. Either imitate another profile&#039;s appearance by adding NOPs and dead code, or hide the bytecode entirely. While imitation techniques can be matched up by even more advanced filtering and statistical methods, we are going to explore more hiding and obfuscation on the byte level. The AVM2 incorporates a byte loader, which can be used to load and evaluate ABC bytecode during runtime. Consider that we can hide our code anywhere inside the SWF or load seemingly unsuspicious data from external sources - e.g. a picture, sound file, timing data or even data encoded as fake dead code. The data would then be transformed back to our original payload and handed over to the byte loader. Of course, our transformation algorithm and the byte loader itself must undergo a procedure, too, in order to look as harmless as possible. Fortunately there are numerous everyday tasks to be solved by data conversion and loading algorithms, so that our few lines of code can be fingerprinted heuristically without arising any suspicion. &lt;br /&gt;
&lt;br /&gt;
With &lt;a href=&quot;http://labs.adobe.com/technologies/alchemy/&quot;&gt; alchemy&lt;/a&gt; Adobe hands out a toolkit for fast ByteArray manipulation free of charge, which happens to coincide with bytecode obfuscation/deobfuscation as described. Hence Adobe scores yet another point for the attackers - yay.&lt;br /&gt;
&lt;br /&gt;
All these elaborations are by no means only of theoretical nature. &lt;a href=&quot;http://code.google.com/p/erlswf/&quot;&gt;erlswf&lt;/a&gt; has been specifically designed to match the needs of SWF bytecode analysis up to this point in this train of thoughts.&lt;br /&gt;
&lt;br /&gt;
A few concluding remarks: The game of hide and seek goes on forever. If anyone wondered what our current state of the game was, my personal guess would put it somewhere near the end of round one. That means, there is more to look forward to and much more to come.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon, 24 Nov 2008 19:48:00 +0100</pubDate>
    <guid isPermaLink="false">http://pentaphase.de/index.php?/archives/36-guid.html</guid>
    <category>abc</category>
<category>analysis</category>
<category>avm2</category>
<category>bytecode</category>
<category>code</category>
<category>erlswf</category>
<category>flash</category>
<category>hide</category>
<category>seek</category>
<category>swf</category>
<category>web2.0 (왭 이쩜영)</category>

</item>
<item>
    <title>Über die Zukunft unserer Quadratlatschen</title>
    <link>http://pentaphase.de/index.php?/archives/21-UEber-die-Zukunft-unserer-Quadratlatschen.html</link>
            <category>kurz notiert</category>
            <category>Web2.0 (왭 이쩜영)</category>
    
    <comments>http://pentaphase.de/index.php?/archives/21-UEber-die-Zukunft-unserer-Quadratlatschen.html#comments</comments>
    <wfw:comment>http://pentaphase.de/wfwcomment.php?cid=21</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://pentaphase.de/rss.php?version=2.0&amp;type=comments&amp;cid=21</wfw:commentRss>
    

    <author>nospam@example.com (БэФ)</author>
    <content:encoded>
    Eines Tages fiel mir auf, dass der durchaus gebräuchliche deutschsprachige Begriff &quot;&lt;a href=&quot;http://de.wikipedia.org/wiki/Quadratlatschen&quot; title=&quot;Quadratlatschen auf Wikipedia?&quot;&gt;Quadratlatschen&lt;/a&gt;&quot; nicht auf Wikipedia defitiert war. Dieser Missstand konnte nicht lange im Netz der Netze toleriert werden, woraufhin ein sehr kurz gefasster, aber dennoch akkurater Artikel mit folgendem Inhalt entstand:&lt;br /&gt;
&lt;blockquote&gt;Der Begriff Quadratlatschen wird umgangssprachlich wahlweise für große Füße oder große Schuhe verwendet.&lt;/blockquote&gt;&lt;br /&gt;
Gefühlte fünf Sekunden später war der in meinen Augen durchaus relevante und zur Vollständigkeit der freien Enzyklopädie beitragende Artikel zur sofortigen Löschung markiert. Die Gründe stehen im &lt;a href=&quot;http://de.wikipedia.org/wiki/Wikipedia:Schnelllöschantrag&quot; title=&quot;Schnelllöschantrag&quot;&gt;Argen&lt;/a&gt;. Dem aufmerksamen Leser fällt nahezu unmittelbar auf, dass eine neue Begriffsdefinition keine der aufgeführten Kriterien zur sofortigen Tilgung des Beitrags erfüllt.&lt;br /&gt;
&lt;!-- s9ymdb:37 --&gt;&lt;img width=&quot;801&quot; height=&quot;305&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://pentaphase.de/uploads/quadratlatschen-wikipedia.png&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Zum Glück konnten die Quadratlatschen auf der &lt;a href=&quot;http://de.dominikipedia.com/wiki/Quadratlatschen&quot; title=&quot;Dominikipedia&quot;&gt;Dominikipedia&lt;/a&gt; für die Zukunft bewahrt werden. 
    </content:encoded>

    <pubDate>Tue, 25 Sep 2007 16:10:48 +0200</pubDate>
    <guid isPermaLink="false">http://pentaphase.de/index.php?/archives/21-guid.html</guid>
    <category>kurz notiert</category>
<category>quadratlatschen</category>
<category>web2.0 (왭 이쩜영)</category>
<category>wikipedia</category>

</item>
<item>
    <title>twittering fortune cookies</title>
    <link>http://pentaphase.de/index.php?/archives/12-twittering-fortune-cookies.html</link>
            <category>Web2.0 (왭 이쩜영)</category>
    
    <comments>http://pentaphase.de/index.php?/archives/12-twittering-fortune-cookies.html#comments</comments>
    <wfw:comment>http://pentaphase.de/wfwcomment.php?cid=12</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://pentaphase.de/rss.php?version=2.0&amp;type=comments&amp;cid=12</wfw:commentRss>
    

    <author>nospam@example.com (БэФ)</author>
    <content:encoded>
    By using the provided &lt;a href=&quot;http://twitter.com/help/api&quot;  title=&quot;twitter API&quot;&gt;twitter API&lt;/a&gt; it is easily possible to automate or simplify your important status updates. For instance, consider your favorite &lt;a href=&quot;http://www.weirdfortunecookies.com/&quot;  title=&quot;weird fortunes&quot;&gt;fortune message&lt;/a&gt; of the day to show an astonishing resemlance to your twitter status. The following bits of code take over the job of submitting this message, leaving even more leisure time for your enjoyment, while pretending to be actually involved in yet another web2.0 application. &lt;br /&gt;&lt;a href=&quot;http://pentaphase.de/index.php?/archives/12-twittering-fortune-cookies.html#extended&quot;&gt;Continue reading &quot;twittering fortune cookies&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 16 Mar 2007 17:47:00 +0100</pubDate>
    <guid isPermaLink="false">http://pentaphase.de/index.php?/archives/12-guid.html</guid>
    <category>twitter</category>
<category>web2.0 (왭 이쩜영)</category>

</item>
<item>
    <title>friends of friends of friends</title>
    <link>http://pentaphase.de/index.php?/archives/11-friends-of-friends-of-friends.html</link>
            <category>Web2.0 (왭 이쩜영)</category>
    
    <comments>http://pentaphase.de/index.php?/archives/11-friends-of-friends-of-friends.html#comments</comments>
    <wfw:comment>http://pentaphase.de/wfwcomment.php?cid=11</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://pentaphase.de/rss.php?version=2.0&amp;type=comments&amp;cid=11</wfw:commentRss>
    

    <author>nospam@example.com (БэФ)</author>
    <content:encoded>
    &lt;a href=&quot;http://twitter.com&quot;  title=&quot;twitter&quot;&gt;twitter&lt;/a&gt;, the WYSIWYAD (what you see is what you are doing) platform - not to confuse with &lt;a href=&quot;http://twitter.net/&quot;  title=&quot;The International Association of Bird Statistics Gatherers&quot;&gt;twitter&lt;/a&gt; - incorporates a social network structure. Any user can have other users marked as friends. A simple visualization of all direct friends of a randomly chosen twitter user and their relation to each other could look like this:&lt;br /&gt;
&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://pentaphase.de/uploads/johl-1-1.png&#039; onclick=&quot;F1 = window.open(&#039;/uploads/johl-1-1.png&#039;,&#039;Zoom&#039;,&#039;height=1103,width=617,top=-32,left=339,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:34 --&gt;&lt;img width=&#039;61&#039; height=&#039;110&#039; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://pentaphase.de/uploads/johl-1-1.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If we look one recursion level deeper into this social structure it might divulge an even more complex structure:&lt;br /&gt;
&lt;a href=&quot;http://pentaphase.de/uploads/johl-2-1.pdf&quot; title=&quot;johl-2-1.pdf&quot; target=&quot;_blank&quot;&gt;johl-2-1.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The software used to extract these graphs from twitter is available from my &lt;a href=&quot;http://fuhrmannek.de/projects/graphs/twitter-spider/&quot;  title=&quot;twitter spider&quot;&gt;projects page&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Fri, 16 Mar 2007 12:01:45 +0100</pubDate>
    <guid isPermaLink="false">http://pentaphase.de/index.php?/archives/11-guid.html</guid>
    <category>graph</category>
<category>social networks</category>
<category>twitter</category>
<category>web2.0 (왭 이쩜영)</category>

</item>
<item>
    <title>Kuriositäten</title>
    <link>http://pentaphase.de/index.php?/archives/8-Kuriositaeten.html</link>
            <category>Web2.0 (왭 이쩜영)</category>
    
    <comments>http://pentaphase.de/index.php?/archives/8-Kuriositaeten.html#comments</comments>
    <wfw:comment>http://pentaphase.de/wfwcomment.php?cid=8</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://pentaphase.de/rss.php?version=2.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    

    <author>nospam@example.com (БэФ)</author>
    <content:encoded>
    Wie von &lt;a href=&quot;http://www.lostfocus.de/archives/2007/02/06/sechs-kuriositaten/&quot;  title=&quot;LostFocus&quot;&gt;Dominik&lt;/a&gt; zugeworfen folgen nun sechs &lt;a href=&quot;http://de.wikipedia.org/wiki/Kuriosit%C3%A4t&quot;  title=&quot;Kuriosität auf Wikipedia&quot;&gt;Kuriositäten&lt;/a&gt; des bisherigen Daseins:&lt;br /&gt;
&lt;ol&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://bildschirmarbeitsplatz.blogg.de/&quot;  title=&quot;Bildschirmarbeitsplatz&quot;&gt;Jens&lt;/a&gt; meinte ich wäre kurios.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Ich mag Pleonasmen, verwende sie aber nur selten.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Ich weiss, wohin die einzelnen Socken nach dem Waschen verschwinden, verrate es aber keinem.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Ich kann &lt;a href=&quot;http://de.wikipedia.org/wiki/Koreanische_Schrift&quot;  title=&quot;Hangeul&quot;&gt;한글&lt;/a&gt; und &lt;a href=&quot;http://de.wikipedia.org/wiki/Kyrillische_Schrift&quot;  title=&quot;Kyrillische Schrift&quot;&gt;Азбука&lt;/a&gt; entziffern.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Entgegen &lt;a href=&quot;http://www.google.de/search?hl=de&amp;q=site%3Atagesschau.de+krieg+%7C+konflikt+%7C+todesf%C3%A4lle&amp;btnG=Suche&amp;meta=&quot;  title=&quot;Chaos&quot;&gt;konträrer Meinungen&lt;/a&gt; bin ich kein Freund des &lt;a href=&quot;http://de.wikipedia.org/wiki/Tohuwabohu&quot;  title=&quot;größtmögliche Unordnung&quot;&gt;Tohuwabohus&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Manchmal ist auch unsere Welt eine &lt;a href=&quot;http://en.wikipedia.org/wiki/Discworld&quot;  title=&quot;Discworld&quot;&gt;Scheibe&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;br /&gt;
Stöckchen -&amp;gt; &lt;a href=&quot;http://s0krates.wordpress.com/&quot;  title=&quot;s0krates&quot;&gt;s0krates&lt;/a&gt; 
    </content:encoded>

    <pubDate>Wed, 07 Feb 2007 10:09:13 +0100</pubDate>
    <guid isPermaLink="false">http://pentaphase.de/index.php?/archives/8-guid.html</guid>
    <category>soziale netzwerke</category>
<category>web2.0 (왭 이쩜영)</category>

</item>
<item>
    <title>PoC goes Web2.0</title>
    <link>http://pentaphase.de/index.php?/archives/2-PoC-goes-Web2.0.html</link>
            <category>eventphone (이밴트폰)</category>
            <category>Web2.0 (왭 이쩜영)</category>
    
    <comments>http://pentaphase.de/index.php?/archives/2-PoC-goes-Web2.0.html#comments</comments>
    <wfw:comment>http://pentaphase.de/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://pentaphase.de/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>nospam@example.com (БэФ)</author>
    <content:encoded>
    Ich bin total vom &lt;a href=&quot;http://dojotoolkit.org/&quot;  title=&quot;dojo toolkit&quot;&gt;dojo toolkit&lt;/a&gt; begeistert, so dass es jetzt das PoC-Telefonbuch vom &lt;a href=&quot;http://eh2007.hamburg.ccc.de/&quot;  title=&quot;EH2007 in Hamburg&quot;&gt;EasterHegg 2007&lt;/a&gt; als &lt;a href=&quot;http://eventphone.de/~bef/dojo-phonebook.html&quot; title=&quot;PoC dojo phonebook&quot;&gt;javascriptige Echzeitsuche&lt;/a&gt; gibt. 
    </content:encoded>

    <pubDate>Thu, 25 Jan 2007 15:22:42 +0100</pubDate>
    <guid isPermaLink="false">http://pentaphase.de/index.php?/archives/2-guid.html</guid>
    <category>dojo</category>
<category>eventphone (이밴트폰)</category>
<category>web2.0 (왭 이쩜영)</category>

</item>

</channel>
</rss>