<?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>gHacks technology news &#187; root kits</title>
	<atom:link href="http://www.ghacks.net/tag/root-kits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 23:31:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Check for root kits with rkhunter</title>
		<link>http://www.ghacks.net/2009/04/29/check-for-root-kits-with-rkhunter/</link>
		<comments>http://www.ghacks.net/2009/04/29/check-for-root-kits-with-rkhunter/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 20:46:46 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[rkhunter]]></category>
		<category><![CDATA[root kits]]></category>
		<category><![CDATA[rootkits]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/04/29/check-for-root-kits-with-rkhunter/</guid>
		<description><![CDATA[Security means everything when it comes to your data. And for many, doing everything that is possible is still not enough. For most the checking ends at viruses, malware, and portscans. To think this is enough is a mistake. Rootkits are some of the most dangerous security threats around. No matter what your server OS, [...]]]></description>
			<content:encoded><![CDATA[<p>Security means everything when it comes to your data. And for many, doing everything that is possible is still not enough. For most the checking ends at viruses, malware, and portscans. To think this is enough is a mistake. Rootkits are some of the most dangerous security threats around. No matter what your server OS, it is crucial to make sure there are no rootkits tucked away on your servers.</p>
<p>Those Linux servers you have chugging away need rootkit checks as well. Fortunately there is a simple tool to help you in your quest for server security nirvana. This tool is <a title="RKhunter" href="http://www.rootkit.nl/projects/rootkit_hunter.html" target="_blank">Rootkit Hunter</a>. It&#8217;s easy to install, easy to use, checks deep into your system, and offers outstanding reporting.</p>
<p><span id="more-12469"></span>Rootkit Hunter supports all Linux distributions and most BSD distributions. Rootkit Hunter will test your system against:</p>
<ul>
<li>MD5 hash comparisons</li>
<li>Default files used by rootkits</li>
<li> Incorrect binary filepermissions</li>
<li>Suspected strings in LKM and KLD modules</li>
<li>Hidden files</li>
</ul>
<p>RKhunter can also do optional scans within plaintext and binary files for even more complete checks.</p>
<p><strong>Installing</strong></p>
<p>Most distributions will include rkhunter in their standard repositories so you should be able to locate it with your Add/Remove Software utility. Open this tool up, do a search for &#8220;rkhunter&#8221;, select the results, and apply the changes. Once rkhunter is installed you are ready to check.</p>
<p><strong>Usage</strong></p>
<p>Rootkit Hunter is a command line tool so you will first need to open up a terminal window. You will need root access to run the command. The basic usage is:</p>
<p>rkhunter [OPTIONS]</p>
<p>A basic check is issued like so:</p>
<p>rkhunter &#8211;check</p>
<p>As the check runs you will see output like this:</p>
<p><em>Checking the network&#8230;</p>
<p>Performing check for backdoor ports<br />
Checking for UDP port 2001                               [ Not found ]<br />
Checking for TCP port 2006                               [ Not found ]<br />
Checking for TCP port 2128                               [ Not found ]<br />
Checking for TCP port 14856                              [ Not found ]<br />
Checking for TCP port 47107                              [ Not found ]<br />
Checking for TCP port 60922                              [ Not found ]</p>
<p>Performing checks on the network interfaces<br />
Checking for promiscuous interfaces                      [ None found ]</p>
<p>[Press &lt;ENTER&gt; to continue]</em></p>
<p>As each portion of the test completes you will have to hit enter to continue on to the next portion. A very nice feature of rkhunter is you know, as the test runs, if you do or do not have a root kit on your machine. During the group and accounts check on a Fedora machine I came across this:</p>
<p><em>Performing group and account checks<br />
Checking for passwd file                                                 [ Found ]<br />
Checking for root equivalent (UID 0) accounts            [ None found ]<br />
Checking for passwordless accounts                              [ None found ]<br />
Checking for passwd file changes                                  [ Warning ]<br />
Checking for group file changes                                     [ Warning ]<br />
Checking root account shell history files                       [ OK ]</em></p>
<p>A warning should be examined, but in this case it is no root kit.</p>
<p>Once the test runs the results will be quite clear. The most telling section of the results is:</p>
<p><em>Rootkit checks&#8230;<br />
Rootkits checked : 68<br />
Possible rootkits: 0</em></p>
<p>This machine is clear.</p>
<p>There are other options for testing. One particular option you should run every so often (maybe even creating a cron job for it) is the &#8211;update option. This option checks to see if there is a later verion of rkhunters&#8217; text data files. This is critical especially when new (or new versions) of root kits are released into the wild.</p>
<p><strong>Final Thoughts</strong></p>
<p>If you are serious about security, and you have a Linux machine on your network, make sure you install rkhunter and use it often. You and your network will remain happy and healthy.</p>

	Tags: <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/rkhunter/" title="rkhunter" rel="tag">rkhunter</a>, <a href="http://www.ghacks.net/tag/root-kits/" title="root kits" rel="tag">root kits</a>, <a href="http://www.ghacks.net/tag/rootkits/" title="rootkits" rel="tag">rootkits</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2006/05/03/how-to-scan-your-linux-distro-for-root-kits/" title="How to scan your Linux-Distro for Root Kits (May 3, 2006)">How to scan your Linux-Distro for Root Kits</a> (2)</li>
	<li><a href="http://www.ghacks.net/2008/02/07/yoggie-pico-personal-mobile-security-computer/" title="Yoggie PICO Personal Mobile Security Computer (February 7, 2008)">Yoggie PICO Personal Mobile Security Computer</a> (3)</li>
	<li><a href="http://www.ghacks.net/2005/11/03/world-of-warcraft-hackers-using-sony-bmg-rootkit/" title="World of Warcraft hackers using Sony BMG rootkit (November 3, 2005)">World of Warcraft hackers using Sony BMG rootkit</a> (0)</li>
	<li><a href="http://www.ghacks.net/2009/10/30/with-ubuntu-9-10-arrives-wubi-9-10/" title="With Ubuntu 9.10 Arrives Wubi 9.10 (October 30, 2009)">With Ubuntu 9.10 Arrives Wubi 9.10</a> (2)</li>
	<li><a href="http://www.ghacks.net/2006/12/07/widgets-for-linux-superkaramba/" title="Widgets for Linux: SuperKaramba (December 7, 2006)">Widgets for Linux: SuperKaramba</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/29/check-for-root-kits-with-rkhunter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
