<?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>[LINICKX].com &#187; ips</title>
	<atom:link href="http://www.linickx.com/tag/ips/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linickx.com</link>
	<description>Moments of Genius followed by Trash.</description>
	<lastBuildDate>Thu, 17 May 2012 10:23:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>DenyHosts &#8211; Protecting against SSH Brute Force Attacks</title>
		<link>http://www.linickx.com/270/denyhosts-protecting-against-ssh-brute-force-attacks</link>
		<comments>http://www.linickx.com/270/denyhosts-protecting-against-ssh-brute-force-attacks#comments</comments>
		<pubDate>Thu, 12 Apr 2007 18:12:56 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[ips]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/270/denyhosts-protecting-against-ssh-brute-force-attacks/</guid>
		<description><![CDATA[If you look after a remote linux box, the chances are you use SSH, in order to connect to it you may even have to leave PORT 22 open to the whole Internet ! There are some basic security steps &#8230; <a href="http://www.linickx.com/270/denyhosts-protecting-against-ssh-brute-force-attacks">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you look after a remote linux box, the chances are you use SSH, in order to connect to it you may even have to leave PORT 22 open to the whole Internet !</p>
<p>There are some basic security steps that you can do to protect SSH, such as block the root user from logging in, and force users to use STRONG authentication.</p>
<p>Even after you&#8217;ve done all you can,  <a href="http://freshmeat.net/projects/logwatch/">logwatch</a> will report that people are still wasting your time &amp; resource by trying to break in ! This is where <a href="http://denyhosts.sourceforge.net/">DenyHosts</a> step in, it&#8217;s a small script (<em>daemon</em>) that keeps an eye on your SSH log file, if it spots someone trying to Brute Force Attack your SSH accounts, it adds them to hosts.deny (<em>it&#8217;s like a firewall for some applications</em>) and stops them from being able to connect.</p>
<p>I&#8217;m using redhat, so a pre-built <a href="http://dag.wieers.com/rpm/packages/denyhosts/">rpm is available</a>, if you already have DAG setup, you can use&#8230;</p>
<pre>yum install denyhosts</pre>
<p>I then had to run through the following steps (<em>as root</em>).</p>
<pre>
mkdir /usr/share/denyhosts
mkdir /usr/share/denyhosts/data/
echo '127.0.0.1' &gt; /usr/share/denyhosts/data/allowed-hosts
cd /usr/share/denyhosts
cp /usr/share/doc/denyhosts-2.6/denyhosts.cfg-dist ./denyhosts.cfg
cp /usr/share/doc/denyhosts-2.6/daemon-control-dist ./daemon-control
chmod 700 /usr/share/denyhosts/daemon-control
ln -s /usr/share/denyhosts/daemon-control /etc/init.d/denyhosts
ln -s /usr/share/denyhosts/denyhosts.cfg /etc/denyhosts.cfg
/sbin/chkconfig denyhosts on</pre>
<p>once you&#8217;ve charged through that marathon, in /etc/denyhosts.cfg you may want to take a look (<em>and change</em>) the following settings (<em>Variables</em>)</p>
<pre>
PURGE_DENY =
ADMIN_EMAIL =
SMTP_FROM = DenyHosts &lt;nobody@localhost&gt;</pre>
<p>finally once you&#8217;re happy, start the DenyHosts service</p>
<pre>/etc/init.d/denyhosts start</pre>
<p>Now you&#8217;re logwatch report will show how may tries they had, and then Denied !</p>
<pre>Refused incoming connections: 1.2.3.4  (some.name.com ): 2 Time(s)</pre>
<p>Of course one option commonly suggested is to change the SSH port number from 22 to something else, where as this will reduce the amount of attacks on the service, it does absolutely nothing to protect it; of course you could do both, it&#8217;s all a matter of choice <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/270/denyhosts-protecting-against-ssh-brute-force-attacks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IDS vs IPS</title>
		<link>http://www.linickx.com/167/ids-vs-ips</link>
		<comments>http://www.linickx.com/167/ids-vs-ips#comments</comments>
		<pubDate>Tue, 25 Apr 2006 11:59:52 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[ids]]></category>
		<category><![CDATA[ips]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/167/ids-vs-ips/</guid>
		<description><![CDATA[Network Intrusion detection systems (NIDS) , and Network Intrusion Prevention (NIPS) systems are a common complement to a firewall implementation; couple this with Host IDS (HIDS) or Host IPS (HIPS) and you&#8217;ve made a good start at implementing an advanced &#8230; <a href="http://www.linickx.com/167/ids-vs-ips">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Network Intrusion detection systems (<em>NIDS</em>) , and Network Intrusion Prevention (<em>NIPS</em>) systems are a common complement to a firewall implementation; couple this with Host IDS (<em>HIDS</em>) or Host IPS (<em>HIPS</em>) and you&#8217;ve made a good start at implementing an advanced security infrastructure <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p><b>What&#8217;s the difference ?</b></p>
<p>Sadly there&#8217;s no hard an fast rule, what&#8217;s important is understanding what you&#8217;re buying. Traditional IDS systems used sniffers  &amp; signatures to detect attacks very similar to how virus&#8217;s are found with AV; the problem with this kind of system is that it relies on a signature being available to recognize the attack; there is also a margin of error with sniffer technology, this means it&#8217;s possible to flood a network with &#8220;safe&#8221; traffic, and then slip the attack in under the radar.</p>
<p>Some consider the difference between IDS and IPS is that IPS is proactive, as such it doesn&#8217;t require a signature to detect the attack, it just recognizes unacceptable behavior, the problem with this is that any technology that can do this is very difficult and expensive to implement.</p>
<p>Others consider the difference between IDS and IPS is that IPS implements a protective &#8220;shim&#8221; between the system and the attack; thus if the attack is recognised then it can be blocked.</p>
<p>Suddenly you can see how the two phrases get <em>muddled up</em>, those inventing intelligent systems to detect unknown or <em>Zero Day</em> attacks wanted a way to differentiate their technology from the rest; but IDS vendors were easily able to adopt the &#8220;P&#8221;, buy making their exiting product work <em>in line</em>thus providing &#8220;protection&#8221; rather an &#8220;detection&#8221;.</p>
<p>So I go back to my point, what&#8217;s the difference between &#8220;D&#8221; &#038; &#8220;P&#8221;, find out if the product you&#8217;re buying uses signatures, and you&#8217;ll get an idea whether it&#8217;s a re-vamped IDS or a Zero Day protection system <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/167/ids-vs-ips/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

