<?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>Fudge &#187; Security</title>
	<atom:link href="http://www.fudge.co.in/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fudge.co.in</link>
	<description>Dosent it make you hungry ?</description>
	<lastBuildDate>Wed, 18 Jan 2012 04:37:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>USB Malware</title>
		<link>http://www.fudge.co.in/2009/11/26/usb-malware/</link>
		<comments>http://www.fudge.co.in/2009/11/26/usb-malware/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 13:46:26 +0000</pubDate>
		<dc:creator>Aman Yajurvedi</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.fudge.co.in/?p=279</guid>
		<description><![CDATA[In recent times, with USB flash drives falling to dirt cheap prices, you can be sure everyone has one. The sheer convenience of carry 1gB + worth data in your pocket and being able to access it anywhere is fantastic. There is just one problem, USB drives are read+write without the need of any permissions; [...]]]></description>
			<content:encoded><![CDATA[<p>In recent times, with USB flash drives falling to dirt cheap prices, you can be sure everyone has one. The sheer convenience of carry 1gB + worth data in your pocket and being able to access it anywhere is fantastic. There is just one problem, USB drives are read+write without the need of any permissions; something which is a Serious security concern. With the rampant trade of data that goes on, with the help of these USB drives, malwares,trojan and viruses have found a paradise, a hot bed to hide, grow and reproduce. One of the most common users of multiple USB drives are students in a computer science lab or corporate offices. Corporate offices almost always have a corporate antivirus and multiple layers of security (that beings with banning facebook and warez). So the problem is mostly with student labs in universities which has some relaxed rules. </p>
<p>Lets take a look at how most of these viruses/trojans work. </p>
<ol>
<li>It usually begins by a machine getting infected via the internet (cracks, keys, porn dialers, exes etc)</li>
<li>Upon inserting the USB drive in a infected machine, the virus copies itself to the USB drive(in a sstem hidden folder) and overwrites autorun.inf with a malicious one (which will auto execute the virus)</li>
<li>When unplugged and plugged into a fresh machine, Autorun.inf is called by Windows(yeah Windows is that stupid) thus self executing the virus, which then infects the host machine.</li>
</ol>
<p>In recent times Microsoft has asked users to disable Autorun, although not released as a patch, You need to download TweakUI to do so. Windows 7 however disables Autorun for removable drives by default. </p>
<p>The next hurdle is the quality of virus themselves. They have grown so wild, are known by a million names, thus making it almost impossible for even the most advanced Anti-Virus to catch them. I ll explain this best with my personal example, something that happened just a week ago. I borrowed a friends hard drive to install a game. At that time i was testing Panda CloudAV. As soon as i plugged in the HD, <a href="http://www.ca.com/us/securityadvisor/virusinfo/virus.aspx?id=52797">Win32/Sality</a> (ah you wile sonofabtch) infected my PC. And before i knew it, half my EXE&#8217;s were already infected. For those who dont know <a href="http://www.ca.com/us/securityadvisor/virusinfo/virus.aspx?id=52797">Win32/Sality</a>..well its a rampant exe affecting virus which is very hard to remove. Spent 2 sleepless nights trying to manually remove it and did succeed to a great extent (sans few registry entries and corrupt drivers). I tired all Anti Malware (Malwarebytes, SuperAntiSpyware, Spyware Doctor), AntiVirus products, the free ones though, none of them could repair it. They only offered to Quarantine or delete the legitimate EXE files which were infected. Manual removal : <a href="http://infosecurityhub.blogspot.com/2009/06/manual-removal-of-win32-salityaa.html">here</a> <a href="http://www.istanto.net/8-step-to-remove-w32salityae.html">here</a><br />
Also helped was the forums at Majorgeeks. So after the virus was partially removed,i thought i should invest in a premium licensed copy of a AntiVirus. Although i have always used Avira Free AV, i was intrigued by eScan&#8217;s malware detection scores. So i went for it(i had not slept for a day and half) The next day, the guy running the server offers me McAfee saying it will get rid of Sality. I was surprised, but later realised it was a corporate trial. Ran the scan it didnt detect anything. So i uninstalled that and then installed my bought copy of eScan. The website link was of an older version, so had to hunt around for the latest version, which i got it on the eScan Wiki. Very disappointed at the somewhat armature approach of eScan. Ran that scan too, again no detection. So finally safe! </p>
<p>To test now, i took my pendrive and plugged into a friend&#8217;s machine which has a trojan thriving happily. Plugged it back in my computer, hoping escan will auto scan the removable drive. It did not. Only corporate edition does that. Shit <img src='http://www.fudge.co.in/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  Not feeling too bad i ran the on demand scanner. It found nothing ! Oh my god! Fired up command prompt and did did a directory listing<br />
<code>F:\ dir /a /s</code><br />
Aha, the exe is siting there smug! Baffled i ran more scanners on it. Nothing. I tried to copy that exe and rename it and then test it individually , couldn&#8217;t do that. Not even via command prompt, its like that file does not exist!  Most AntiVirus couldn&#8217;t determine the contents of the exe and just skip it. I then pulled out my Laptop, which is running Ubuntu 9.10. Plugged in my removable drive, whistled whilst i copied the &#8220;system hidden&#8221; exe&#8217;s (sitting ducks on Linux!) on to a another Removable drive and renamed it.  Before plugging it back, I intalled Panda&#8217;s <a href="http://www.pandasecurity.com/homeusers/downloads/usbvaccine/">USB Vaccine</a> on the Windows workstation. Then plugged the USB drive in it. Hmm no Autorun, good. Navigated to the folder, Aha! The virus folder exits, seemingly empty but i know what lurks there! Again ran a dir command to confirm. Yep it was there! Then i ran a online scanner (Virus Total and DrWeb) on the exe file. It got deed by DrWeb and 4 out of 41 AV on <a href="http://www.virustotal.com/analisis/6f3d16e09be5a737b53d994b60736737b71fcdcfcf90995141f3111dbea9e44a-1259059390">VirusTotal.</a> Wow. Pevex detected it as <a href="http://info.prevx.com/aboutprogramtext.asp?PX5=98F962BF001E304B16EB02AB92CFA5005DBA5233">High Risk Cloaked Malware. </a> The others which detected it were Microsoft<?>, Prevex, Sohpos and  Nod32. Guess i should have bought Prevex instead of eScan (almost the same cost). Sure eScan is good but it wont remove the ever persistent Malware which is on every machine in the Lab. Well guess there is just one way to fix this problem &#8211; before inssetig any Removable Device, just plug it to my netbook, navigate via Linux, handpick the smug Malware, and Shift+delete! Poof!<br />
Oh did i mention, i am a Linux user <img src='http://www.fudge.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><em>(will add pictures soon, keep checking this page, as of now, my eyes wont stay open any longer)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fudge.co.in/2009/11/26/usb-malware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

