<?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>Lithik Systems &#187; malware</title>
	<atom:link href="http://www.lithik.com/tag/malware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lithik.com</link>
	<description>Transforming businesses by bending technology to the will of our clients</description>
	<lastBuildDate>Thu, 26 Jan 2012 15:28:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A Simplified Firewall Architecture for Combating Malware</title>
		<link>http://www.lithik.com/2010/12/31/firewall-architecture-combats-malware/</link>
		<comments>http://www.lithik.com/2010/12/31/firewall-architecture-combats-malware/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 01:53:19 +0000</pubDate>
		<dc:creator>Karl Fox</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[backdoor]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[information theft]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[security architecture]]></category>
		<category><![CDATA[web filter]]></category>
		<category><![CDATA[web proxy]]></category>

		<guid isPermaLink="false">http://www.lithik.com/?p=517</guid>
		<description><![CDATA[If you operate a small to medium sized bank, savings and loan, or credit union, your biggest IT security concern is the possibility of being breached by malware. Not the kind that makes pop-up windows show up on your screen, but the kind that you become aware of when your credit card processor calls you [...]]]></description>
			<content:encoded><![CDATA[<p>If you operate a small to medium sized bank, savings and loan, or credit union, your biggest IT security concern is the possibility of being breached by malware. Not the kind that makes pop-up windows show up on your screen, but the kind that you become aware of when your credit card processor calls you up and says they think all your customers&#8217; credit card numbers have been stolen. The nightmare kind of malware. The kind that they say costs <a href="http://news.cnet.com/8301-1009_3-10153858-83.html" target="_blank">$6.6 million</a> to fix.</p>
<p>The kind that puts banks your size out of business.</p>
<p>Is there anything you can do other than worry? Isn&#8217;t this stuff so complicated only grad students in computer science can understand it? People say that nothing is truly secure—isn&#8217;t that true?</p>
<p>You can do something about it, because hackers have adopted a relatively uniform mass-production approach to attacking computers. And yes, you can understand it.<span id="more-517"></span></p>
<h2>How Malware Works</h2>
<p>Hackers don&#8217;t pick your name out of a hat and then decide to attack you; that&#8217;s so 1999. Their desire to make a profit has driven them to use highly efficient and highly effective techniques designed to maximize the number of breached systems rather than maximizing their ability to breach a specific target. Their chosen approach is actually quite clever. Here&#8217;s how it rolls out:</p>
<ol>
<li>A hacker penetrates a legitimate web site and modifies it so that a visiting web browser also pulls data from the hacker&#8217;s web site. The Google Anti-Malware Team recently found <a href="http://googleonlinesecurity.blogspot.com/2008/02/all-your-iframe-are-point-to-us.html" target="_blank"><em>3 million</em></a> such URLs in a survey of Google&#8217;s stored copies of web sites.</li>
<li>A normal person visits one of these infected web sites, causing the web browser to also make a request to the hacker&#8217;s web site. The hacker&#8217;s web site determines which operating system and which browser the innocent web surfer is using, then sends back a series of specially crafted HTML, PDF or other file types that contain exploit data for commonly found missing patches. An exploit is typically a pattern in the returned data that causes the targeted software to misbehave in some way due to a bug introduced accidentally by the program&#8217;s author when he wrote it. The exploits are specifically aimed at the user&#8217;s operating system and browser in order to maximize the likelihood of a breach.</li>
<li>If the user&#8217;s computer is running some amount of unpatched software, and if at least one of the attacker&#8217;s chosen exploits matches up exactly with one of the user&#8217;s missing patches, then the hacker&#8217;s malicious pattern of data causes the user&#8217;s buggy program to actually execute software the hacker himself wrote and included as part of the malicious data pattern.</li>
<li>Typically the first thing the hacker&#8217;s software does is to issue more requests to hacker web sites, downloading and installing more malicious software.  It is rare to be infected by a single virus; malware usually arrives more as a malicious throng than a single stealthy intruder.</li>
<li>Once the hacker&#8217;s programs are installed on the user&#8217;s computer, his software runs and begins to carry out his wishes. Sometimes this means sending Spam e-mail messages to millions of people.  Other times it may mean spraying a specific web site with huge amounts of bogus web requests, a so-called <em>Denial of Service</em> attack. But the scenario that terrifies us is the one where the software on the infected machine makes a network connection to one of the hacker&#8217;s servers that doesn&#8217;t download software, but instead stays connected. The purpose of this long-term connection is instead to provide two-way communication. This gives the hacker a direct path from his server on the outside right through your firewall, a so-called <em>backdoor</em> into the heart of your company&#8217;s computer network.</li>
</ol>
<p>Once inside, the hacker can do whatever he&#8217;d be able to do if he had free reign of your office. He can search through computer files, he can listen for passwords, he can record information displayed on customer account screens. He can also probe other machines on your network looking for more unpatched systems. Note that this is no longer an impersonal piece of automation running; now you have a real, live hacker rummaging through your data looking for something he can sell. And if it was that easy to get inside in the first place, it&#8217;s usually even easier to get access to the machines that contain all your customer data and ship it off to Russia. Or China. Or Cleveland.</p>
<p>According to the <a href="http://www.verizonbusiness.com/resources/reports/rp_2010-data-breach-report_en_xg.pdf" target="_blank">Verizon <em>2010 Data Breach Investigations Report</em></a>, the U. S. Secret Service reports that, although insider attacks are up 26% over last year, 96.5% of all stolen customer records occurred through external attacks. 95% of those external attacks were attributable to malware, the kind we just described. 80% involved malware that was explicitly designed to provide remote access to the hacker, the kind that lets him steal all your customer data.</p>
<h2>Traditional Defenses</h2>
<p>Most anti-malware strategies involve trying to stop it from infecting you in the first place. Reputation-based browser features compare the link you clicked on against a database of sites that have been reported to contain malware, popping up a warning if it finds a match. So-called UTM (Unified Threat Management) appliances or next-generation firewalls look inside the web browser data stream searching for data patterns that look like exploits, or they examine the entire returned web page, making sure it adheres strictly to the HTML standard. Sometimes they even can figure out what web application you are running, tailoring their activities to the specific site or function.</p>
<p>The best known defense, though, is anti-virus. A few years ago, the leading anti-virus systems would catch 99% or more of all malicious software.  Today, the best anti-virus systems detect and block perhaps half of all infections, but if an infected web site launches twelve exploits at you, and if, say, four of them match up with patches you are missing, then you&#8217;d still have a probability of 1 &#8211; 0.5<sup><small>4</small></sup> = 94% of being infected because of that one click.</p>
<p>It may not be the best known, but the most effective defense against malware in common use today is simple. Keep your systems patched! This has gotten much easier since Microsoft introduced Automatic Updates ten years ago. Unfortunately, the summer of 2009 saw Adobe break Microsoft&#8217;s long run as King of Vulnerable Software. Even more unfortunately, Adobe and the other commonly attacked desktop software vendors have not come close to matching the effectiveness of Microsoft&#8217;s efforts to provide patching tools (<a href="http://support.microsoft.com/kb/306525" target="_blank">Automatic Updates</a> and <a href="http://en.wikipedia.org/wiki/Windows_Server_Update_Services" target="_blank">WSUS</a>) and patch scanning tools (<a href="http://technet.microsoft.com/en-us/security/cc184923" target="_blank">MBSA</a>). See my article <a href="http://www.lithik.com/2010/12/30/keeping-windows-patched" target="_blank">Keeping Windows Patched</a> for more on this topic.</p>
<h2>A Simplified Firewall Architecture for Combating Malware</h2>
<p>It is certainly painful to have to deal with an infected machine. In most environments, the machine must be reformatted and reinstalled by hand, a job which can take anywhere from half a day by an experienced IT professional to as long as two days if a lot of software installation and reconfiguration must be performed. Using a disk imaging system can bring that time down to 20 minutes, but such a solution has its own costs. But the cost of recovering an infected machine never exceeds a thousand dollars or so. The real cost is in the risk of breach. <em>That</em> is where we should be putting our effort—<em>making it as difficult as possible for an infected machine to establish a backdoor connection.</em></p>
<p>The funny thing is, this is the part that isn&#8217;t all that hard. The last few years have seen an explosion in the growth of cloud-based security products, especially <em>filtering web proxies</em>. A web proxy is a special server that acts as a mediator between a web browser and a web site. The addition of filtering capabilities, including all those features listed above for advanced firewalls, makes this a very attractive service. But we at Lithik Systems believe that the greatest benefit of such a service comes from what it allows you to do to your firewall configuration.</p>
<p>The reason the hacker&#8217;s malware can build that backdoor connection so easily is that nearly everyone has their firewall configured to allow outbound web browser connections to an unlimited number of destinations. If the firewall allowed web browsers to only go to a short list of places, the backdoor could never be set up. Many if not most corporate firewalls are configured to allow e-mail traffic only to a short list of e-mail servers. The same is true of many other services. If all Internet traffic originating from behind the firewall was only allowed to go to a fixed list of destinations, no backdoors could ever exist. This is easy except for web traffic, and if a web proxy service is used, web traffic can be controlled in exactly the same way.</p>
<p>You may say, though, that a backdoor can indeed exist. Even though it would be tricky, even though the malware would have to somehow figure out that you were using a web proxy, and even though it would have to figure out where it was and how to authenticate with it, the malware could go <em>through</em> the web proxy. That&#8217;s why it&#8217;s important that you choose a service that has a really good filter. That&#8217;s also why you probably shouldn&#8217;t simply install a cheap, non-authenticating web proxy server just outside your firewall. Future-proof your solution now.</p>
<p>But wait, there&#8217;s more.</p>
<p>Utilizing the above approach can eliminate (or nearly eliminate) the likelihood of an outsider stealing your data. But once your firewall is configured with no unlimited destinations in any rules at all, you have a new option in front of you. If the firewall is then set up to trigger an alarm whenever any kind of traffic is blocked trying to go to an unauthorized destination, you have an IDS (Intrusion Detection System) that can almost perfectly detect external breaches. An alarm means that the offending machine is infected. Now, it could also mean that someone just misconfigured some application, or someone just installed a program that didn&#8217;t know about the web proxy and tried to auto-update itself, but those situations will only happen when you should expect them, and the cause should be obvious. But if your firewall sends you a text on your cell phone when no IT people are making any changes, you almost certainly have an infected machine.</p>
<h2>Cost-Benefit Analysis</h2>
<p>Costs:</p>
<ul>
<li>$5 per month per desktop computer for a top quality web filtering service</li>
<li>$50 per desktop for a permanent license to a good remote disk imaging system so you are never motivated to avoid reinstalling an infected machine</li>
<li>Time and effort to configure the new setup</li>
</ul>
<p>Benefits:</p>
<ul>
<li>A good filtering proxy will substantially reduce the number of infections you incur</li>
<li>No fancy firewall features are required</li>
<li>Infected machines can be cleaned in about 20 minutes</li>
<li>Infected machines are brought to your attention immediately</li>
<li>Patch management becomes easy (this is a side benefit of using a disk imaging system)</li>
<li><em>A breach involving information theft is nearly impossible</em></li>
</ul>
<h2>Take Action</h2>
<p>The above approach can dramatically reduce your risk of a serious breach.  The cost is moderate, and the side benefits are attractive. Do not put this off; talk about it with your IT staff and with your senior management, then make a decision. Choose wisely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lithik.com/2010/12/31/firewall-architecture-combats-malware/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Security Auditing and Security Design</title>
		<link>http://www.lithik.com/2010/11/03/security-auditing-and-security-design/</link>
		<comments>http://www.lithik.com/2010/11/03/security-auditing-and-security-design/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 18:19:02 +0000</pubDate>
		<dc:creator>Karl Fox</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[anti-virus]]></category>
		<category><![CDATA[compliance]]></category>
		<category><![CDATA[defense in depth]]></category>
		<category><![CDATA[device inventory]]></category>
		<category><![CDATA[drive-by downloads]]></category>
		<category><![CDATA[FFIEC]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[HIPS]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[malware shedding]]></category>
		<category><![CDATA[missing patches]]></category>
		<category><![CDATA[security auditing]]></category>

		<guid isPermaLink="false">http://www.lithik.com/?p=451</guid>
		<description><![CDATA[My partner Ron Kellogg and I recently spoke at a meeting of the Northwest Ohio Auditors Association to update them on what an internal auditor should be looking for in an IT audit. We also talked about some new network architecture ideas that can drastically improve an organization&#8217;s resistance to web-borne and e-mail-borne malware. Click [...]]]></description>
			<content:encoded><![CDATA[<p>My partner Ron Kellogg and I recently spoke at a meeting of the Northwest Ohio Auditors Association to update them on what an internal auditor should be looking for in an IT audit.  We also talked about some new network architecture ideas that can drastically improve an organization&#8217;s resistance to web-borne and e-mail-borne malware.</p>
<p>Click <a href="http://www.lithik.com/downloads/security-auditing-and-security-design.pdf">here</a> for the slides.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lithik.com/2010/11/03/security-auditing-and-security-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling the Windows AutoRun Feature</title>
		<link>http://www.lithik.com/2009/10/22/disabling-the-windows-autorun-feature/</link>
		<comments>http://www.lithik.com/2009/10/22/disabling-the-windows-autorun-feature/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 20:46:51 +0000</pubDate>
		<dc:creator>Karl Fox</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[auto-play]]></category>
		<category><![CDATA[auto-run]]></category>
		<category><![CDATA[autoplay]]></category>
		<category><![CDATA[autorun]]></category>
		<category><![CDATA[cd-rom]]></category>
		<category><![CDATA[cdrom]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[disabling]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lithik.com/?p=339</guid>
		<description><![CDATA[We often help organizations test how well their staff knows their security policy by performing social engineering tests.  In one, we drop hacked USB drives around the premises that notify our home server when inserted into a Windows computer.  Such tests are a lot of fun when they&#8217;re just tests, but when a real hacker [...]]]></description>
			<content:encoded><![CDATA[<p>We often help organizations test how well their staff knows their security policy by performing social engineering tests.  In one, we drop hacked USB drives around the premises that notify our home server when inserted into a Windows computer.  Such tests are a lot of fun when they&#8217;re just tests, but when a real hacker leaves such a tasty tidbit in your parking lot, you can bet it&#8217;s going to do a lot more mischief than phone home when an employee plugs it into one of your computers.</p>
<p>AutoRun and the companion feature AutoPlay are components of the Microsoft Windows operating system that dictate what actions the system takes when a drive is mounted.  The main purpose of AutoRun is to provide helpful actions and capabilities when removable media or network shares are mounted.  When such a device is mounted, the <code>autorun.inf</code> file from the media is parsed. This file specifies which commands the system should run. Many companies use this functionality to automatically start up their installers when a CD-ROM is inserted, but attackers can also use it to run data extraction sessions or automatic installations of malware.<br />
<span id="more-339"></span><br />
AutoRun and AutoPlay can be friendly features, but they are almost never necessary in an enterprise environment.  The security risk typically far outweighs any benefit.</p>
<p>All AutoRun/AutoPlay features are controlled by values stored in the Windows registry.  There are a number of ways to set these values, including</p>
<ul>
<li>Group Policy</li>
<li>Double-clicking a <code>.REG</code> file containing registry settings</li>
</ul>
<h2>Disabling AutoRun Using Group Policy</h2>
<p>If you think that Windows Group Policy would be the most convenient and thorough way to distribute such a policy, you&#8217;d be partly right.  The only gotcha is that a number of people report that it doesn&#8217;t always get every machine.  I&#8217;d recommend both belt and suspenders—use a GPO to catch future machines, but set each existing machine by hand to make sure none fall through the cracks today.</p>
<p>Before configuring Group Policy, you must ensure that one of the following updates has been applied to each of the machines you intend to configure.  Note that only one update applies to each machine.</p>
<ul>
<li>Update for Windows Server 2003 for Itanium-based Systems (KB967715)</li>
<li>Update for Windows Server 2003 x64 Edition (KB967715)</li>
<li>Update for Windows Server 2003 (KB967715)</li>
<li>Update for Windows XP x64 Edition (KB967715)</li>
<li>Update for Windows 2000 (KB967715)</li>
<li>Windows Vista-based and Windows Server 2008-based systems must have update 950582 (Security bulletin MS08-038) installed to take advantage of the registry key settings that disable AutoRun.</li>
</ul>
<p>This update will create a new registry entry, <code>HonorAutorunSetting</code>.  Without the update, <code>autorun.inf</code> gets read even with AutoRun disabled, but simply does not execute any AutoPlay commands inside.  This still allows attacks to be made using <code>autorun.inf</code>, and <code>HonorAutorunSetting</code> should be set to <code>1</code> to disable this. The default is <code>1</code> after the patch is applied.</p>
<p>To disable all AutoRun features in Windows Server 2003, Windows XP Professional and Windows 2000,</p>
<ul>
<li>Click <strong>Start</strong>, click <strong>Run</strong>, type <code>gpmc.msc</code> in the <strong>Open</strong> box, and then click <strong>OK</strong>.  If you don&#8217;t yet have <a href="http://www.microsoft.com/DownLoads/details.aspx?FamilyID=0a6d4c24-8cbd-4b35-9272-dd3cbfc81887&amp;displaylang=en">GPMC</a> installed, do so first.</li>
<li>Choose an appropriate Group Policy Object in the left pane (or create a new one and attach it in the appropriate place), right-click it, and select <strong>Edit</strong>.</li>
<li>Under <strong>Computer Configuration</strong>, expand <strong>Administrative Templates</strong>, and then click <strong>System</strong>.</li>
<li>In the <strong>Settings</strong> pane, right-click <strong>Turn off Autoplay</strong>, and then click <strong>Properties</strong>. Note: In Windows 2000, the policy setting is named <strong>Disable Autoplay</strong>.</li>
<li>Click <strong>Enabled</strong>, and then select <strong>All drives</strong> in the <strong>Turn off Autoplay</strong> box to disable Autorun on all drives.</li>
<li>Click <strong>OK</strong> to close the <strong>Turn off Autoplay Properties</strong> dialog box.</li>
</ul>
<p>Windows will propagate the group policy settings to all machines controlled by the edited Group Policy Object.  Once the settings have been applied to a computer, it must be rebooted before the changes take effect.</p>
<h2>Disabling AutoRun Using a Registry File</h2>
<p>Create a file called <code>autorun.reg</code> containing the following lines.  Some of the lines here are long; make sure you don&#8217;t break them in the middle somewhere when you cut and paste the text below.</p>
<blockquote><p><code>Windows Registry Editor Version 5.00</code></p>
<p><code>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]<br />
@="@SYS:DoesNotExist"</code></p>
<p><code>[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2]</code></p>
<p><code>[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]<br />
"HonorAutorunSetting"=dword:00000001<br />
"NoDriveAutoRun"=dword:03ffffff<br />
"NoDriveTypeAutoRun"=dword:000000ff</code>
</p></blockquote>
<p>On each computer to be updated, browse to this file and double-click it.  The computer must be rebooted for the changes to take effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lithik.com/2009/10/22/disabling-the-windows-autorun-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

