<?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</title>
	<atom:link href="http://blog.infosanity.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.infosanity.co.uk</link>
	<description>Offensive and Defensive IT Security</description>
	<lastBuildDate>Wed, 04 Aug 2010 12:12:09 +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://www.gravatar.com/blavatar/f0350d3bea8a050ccac1e7c2b067d03b?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Infosanity&#039;s Blog</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>Disaster Protocol 13 Interview</title>
		<link>http://blog.infosanity.co.uk/2010/08/04/disaster-protocol-13-interview/</link>
		<comments>http://blog.infosanity.co.uk/2010/08/04/disaster-protocol-13-interview/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 11:42:18 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[Presentation]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=814</guid>
		<description><![CDATA[This week I was interviewed for the Disaster Protocol Security Podcast. My theory is that no one else was superstitious and didn't want to risk being on number 13, so they got stuck with me..... <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=814&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>This week I was interviewed for the <a title="Disaster Protocol Security Podcast" href="http://www.disasterprotocol.com/">Disaster Protocol Security Podcast</a>. My theory is that everyone else was superstitious and didn&#8217;t want to risk being on number 13, so they got stuck with me&#8230;..</p>
<p>Basically, the interview is just me talking about honeypots and some of the results and findings that have been discussed discussed both on this blog and via Twitter. Hopefully you&#8217;ll find it an interesting listen, and hopefully you&#8217;ll be able to understand me. Seems a <a title="@commonism tweet" href="http://twitter.com/commonism/statuses/20291321359">few</a> <a title="@dh3ws0n tweet" href="http://twitter.com/dh3ws0n/statuses/20295322840">people</a> have struggled so I&#8217;ll need to work on my &#8216;BBC English&#8217; next time around&#8230;.</p>
<p>Always interested in hearing others thoughts or comments on honeypots or infosec in general; so if you liked, disliked or disagreed with any of the content let me know.</p>
<p>The podcast episode can be downloaded <a title="Disaster Protocol Ep13" href="http://disasterprotocol.com/DP13-HoneyPot.mp3">here</a>.</p>
<p>&#8211;Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/814/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/814/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=814&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/08/04/disaster-protocol-13-interview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://disasterprotocol.com/DP13-HoneyPot.mp3" length="101916151" type="audio/mpeg" />
<enclosure url="http://disasterprotocol.com/DP13-HoneyPot.mp3" length="101916151" type="audio/mpeg" />
	
		<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>Kippo SVN build</title>
		<link>http://blog.infosanity.co.uk/2010/07/25/kippo-svn-build/</link>
		<comments>http://blog.infosanity.co.uk/2010/07/25/kippo-svn-build/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 12:48:05 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[Kippo]]></category>
		<category><![CDATA[Tool-Kit]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=802</guid>
		<description><![CDATA[This morning I cause myself a problem. Annoyingly it was foreseeable and avoidable, this is my excuse (not great, but I'll stick to it). But as every problem is merely an opportunity in disguise whist I'm re-building systems I might as well document the process. The original InfoSanity guide for installing Kippo was based off of the latest stable version, but I rapidly migrated to the development SVN on learning of the MySQL logging capabilities, so this guide covers that.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=802&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>This morning I cause myself a <a title="@infosanity: Kojoney and Kippo Clash" href="http://twitter.com/Infosanity/statuses/19485767220">problem</a>. Annoyingly it was foreseeable and avoidable, <a title="@infosanity - excuse" href="http://twitter.com/Infosanity/statuses/19488422589">this</a> is my excuse (not great, but I&#8217;ll stick to it). But as every problem is merely an opportunity in disguise whist I&#8217;m re-building systems I might as well document the process. The original InfoSanity <a title="[InfoSanity] - Starting with Kippo" href="http://blog.infosanity.co.uk/2010/07/06/starting-with-kippo/">guide for installing Kippo</a> was based off of the latest stable version, but I rapidly migrated to the development SVN on learning of the MySQL logging capabilities, so this guide covers that.</p>
<p><strong>Packages</strong></p>
<p>As I&#8217;m using a Debian system a lot of the system pre-requisites are packaged, this aren&#8217;t all needed immediately but we might as well grab them all at once.</p>
<blockquote><p>apt-get install subversion #for svn<br />
apt-get install python-twisted python-mysqldb # Python and required modules<br />
apt-get install mysql-server #</p></blockquote>
<p><strong>Basic Kippo setup</strong></p>
<p>Grab Kippo direct from svn, at time of writing I got version 160. (<a title="Kippo SVN install" href="http://code.google.com/p/kippo/source/checkout">latest instructions</a>):</p>
<blockquote><p>svn checkout http://kippo.googlecode.com/svn/trunk/ /opt/kippo-svn</p></blockquote>
<p>Now we can start the honeypot system:</p>
<blockquote><p>./start.sh</p></blockquote>
<p>That&#8217;s it, all that is required to get the system running. To confirm you can ssh locally with <em>ssh -p2222 root@127.0.0.1</em>, unless you&#8217;ve jumped ahead and edited the config, password will be 123456.</p>
<p><strong>MySQL</strong></p>
<p>Log into MySQL via commanline, assuming you&#8217;ve not modified the kippo.cfg database directives build the database:</p>
<blockquote><p>
create database kippo;<br />
grant all on kippo.* to &#8216;kippo&#8217;@'localhost&#8217; identified by &#8216;secret&#8217;;</p></blockquote>
<p>Next edit the kippo.cfg accordingly you database/user/password and uncomment the [database] configuration directives. REMEBER to uncomment <em>;[database] </em>line not just the parameters, that has now caught me out twice.</p>
<p>Finally, build the database structure with the script that can be found in <em>&lt;kippo&gt;/doc/sql/</em>:</p>
<blockquote><p>doc/sql/# mysql -ukippo -psecret kippo &lt; mysql.sql</p></blockquote>
<p>Restart your Kippo process and you should be good; re-test access to the shell and view the database tables to confirm that logs are being written to the database.</p>
<p>Happy Honeypotting</p>
<p>&#8211;Andrew Waite</p>
<ul></ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/802/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=802&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/07/25/kippo-svn-build/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>Basic SSH server hardening</title>
		<link>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/</link>
		<comments>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 11:42:44 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[InfoSec]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=682</guid>
		<description><![CDATA[When discussing some of my recent findings with Kippo I've been asked a few times for suggestions for how people can prevent their systems from being compromised via this vector. The high number of options can leave people unsure where to start so I'll summarise some of those that are more common and can provide the highest return on investment for the time taken to make the change.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=682&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>When discussing some of my recent findings with Kippo I&#8217;ve been asked a few times for suggestions for how people can prevent their systems from being compromised via this vector. A quick Google search shows that there are already a number of good resources covering the options, including: <a title="DA: Keeping SSH access secure" href="http://www.debian-administration.org/articles/87">Debian Administration Article</a> and <a title="Debian Security Manual: SSH" href="http://www.debian.org/doc/manuals/securing-debian-howto/ch-sec-services.en.html#s5.1">Securing Debian Manual</a>. However, the high number of options can leave people unsure where to start so I&#8217;ll summarise some of those that are more common and can provide the highest return on investment for the time taken to make the change.</p>
<p>N.B. a lot of the suggestions below are valid for most/all remote access functionality.</p>
<p><strong>Restrict access from unknown locations</strong></p>
<p>If possible (it isn&#8217;t always) restrict access to only come from known and trusted sources. This can be down at multiple choke points in the network and system; perimeter firewall, host firewall (iptables etc.) or sshd config. For working with sshd the /etc/hosts.allow and /etc/hosts.deny, for example:</p>
<p><em>/etc/hosts.allow</em></p>
<blockquote><p>#Corporate HQ gateway<br />
sshd: 1.2.3.4/255.255.255.255</p></blockquote>
<p><em>/etc/hosts.deny</em></p>
<blockquote><p>#Generic Deny All<br />
sshd: ALL</p></blockquote>
<p>It doesn&#8217;t matter how insecure your system is, if an attacker can&#8217;t connect and communicate with a vulnerable service they can&#8217;t exploit it, period.</p>
<p><strong>Restrict remote root access</strong></p>
<p>Preventing remote access to the root account can reduce the damage that can be caused by a compromised. With SSH this can be achieved with a single configuration line:</p>
<p><em>/etc/ssh/sshd_config</em></p>
<blockquote><p>PermitRootLogin no</p></blockquote>
<p><strong>Only allow access to specific accounts</strong></p>
<p>Does every account on you system need to be able to remotely access the system via SSH? No? Then why can it?</p>
<p>Remote system access can be restricted on a per user basis. This can be either as a whitelist using the <em>AllowUsers</em> directive or as a blacklist with the <em>DenyUsers</em> directive. For example, if I only wanted to allow my own account access via ssh:</p>
<p><em>/etc/ssh/sshd_config</em></p>
<blockquote><p>AllowUsers andrew</p></blockquote>
<p>These capabilities can be useful with certain honeypot systems; if you create a weak user account linked with an ftp or pop3 honeypot (for example), then the same weak accounts can be prevented from gaining access to a shell with the DenyUsers directive, limiting the weak account to only access those services that are being monitored.</p>
<p><strong>Run on non-standard port</strong></p>
<p>Yes, this is &#8216;security by obscurity&#8217;; if this is the only change you make you haven&#8217;t really improved security any, but it is still useful as part of wider security posture. Attackers are continually scanning the internet looking for new systems to exploit, currently the ISC statistics show connections to <a title="ISC: port 22" href="http://isc.sans.edu/port.html?port=22">tcp22 </a>at around 100k targets; even moving to a relatively common alternative port of <a title="ISC: TCP2222" href="http://isc.sans.edu/port.html?port=2222">2222</a> drops the malicious traffic by around 90%.</p>
<p><em>/etc/ssh/sshd_config</em></p>
<blockquote><p>Port 2222</p></blockquote>
<p>This reduces the number of malcious attempts targeting the service, which will both reduce processor/network load and &#8216;noise&#8217; in the log. If you now get a burst of failed log-in attempts in the logs, then this may be indicative of a specific attacker rather than just the usual background noise of bots and worms scanning for new victims.</p>
<p><strong>Summary</strong></p>
<p>Implementing the above can drastically improve SSH security above the defaults, with a relatively small effort required providing a great ROI. So what&#8217;s your excuse? Go harden that SSH installation</p>
<p>&#8211;Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/682/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=682&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/07/24/basic-ssh-server-hardening/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>Example of post exploit utilities (SSH scanners)</title>
		<link>http://blog.infosanity.co.uk/2010/07/21/example-of-post-exploit-utilities/</link>
		<comments>http://blog.infosanity.co.uk/2010/07/21/example-of-post-exploit-utilities/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 18:03:08 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[InfoSec]]></category>
		<category><![CDATA[Kippo]]></category>
		<category><![CDATA[Malware]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=775</guid>
		<description><![CDATA[So far my Kippo honeypot installation has recieved a number of successful log ins from maliciuos users, some of which have been helpful enough to provide some tools for further analysis. A lot of the archives which have been downloaded show that the kits have been in use for a while, with some archive timestamps going back as far as 2004 (of course this could simply be an incorrect clock on the machine that created the archive). Picking on the most recent download (2010-07-18) I've taken a look at the archive containing gosh.tgz.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=775&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>So far my Kippo honeypot installation has recieved a number of successful log ins from maliciuos users, some of which have been helpful enough to provide some tools for further analysis. A lot of the archives which have been downloaded show that the kits have been in use for a while, with some archive timestamps going back as far as 2004 (of course this could simply be an incorrect clock on the machine that created the archive). Picking on the most recent download (2010-07-18) I&#8217;ve taken a look at the archive containing gosh.tgz.</p>
<p>The archive was downloaded from linux&lt;dot&gt;hostse&lt;dot&gt;com&lt;slash&gt;gosh&lt;tgz&gt;, system is down at time of writing but take care if attempting to investigate yourself. Before downloading the user checked around the system with commands: <em>w</em>, <em>uname -a</em> and <em>cat /proc/cpuinfo</em>, and archive was downloaded and extracted in /dev/shm/.</p>
<p>Once extracted, the archive contains a number of files:</p>
<table>
<tbody>
<tr>
<td>1:</td>
<td>ISO-8859 English text, with CRLF line terminators</td>
</tr>
<tr>
<td>2:</td>
<td>ASCII text</td>
</tr>
<tr>
<td>3:</td>
<td>ASCII C++ program text, with CRLF line terminators</td>
</tr>
<tr>
<td>4:</td>
<td>ASCII text</td>
</tr>
<tr>
<td>5:</td>
<td>ASCII text</td>
</tr>
<tr>
<td>a:</td>
<td>ISO-8859 text, with CRLF line terminators</td>
</tr>
<tr>
<td>common:</td>
<td>ASCII C++ program text</td>
</tr>
<tr>
<td>gen-pass.sh:</td>
<td>Bourne-Again shell script text executable</td>
</tr>
<tr>
<td>go.sh:</td>
<td>ASCII text</td>
</tr>
<tr>
<td>mfu.txt:</td>
<td>ASCII text</td>
</tr>
<tr>
<td>pass_file:</td>
<td>ASCII text</td>
</tr>
<tr>
<td>pscan2:</td>
<td>ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped</td>
</tr>
<tr>
<td>scam:</td>
<td>Bourne-Again shell script text executable</td>
</tr>
<tr>
<td>secure:</td>
<td>Bourne-Again shell script text executable</td>
</tr>
<tr>
<td>ss:</td>
<td>ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.0.0,stripped</td>
</tr>
<tr>
<td>ssh-scan:</td>
<td>ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.0.0, stripped</td>
</tr>
<tr>
<td>vuln.txt:</td>
<td>empty</td>
</tr>
</tbody>
</table>
<ul>
<li><strong>Interesting files:</strong></li>
<li>Files 1 to 5, common and pass_file are password lists, totalling 235,523 potential passwords.</li>
<li>mfu.txt is a list of IP addresses, mostly in the 38.99.0.0/16 address space.</li>
<li>pscan2 is a fairly common and generic port scanner.</li>
<li>scam is a shell script that appears to be the core brains of the toolkit. It essentially looks through scanning a different ranges of IP addresses while periodically emailing the contents of vuln.txt back to it&#8217;s master (mafia89tm@yahoo.co.uk).</li>
<li>ss: appears to be another scanner used for looking for potential targets.</li>
<li>ssh-scan: appears to be a Romanian tool from the message provided if run without arguments, according to Google Translate (<a title="ssh-scan:Google translation" href="http://translate.google.co.uk/#auto|en|cate%20pizde%20sa%20incerc...">possibly NSFW</a>), and as you would guess from the file name is a scanner for SSH services.</li>
<li>vuln.txt is blank in the archive, and will be the output of vulnerable systems located by the scanners.</li>
</ul>
<p>All told this appears to be a kit for performing further scans for unsecured SSH sessions, and it is likely that a similar kit hosted on a different compromised machine was responsible for identifying my installation in the first place. Kits like this also quickly show the problem with tracking down the malicious user behind an compromise or attempt, it is rare for attacks to be launched from systems that can easily be traced back to the malicious user.</p>
<p>A quick Google search confirms that this kit (and user) has been seen in the wild attacking other systems, <a title="ShellPerson: SSH bruteforce" href="http://www.shellperson.net/hacked-ssh-bruteforce/">this posting</a> on the Shell Person blog writes up the aftermath after a production system was compromised by the same kit.</p>
<p>&#8211;Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/775/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=775&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/07/21/example-of-post-exploit-utilities/feed/</wfw:commentRss>
		<slash:comments>0</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>Initial Kippo honeypot stats</title>
		<link>http://blog.infosanity.co.uk/2010/07/21/initial-kippo-honeypot-stats/</link>
		<comments>http://blog.infosanity.co.uk/2010/07/21/initial-kippo-honeypot-stats/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 16:42:18 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[InfoSec]]></category>
		<category><![CDATA[Kippo]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=765</guid>
		<description><![CDATA[I've been running Kippo for nearly two weeks now (decided to live dangerously and go with SVN version) and have seen some interesting results. Common passwords, common usernames and downloaded attack tools.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=765&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running Kippo for nearly two weeks now (decided to live dangerously and go with SVN version) and have seen some interesting results.</p>
<p><strong>Top 10 most common passwords attempted</strong>:</p>
<ol>
<li>a (651)</li>
<li>123456 (495)</li>
<li>password (331)</li>
<li>12345 (302)</li>
<li>123 (224)</li>
<li>1234 (169)</li>
<li>1 (139)</li>
<li>12 (123)</li>
<li>root (105)</li>
<li>test (46)</li>
</ol>
<blockquote><p>Select count(password), password<br />
from auth<br />
where password &lt;&gt; &#8221;<br />
group by password<br />
order by count(password) desc<br />
limit 10;</p></blockquote>
<p><strong>Top 10 most common username attempted:</strong></p>
<ol>
<li>root (8510)</li>
<li>admin (144)</li>
<li>test (127)</li>
<li>oracle (96)</li>
<li>nagios (49)</li>
<li>mysql (47)</li>
<li>guest (43)</li>
<li>info (42)</li>
<li>user (41)</li>
<li>postgres (40)</li>
</ol>
<blockquote><p>select count(username), username<br />
from auth<br />
where username &lt;&gt;&#8221;<br />
group by username<br />
order by count(username)<br />
desc limit 10;</p></blockquote>
<p><strong>Success ratio:</strong></p>
<p>17065 attempts, 48 successful connections. (n.b. results skewed as account has purposefully poor choice of password)</p>
<blockquote><p>select count(success),success<br />
from auth<br />
group by success<br />
order by success;</p></blockquote>
<p><strong>Number of connections per unique IP:</strong></p>
<ol>
<li>202.99.89.69 (5212)</li>
<li>200.61.189.164 (1752)</li>
<li>78.37.83.203 (1043)</li>
<li>218.108.235.86 (848)</li>
<li>195.14.50.8 (628)</li>
<li>218.80.200.138 (271)</li>
<li>58.222.200.226 (238)</li>
<li>58.18.172.206 (158)</li>
<li>119.188.7.174 (128)</li>
<li>119.42.148.10 (113)</li>
</ol>
<blockquote><p>select count(ip), ip<br />
from sessions<br />
group by ip<br />
order by count(ip) desc;</p></blockquote>
<p>Number of attempts were relatively low IP address, in total 194 different source locations have attempted to access the server, with each typically only making 4 attemtps.</p>
<p><strong>Packages:</strong></p>
<p>Once exploited a number of attackers have proceeded to download various rootkits and utilities (thanks for these). Nothing too interesting yet, standard rootkit functionality, IRC clients and SSH scanners for further compromise. I still need to analyse some of these in more detail, so watch your RSS feeds for more to come.</p>
<p>One malicious user also attempted to create new user accounts on the server, if you have an account called &#8216;iony&#8217; with a password of &#8216;ionyszaa&#8217; then you may want to remove it&#8230;</p>
<p>If you&#8217;ve got a spare machine and public IP address, give Kippo a shot, <a title="[InfoSanity] - Starting with Kippo" href="http://blog.infosanity.co.uk/2010/07/06/starting-with-kippo/">setup is realitively easy</a>; I&#8217;ve seen some interesting malicious user sessions and it turns out that some of those &#8217;31337 haxxors&#8217; that everyone fears <em>really</em> can&#8217;t type.</p>
<p>&#8211;Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/765/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/765/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/765/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/765/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/765/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/765/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/765/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/765/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/765/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/765/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=765&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/07/21/initial-kippo-honeypot-stats/feed/</wfw:commentRss>
		<slash:comments>0</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>Starting with Kippo (SSH Honeypot)</title>
		<link>http://blog.infosanity.co.uk/2010/07/06/starting-with-kippo/</link>
		<comments>http://blog.infosanity.co.uk/2010/07/06/starting-with-kippo/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 20:48:15 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[InfoSec]]></category>
		<category><![CDATA[Kippo]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=754</guid>
		<description><![CDATA[As I started life as a Linux server admin I&#8217;m only too aware that many attackers see remote access functionality as a way into a system, and as SSH is the de facto standard for Linux access it is a prime target for attack. The stats collected by DShield give an indication to the extent [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=754&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>As I started life as a Linux server admin I&#8217;m only too aware that many attackers see remote access functionality as a way into a system, and as SSH is the de facto standard for Linux access it is a prime target for attack. The stats collected by DShield give an indication to the <a title="DShield SSH [tcp22]" href="http://www.dshield.org/port.html?port=22">extent of the problem</a>.</p>
<p>As a result I&#8217;ve had the <a title="Kippo Home Page" href="http://code.google.com/p/kippo/">Kippo</a> honeypot is something that I&#8217;ve had on my radar for a while. For a number of reasons I hadn&#8217;t found time to implement the system in a live environment, but a recent post on the <a title="Diatel: Kippo" href="http://diatel.wordpress.com/2010/06/24/kippo-ssh-honeypot/">Diatel blog </a>suggested that installation may be quick and pain free.</p>
<p>Kippo is described by it&#8217;s author (Desaster) as:</p>
<blockquote><p>Kippo is a medium interaction SSH honeypot designed to log brute force attacks and, most importantly, the entire shell interaction performed by the attacker.</p>
<p>Kippo is inspired, but not based on <a rel="nofollow" href="http://kojoney.sourceforge.net/">Kojoney</a>.</p></blockquote>
<p>Installation for me was painless, running a Debian system I downloaded the latest archive to disk, unpacked and installed the pyton-twisted package (I hadn&#8217;t read Mig5&#8242;s comment until after install so now need to go back and live on the bleeding edge&#8230;). I did hit a couple of problems when trying to start up the system, which is as simple as invoking <em>./start.sh</em></p>
<ol>
<li>First, I was logged in as root when I first tried to start the system (not clever I know, was testing&#8230;). Kippo encounters an <a title="Kippo Error: Running as root" href="http://code.google.com/p/kippo/issues/detail?id=4">error </a>when started by a root user. As Desaster rightly states, it&#8217;s not wise to run Kippo as a root user anyway and running as a regular user resolves the issue.</li>
<li>Second, when running as a normal user I got a &#8216;meaningful&#8217; error of <em>&#8220;Failed to load application: &#8216;NoneType&#8217; object has no attribute &#8216;get&#8217;.&#8221;</em> A quick piece of Google-fu lead me to <a title="Kippo error: no kippo.cfg" href="http://code.google.com/p/kippo/issues/detail?id=2">this</a> ticket, which explained Kippo was missing the file kippo.cfg, as explained copying kippo.cfg.dist to kippo.cfg correct the issue and produced a fully functional system.</li>
</ol>
<p>There are a couple of key files that can be edited to change the feel of the system that is provided to malicious users:</p>
<ul>
<li>kippo.cfg contains runtime information including log location, fake hostname etc.</li>
<li>kippo.tac contains an array &#8216;users&#8217;, which lists the username/password combination which the emulated SSH login will accept as &#8216;valid&#8217;.</li>
<li>The honeyfs/ directory goes so far as to allow you to create a &#8216;real&#8217; filesystem for the malicious user to interact with, potentially copying a live server&#8217;s filesystem to the directory to help camouflage the emulated system (after sensitive data is removed/sanitised obviously&#8230;.). I haven&#8217;t tried this myself yet but is definitely on my to-do list.</li>
</ul>
<p>From initial testing I&#8217;ve got high hopes for Kippo becoming a mainstay in my honeypot toolbox; the interaction session provided to a malicious user is reasonably convincing at first glance, and I particularly like the trick to keep users logged in after they think they&#8217;ve sent an &#8216;exit&#8217; command to close the session, it could get some interesting results.</p>
<p>For post compromise analysis Kippo also provides some an interesting utility, utils/playlog.py. This allows you to replay a malicious terminal session in real-time, typos and all, to truely provide a feel for the malicious users interaction with the session. To help whet your apetite whilst I wait for someone to target my kippo installation, Kippo has a few demo&#8217;s of the playlog capabilities from compromise attempts. <a title="Kippo playlog.py 1" href="http://kippo.rpg.fi/playlog/?l=20091122-075013-5055.log">Get</a> <a title="Kippo playlog demo 2" href="http://kippo.rpg.fi/playlog/?l=20091123-003854-3359.log">your</a> <a title="Kippo playlog demo 3" href="http://kippo.rpg.fi/playlog/?l=20091123-012814-626.log">demos</a> <a title="Kippo playlog.py Demo 4" href="http://kippo.rpg.fi/playlog/?l=20100316-233121-1847.log">here</a>.</p>
<p>&#8211;Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/754/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=754&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/07/06/starting-with-kippo/feed/</wfw:commentRss>
		<slash:comments>6</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>InfoSec Triads: Cost/time/functionality</title>
		<link>http://blog.infosanity.co.uk/2010/06/30/infosec-triads-costtimefunctionality/</link>
		<comments>http://blog.infosanity.co.uk/2010/06/30/infosec-triads-costtimefunctionality/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 19:40:54 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[InfoSec]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=678</guid>
		<description><![CDATA[Following InfoSanity's recent (and unexplainable) focus on triads in previous posts is the relationship between cost, time and functionality. In an ideal world all projects would have enough resources and realistic timescales to develop all required functionality to the highest level of quality. However in the real world this is rarely achievable when working with external constraints. Therefore in any project compromises are inevitable.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=678&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_687" class="wp-caption alignright" style="width: 310px"><a href="http://infosanity.files.wordpress.com/2010/06/triad_costfunctime.png"><img class="size-medium wp-image-687" title="Triad_CostFuncTime" src="http://infosanity.files.wordpress.com/2010/06/triad_costfunctime.png?w=300&#038;h=249" alt="Triad: Cost, Functionality, Time" width="300" height="249" /></a><p class="wp-caption-text">Triad: Cost, Functionality, Time</p></div>
<p>Following InfoSanity&#8217;s recent (and unexplainable) focus on triads in <a title="[InfoSanity] - CIA Triad" href="http://blog.infosanity.co.uk/2010/06/07/infosec-triads-c-i-a/">previous</a> <a title="[InfoSanity] - Functionality / Ease-of-use / Security" href="http://blog.infosanity.co.uk/2010/06/12/infosec-triads-securityfunctionalityease-of-use/">posts</a> is the relationship between cost, time and functionality. For the purpose of this discussion assume a scenario for introducing a new product/service or adding new capabilities to an existing service.</p>
<p>In an ideal world all projects would have enough resources and realistic timescales to develop all required functionality to the highest level of quality. However in the real world this is rarely achievable when working with external constraints. Therefore in any project compromises are inevitable.</p>
<p>The theory stands that with a given set of resources, only a finite amount of functionality can be developed. Therefore it stands to reason that additional functionality can be added to a project by increasing the length of the project or adding additional resources (although the <a title="Mythical Man Month" href="http://www.amazon.co.uk/Mythical-Month-Essays-Software-Engineering/dp/0201835959">Mythical Man Month</a> and <a title="Dilbert - additional resource" href="http://dilbert.com/fast/2010-04-29/">Dilbert</a> may refute this simplistic theory).</p>
<p>Within ever tightening economic conditions and competition, in order to reduce costs and/or development and implementation time functionality is stripped from the service. As security is often seen by wider business as a nicety rather than a necessity, security features are commonly the first to be dropped, or the security of features still implemented is reduced.</p>
<p>Despite what infosec professionals (myself included) may like to think, reducing security to meet business or market drivers isn&#8217;t necessarily a bad thing. Providing that the benefit gained is proportionate to the additional risks introduced, and those risks are acceptable to the business and/or client. However, in the increasing world of regulatory compliance this can provide a false economy to a business as it is almost universally more costly in implement additional security on-top of an existing solution than it is to bake the required security into the design and development phases.</p>
<p>And if anyone tells you that a less secure solution is temporary and will be rectified at a later date&#8230; Don&#8217;t believe them <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8211; Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/678/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/678/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/678/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/678/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/678/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/678/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/678/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/678/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/678/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/678/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=678&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/06/30/infosec-triads-costtimefunctionality/feed/</wfw:commentRss>
		<slash:comments>5</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://infosanity.files.wordpress.com/2010/06/triad_costfunctime.png?w=300" medium="image">
			<media:title type="html">Triad_CostFuncTime</media:title>
		</media:content>
	</item>
		<item>
		<title>mimic-nepstats_v1-1.py</title>
		<link>http://blog.infosanity.co.uk/2010/06/21/mimic-nepstats-v1-1-py/</link>
		<comments>http://blog.infosanity.co.uk/2010/06/21/mimic-nepstats-v1-1-py/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 18:08:14 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Dionaea]]></category>
		<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tool-Kit]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=734</guid>
		<description><![CDATA[Around a month ago Miguel Jacq got in contact to let me know about a couple of errors he encountered when running InfoSanity's mimic-nepstats.py with a small data set. Basically if your log file did not include any submissions, or was for a period shorter than 24hours the script would crash out, not the biggest problem as most will be working with larger data sets but annoying non the less.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=734&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a bit lax in writing this post; around a month ago <a title="www.mig5.net" href="http://www.mig5.net/content/about">Miguel Jacq</a> got in contact to let me know about a couple of errors he encountered when running InfoSanity&#8217;s <a title="[InfoSanity] - Mimic-nepstats" href="http://blog.infosanity.co.uk/2009/11/10/mimic-nepstats-py/">mimic-nepstats.py</a> with a small data set. Basically if your log file did not include any submissions, or was for a period shorter than 24hours the script would crash out, not the biggest problem as most will be working with larger data sets but annoying non the less.</p>
<p>Not only did Miguel let me know about the issues, he was also gracious enough to provide a fix, the updated script can be found <a title="[InfoSanity] - mimic-nepstats.py script" href="http://www.infosanity.co.uk/resources/scripts/dionaea/mimic-nepstats.py">here</a>. An example of the script in action is below:</p>
<blockquote><p>cat /opt/dionaea/var/log/dionaea.log| python mimic-nepstats_v1-1.py</p>
<p>Statistics engine written by Andrew Waite &#8211; www.infosanity.co.uk</p>
<p>Number of submissions: 84<br />
Number of unique samples: 39<br />
Number of unique source IPs: 65</p>
<p>First sample seen: 2010-06-08 08:25:39.569003<br />
Last sample seen: 2010-06-21 15:24:37.105594<br />
System Uptime: 13 days, 6:58:57.536591<br />
Average daily submissions: 6</p>
<p>Most recent submissions:<br />
2010-06-21 15:24:37.105594, 113.37.56.28, emulate://, 56b8047f0f50238b62fa386ef109174e<br />
2010-06-21 15:18:08.347568, 195.205.5.71, tftp://195.205.5.71/ssms.exe, fd28c5e1c38caa35bf5e1987e6167f4c<br />
2010-06-21 15:17:08.391267, 195.117.74.62, tftp://195.117.74.62/ssms.exe, bb39f29fad85db12d9cf7195da0e1bfe<br />
2010-06-21 06:29:03.565988, 195.160.222.101, tftp://195.160.222.101/ssms.exe, fd28c5e1c38caa35bf5e1987e6167f4c<br />
2010-06-20 23:34:15.967299, 195.242.145.40, http://208.53.183.164/trying.exe, 094e2eae3644691711771699f4947536</p></blockquote>
<p>&#8211; Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/734/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/734/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/734/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/734/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/734/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/734/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/734/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/734/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/734/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/734/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=734&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/06/21/mimic-nepstats-v1-1-py/feed/</wfw:commentRss>
		<slash:comments>0</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>OWASP at Northumbria Uni &#8211; June 2010</title>
		<link>http://blog.infosanity.co.uk/2010/06/17/owasp-at-northumbria-uni-june-2010/</link>
		<comments>http://blog.infosanity.co.uk/2010/06/17/owasp-at-northumbria-uni-june-2010/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 15:33:14 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[InfoSec]]></category>
		<category><![CDATA[Web App Security]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=727</guid>
		<description><![CDATA[June 16th marked the first time the Open Web Application Security Project's (OWASP) Leeds/Northern Chapter ran an event at Northumbria University, meaning it was the first time I was able to attend. Overall I really enjoyed the event, I'm hoping that the Leeds/Northern OWASP chapter decide to run more events within Newcastle, but if not it's convinced me that the events are worth the time and cost to travel down to the other locations. Always good to discuss infosec topics face to face with some really knowledgeable people.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=727&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>June 16th marked the first time the O<a title="OWASP" href="http://www.owasp.org/index.php/Main_Page">pen Web Application Security Project&#8217;s (OWASP)</a> Leeds/Northern Chapter ran an event at Northumbria University, meaning it was the first time I was able to attend. Jason Alexander started off events with a brief overview of OWASP and the projects the group is involved with.</p>
<p><strong>ENISA Common Assurance Maturity Model (CAMM) Project</strong></p>
<p>Colin Watson did a good job of explain the work he and others have been working on. The project have released two documents which Colid discussed, the <a title="ENISA: Cloud Computing Risk Assessment" href="http://www.enisa.europa.eu/act/rm/files/deliverables/cloud-computing-risk-assessment/?searchterm=cloud%20computing%20risk%20assessment">Cloud Computing Risk Assessment</a>[.pdf] and the <a title="ENISA: Cloud Computing Information Assurance Framework" href="http://www.enisa.europa.eu/act/rm/files/deliverables/cloud-computing-information-assurance-framework/?searchterm=cloud%20computing%20information%20assurance%20framework">Cloud Computing Information Assurance Framework</a>[.pdf]. Don&#8217;t be put off by the focus on &#8216;Cloud&#8217;, whilst this was the focus and reasoning behind the work at the start of the project, the information and processes Colin describes could easily be related to any IT environment and at first glance seem to be well worth a read.</p>
<p><strong>Open Source Security Myths</strong></p>
<p>Next up David Anumudu gave a somewhat brave talk considering the audience discussing and (potentially) debunking the assumption that open source software is more secure than it&#8217;s closed source competitors. David picked on the now famouse phrase from <a title="Book: Cathedral and the Bazaar" href="http://www.amazon.co.uk/Cathedral-Bazaar-Eric-S-Raymond/dp/0596001088/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1276786367&amp;sr=8-1">The Cathedral and the Bazaar</a>, &#8216; Given enough eyeballs, all bugs are shallow&#8217;. David argues that while this is true and reasonable, it only works in practice if all the eyeballs have both the incentive and the skills to effectively audit the code for bugs, something is rarely discussed. A sited example of insecurities in prominent open source software was that of the <a title="MD6" href="http://groups.csail.mit.edu/cis/md6/">MD6 hashing algorithm</a>, intruced at Crypto 2008, where despite being designed and developed by a very clued up team still had a critical flaw in it&#8217;s implementation.</p>
<p>My ultimate take away from this talk was that software&#8217;s licensing model has no direct impact on the security and vulnerabilities of any codebase, only the development model and developers themselves have any real impact.</p>
<p><strong>SSL/TLS &#8211; Just when you thought it was safe to return</strong></p>
<p>Arron Finnon (<a title="Finux" href="http://www.finux.co.uk/">Finux</a>) gave a great presentation on vulnerabilities and weaknesses with the implementation of SSL protection. Arron argues that most problems with SSL are actually related to the implementation rather than methodology itself, and that despite the high profile of problems related to SSL most techies still don&#8217;t &#8216;get&#8217; it; and most users, regardless of user awareness training will continue to blindly click through the cert warning prompts.</p>
<p>Several of Moxie Marlinspike&#8217;s tools were discussed, mainly <a title="SSLStrip" href="http://thoughtcrime.org/software/sslstrip/">SSLStrip</a> and <a title="SSLSniff" href="http://thoughtcrime.org/software/sslsniff/">SSLSniff</a>. I was aware of both tools, but hadn&#8217;t tried them out in my own lab yet, after Arron&#8217;s discussion of the problem and capabilities this is definitely something that I intend to rectify shortly. Especially when combined with other SSL issues, including the <a title="SSL renegotiation" href="http://www.kb.cert.org/vuls/id/120541">SSL renegotiation</a> attack and the <a title="SSL Null Prefix Attack paper" href="http://www.thoughtcrime.org/papers/null-prefix-attacks.pdf">Null Prefix</a>[.pdf] attack issues with SSL can be deadly to an environment.</p>
<p>Main takeaway from this talk was that SSL isn&#8217;t as secure as some would state, and that when planning to defend against the attack vectors we need to stop thinking &#8216;what if&#8217; and start working towards &#8216;what when&#8217;.</p>
<p><strong>AppSensor &#8211; Self aware web app</strong></p>
<p>Colin Watson came back to the front to discuss the work currently being undertaken with the <a title="AppSensor" href="http://www.owasp.org/index.php/OWASP_Summer_of_Code_2008_Applications#P017_-_OWASP_AppSensor_-_Detect_and_Respond_to_Attacks_from_Within_the_Application">AppSensor project</a>. The idea behind the project is to create web applications that are &#8216;self aware&#8217; to a lesser extent enabling any user making &#8216;suspicious&#8217; web requests to be limited or disconnected to limit the damage that they can cause to the target system, and works on the premise that the application can identify and react to malicious users in fewer connection requests than the user needs to find and exploit a vulnerability.</p>
<p>The identification comes from watching for a collection of red flags and tripwires built throughout the system, from simply looking for X number of failed log-in attempts to real-time trend analysis looking for an unusual increase in particular functionality requests. A lot of the potential indicators and trapped reminded me a lot of an old <a title="Honeytokens" href="https://blogs.sans.org/appsecstreetfighter/2009/06/04/my-top-6-honeytokens/">post </a>on the Application Security Street Fighter blog, convering using honeytokens to identify malicious activity, which I&#8217;ve covered <a title="[InfoSanity] Honeytraps" href="http://blog.infosanity.co.uk/2009/06/13/simple-web-honeytraps/">previously</a>.</p>
<p><strong>Summary</strong></p>
<p>Overall I really enjoyed the event, I&#8217;m hoping that the Leeds/Northern OWASP chapter decide to run more events within Newcastle, but if not it&#8217;s convinced me that the events are worth the time and cost to travel down to the other locations. Always good to discuss infosec topics face to face with some really knowledgeable people.</p>
<p>&#8211;Andrew Waite</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/727/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=727&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/06/17/owasp-at-northumbria-uni-june-2010/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>InfoSec Triads: Security/Functionality/Ease-of-use</title>
		<link>http://blog.infosanity.co.uk/2010/06/12/infosec-triads-securityfunctionalityease-of-use/</link>
		<comments>http://blog.infosanity.co.uk/2010/06/12/infosec-triads-securityfunctionalityease-of-use/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 15:06:38 +0000</pubDate>
		<dc:creator>Andrew Waite</dc:creator>
				<category><![CDATA[InfoSec]]></category>

		<guid isPermaLink="false">http://blog.infosanity.co.uk/?p=676</guid>
		<description><![CDATA[Another triangle is used to help explain the relationship between the concepts of security, functionality and ease of use. The use of a triangle is because an increase or decrease in any one of the factors will have an impact on the presence of the other two.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=676&subd=infosanity&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_688" class="wp-caption alignright" style="width: 310px"><a href="http://infosanity.files.wordpress.com/2010/06/triad_secfuncease.png"><img class="size-medium wp-image-688" title="Triad_SecFuncEase" src="http://infosanity.files.wordpress.com/2010/06/triad_secfuncease.png?w=300&#038;h=247" alt="Triad: Security, Functionality, Ease of Use" width="300" height="247" /></a><p class="wp-caption-text">Triad: Security, Functionality, Ease of Use</p></div>
<p>Following from an introduction of the <a title="[Blog] InfoSec Triads: C.I.A." href="http://blog.infosanity.co.uk/2010/06/07/infosec-triads-c-i-a/">C.I.A. Triangle</a> another triangle is used to help explain the relationship between the concepts of security, functionality and ease of use. The use of a triangle is because an increase or decrease in any one of the factors will have an impact on the presence of the other two.</p>
<p>As an example, increasing the amount of functionality in an application will also increase the surface area that a malicious user can attack when attempting to find an exploitable weakness.</p>
<p>The trade-off between security and ease of use is commonly encountered in the real world, and often causes friction between users and those responsible for maintaining security. Microsoft had long been targetted by the security community for allowing everyday users to operate the system with administrative or system level permissions, which resulted in any exploit targeting a userland application was immediately given access with full rights. When Microsoft tried to limit this functionality by forcing users to specifically request elevated privilages via User Access Control (UAC) there were high number of complaints from users who weren&#8217;t happy with the extra actions required to complete tasks. As a result many instructions and guides were created to teach users how to disable the UAC functionality; increasing the ease with use and decreasing the steps needed to perform some tasks, but at the expense of disabling an improved security system.</p>
<p>A recent blog post discussing the security of windows operating system states, quite colorfully that:</p>
<blockquote><p><a title="MisterReiner: Windows design flaws" href="http://misterreiner.wordpress.com/2010/06/11/windows-design-flaws/">Windows is an open cesspool to anyone developing applications. Developers can store information anywhere in the registry and store executable components anywhere in the file system – this includes overwriting existing registry entries and files. They can also write “hooks” to intercept, monitor and replace operating system calls to do fancy things. While all of this is great from a functionality standpoint, it’s also the main reason why Windows can never be secured.</a></p></blockquote>
<p>Leaving the bias and hyperbole of the above, rightly or wrongly developers are able to write to the filesystem, registry and hook API calls in order to provide the functionality expected and requested by end users. From this standpoint no functional operating system will never be 100% secure, what every system and ultimately user must settle on a compromise between acceptable functionality and usability, and acceptable security.</p>
<p>&#8211;Andrew</p>
<p>&lt;Update&gt;:</p>
<p>I&#8217;d been looking for this Dilbert strip when writing the post, just came across it now, enoy:</p>
<div id="attachment_763" class="wp-caption aligncenter" style="width: 610px"><a href="http://infosanity.files.wordpress.com/2010/06/dilbert-securitycia.gif"><img class="size-full wp-image-763" title="dilbert-SecurityCIA" src="http://infosanity.files.wordpress.com/2010/06/dilbert-securitycia.gif?w=600&#038;h=208" alt="" width="600" height="208" /></a><p class="wp-caption-text">Dilbert - Security trade-off</p></div>
<p>&lt;/update&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/infosanity.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/infosanity.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/infosanity.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/infosanity.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/infosanity.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/infosanity.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/infosanity.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/infosanity.wordpress.com/676/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/infosanity.wordpress.com/676/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/infosanity.wordpress.com/676/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.infosanity.co.uk&blog=8614004&post=676&subd=infosanity&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.infosanity.co.uk/2010/06/12/infosec-triads-securityfunctionalityease-of-use/feed/</wfw:commentRss>
		<slash:comments>5</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://infosanity.files.wordpress.com/2010/06/triad_secfuncease.png?w=300" medium="image">
			<media:title type="html">Triad_SecFuncEase</media:title>
		</media:content>

		<media:content url="http://infosanity.files.wordpress.com/2010/06/dilbert-securitycia.gif" medium="image">
			<media:title type="html">dilbert-SecurityCIA</media:title>
		</media:content>
	</item>
	</channel>
</rss>