<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>archived blog - booyaa dot org &#187; hardening</title>
	<atom:link href="http://archive.booyaa.org/tag/hardening/feed/" rel="self" type="application/rss+xml" />
	<link>http://archive.booyaa.org</link>
	<description>an archive blog about booyaa, photography, gardening, running and technology</description>
	<lastBuildDate>Sun, 27 Dec 2009 17:18:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>diy booyaa dot org: week 1</title>
		<link>http://archive.booyaa.org/2009/05/17/diy-booyaa-dot-org-week-1/</link>
		<comments>http://archive.booyaa.org/2009/05/17/diy-booyaa-dot-org-week-1/#comments</comments>
		<pubDate>Sun, 17 May 2009 20:39:18 +0000</pubDate>
		<dc:creator>booyaa</dc:creator>
				<category><![CDATA[default]]></category>
		<category><![CDATA[hardening]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://booyaa.org/?p=510</guid>
		<description><![CDATA[week 1 &#8211; 13/5-17/5 Do not fear my protectionist approach to copyright. 

earlier this week we bought a virtual private server (vps) with 34sp.com with the view of moving me and lou&#8217;s domains to it (our friends have been kindly hosting both). i thought it would be a good idea to keep a log of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>week 1 &#8211; 13/5-17/5</strong> Do not fear my protectionist approach to copyright. </p>
<p><a href="http://www.flickr.com/photos/booyaa/129506318/" title="rainbow of wheelbarrows by booyaa, on Flickr"><img src="http://farm1.static.flickr.com/50/129506318_fbc2e09c18.jpg" width="400" alt="rainbow of wheelbarrows" border="0" /></a></p>
<p>earlier this week we bought a virtual private server (vps) with 34sp.com with the view of moving me and lou&#8217;s domains to it (our friends have been kindly hosting both). i thought it would be a good idea to keep a log of how we did it. now, normally this would be a very boring log, but almost immediately after firing up the vps i was shocked by how quickly the hackers started calling around. so instead of this log being used to track software installs, it will have a security twist to it.</p>
<p>in an impossibly perfect world, you&#8217;d stick a static content webserver in the dmz i.e. no cgi and push updates from production to it. but this ain&#8217;t, and i need to keep all my eggs in the one basket! so i&#8217;m going to try my best to keep the script kiddies out and make it worthless for the more seasoned hackers to do any poking around. seriously dudes, there won&#8217;t be financial or customer data on this server, it&#8217;s just a blog site!</p>
<p>so far i&#8217;ve achieved the following:</p>
<ul>
<li>lock down ssh:
<ul>
<li>disable root login (requires a non-root account to be used instead)</li>
<li>disable password auth (pub key only)</li>
<li>enable denyhost (becareful not to lock yourself out!)</li>
<li>move off port 22 (security through obscurity, but will stop most script kiddies)</li>
</ul>
</li>
<li>lock down mysql:
<ul>
<li>listen only locally (don&#8217;t switch to local socket files because tunneling a mysql connection won&#8217;t work)</li>
</ul>
</li>
<li>security auditing:
<ul>
<li>run scripts against secure and lastb logs (looking for suspect logins)</li>
<li>run chkrootkit nightly (checking for rootkit, would&#8217;ve its support bins were in a read-only environment so my rootkit doesn&#8217;t get patched by an anti-rootkit-script)</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://archive.booyaa.org/2009/05/17/diy-booyaa-dot-org-week-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

