<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Infosanity&#039;s Blog &#187; Nepenthes</title>
	<atom:link href="http://blog.infosanity.co.uk/category/nepenthes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.infosanity.co.uk</link>
	<description>Offensive and Defensive IT Security</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:21:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.infosanity.co.uk' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f0350d3bea8a050ccac1e7c2b067d03b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Infosanity&#039;s Blog &#187; Nepenthes</title>
		<link>http://blog.infosanity.co.uk</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.infosanity.co.uk/osd.xml" title="Infosanity&#039;s Blog" />
	<atom:link rel='hub' href='http://blog.infosanity.co.uk/?pushpress=hub'/>
		<item>
		<title>Mercury &#8211; Live Honeypot DVD</title>
		<link>http://blog.infosanity.co.uk/2010/09/22/mercury-live-honeypot-dvd/</link>
		<comments>http://blog.infosanity.co.uk/2010/09/22/mercury-live-honeypot-dvd/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 14:26:20 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Dionaea]]></category>
		<category><![CDATA[honeyd]]></category>
		<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[InfoSec]]></category>
		<category><![CDATA[Kippo]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Nepenthes]]></category>
		<category><![CDATA[Reverse Engineering]]></category>
		<category><![CDATA[Tool-Kit]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=827</guid>
		<description><![CDATA[Mercury Live DVD was initially (I believe) announced in a post  to the Nepenthes Mailing list. It is a remastered Ubuntu distribution with pre-installed honeypot applications and malware analysis tools created by John Moore. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=827&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Mercury Live DVD was initially (I believe) announced in a <a title="Mercury DVD - Nepenthes mailing list archive" href="http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTimFMdgYeO3Miu0R6BnLFobmOCmDmiaXkNeMTQmE%40mail.gmail.com&amp;forum_name=nepenthes-devel">post</a> to the Nepenthes Mailing list. It is a remastered Ubuntu distribution with pre-installed honeypot applications and malware analysis tools created by John Moore. From the ReadMe:</p>
<blockquote><p>This live DVD is a remastered version of Ubuntu 10.0 Beta LTS x86_32. It was designed due to my being disappointed with another reverse engineering malware live CD that was released recently. I have decided to call my creation MERCURY, which is an acronym for Malware Enumeration, Capture, and Reverse Engineering.</p>
<p>The Mercury live DVD contains tools used for digital forensics, data recovery, network monitoring, and spoofing. It should primarily be used as a honeypot or network monitoring platform as well as a laboratory and teaching aid. There are three honeypots installed &#8211; honeyd, nepenthes, and dionaea. Four, if you include netcat.</p></blockquote>
<p>The majority of the additional applications reside in /opt:</p>
<ul>
<li><a href="http://dionaea.carnivore.it/">Dionaea</a> (0.1.0) &#8211; Dionaea is a malware collection honeypot focusing primarily on SMB emulation, covered on InfoSanity numerous times <a title="InfoSanity Category - Dionaea Honeypot" href="http://blog.infosanity.co.uk/category/honeypot/dionaea/">before</a>.</li>
<li><a title="THC-FFP" href="http://freeworld.thc.org/thc-ffp/">FFP</a> &#8211; Fuzzy Fingerprinting is a util to aid SSH MitM attacks.</li>
<li><a title="JSunpack" href="http://jsunpack.jeek.org/dec/go">jsunpack-n</a> &#8211; Is a Javascript unpacker, perfect for analysis captured or potentially malicious URLs in more depth.</li>
<li><a title="Kippo" href="http://code.google.com/p/kippo/">Kippo</a> (svn rev.169) &#8211; Kippo is an low-medium interaction SSH honeypot, Also covered</li>
<li><a href="http://www.signedness.org/tools/mitm-ssh.tgz">mitm-ssh</a> &#8211; Unsurprisingly, a utility for aiding man in the middle attacks against SSH connections.</li>
<li><a title="Origami - PDF analysis framework" href="http://esec-lab.sogeti.com/dotclear/index.php?pages/Origami">Origami</a> &amp; <a title="pdf-tools - PDF analysis tools" href="http://blog.didierstevens.com/programs/pdf-tools/">pdftools</a> &#8211; Two frameworks for analysing malicious PDF files.</li>
<li><a title="Volatility Framework - Memory Analysis" href="https://www.volatilesystems.com/default/volatility">Volatility</a> &#8211; an excellent memory analysis toolkit</li>
<li><a title="ZeroWine" href="http://zerowine.sourceforge.net/">Zerowine-vm</a> &#8211; A malware behavior analysis platform. I&#8217;ve covered ZeroWine <a title="InfoSanity - ZeroWine" href="http://blog.infosanity.co.uk/2009/07/14/zerowine/">here before</a>, and whilst I find it useful for initial analysis I found it a <strong>pain</strong> to setup and get running. The fact this works out of the box on Mercury is enough reason alone to keep the .iso handy.</li>
</ul>
<p>Other tools are installed on the system as started, access from standard locations (/etc, /usr/bin, etc.). I won&#8217;t try to list them all, but some highlights include:</p>
<ul>
<li><a title="Nepenthes" href="https://nepenthes.carnivore.it">Nepenthes</a> &#8211; Dionaea&#8217;s predecessor</li>
<li><a title="Honeyd - Honeypot Daemon" href="http://www.honeyd.org/">Honeyd</a> &#8211; Honeypot system, perfect for emulating multiple different systems from one platform. Covered in more depth <a title="InfoSanity Search - honeyd" href="http://blog.infosanity.co.uk/?s=honeyd">here</a>.</li>
<li><a title="John the Ripper" href="http://www.openwall.com/john/">John</a> &#8211; John the Ripper, password cracker</li>
<li><a title="ircd-hybrid" href="http://www.ircd-hybrid.org/">ircd-hybrid</a> &#8211; irc server daemon, useful for analysis irc-based malware&#8217;s interaction with command and control systems.</li>
<li><a title="Snort IDS" href="http://www.snort.org/">Snort</a> &#8211; de-facto intrusion detection system.</li>
<li><a title="Wireshark" href="http://www.wireshark.org/">Wireshark</a> &#8211; Packet capture and network analysis tools.</li>
</ul>
<p>I could go on, but I&#8217;m sure you get the idea.</p>
<p>Setting up a honeypot, and analysing the results, has never been easier. And I&#8217;m sure the toolkit&#8217;s functionality will also be useful in other scenarios; incident response, general network administration or as a safe learning platform. So what are you waiting for?</p>
<p>&#8211;Andrew Waite</p>
<p>N.B. there have been several mirror&#8217;s and downloads established, the most reliable download source I&#8217;ve used is Markus&#8217; mirror at <a title="Carnivore.it mirror - Mercury DVD" href="ftp://ftp.carnivore.it:/projects/dionaea/mercury-dvd">carnivore.it</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/827/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=827&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/09/22/mercury-live-honeypot-dvd/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick and Easy Nepenthes installation</title>
		<link>http://blog.infosanity.co.uk/2010/04/25/quick-and-easy-nepenthes-installation/</link>
		<comments>http://blog.infosanity.co.uk/2010/04/25/quick-and-easy-nepenthes-installation/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 11:08:32 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[Nepenthes]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=607</guid>
		<description><![CDATA[I've just completed a new Nepenthes installation, and found the process far simpler than my first attempt as I didn't compile from source. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=607&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just completed a new <a title="Nepenthes" href="http://nepenthes.carnivore.it">Nepenthes</a> installation, and found the process far simpler than my first attempt as I didn&#8217;t compile from source.</p>
<p>Running on a Debian 5.0/Lenny server the install was both quick and easy, <em>&#8216;apt-get install nepenthes&#8217;</em> handles install and dependencies nicely. The only issue I encountered was the permissions of files and directories within /var/log/nepenthes/. The contents had owner and group settings as root:root, as the nepenthes process should (and does under the default init.d script) drop permissions after initialisation this meant that the process was unable write to some of it&#8217;s logfiles, reducing the amount and quality of collected information. Thankfully this is easily fixed with a simple <em>&#8216;chown -R nepenthes:nepenthes /var/log/nepenthes/*&#8217;</em>.</p>
<p>I&#8217;ve frequently seen complaints/queries on the <a title="nepenthes-dev mailing list" href="http://sourceforge.net/mail/?group_id=137598">Nepenthes development mailing list</a> that there are issues with Nepenthes&#8217; hexdump functionality. While it isn&#8217;t enabled by default, using this install method works perfectly after uncommenting the <em>&#8220;loghexdump.so&#8221; </em>line from /etc/nepenthes/nepenthes.conf, depositing collected dumps in <em>/var/lib/nepenthes/hexdumps/</em>.</p>
<p>Initial testing shows the system working nicely (not bad for 30 minutes work) and is beginning to collect new binaries and attack statistics. Next step is some integration with Honeyd to provide the start of a combined honeynet environment, more to come later.</p>
<p>&#8211; Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/607/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=607&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/04/25/quick-and-easy-nepenthes-installation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
		<item>
		<title>Last Nepenthes Statistics</title>
		<link>http://blog.infosanity.co.uk/2009/11/09/last-nepenthes-statistics/</link>
		<comments>http://blog.infosanity.co.uk/2009/11/09/last-nepenthes-statistics/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 15:23:02 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Dionaea]]></category>
		<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Nepenthes]]></category>

		<guid isPermaLink="false">http://infosanity.wordpress.com/?p=349</guid>
		<description><![CDATA[Following on from the move from Nepenthes to Dionaea, I'm decomissioning my Nepenthes server to start afresh with Dionaea. As such I thought I'd share the final statistics using InfoSanity's statistic script for Nepenthes.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=349&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following on from the move from <a title="Nepenthes is dead" href="http://infosanity.wordpress.com/2009/11/01/nepenthes-is-dead-long-live-dionaea/">Nepenthes to Dionaea</a>, I&#8217;m decomissioning my Nepenthes server to start afresh with Dionaea. As such I thought I&#8217;d share the final statistics using InfoSanity&#8217;s statistic script for <a title="InfoSanity: Nepenthes Statistics" href="http://www.infosanity.co.uk/nepenthes-statistics.php">Nepenthes</a>.</p>
<blockquote><p>Statistics engine written by Andrew Waite &#8211; www.InfoSanity.co.uk</p>
<p>Number of submissions: 4189<br />
Number of unique samples: 1189<br />
Number of unique source IPs: 2024</p>
<p>First sample seen on 2008-05-09<br />
Last sample seen on 2009-10-31<br />
Days running: 540<br />
Average daily submissions: 7</p></blockquote>
<p>&#8211; <a title="Bio - Andrew Waite" href="http://infosanity.wordpress.com/about/bio-andrew-waite/">Andrew Waite</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/349/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=349&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2009/11/09/last-nepenthes-statistics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
		<item>
		<title>Nepenthes is Dead, Long live Dionaea</title>
		<link>http://blog.infosanity.co.uk/2009/11/01/nepenthes-is-dead-long-live-dionaea/</link>
		<comments>http://blog.infosanity.co.uk/2009/11/01/nepenthes-is-dead-long-live-dionaea/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 13:05:11 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Dionaea]]></category>
		<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Nepenthes]]></category>

		<guid isPermaLink="false">http://infosanity.wordpress.com/?p=336</guid>
		<description><![CDATA[The latest post (dated October 27th 2009) on the Nepenthes site indicates that development on Nepenthes is coming to a close, stating 7 reasons preventing newer features being implemented with Nepenthes. As a result I'm stopping development on my statistics scripts for parsing the Nepenthes' log files. The good news is that work on Nepenthes' spiritual successor is well underway, in the form of Dionaea.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=336&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As regular readers will know (do I have any of those?) I&#8217;ve been running a <a title="Nepenthes" href="http://nepenthes.carnivore.it/">Nepenthes</a> honeypot for a while. Current <a title="InfoSanity: Nepenthes Statistics" href="http://infosanity.wordpress.com/2009/05/17/submissions2stats-py/">statistics</a> show that the server ran for 540days, was &#8216;exploited&#8217; 4189 times, collecting 1189 unique samples (based on MD5 hash) from 2024 source IP addresses.</p>
<p>The latest post (dated October 27th 2009) on the <a title="Nepenthes" href="http://nepenthes.carnivore.it/">Nepenthes site</a> indicates that development on Nepenthes is coming to a close, stating 7 reasons preventing newer features being implemented with Nepenthes. As a result I&#8217;m stopping development on my <a title="Infosanity Nepenthes Statistics" href="http://www.infosanity.co.uk/nepenthes-statistics.php">statistics scripts </a>for parsing the Nepenthes&#8217; log files. The good news is that work on Nepenthes&#8217; spiritual successor is well underway, in the form of <a title="Dionaea" href="http://dionaea.carnivore.it/">Dionaea</a>.</p>
<p>I&#8217;m hopefully going to get a Dionaea box up and running in the near future to continue were I&#8217;ve left off with Nepenthes, watch this space&#8230;</p>
<p>&#8211; <a title="Bio - Andrew Waite" href="http://infosanity.wordpress.com/about/bio-andrew-waite/">Andrew Waite</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/336/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=336&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2009/11/01/nepenthes-is-dead-long-live-dionaea/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
		<item>
		<title>ZeroWine</title>
		<link>http://blog.infosanity.co.uk/2009/07/14/zerowine/</link>
		<comments>http://blog.infosanity.co.uk/2009/07/14/zerowine/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 17:46:00 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[InfoSec]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Nepenthes]]></category>
		<category><![CDATA[Tool-Kit]]></category>

		<guid isPermaLink="false">http://infosanity.wordpress.com/2009/07/14/zerowine/</guid>
		<description><![CDATA[Zero Wine is: an open source (GPL v2) research project to dynamically analyze the behavior of malware. Zero wine just runs the malware using WINE in a safe virtual sandbox (in an isolated environment) collecting information about the APIs called by the program. The output generated by wine (using the debug environment variable WINEDEBUG) are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=57&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Zero Wine is:<br />
<blockquote>an open source (GPL v2) research project to dynamically analyze the behavior of malware. Zero wine just runs the malware using WINE in a safe virtual sandbox (in an isolated environment) collecting information about the APIs called by the program.
<p class="Textbody" style="text-align:justify;">The output generated by wine (using the debug environment variable WINEDEBUG) are the API calls used by the malware (and the values used by it, of course). With this information, analyzing malware&#8217;s behavior turns out to be very easy. </p>
</blockquote>
<p>Install was fairly simple as ZeroWine is distributed as a Qemu virtual image. Qemu, is downloaded <a href="http://www.h7.dion.ne.jp/%7Eqemu-win/">here,</a> and ZeroWine <a href="http://sourceforge.net/projects/zerowine/">here</a>.</p>
<p>To start the ZeroWine image I use the command (change filepaths to suit your install):<br />
<blockquote>&gt;qemu.exe  c:\zerowine_vm\zerowine.img -no-kqemu -L . -redir tcp:8000::8000</p></blockquote>
<p>Once running you can access the service by pointing a browser to localhost/8000 (the &#8216;-redir tcp:8000::8000&#8242; parameter redirects the ZeroWine image&#8217;s port to your local system). This provides a simple web interface to upload and analyse your malware sample:<br /><a href="http://4.bp.blogspot.com/_C6PZ_UdRu8o/SlzIF8_eIoI/AAAAAAAAADA/q1YiFDLKmEE/s1600-h/frontpage.bmp"><img style="display:block;text-align:center;cursor:pointer;width:320px;height:211px;margin:0 auto 10px;" src="http://4.bp.blogspot.com/_C6PZ_UdRu8o/SlzIF8_eIoI/AAAAAAAAADA/q1YiFDLKmEE/s320/frontpage.bmp" alt="" border="0" /></a><br />For a test run I uploaded the most recent sample collected by my <a href="http://infosanity.wordpress.com/2009/04/12/honeypotting-with-nepenthes/">Nepenthes honeypot</a>, MD5 hash 3c9563dacd9afe8f2dbbe86d5d0d4c5e. The report generated shows the results of ZeroWines analysis, example below:<a href="http://infosanity.files.wordpress.com/2009/07/sampleanalysis.png"><img style="display:block;text-align:center;cursor:pointer;width:320px;height:202px;margin:0 auto 10px;" src="http://infosanity.files.wordpress.com/2009/07/sampleanalysis.png?w=300" alt="" border="0" /></a>The first section shows the behavioural analysis of the malware, this should be the most useful aspect of the ZeroWine framework. However as the ZeroWine page itself states, the output is  <span style="font-style:italic;">&#8216;very long and, as so, hard to understand</span>&#8216; and is unable to distinguish between system calls made by the malware and the underlying analysis framework. As a result I personally find the information provided by the report less useful than it could be.</p>
<p>There are definitely better sources for generating automated analysis of malware samples, for example <a href="http://www.virustotal.com/">VirusTotal</a> or <a href="http://www.cwsandbox.org/">CWSandbox</a>. However, depending on how the malware sample was obtained legal or business requirements may prevent you from releasing the sample to a third party, and not all provided services can provide the immediate response of a local system; meaning ZeroWine can still be a valid and useful tool in your arsenal.</p>
<p>Taking the concept forward, <a href="http://twitter.com/jclausing">Jim Clausing</a> recently released an <a href="http://www.sans.org/reading_room/whitepapers/tools/rss/building_an_automated_behavioral_malware_analysis_environment_using_open_source_software_33129">excellent paper</a> on setting up an automated malware environment with open source tools. I haven&#8217;t had a chance to try out any of Jim&#8217;s suggestions, but have read the paper and listened to the related <a href="http://isc.sans.org/diary.html?storyid=6700">podcast</a> and the recommendations are definitely on my todo list to improve my malware analysis toolkit.</p>
<p>&#8211; <a href="http://infosanity.wordpress.com/about/bio-andrew-waite/">Andrew Waite</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=57&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2009/07/14/zerowine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>

		<media:content url="http://4.bp.blogspot.com/_C6PZ_UdRu8o/SlzIF8_eIoI/AAAAAAAAADA/q1YiFDLKmEE/s320/frontpage.bmp" medium="image" />

		<media:content url="http://infosanity.files.wordpress.com/2009/07/sampleanalysis.png?w=300" medium="image" />
	</item>
		<item>
		<title>May Supermondays Presentation &#8211; Video Evidence</title>
		<link>http://blog.infosanity.co.uk/2009/05/29/may-supermondays-presentation-video-evidence/</link>
		<comments>http://blog.infosanity.co.uk/2009/05/29/may-supermondays-presentation-video-evidence/#comments</comments>
		<pubDate>Fri, 29 May 2009 10:43:00 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Nepenthes]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SuperMondays]]></category>

		<guid isPermaLink="false">http://infosanity.wordpress.com/2009/05/29/may-supermondays-presentation-video-evidence/</guid>
		<description><![CDATA[I jumped the gun slightly when I said previously that there was no recording of my talk, the camera managed to catch the first 2+ minutes of the presentation. Just enough time for a brief overview of the intention behind honeypot systems. Direct Link. The rest of the Super Mondays event was recorded more successfully. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=38&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I jumped the gun slightly when I said <a href="http://infosanity.wordpress.com/2009/05/27/may-supermondays-presentation-the-aftermath/">previously</a> that there was no recording of my talk, the camera managed to catch the first 2+ minutes of the presentation. Just enough time for a brief overview of the intention behind honeypot systems. <a href="http://cdn-static.viddler.com/flash/publisher.swf?key=88988028">Direct Link</a>.</p>
<p>The rest of the Super Mondays event was recorded more successfully. Check it out <a href="http://www.supermondays.org/2009/05/29/ambient-honeypots-full-of-jewellery/">here</a> for the official write-up and event videos. Well worth a look.</p>
<p>&#8211; <a href="http://infosanity.wordpress.com/about/bio-andrew-waite/">Andrew Waite</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=38&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2009/05/29/may-supermondays-presentation-video-evidence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
		<item>
		<title>May SuperMondays Presentation: The Aftermath</title>
		<link>http://blog.infosanity.co.uk/2009/05/27/may-supermondays-presentation-the-aftermath/</link>
		<comments>http://blog.infosanity.co.uk/2009/05/27/may-supermondays-presentation-the-aftermath/#comments</comments>
		<pubDate>Wed, 27 May 2009 16:11:00 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Nepenthes]]></category>
		<category><![CDATA[SuperMondays]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://infosanity.wordpress.com/2009/05/27/may-supermondays-presentation-the-aftermath/</guid>
		<description><![CDATA[I had a really enjoyable night at last night&#8217;s SuperMondays event. Some of the innovative uses for technology on display from Newcastle University provided a great glimpse of where we could be heading in the future towards ubiquitous computing. Of special interest were the research being undertaken with surface computing, which seems to have taken [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=37&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a really enjoyable night at last night&#8217;s <a href="http://www.supermondays.org/2009/05/08/supermonday-is-on-tuesday/">SuperMondays</a> event.</p>
<p>Some of the innovative uses for technology on display from Newcastle University provided a great glimpse of where we could be heading in the future towards <a href="http://en.wikipedia.org/wiki/Ubiquitous_computing">ubiquitous computing</a>. Of special interest were the research being undertaken with surface computing, which seems to have taken centre stage of new technologies recently, although unfortunately the expected MS Surface device wasn&#8217;t available at the last minute.</p>
<p>I also liked the work being done by the <a href="http://culturelab.ncl.ac.uk/ambientkitchen/">Ambient Kitchen</a> project. While the technology is still in it&#8217;s early stages it is easy to see how this technology could be a part of every day life. With the focus the group has on providing assistance and support to people with cognitive difficulties the fruits of the project could go a long way to genuinely improving people&#8217;s lives. It makes a nice change to see new technology being developed for a real, useful purpose rather than the usual, &#8216;we can, it&#8217;s cool, why not&#8217; approach to some tech development.</p>
<p>Linked with these new technologies Patrick Oliver and Jayne Wallace demo&#8217;d and talked about some of their work with developing cultural and meaningful technologies. One example was a twinned pair of necklaces which allowed the wearers to communicate some acts of distance, for example holding one pendant would cause the other to vibrate. As wireless communications become more pervasive I can envision similar technologies becoming more subtle and common place. Despite my initial perception of the topic as being &#8216;arty&#8217; and not really that useful, I enjoyed the presentation and can see some valid and quite exciting uses for this technology in the future.</p>
<p>The event finished with a change of pace, with me presenting about my experience with using honeypot systems and hopefully convincing others that the system are valid additions to any network, and are good fun in the process. From my perspective I feel that the presentation went well, although I blew through the material a bit rapidly. I was genuinely relieved and thrilled with the amount of questions and discussion that was generated at the end of my presentation.</p>
<p>Unfortunately I believe that there isn&#8217;t a recording of this presentation, as is customary with SuperMondays talks, as the video camera decided to flatten it&#8217;s battery just before I started. As a compromise I&#8217;ve posted my <a href="http://www.infosanity.co.uk/resources/presentations/honeypotting_with_nepenthes.pdf">slide-deck </a>from the presentation. Hopefully people may find this useful, I&#8217;m always open to questions or discussions so please let me know your thoughts.</p>
<p>Bottom line from all this? SuperMondays is a blast, if you&#8217;re in the area and haven&#8217;t been along yet, why not? I&#8217;m definitely going to make more of an effort to ensure I&#8217;m available for future events, see you all there next time.<br />
&#8211; <a href="http://infosanity.wordpress.com/about/bio-andrew-waite/">Andrew Waite</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=37&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2009/05/27/may-supermondays-presentation-the-aftermath/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
		<item>
		<title>Random Malware Analysis</title>
		<link>http://blog.infosanity.co.uk/2009/05/22/random-malware-analysis/</link>
		<comments>http://blog.infosanity.co.uk/2009/05/22/random-malware-analysis/#comments</comments>
		<pubDate>Fri, 22 May 2009 02:00:00 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[InfoSec]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[MS Windows]]></category>
		<category><![CDATA[Nepenthes]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://infosanity.wordpress.com/2009/05/22/random-malware-analysis/</guid>
		<description><![CDATA[Having recently been left with several hours to kill with nothing but a laptop and my virtual lab I thought I&#8217;d try my hand at some rudimentary malware analysis. For a random live sample I selected the most recent submission to my Nepenthes Server. $ tail -n1 /opt/nepenthes/var/log/logged_submissions[2009-05-21T19:10:59] 90.130.169.175 -&#62; 195.97.252.143 creceive://90.130.169.175:2526 93715cfc2fbb07c0482c51e02809b937 To start [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=35&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having recently been left with several hours to kill with nothing but a laptop and my virtual lab I thought I&#8217;d try my hand at some rudimentary malware analysis. For a random live sample I selected the most recent submission to <a href="http://infosanity.wordpress.com/2009/04/12/honeypotting-with-nepenthes/">my Nepenthes Server.</a></p>
<blockquote><p>$ tail -n1 /opt/nepenthes/var/log/logged_submissions<br />[2009-05-21T19:10:59] 90.130.169.175 -&gt; 195.97.252.143 creceive://90.130.169.175:2526 93715cfc2fbb07c0482c51e02809b937</p></blockquote>
<p>To start with I wanted to get an idea of what I was dealing with, so I passed the file&#8217;s hash to VirusTotal&#8217;s <a href="http://www.virustotal.com/buscaHash.html">Hash Search</a> utility; and promptly found that VirusTotal had no knowledge of this particular hash. Means we could be dealing with a completely new malware strain or variant! or more likely a polymorphic binary creating a unique file signature&#8230;</p>
<p>The question was promptly answered when transferring the binary to my analysis machine by AVG, &#8216;Threat detected: worm/Allaple.b&#8217;. Not wanting to take the word of a single AV vendor I proceeded to upload the binary itself to <a href="http://www.virustotal.com/">VirusTotal</a> (have I mentioned I like VirusTotal yet?). Sure enough most AV engines agree with AVG&#8217;s analysis although there was some dissention over which version of Allaple the sample was. Most AV engines (37/40) flagged file as malicious (Comodo, nProtect and PrevX gave the binary a clean bill of health.)</p>
<p>Beginning with some static analysis, the &#8216;strings&#8217; utility is always a safe place to start. As I&#8217;m using a Windows platform for this analysis I use the <a href="http://technet.microsoft.com/en-us/sysinternals/bb897439.aspx">SysInternals strings binary</a>. This revealed little, other than confirming the binary is a windows executable (usual<span style="font-style:italic;"> &#8216;!This program cannot be run in DOS mode.&#8217;</span> string) and a reference to Kernal32.dll and some function names (FindFirstVolumeW, GetShortPathNameA, GetConsoleAliasesLengthW, AddConsoleAliasA, GetModuleHandleW, CreateProcessA, GetUserDefaultUILanguage, LocalReAlloc, SetHandleInformation, SetConsoleCursorInfo).</p>
<p>As there was limited information available from a plaintext strings search my next step was to see if the binary had been packed. For this I used <a href="http://www.peid.info/download.html">PEiD </a>utility, PEiD initially stated that there was &#8216;Nothing Detected&#8217; although the entropy found within the file (7.93) caused PEiD to suggest that the binary had indeed been packed.</p>
<p>With some basic static analysis undertaken (this could/should have been taken further but my RE/assembly-fu is a bit rusty, especially at 3am) I changed tact and went with some initial behavioural analysis. For an initial run I utilised iDefense&#8217;s <a href="http://labs.idefense.com/software/malcode.php#more_sysanalyzer">SysAnalzer</a> tool written by David Zimmer. SysAnalyzer is a great utility for automating behavioural analysis and capturing system changes, from it&#8217;s download page:</p>
<blockquote><p>SysAnalyzer is an automated malcode run time analysis application that       monitors various aspects of system and process states.     <br />SysAnalyzer was designed to enable analysts to quickly build a       comprehensive report as to the actions a binary takes on a system.       </p></blockquote>
<p>The tool snapshots (not to be confused with VM snapshots) the state of the system, runs a given binary, then snapshots the system after execution before comparing the two snapshots. This can provide some detailed, succinct information to an analyst, but may miss any dynamic and temporary system changes. One weakness (or strength, depending on your perspective) that SysAnalyzer has is that it does not sandbox the malicious binary from the analysis system. Meaning that if the binary is destructive it *will* hose the system it is being analysed on, obviously if you&#8217;re utilising virtualisation and snapshop functionality this shouldn&#8217;t be an issue.</p>
<p>On starting the analysis, the malicious executable promptly errored (usual Windows&#8217; &#8216;executable has failed, please send all information to Microsoft&#8217; type pop-up) and SysAnalysis stated that the system was unchanged by the binary. Well that was disappointing, possible some form of VM detection causing the malware to shut down?</p>
<p>Not to be denied, I re-ran the process: Again the executable crashed with Microsoft&#8217;s pop-up, but this time SysAnalysis saw some system changes, from API and registry calls to the creation of new processes. However on further analysis the new processes and files were all only related to the DWWIN.exe executable which, as explained <a href="http://www.liutilities.com/products/wintaskspro/processlibrary/dwwin/">here</a>, is part of Windows itself and is the cause of the pop-ups discussed above.</p>
<p>One aspect that may be causing the binary to lock up is that it is isolated from the network. From experience some malware will perform an initial lookup to an external resource, if the code can&#8217;t access said resource the malware assumes it is on a closed system and shuts down. To test this theory I re-ran the executable (this time manually, without the SysAnalysis utility) with <a href="http://www.wireshark.org/">Wireshark</a> sniffing all network interfaces. As expected the binary crashed with the same error pop-up, reviewing the wireshark capture no traffic was generated outbound to any resource from the infected host.</p>
<p>Another possible reason for malware to refuse to run is newer VM detection techniques. However no evidence of this is present in the API calls captured by SysAnalysis, nor can I find any reference to VM detection capabilities present within the Allaple family from a search of the web. Ideally to test this theory the malware would be executed on a natively installed OS to bypass any potential VM detection. Unfortunately at this stage I do not have resources available to sacrifice a physical machine in this manner, so analysis must stop here.</p>
<p>One final possibility is simply that the binary is defective, just because the malware is spreading does not necessarily mean that the payload delivered upon exploitation is fully functional. It is not uncommon to have one malware strain being propogated by an entirely different strain. This is rapidly becoming more prevelant as &#8216;cybercrime&#8217; (I hate that phrase) matures with the recent emergence of crimeware-as-a-service.</p>
<p>What-ever the reason for the binary failing to have any perceivable impact on the system, the behaviour that has been observed during this sample&#8217;s execution does not match that which is expected from other analysis of the Allaple.b malware strain. <a href="http://www.sophos.com/security/analyses/viruses-and-spyware/w32allapleb.html">Sophos&#8217; analysis</a> for example, states that upon infection Allabple.b will:<br />
<blockquote>
<ul>
<li>When first run W32/Allaple-B copies itself to [system]\urdvxc.exe.</li>
<li>The W32/Allaple-B is registered as a COM object.</li>
<li>W32/Allaple-B installs itself as a service with the name &#8220;MSWindows&#8221;. </li>
</ul>
</blockquote>
<p>No evidence of this behaviour has been seen during analysis, nor are any of the changes present on the system post infection. This is a good example of why there isn&#8217;t always a need to panic when AV picks up a malicious item. Until the infection has been analysed in more depth there is no way of knowing how scary the compromise and infection is.</p>
<p>&#8211; <a href="http://infosanity.wordpress.com/about/bio-andrew-waite/">Andrew Waite</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=35&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2009/05/22/random-malware-analysis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
		<item>
		<title>May SuperMondays (on a Tuesday)</title>
		<link>http://blog.infosanity.co.uk/2009/05/20/may-supermondays-on-a-tuesday/</link>
		<comments>http://blog.infosanity.co.uk/2009/05/20/may-supermondays-on-a-tuesday/#comments</comments>
		<pubDate>Wed, 20 May 2009 13:13:00 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Nepenthes]]></category>
		<category><![CDATA[SuperMondays]]></category>

		<guid isPermaLink="false">http://infosanity.wordpress.com/2009/05/20/may-supermondays-on-a-tuesday/</guid>
		<description><![CDATA[For those that don&#8217;t know I&#8217;m scheduled to give a presentation at the upcoming Super Mondays meeting next week. The topic of the presentation is malware honeypots, and is based as a follow up to my original Honeypotting with Nepenthes, and I&#8217;m hoping to discuss some statistics generated by my submissions2stats.py script from my honeypot [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=34&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For those that don&#8217;t know I&#8217;m scheduled to give a presentation at the upcoming <a href="http://www.supermondays.org/2009/05/08/supermonday-is-on-tuesday/">Super Mondays</a> meeting next week. The topic of the presentation is malware honeypots, and is based as a follow up to my original <a href="http://infosanity.wordpress.com/2009/04/12/honeypotting-with-nepenthes/">Honeypotting with Nepenthes</a>, and I&#8217;m hoping to discuss some statistics generated by my <a href="http://infosanity.wordpress.com/2009/05/17/submissions2stats-py/">submissions2stats.py</a> script from my honeypot logs.</p>
<p>The session will begin with a demonstration of some new technologies, including ambient kitchens and surface computers. Following this will be a presentation on cultural technology and HCI by Patrick Oliver and a presentation of meaningful technology and her work on digital jewellery by Jayne Wallace, before ending the night with my presentation.</p>
<p>Tickets are free and going fast so register now to reserve your place, <a href="http://supermondays.eventbrite.com/">event registration</a>.</p>
<p>It is shaping up to be a good night, so look forward to seeing you all there.</p>
<p>&#8211; <a href="http://infosanity.wordpress.com/about/bio-andrew-waite/">Andrew Waite</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=34&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2009/05/20/may-supermondays-on-a-tuesday/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
		<item>
		<title>submissions2stats.py</title>
		<link>http://blog.infosanity.co.uk/2009/05/17/submissions2stats-py/</link>
		<comments>http://blog.infosanity.co.uk/2009/05/17/submissions2stats-py/#comments</comments>
		<pubDate>Sun, 17 May 2009 17:16:00 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Nepenthes]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://infosanity.wordpress.com/2009/05/17/submissions2stats-py/</guid>
		<description><![CDATA[Several days of playing working with the raw data and a couple of intermediate scripts (csv &#38; mysql) have paid off. I&#8217;m now ready to release the first version of Infosanity&#8216;s Nepenthes log parser. This utility is substantially larger than my previous two releases (although still small) so I&#8217;ll not include source code here, head [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=32&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Several days of playing working with the raw data and a couple of intermediate scripts (<a href="http://infosanity.wordpress.com/2009/05/02/submissions2csv-py/">csv</a> &amp; <a href="http://infosanity.wordpress.com/2009/05/10/submissions2mysql-py/">mysql</a>) have paid off. I&#8217;m now ready to release the first version of <a href="http://www.infosanity.co.uk/">Infosanity</a>&#8216;s Nepenthes log parser.</p>
<p>This utility is substantially larger than my previous two releases  (although still small) so I&#8217;ll not include source code here, head to Infosanity for the <a href="http://www.infosanity.co.uk/resources/scripts/nepenthes/submissions2stats.py">submissions2stats.py</a> file. Usage is fairly simple, read logged_submissions file into stdin and let the script do it&#8217;s job.</p>
<p>Statistics are quite general at this stage, mainly compiling overall statistics from the log file including:</p>
<ul>
<li>Total number of submissions</li>
<li>Number of unique malware samples (based on MD5 hashes)</li>
<li>Number of unique source IPs</li>
<li>Run time</li>
<li>Average daily submissions</li>
<li>Five most recent submissions</li>
</ul>
<p>By default the script outputs plaintext to standard out, but this can be changed to HTML via the &#8211;output=html commandline flags.</p>
<p>I&#8217;m going to hold back releasing any example output from my own servers as I wanted to generate the statistics for use in an upcoming presentation I&#8217;m giving for local group <a href="http://www.supermondays.org/2009/05/08/supermonday-is-on-tuesday/">Super Mondays</a>. If you&#8217;re free and in the area (Newcastle, UK)  on May 26th please stop by for the event and to say hi.</p>
<p>If you&#8217;re running a Nepenthes server I&#8217;d appreciate any feedback or issues running the script. I&#8217;m still looking to flesh the system&#8217;s capabilities out, so any suggestions/requests for additional features or statistics would be appreciated (contact(no-spam)[at]infosanity[dot]co[dot]uk ).</p>
<p>&#8211; <a href="http://infosanity.wordpress.com/about/bio-andrew-waite/">Andrew Waite</a></p>
<p><span style="font-size:85%;">N.B. The latest versions of all Infosanity tools related to statistic generation for Nepenthes can be found <a href="http://www.infosanity.co.uk/nepenthes-statistics.php">here</a>.<br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/infosanity.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/infosanity.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/infosanity.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/infosanity.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&amp;blog=8614004&amp;post=32&amp;subd=infosanity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2009/05/17/submissions2stats-py/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78c9d658d90cad982bfc9af08a2ff8dd?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">Infosanity</media:title>
		</media:content>
	</item>
	</channel>
</rss>
