<?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>Andrew Healey's Blog &#187; security</title>
	<atom:link href="http://halfloaded.com/blog/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://halfloaded.com</link>
	<description>Smash forehead on keyboard to continue...</description>
	<lastBuildDate>Tue, 20 Jul 2010 18:11:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Part 3: Blocking Bad Hosts &#8211; Blocking Them, Easily (CLI Edition)</title>
		<link>http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/</link>
		<comments>http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 19:13:57 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://halfloaded.com/?p=349</guid>
		<description><![CDATA[In part two, I showed you how to use the Local Security Policy GUI to block the bad guys. There were a lot of pretty pictures for those that prefer the GUI. In this version, I’ll show you how to accomplish the same thing from the command line. This is my preferred method.  It is [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/">part two</a>, I showed you how to use the Local Security Policy GUI to block the bad guys.  There were a lot of pretty pictures for those tha<a href="http://halfloaded.com/wp-content/uploads/2009/12/command-line-big.png"><img class="alignright size-full wp-image-388" title="command-line-big" src="http://halfloaded.com/wp-content/uploads/2009/12/command-line-big.png" alt="" width="130" height="101" /></a>t prefer the GUI.  In this version, I’ll show you how to accomplish the same thing from the command line.  This is my preferred method.  It is much simpler to automate and explain.</p>
<p>By following the steps below, you will be able to create a new policy and manage the filter lists and actions.  The goal here will be to put all these pieces together into a nice tidy package that is fully automated.<span id="more-349"></span></p>
<p>The policy you create in this tutorial will not be applied to the system until you &#8220;Assign&#8221; the policy in Step 6.  As long as the policy is not assigned, you can safely edit, add, remove, etc. rules and sets to the policy without affecting the system.  <span style="color: #ff0000;"><em>Note: double and triple check your sets to ensure you do not block legitimate traffic before assigning the policy.</em></span></p>
<p>To begin this tutorial, open the command prompt. <span style="text-decoration: underline;"> If you don’t know how, you probably shouldn’t be doing this</span>.  All commands meant to be typed are in <em>italics</em>.</p>
<h3>Step 1: Create IP Security Policy</h3>
<p><em>netsh ipsec static add policy description=&#8221;This policy blocks all traffic to hosts/nets associated with it.&#8221;</em></p>
<h3>Step 2: Create an IP Filter List</h3>
<p><em>netsh ipsec static add filterlist description=&#8221;This filter list contains hosts and networks known to host malware, criminal activity, etc.&#8221;</em></p>
<h3>Step 3: Create IP Filters and Associate them with the Filter List (Repeat this step until all hosts you wish to block have been entered)</h3>
<p>Single IP (<strong>10.254.254.254/32</strong>)</p>
<p style="padding-left: 30px;"><em>netsh ipsec static add filter filterlist=&#8221;Bad Hosts&#8221; <strong>srcaddr=10.254.254.254</strong> dstaddr=any description=&#8221;John Smith. 12/31/2015. Brute force logon attempts to: SERVER01&#8243;</em></p>
<p>Subnet (<strong>10.254.254.0/24</strong>)</p>
<p style="padding-left: 30px;"><em>netsh ipsec static add filter filterlist=&#8221;Bad Hosts&#8221; <strong>srcaddr=10.254.254.0</strong> dstaddr=any <strong>srcmask=24</strong> description=&#8221;John Smith. 12/31/2015. Brute force logon attempts to: SERVER01&#8243;</em></p>
<p>Network Range (<strong>10.254.254.2-10</strong>)</p>
<p style="padding-left: 30px;"><em>netsh ipsec static add filter filterlist=&#8221;Bad Hosts&#8221; <strong>srcaddr=10.254.254.2-10.254.254.15</strong> dstaddr=any description=&#8221;John Smith. 12/31/2015. Brute force logon attempts to: SERVER01&#8243;</em></p>
<h3>Step 4: Create a Filter Action</h3>
<p><em>netsh ipsec static add filteraction description=&#8221;This action blocks all traffic.&#8221; action=block</em></p>
<h3>Step 5: Create Policy Rule to apply Filter Action to Filter List</h3>
<p><em>netsh ipsec static add rule policy=&#8221;Blocked Traffic&#8221; filterlist=&#8221;Bad Hosts&#8221; filteraction=&#8221;Block All Traffic&#8221; activate=yes</em></p>
<h3>Step 6: Assigning (and un-assigning) the Policy</h3>
<p>This step will apply all the settings you have created up to this point.  <span style="color: #ff0000;">Double and triple check that you did not enter a valid host or network or it will be blocked.  If fact, if you have any doubts in your mind, do not do this step until another person (who knows what they are doing) looks over your work too!  Note: This is one place MS will not give you a little &#8220;are you sure you want to do this&#8221; type of warning.  As soon as you assign the policy, it is done.</span></p>
<p><strong>Assign</strong></p>
<p style="padding-left: 30px;"><em>netsh ipsec static set policy name=&#8221;Blocked Traffic&#8221; assign=yes</em></p>
<p><strong>Un-assign</strong></p>
<p style="padding-left: 30px;"><em>netsh ipsec static set policy assign=no</em></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/&amp;t=Part+3%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28CLI+Edition%29" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/&amp;title=Part+3%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28CLI+Edition%29&amp;summary=In%20part%20two%2C%20I%20showed%20you%20how%20to%20use%20the%20Local%20Security%20Policy%20GUI%20to%20block%20the%20bad%20guys.%20%20There%20were%20a%20lot%20of%20pretty%20pictures%20for%20those%20that%20prefer%20the%20GUI.%20%20In%20this%20version%2C%20I%E2%80%99ll%20show%20you%20how%20to%20accomplish%20the%20same%20thing%20from%20the%20command%20line.%20%20This%20is%20my%20preferred%20method.%C2%A0%20It%20is%20much%20simpler%20t&amp;source=Andrew Healey's Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Part+3%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28CLI+Edition%29+-+http://b2l.me/b792r&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=Part+3%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28CLI+Edition%29&amp;du=http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/&amp;cn=In%20part%20two%2C%20I%20showed%20you%20how%20to%20use%20the%20Local%20Security%20Policy%20GUI%20to%20block%20the%20bad%20guys.%20%20There%20were%20a%20lot%20of%20pretty%20pictures%20for%20those%20that%20prefer%20the%20GUI.%20%20In%20this%20version%2C%20I%E2%80%99ll%20show%20you%20how%20to%20accomplish%20the%20same%20thing%20from%20the%20command%20line.%20%20This%20is%20my%20preferred%20method.%C2%A0%20It%20is%20much%20simpler%20t" rel="nofollow" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/&amp;title=Part+3%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28CLI+Edition%29" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/&amp;submitHeadline=Part+3%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28CLI+Edition%29&amp;submitSummary=In%20part%20two%2C%20I%20showed%20you%20how%20to%20use%20the%20Local%20Security%20Policy%20GUI%20to%20block%20the%20bad%20guys.%20%20There%20were%20a%20lot%20of%20pretty%20pictures%20for%20those%20that%20prefer%20the%20GUI.%20%20In%20this%20version%2C%20I%E2%80%99ll%20show%20you%20how%20to%20accomplish%20the%20same%20thing%20from%20the%20command%20line.%20%20This%20is%20my%20preferred%20method.%C2%A0%20It%20is%20much%20simpler%20t&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Part%203%3A%20Blocking%20Bad%20Hosts%20-%20Blocking%20Them%2C%20Easily%20%28CLI%20Edition%29%22&amp;body=Link: http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A In%20part%20two%2C%20I%20showed%20you%20how%20to%20use%20the%20Local%20Security%20Policy%20GUI%20to%20block%20the%20bad%20guys.%20%20There%20were%20a%20lot%20of%20pretty%20pictures%20for%20those%20that%20prefer%20the%20GUI.%20%20In%20this%20version%2C%20I%E2%80%99ll%20show%20you%20how%20to%20accomplish%20the%20same%20thing%20from%20the%20command%20line.%20%20This%20is%20my%20preferred%20method.%C2%A0%20It%20is%20much%20simpler%20t" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://halfloaded.com/blog/part-3-blocking-bad-hosts-blocking-them-easily-cli-edition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Part 2: Blocking Bad Hosts &#8211; Blocking Them, Easily (GUI Edition)</title>
		<link>http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/</link>
		<comments>http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 09:13:58 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://halfloaded.com/?p=344</guid>
		<description><![CDATA[In part two, I want to show how you can quickly setup an ipsec policy to block the bad hosts you identified in part one. While many methods can be used to block hosts, using the Local Security Policy (secpol.msc) and ipsec is a simple method which can be fully automated. By following the steps [...]]]></description>
			<content:encoded><![CDATA[<p>In part two, I want to show how you can quickly setup an ipsec policy to block the bad hosts you identified in <a href="../blog/part-1-blocking-bad-hosts-finding-them-easily/">part one</a>. While many methods can be used to block hosts, using the Local Security Policy (secpol.msc) and ipsec is a simple method which can be fully automated.</p>
<p>By following the steps below, you will be able to create a new policy and manage the filter lists and actions. In part three, I will explain how this can be done from the command line for all you CLI warriors. This tutorial should be accurate for: Windows XP, Vista, 7 and Server 2003, 2008, 2008R2 (possibly even 2000)<span id="more-344"></span></p>
<p>The policy you create in this tutorial will not be applied to the system until you &#8220;Assign&#8221; the policy in Step 6. As long as the policy is not assigned, you can safely edit, add, remove, etc. rules and sets to the policy without affecting the system. <span style="color: #ff0000;"><em>Note: double and triple check your sets to ensure you do not block legitimate traffic before assigning the policy.</em></span></p>
<p>To begin this tutorial, open the Local Security Policy by:</p>
<ul>
<li>Control Panel → Administrative Tools → Local Security Policy</li>
<li>Start → Run → secpol.msc</li>
</ul>
<h3>Step 1: Create IP Security Policy</h3>
<ol>
<li>Right click &#8220;IP Security Policies on Local Computer&#8221;</li>
<li>Select &#8220;Create IP Security Policy&#8230;&#8221;</li>
<li>IP Security Policy Wizard
<ul>
<li>Welcome Screen → Next</li>
<li>IP Security Policy Name → Give a descriptive name and description → Next</li>
<li>Requests for Secure Communication → Do Not Check &#8220;Activate the default response rule&#8221; → Next</li>
<li>Wizard Completion → Do Not Check &#8220;Edit Properties&#8221; → Finish</li>
</ul>
</li>
</ol>
<p><a href="http://halfloaded.com/wp-content/uploads/2009/12/lsp-1.png"><img class="size-thumbnail wp-image-358 alignnone" title="lsp-1" src="http://halfloaded.com/wp-content/uploads/2009/12/lsp-1-150x150.png" alt="" width="150" height="150" /></a><a href="http://halfloaded.com/wp-content/uploads/2009/12/lsp-3.png"> <img class="alignnone size-thumbnail wp-image-360" title="lsp-3" src="http://halfloaded.com/wp-content/uploads/2009/12/lsp-3-150x150.png" alt="" width="150" height="150" /></a><a href="http://halfloaded.com/wp-content/uploads/2009/12/lsp-4.png"> <img class="alignnone size-thumbnail wp-image-361" title="lsp-4" src="http://halfloaded.com/wp-content/uploads/2009/12/lsp-4-150x150.png" alt="" width="150" height="150" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/lsp-5.png"><img class="alignnone size-thumbnail wp-image-362" title="lsp-5" src="http://halfloaded.com/wp-content/uploads/2009/12/lsp-5-150x150.png" alt="" width="150" height="150" /></a></p>
<h3>Step 2: Create an IP Filter List</h3>
<ol>
<li>Double click your new policy (or, right click and select properties)</li>
<li>On the Rules Tab → Uncheck &#8220;Use Add Wizard&#8221; → Click &#8220;Add&#8230;&#8221;</li>
<li>Create an IP Filter List
<ul>
<li>On the &#8220;IP Filter List&#8221; Tab → Click &#8220;Add&#8230;&#8221;</li>
<li>In the &#8220;IP Filter List&#8221; Window → Enter a descriptive name and description → Uncheck &#8220;Use Add Wizard&#8221; → Click &#8220;Add&#8230;&#8221;</li>
</ul>
</li>
</ol>
<p><a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-1.png"><img class="alignnone size-thumbnail wp-image-363" title="rules-1" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-1-150x150.png" alt="" width="150" height="150" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-2.png"><img class="alignnone size-thumbnail wp-image-364" title="rules-2" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-2-150x150.png" alt="" width="150" height="150" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-3.png"><img class="alignnone size-thumbnail wp-image-365" title="rules-3" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-3-150x150.png" alt="" width="150" height="150" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-4.png"><img class="alignnone size-thumbnail wp-image-366" title="rules-4" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-4-150x150.png" alt="" width="150" height="150" /></a></p>
<h3>Step 3: Create IP Filters and Associate them with the Filter List (Repeat this step until all hosts you wish to block have been entered)</h3>
<ol>
<li>Address Tab
<ul>
<li>Change Source Address to → &#8220;A specific IP Address or Subnet&#8221;</li>
<li>Enter the IP Address and/or subnet in the text box (Use <a href="http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">CIDR syntax</a> for defining subnets (e.g. 10.10.10.0/24)</li>
<li>Check &#8220;Mirrored&#8221;</li>
</ul>
</li>
<li>Protocol Tab → Ensure protocol type is set to &#8220;Any&#8221;</li>
<li>Description Tab → Enter a description. It is typically useful to identify the creator of the rule, why it was added and a date/time when the rule was created.</li>
<li>Click &#8220;OK&#8221;</li>
<li>Repeat step 3 until all the hosts/networks you wish to block are entered. Once completed, press &#8220;OK&#8221;.</li>
</ol>
<p><a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-51.png"><img class="alignnone size-thumbnail wp-image-379" title="rules-5" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-51-150x150.png" alt="" width="150" height="150" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-6.png"><img class="alignnone size-thumbnail wp-image-368" title="rules-6" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-6-150x150.png" alt="" width="150" height="150" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-7.png"><img class="alignnone size-thumbnail wp-image-369" title="rules-7" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-7-150x150.png" alt="" width="150" height="150" /></a></p>
<h3>Step 4: Create a Filter Action</h3>
<ol>
<li>On the &#8220;Filter Action&#8221; Tab → Uncheck &#8220;Use Add Wizard&#8221; → Click &#8220;Add&#8230;&#8221;</li>
<li>On the &#8220;Security Methods&#8221; Tab → Select the &#8220;Block&#8221; radio button (All other options on this tab will become greyed out)</li>
<li>On the &#8220;General&#8221; Tab → Enter a descriptive name and description → Press &#8220;OK&#8221;</li>
</ol>
<p><a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-8.png"><img class="alignnone size-thumbnail wp-image-370" title="rules-8" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-8-150x150.png" alt="" width="150" height="150" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-9.png"><img class="alignnone size-thumbnail wp-image-371" title="rules-9" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-9-150x150.png" alt="" width="150" height="150" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-10.png"><img class="alignnone size-thumbnail wp-image-372" title="rules-10" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-10-150x150.png" alt="" width="150" height="150" /></a></p>
<h3>Step 5: Create Policy Rule to apply Filter Action to Filter List</h3>
<ol>
<li>On the &#8220;Filter Action&#8221; Tab, ensure the new filter action you created is selected.</li>
<li>On the &#8220;IP Filter List&#8221; Tab, ensure the new filter list you created is selected.</li>
<li>Press &#8220;OK&#8221;</li>
<li>On the new policy properties window, ensure the new list and action are enabled.</li>
<li>Press &#8220;OK&#8221;</li>
</ol>
<p><a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-11.png"><img class="alignnone size-thumbnail wp-image-373" title="rules-11" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-11-150x17.png" alt="" width="150" height="17" /></a><a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-12.png"> <img class="alignnone size-thumbnail wp-image-374" title="rules-12" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-12-150x15.png" alt="" width="150" height="15" /></a> <a href="http://halfloaded.com/wp-content/uploads/2009/12/rules-13.png"><img class="alignnone size-thumbnail wp-image-375" title="rules-13" src="http://halfloaded.com/wp-content/uploads/2009/12/rules-13-150x88.png" alt="" width="150" height="88" /></a></p>
<h3>Step 6: Assigning (and un-assigning) the Policy</h3>
<p>This step will apply all the settings you have created up to this point. <span style="color: #ff0000;"><em>Double and triple check that you did not enter a valid host or network or it will be blocked. If fact, if you have any doubts in your mind, do not do this step until another person (who knows what they are doing) looks over your work too! Note: This is one place MS will not give you a little &#8220;are you sure you want to do this&#8221; type of warning. As soon as you assign the policy, it is done.</em></span></p>
<ol>
<li>Right click your new policy → Select &#8220;Assign&#8221; → Done (It really is that easy)
<ul>
<li>To un-assign, just do the same thing except select &#8220;Un-assign&#8221; instead.</li>
</ul>
</li>
</ol>
<p><a href="http://halfloaded.com/wp-content/uploads/2009/12/assign-1.png"><img class="alignnone size-thumbnail wp-image-356" title="assign-1" src="http://halfloaded.com/wp-content/uploads/2009/12/assign-1-150x150.png" alt="" width="150" height="150" /></a></p>
<p>In part 3, I will cover how to do all this directly from the command line.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/&amp;t=Part+2%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28GUI+Edition%29" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/&amp;title=Part+2%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28GUI+Edition%29&amp;summary=In%20part%20two%2C%20I%20want%20to%20show%20how%20you%20can%20quickly%20setup%20an%20ipsec%20policy%20to%20block%20the%20bad%20hosts%20you%20identified%20in%20part%20one.%20While%20many%20methods%20can%20be%20used%20to%20block%20hosts%2C%20using%20the%20Local%20Security%20Policy%20%28secpol.msc%29%20and%20ipsec%20is%20a%20simple%20method%20which%20can%20be%20fully%20automated.%0D%0A%0D%0ABy%20following%20the%20steps%20be&amp;source=Andrew Healey's Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Part+2%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28GUI+Edition%29+-+http://b2l.me/b4ge7&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=Part+2%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28GUI+Edition%29&amp;du=http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/&amp;cn=In%20part%20two%2C%20I%20want%20to%20show%20how%20you%20can%20quickly%20setup%20an%20ipsec%20policy%20to%20block%20the%20bad%20hosts%20you%20identified%20in%20part%20one.%20While%20many%20methods%20can%20be%20used%20to%20block%20hosts%2C%20using%20the%20Local%20Security%20Policy%20%28secpol.msc%29%20and%20ipsec%20is%20a%20simple%20method%20which%20can%20be%20fully%20automated.%0D%0A%0D%0ABy%20following%20the%20steps%20be" rel="nofollow" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/&amp;title=Part+2%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28GUI+Edition%29" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/&amp;submitHeadline=Part+2%3A+Blocking+Bad+Hosts+-+Blocking+Them%2C+Easily+%28GUI+Edition%29&amp;submitSummary=In%20part%20two%2C%20I%20want%20to%20show%20how%20you%20can%20quickly%20setup%20an%20ipsec%20policy%20to%20block%20the%20bad%20hosts%20you%20identified%20in%20part%20one.%20While%20many%20methods%20can%20be%20used%20to%20block%20hosts%2C%20using%20the%20Local%20Security%20Policy%20%28secpol.msc%29%20and%20ipsec%20is%20a%20simple%20method%20which%20can%20be%20fully%20automated.%0D%0A%0D%0ABy%20following%20the%20steps%20be&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Part%202%3A%20Blocking%20Bad%20Hosts%20-%20Blocking%20Them%2C%20Easily%20%28GUI%20Edition%29%22&amp;body=Link: http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A In%20part%20two%2C%20I%20want%20to%20show%20how%20you%20can%20quickly%20setup%20an%20ipsec%20policy%20to%20block%20the%20bad%20hosts%20you%20identified%20in%20part%20one.%20While%20many%20methods%20can%20be%20used%20to%20block%20hosts%2C%20using%20the%20Local%20Security%20Policy%20%28secpol.msc%29%20and%20ipsec%20is%20a%20simple%20method%20which%20can%20be%20fully%20automated.%0D%0A%0D%0ABy%20following%20the%20steps%20be" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://halfloaded.com/blog/part-2-blocking-bad-hosts-blocking-them-easily-gui-edition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backups In The Cloud: Weighing The Risks</title>
		<link>http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/</link>
		<comments>http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 15:39:52 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://halfloaded.com/?p=256</guid>
		<description><![CDATA[I have been asked by several small businesses and individuals regarding services like those offered by Carbonite, Mozy and iDrive.  I&#8217;ve always had a bad feeling about the idea.  Recently though, I thought a little harder about the reasons why I could never store all my data online. Of course, online backup systems are infinitely [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-266" title="Hard Drive" src="http://halfloaded.com/wp-content/uploads/2009/03/hard-drive-fire.jpg" alt="Hard Drive" width="306" height="203" />I have been asked by several small businesses and individuals regarding services like those offered by <a title="Carbonite" href="http://www.carbonite.com" target="_blank">Carbonite</a>, <a title="Mozy" href="http://mozy.com" target="_blank">Mozy</a> and <a title="iDrive" href="http://www.idrive.com" target="_blank">iDrive</a>.  I&#8217;ve always had a bad feeling about the idea.  Recently though, I thought a little harder about the reasons why I could never store all my data online. Of course, online backup systems are infinitely more valuable than no backup solution at all. As some readers have pointed out, online backup services have saved a lot of butts. At the same time, there are some factors that make online backups less attractive to the &#8220;old fashioned way&#8221; of backing up data.  There are three main factors that I feel give standard backups an upper hand.</p>
<ol>
<li>Storage is cheap.</li>
<li>Your data is only as safe as your password.</li>
<li>When stored online, your data is no longer yours.</li>
</ol>
<p>While these factors are why I do not recommend online backups, I want to take a moment to discuss when online backups do make sense.<span id="more-256"></span></p>
<h3>Disclaimer: When Online Backups Make Sense</h3>
<p>As a reader pointed out, many people setup a backup process but the process gets in their way of doing it properly. Either their backups fail to run regularly or they stop rotating the media because the process is cumbersome.  If this is the case, backup your data online.</p>
<p>Also, please understand that this is only meant to explain why I do no recommend online backup services as a regular practice.  It does not mean there is no place for it.  There are many reputable online services out there.  The vast majority of them encrypt the connections end-to-end and store the data in encrypted form.  But that is something you should ask or check before just signing up for the service and dumping your data on their servers.</p>
<p>For each of the weaknesses I discuss, there are measures that can be taken to protect your data, even if stored online.  Most technically savvy people know how to operate online and protect their data and identity.  But all too often, I find people and small businesses operating online in an insecure fashion.  They may be required by their insurance company to have offsite backups.  They see online backups as a panacea without understanding the potential risks they face by not fully understanding the importance of protecting their data.</p>
<p>One other point regarding offline backups.  If you store your data on a hard drive that is stored in the back seat of your car or in your gym bag, just save yourself the hassle and use an online service.  By now, most of us have heard the stories about the IT guy at the hospital whose car was broken into and all the hospital&#8217;s data was compromised.  Or, the VA worker whose laptop was stolen with patient records.  The same thing can (and will) happen to you if you do not treat your offline backups with care.</p>
<h3>Disks Are Cheap</h3>
<p>The other day I was spec&#8217;ing out a brick-and-mortar backup solution for a small business.  I was surprised to find a 1TB external hard drive for only $90.  I realize that in a few years from now, that 1TB drive will not be enough storage.  File sizes grow.  However, as history has shown, a comparable storage medium will be available at that time for a similar price.</p>
<p>Online storage solutions exist because they offer strategy, software and storage for ~$50/year.  The price point and ease of use is attractive.  It is why the services are popular.  When you add the fact that to do your own backups you need (probably) two 1TB external drives, software and some knowledge of your computer, these solutions become even more attractive.  It is the same reason people use Gmail or Yahoo! for their e-mail.  Sure, they could buy a domain name, setup postfix and <a title="RoundCube Webmail Project" href="http://roundcube.net/" target="_blank">roundcube</a> and have control over their e-mail services.  But why?  Especially when it is free to use Yahoo! or Gmail.</p>
<p>The real reason against online backups is in my two points below.  However, the cost and expertise needed to do it on your own is minimal.  If you do it on your own, you first have to assume that you probably replace your computer every 5 years.  Over that period, an online service would cost roughly $250 over that time.</p>
<p>To do this on your own, you probably want to start out with two 1TB disks.  The software needed is free.  You can use <a title="Windows XP Backup Made Easy" href="http://www.microsoft.com/windowsxp/using/setup/learnmore/bott_03july14.mspx" target="_blank">Windows Backup</a> or an Open Source solution like <a title="Areca" href="http://sourceforge.net/projects/areca/" target="_blank">Areca</a>.  The time needed to learn how to properly backup your data and to manage the backups is the wildcard.  It depends on how much you value your data (if you&#8217;ve ever lost everything, your probably realize it is worth a lot; or maybe not).  The resources are available on the internet.  You just have to find a solution that works for you.</p>
<p>My solution.  I use two 1TB disks along with Areca to backup all my data to the disk.  I always store one of the hard drives in a locked, fireproof safe and the other at an external location I can trust.</p>
<h3>Your Data, Your Password</h3>
<p>If you are like most people, you use the same password for your online banking as you do your e-mail and your e-bay account.  It is a fact that people repetitiously use their passwords.  Although there is a positive trend in password strength, as was evident in the recent presidential race, there are ways to get around strong passwords.  For example, <a href="http://www.time.com/time/politics/article/0,8599,1842097,00.html" target="_blank">Sarah Palin&#8217;s e-mail account was compromised</a> and all her e-mail accessed during the campaign.  Not because she used a weak password.  Instead, it was because the <a href="http://garwarner.blogspot.com/2008/09/governor-palins-email-security.html" target="_blank">security questions</a> used to reset her password were setup using easy to guess answers.  What is your mother&#8217;s maiden name?  What high school did you attend?  As social networking and the semantic web become more prevalent, the answers to these questions become easier to find.  And what about that computer support forum you posed a question on?  Well, you had to setup an annoying username and password.  You also supplied your e-mail address.  Odds are, you used the same password for that account as you did your e-mail account.  You trust the people that setup that forum without even knowing them.  You also trusted their ability to secure the data you submitted.  What if somebody were to compromise their database?  They now have access to your e-mail and any other online services you use that utilize that same password.  Thanks for playing, come again&#8230;</p>
<p>It is a fact that this activity goes on every day.  In my own testing, I was able to find forum after forum, website after website that were setup by lazy administrators and were vulnerable to these same attacks.  Now you are talking about client lists, confidential contracts, business relationships, personal information, tax information, etc.  All of that is vulnerable to these attacks when you store your data online.  The web is not a nice place for the complacent.</p>
<h3>Your Data != Your Data</h3>
<p><a title="10 Immutable Laws of Security" href="http://technet.microsoft.com/en-us/library/cc722487.aspx" target="_blank">The 10 Immutable Laws of Security</a>.  While they tend to talk about your computer explicitly, they are really talking about the security of the data on your computer.  If you don&#8217;t care about the data on your computer, then they don&#8217;t apply.  But, if you are like most, you value the safety of the data on your computer.</p>
<p>When you talk about backups, you are talking about storing all your data in a different place and medium than &#8220;your computer&#8221;.  I still tell people and small business that a security deposit box is tested and trusted; use it!  I tell them this because it is a trusted storage place and has been so for decades, if not years.  Online storage is a new medium that has only recently reached mainstream.</p>
<p>To store all your data online, you must trust all the individuals that handle your data.  You trust the geek squad or your neighborhood geek to fix your computer.  You know where they work.  You know where they live.  Yet, people have no idea where their data goes when they use one of these online services beyond what is posted on a web page.  Is your data handled by foreign nationals?  Are the employees at the corporation happy?  (We&#8217;ve all heard of rogue admins.)  How well do you know all those that have access to your data?  When you let somebody into your home, whether as a friend or contractor, you analyze the situation and give them a certain level of trust.  Do you do the same when you select an online service to upload everything you have stored on your computer?</p>
<p>You should ask yourself all these questions before selecting any backup solution, online or offline.  Most online services will offer some level of encryption.  You need to know what that means and do your homework to ensure you data is transferred in a secure manner and stored in a secure fashion.  Again, this goes for both offline and online backups.</p>
<h3>Conclusions</h3>
<p>The technology is neat.  The fact that we now have enough bandwidth to copy the entirety of hard drives up to the cloud is not something to scoff at.  My biggest concern is that the vast majority of people do not realize the repercussions of storing their data in the cloud.  If you put serious thought into the decision to do this and you still feel confortable, then go for it.  I, for one, will continue to backup my data to a disk I can touch and hold with my own hands.  Now get off my lawn!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/&amp;t=Backups+In+The+Cloud%3A+Weighing+The+Risks" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/&amp;title=Backups+In+The+Cloud%3A+Weighing+The+Risks&amp;summary=I%20have%20been%20asked%20by%20several%20small%20businesses%20and%20individuals%20regarding%20services%20like%20those%20offered%20by%20Carbonite%2C%20Mozy%20and%20iDrive.%C2%A0%20I%27ve%20always%20had%20a%20bad%20feeling%20about%20the%20idea.%C2%A0%20Recently%20though%2C%20I%20thought%20a%20little%20harder%20about%20the%20reasons%20why%20I%20could%20never%20store%20all%20my%20data%20online.%20Of%20course%2C%20onl&amp;source=Andrew Healey's Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Backups+In+The+Cloud%3A+Weighing+The+Risks+-+http://b2l.me/b4gfc&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=Backups+In+The+Cloud%3A+Weighing+The+Risks&amp;du=http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/&amp;cn=I%20have%20been%20asked%20by%20several%20small%20businesses%20and%20individuals%20regarding%20services%20like%20those%20offered%20by%20Carbonite%2C%20Mozy%20and%20iDrive.%C2%A0%20I%27ve%20always%20had%20a%20bad%20feeling%20about%20the%20idea.%C2%A0%20Recently%20though%2C%20I%20thought%20a%20little%20harder%20about%20the%20reasons%20why%20I%20could%20never%20store%20all%20my%20data%20online.%20Of%20course%2C%20onl" rel="nofollow" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/&amp;title=Backups+In+The+Cloud%3A+Weighing+The+Risks" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/&amp;submitHeadline=Backups+In+The+Cloud%3A+Weighing+The+Risks&amp;submitSummary=I%20have%20been%20asked%20by%20several%20small%20businesses%20and%20individuals%20regarding%20services%20like%20those%20offered%20by%20Carbonite%2C%20Mozy%20and%20iDrive.%C2%A0%20I%27ve%20always%20had%20a%20bad%20feeling%20about%20the%20idea.%C2%A0%20Recently%20though%2C%20I%20thought%20a%20little%20harder%20about%20the%20reasons%20why%20I%20could%20never%20store%20all%20my%20data%20online.%20Of%20course%2C%20onl&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Backups%20In%20The%20Cloud%3A%20Weighing%20The%20Risks%22&amp;body=Link: http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20have%20been%20asked%20by%20several%20small%20businesses%20and%20individuals%20regarding%20services%20like%20those%20offered%20by%20Carbonite%2C%20Mozy%20and%20iDrive.%C2%A0%20I%27ve%20always%20had%20a%20bad%20feeling%20about%20the%20idea.%C2%A0%20Recently%20though%2C%20I%20thought%20a%20little%20harder%20about%20the%20reasons%20why%20I%20could%20never%20store%20all%20my%20data%20online.%20Of%20course%2C%20onl" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://halfloaded.com/blog/backups-in-the-cloud-the-case-against-online-backups/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
