<?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>Security Viewpoints &#187; Windows security</title>
	<atom:link href="http://advosys.ca/viewpoints/category/windows-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://advosys.ca/viewpoints</link>
	<description>Security, operating systems and the IT industry</description>
	<lastBuildDate>Wed, 30 Jun 2010 14:18:17 +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>The most effective malware prevention</title>
		<link>http://advosys.ca/viewpoints/2009/07/most-effective-malware-prevention/</link>
		<comments>http://advosys.ca/viewpoints/2009/07/most-effective-malware-prevention/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 11:35:06 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Best practices]]></category>
		<category><![CDATA[Windows security]]></category>
		<category><![CDATA[authorization]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/?p=488</guid>
		<description><![CDATA[Three years ago I wrote The most important Windows security tool, detailing why changing user accounts on Windows from being Local Administrator to a &#8220;standard user&#8221; (no local admin rights) is the single most effective thing you can do to prevent malicious software.
Over at InfoWorld, Roger Grimes has written The one essential truth of computer [...]]]></description>
			<content:encoded><![CDATA[<p>Three years ago I wrote <a title="The most important Windows security tool" href="http://advosys.ca/viewpoints/2006/04/windows-most-important-security/">The most important Windows security tool</a>, detailing why changing user accounts on Windows from being Local Administrator to a &#8220;standard user&#8221; (no local admin rights) is the single most effective thing you can do to prevent malicious software.</p>
<p>Over at InfoWorld, Roger Grimes has written <a title="The one essential truth of computer security" href="http://www.infoworld.com/print/82028">The one essential truth of computer security</a>, saying much the same thing:</p>
<blockquote><p>&#8230;the risk from reckless end-users unwittingly executing Trojans and installing their own software is so high that all the other intrusion methods and their resulting mitigations are but a small percentage of the overall attacks in the wild.</p></blockquote>
<p>Back in February, CIO Magazine also <a title="Removing Admin Rights Stymies 92% of Microsoft's Security Vulnerabilities" href="http://www.cio.com/article/479228/Removing_Admin_Rights_Stymies_of_Microsoft_s_Security_Vulnerabilities"> promoted the idea</a>, citing a security vendor claim that &#8220;The vast majority of critical Microsoft vulnerabilities &#8212; 92% of them &#8212; could have been mitigated by stripping users of administrative rights&#8221;.<span id="more-488"></span></p>
<p>With a little research, you can also see for yourself. Take the <a title="Monthly Malware Statistics: june 2009" href="http://www.viruslist.com/en/analysis?pubid=204792067">Top Twenty Malware for June 2009</a> from Viruslist and look at the infection method of each&#8230; nearly all malware relies on the user&#8217;s local permissions to infect the machine:</p>
<table style="border-collapse: collapse; width: 500px; text-align: left; margin-left: auto; margin-right: auto;" border="0" cellspacing="2" cellpadding="0">
<tbody>
<tr>
<td style="font-weight: bold; text-align: center; background-color: #3366ff; color: white;"><span>Rank</span></td>
<td style="font-weight: bold; text-align: center; background-color: #3366ff; color: white;">Name</td>
<td style="font-weight: bold; text-align: center; background-color: #3366ff; color: white;">User must be<br />
local admin</td>
<td style="font-weight: bold; text-align: center; background-color: #3366ff; color: white;">Exploits a<br />
vulnerability</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">1</td>
<td style="background-color: #e2e2e2;"><span style="color: windowtext; text-decoration: none;">Net-Worm.Win32.Kido.ih</span></td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">2</td>
<td style="background-color: #e2e2e2;">Virus.Win32.Sality.aa</td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">3</td>
<td style="background-color: #e2e2e2;">Trojan-Dropper.Win32.Flystud.ko</td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">4</td>
<td style="background-color: #e2e2e2;">Trojan-Downloader.Win32.VB.eql</td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">5</td>
<td style="background-color: #e2e2e2;">Worm.Win32.AutoRun.dui</td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">6</td>
<td style="background-color: #e2e2e2;">Trojan.Win32.Autoit.ci</td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">7</td>
<td style="background-color: #e2e2e2;">Virus.Win32.Virut.ce</td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">8</td>
<td style="background-color: #e2e2e2;"><span style="color: windowtext; text-decoration: none;">Worm.Win32.Mabezat.b</span></td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">9</td>
<td style="background-color: #e2e2e2;">Net-Worm.Win32.Kido.jq</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
</tr>
<tr>
<td style="text-align: center; background-color: #e2e2e2;">10</td>
<td style="background-color: #e2e2e2;">Virus.Win32.Sality.z</td>
<td style="text-align: center; background-color: #e2e2e2;">Y</td>
<td style="text-align: center; background-color: #e2e2e2;">N</td>
</tr>
</tbody>
</table>
<p>Out of the top ten malware, only one exploits a vulnerability to infect the target machine. The rest require the user to have local admin rights.</p>
<p>From the attacker&#8217;s perspective this makes sense. Why bother with tricky exploits when the majority of Windows users already have local admin rights? When the malware executes, it inherits those rights and thus has all it needs to insert code, change the Windows registry, and modify the kernel.</p>
<p>As the Grimes article points out, removing admin rights also prevents users from installing their own software, codecs, and drivers. That&#8217;s directly in line with the policy of most organizations, though it does force the organization to get better at responding to user requests for new software and otherwise managing the desktops.</p>
<p>Since writing the article in 2006 I&#8217;ve audited or reviewed safeguards at nearly a hundred organizations&#8230; private sector, government, military, huge financial and accounting firms, and the majority still run their user desktops with local admin rights.</p>
<p>One large global firm went through the contortions of rolling out Windows Vista to all desktops. But they chose to keep all users as local admins, and also disabled the limited additional protection of Vista&#8217;s UAC. Sigh.</p>
<p>Removing local admin rights is extremely unpopular with users. But so is every other security safeguard. Users tolerate firewalls, anti-virus, full disk encryption, network access control, attachment filtering, web site blocklists. Though local admin rights for Windows users has been the norm since the days of DOS and Windows 3.1, is it is really impossible to remove this huge vulnerability without facing a user revolt?</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2006/11/free-host-intrusion-prevention/' rel='bookmark' title='Permanent Link: Free host intrusion prevention for Windows'>Free host intrusion prevention for Windows</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/09/cwsandbox-malware-analysis-tool/' rel='bookmark' title='Permanent Link: CWSandbox: automating malware analysis'>CWSandbox: automating malware analysis</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/04/windows-most-important-security/' rel='bookmark' title='Permanent Link: The most important Windows security tool'>The most important Windows security tool</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2009/07/most-effective-malware-prevention/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows .NET rootkits are easy</title>
		<link>http://advosys.ca/viewpoints/2009/04/dot-net-rootkits-are-easy/</link>
		<comments>http://advosys.ca/viewpoints/2009/04/dot-net-rootkits-are-easy/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 14:31:38 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Windows security]]></category>
		<category><![CDATA[dot net]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[rootkits]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/?p=371</guid>
		<description><![CDATA[A researcher has published details and tools helpful for installing rootkits into the Windows .NET framework.
Like the various Windows OSs themselves, the .NET framework uses cryptographic signatures for libraries and other components to identify unauthorized alteration. However, Microsoft chose to ignore them. From the paper:
&#8230;the SN [strong name] mechanism does not check the actual signature [...]]]></description>
			<content:encoded><![CDATA[<p>A researcher has published details and tools helpful for <a title=".NET Framework Rootkits" href="http://applicationsecurity.co.il/english/NETFrameworkRootkits/tabid/161/Default.aspx">installing rootkits into the Windows .NET framework</a>.</p>
<p>Like the various Windows OSs themselves, the .NET framework uses cryptographic signatures for libraries and other components to identify unauthorized alteration. However, Microsoft chose to ignore them. From the paper:</p>
<blockquote><p>&#8230;the SN [strong name] mechanism does not check the actual signature of a loaded DLL but just blindly loads a DLL from inside a directory containing the DLL signature string.</p></blockquote>
<p>So although components in the .NET runtime are cryptographically signed by Microsoft, the signature is ignored. An attacker can insert their ownÂ  modified library just by putting it into a directory that has the right name and voila! the malware is completely trusted.<span id="more-371"></span></p>
<p>I can guess that Microsoft chose this shortcut to speed up the framework. The .NET framework was created to <span style="text-decoration: line-through;">destroy</span> compete with Java, which is often criticized for taking too long to initialize. By ignoring signatures, .NET apps can start up faster, with the minor disadvantage of not being able to trust anything written in .NET.</p>
<p>Subverting the .NET class libraries is a fantastic vector of attack:</p>
<ul>
<li>MS has long been pushing developers to use the .NET framework rather than create native Windows executables. Most corporate in-house apps (often considered the most trustworthy) are now written for .NET.</li>
<li>The framework is a standard part of Windows 2003 server, Windows Vista and higher.</li>
<li>Though an optional download for XP, most people have installed it because an application required it.</li>
<li>Forensic investigators ignore the framework when trying to find how a Windows machine was compromised.</li>
<li>Anti-virus and other malware scanners may also ignore the framework libraries or cannot scan MSIL / CIL bytecode (but I need to research this)</li>
</ul>
<p>Microsoft has dismissed this vulnerability as not a concern since an attacker needs to have administrator privileges. Well, since nearly all Windows desktop users run with full administrative rights (and therefore so do all their apps, including email client and web browser), administrator privileges is a given. So why does the Windows OSs bother with any self protection mechanisms at all?</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2006/04/windows-most-important-security/' rel='bookmark' title='Permanent Link: The most important Windows security tool'>The most important Windows security tool</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/08/cleaning-up-rootkits/' rel='bookmark' title='Permanent Link: Cleaning up after rootkits'>Cleaning up after rootkits</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/11/free-host-intrusion-prevention/' rel='bookmark' title='Permanent Link: Free host intrusion prevention for Windows'>Free host intrusion prevention for Windows</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2009/04/dot-net-rootkits-are-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploiting Vista voice recognition</title>
		<link>http://advosys.ca/viewpoints/2007/01/exploiting-vista-voice-recognition/</link>
		<comments>http://advosys.ca/viewpoints/2007/01/exploiting-vista-voice-recognition/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 12:32:03 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Windows security]]></category>
		<category><![CDATA[vista security]]></category>
		<category><![CDATA[voice recognition]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/2007/01/exploiting-vista-voice-recognition/</guid>
		<description><![CDATA[Windows Vista includes voice recognition as an alternative to the mouse and keyboard for controlling the computer. Yesterday on the Daily Dave mailing list someone asked if a web page could exploit this by playing an audio file with voice commands.
Well, ZDNet blogger George Ou has tried it and yes, Vista will obey speech audio [...]]]></description>
			<content:encoded><![CDATA[<p>Windows Vista includes voice recognition as an alternative to the mouse and keyboard for controlling the computer. Yesterday on the <a href="http://lists.immunitysec.com/mailman/listinfo/dailydave">Daily Dave</a> mailing list someone asked if a web page could exploit this by playing an audio file with voice commands.</p>
<p>Well, ZDNet blogger George Ou has tried it and yes, <a href="http://blogs.zdnet.com/Ou/?p=416">Vista will obey speech audio</a> embedded in a web page!</p>
<p>So, it&#8217;s possible for a malicious web site (or any malware) to play voice commands to control a Windows Vista computer. This exploit is more cute than it is actually dangerous&#8230; voice recognition barely works even when it&#8217;s been trained to understand a specific voice, speakers would have to be turned to a high enough volume for the sound to be picked up by the microphone, etc. </p>
<p>The obvious fix would be for the speech system to&nbsp;screen out&nbsp;audio that the computer itself is playing, but that might be difficult to code. Of course, now that Vista has been released to the general public it&#8217;s too late for a large change like that.</p>
<p><em>Update:</em> Microsoft has now commented on the issue <a href="http://blogs.technet.com/msrc/archive/2007/01/31/issue-regarding-windows-vista-speech-recognition.aspx">here</a>.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2007/01/exploiting-vista-voice-recognition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Death to antivirus</title>
		<link>http://advosys.ca/viewpoints/2007/01/host-intrusion-prevention-death-to-antivirus/</link>
		<comments>http://advosys.ca/viewpoints/2007/01/host-intrusion-prevention-death-to-antivirus/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 17:34:13 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[Windows security]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[host intrusion prevention]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/2007/01/host-intrusion-prevention-death-to-antivirus/</guid>
		<description><![CDATA[It&#8217;s fun to read other people&#8217;s account of something you have gone through yourself. Security legend Marcus Ramun has posted some new articles on his rarely-updated blog, one of which is &#34;Execution control: death to antivirus&#34; where he describes his search for decent execution control software for Windows.
I&#8217;ve mentioned application whitelisting before. A couple years [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s fun to read other people&#8217;s account of something you have gone through yourself. Security legend Marcus Ramun has posted some new articles on his <a href="http://www.ranum.com/security/computer_security/index.html">rarely-updated blog</a>, one of which is &quot;<a href="http://www.ranum.com/security/computer_security/editorials/antivirus/index.html">Execution control: death to antivirus</a>&quot; where he describes his search for decent execution control software for Windows.</p>
<p>I&#8217;ve mentioned <a href="http://advosys.ca/viewpoints/2006/10/windows-application-whitelisting/">application whitelisting</a> before. A couple years ago I researched this&nbsp;for the Canadian military&#8230; they&nbsp;were looking for what they initially called a &quot;super anti-virus&quot; to protect their unclassified networks. Management understood that traditional anti-virus is essentially useless since it works as a blacklist, allowing all code to execute unless it happens to appears on the vendor supplied blacklist. AV also has a hard time identifying malware that&#8217;s been altered&#8230; switch around a few bytes or compress the EXE with a packer and often it will sail right by many AV products. The military&nbsp;wanted something that could protect Windows desktops against unknown malware and targeted attacks, even when the&nbsp;malware was obfuscated.<span id="more-126"></span></p>
<p>When the platform being protected is Windows and it has access to the Internet, this is essentially an impossible task. Obviously almost all web sites use some combination of Javascript, Java applets, Flash or other &quot;mobile code&quot;. So much for being able to control what code gets executed on the workstation. Worse, fundamental design flaws of Windows allow fun attacks like <a title="Three Ways to Inject Your Code into Another Process" href="http://www.codeproject.com/threads/winspy.asp">DLL injection</a> and <a title="Shatter attack" href="http://en.wikipedia.org/wiki/Shatter_attack">&quot;shatter&quot;</a> permit any executable from controlling and compromising any other executable running on the desktop.</p>
<p>At first we looked at simple code execution controls. Third party products have been around for years that let you to create a whitelist of EXEs allowed to run. Most use a cryptographic hash to identify the files and detect changes, such as when a virus is attached to the executable. Nowadays Windows XP and higher have a simple built-in EXE whitelist called <a href="http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/rstrplcy.mspx">software restriction policies</a>.</p>
<p>The problem with execution controls is they only make a simple &quot;go/no-go&quot; decision. Once a whitelisted app is running it still inherits all the permissions of the users and so can do anything the user themselves can do. When the app talks to untrusted networks and executes arbitrary code, such as a web browser or email client, that&#8217;s just not good enough.</p>
<p>About the time I was explaining and demonstrating this to senior management, a new category of software called host intrusion prevention was emerging&nbsp;(also <a title="Free host intrusion prevention for Windows" href="http://advosys.ca/viewpoints/2006/11/free-host-intrusion-prevention/">mentioned previously</a>). These products claimed not only provide the &quot;go/no-go&quot; execution control, but also control what each application could do once running. If&nbsp;the email client was not supposed to write to the registry, HIP products claimed to be able to stop those actions. Essentially, HIP extends the Windows reference monitor so that code doesn&#8217;t necessarily gain all the rights of the user that launched them.</p>
<p>So we tested the few intrusion prevention products available at the time, beating on them with various malware and custom-written attacks, including some internal stuff that was way ahead of malware in the wild at the time. The most HIP popular product turned out to be complete snake oil (for one, just renaming an EXE allowed the user to bypass all restrictions). Others weren&#8217;t as&nbsp;easy to circumvent but relied on vendor supplied databases of permitted actions.</p>
<p>Now, predefined rules save a lot of work for admin staff. Few people have the knowledge or patience to sit down and discover rules that allow a behemoth like MS Word to function yet still prevent a macro virus from pillaging your network. Vendor-supplied rules eliminate that drudgery for most off-the-shelf software.</p>
<p>The problem was that most HIP products that provided their own rules either didn&#8217;t allow you&nbsp;to define define your own at all, or only had a limited ability. For an organization that uses a lot of weird custom code and legacy apps that wasn&#8217;t going to work. Another concern was exceptions&#8230; what if they had to allow an action that the vendor blocked? The only solution from the vendors was that we had to disable all restrictions on those apps. Again, not good enough.</p>
<p>The other concern was what Marcus discovered with PrevX&#8230; vendor databases continue the antivirus-like dependence on continual update subscriptions from the vendor.</p>
<p>Yet another shortcoming in products was that most didn&#8217;t protect all the critical areas. For example, desktop firewalls like Sygate had pretty good execution control but only controlled network access. Filesystem, registry, interprocess communications were left completely unrestricted.</p>
<p>In the end we tested around 12 different products. Being government, the process took a ridiculously long time but that was fortunate because the host intrusion market was evolving&#8230; second versions of products were a lot more capable that the first. </p>
<p>Eventually we found a product that met all the criteria and survived lab testing well enough. It was quite an ordeal, and few other organizations would go to so much&nbsp;trouble. However, as the use of the custom-written targeted attacks grows I think more commercial organizations will start accepting that hardening the endpoint requires tools like host intrusion prevention, not just antivirus.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2006/09/free-antivirus-for-home/' rel='bookmark' title='Permanent Link: Free antivirus &#8211; what&#8217;s available now'>Free antivirus &#8211; what&#8217;s available now</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/11/free-host-intrusion-prevention/' rel='bookmark' title='Permanent Link: Free host intrusion prevention for Windows'>Free host intrusion prevention for Windows</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/09/cwsandbox-malware-analysis-tool/' rel='bookmark' title='Permanent Link: CWSandbox: automating malware analysis'>CWSandbox: automating malware analysis</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2007/01/host-intrusion-prevention-death-to-antivirus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoiding the Adobe PDF reader plug-in vulnerability</title>
		<link>http://advosys.ca/viewpoints/2007/01/avoiding-adobe-pdf-vulnerability/</link>
		<comments>http://advosys.ca/viewpoints/2007/01/avoiding-adobe-pdf-vulnerability/#comments</comments>
		<pubDate>Wed, 03 Jan 2007 20:03:57 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Windows security]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdf security]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/2007/01/avoiding-adobe-pdf-vulnerability/</guid>
		<description><![CDATA[
The bugtraq mailing list has been a-buzz the past few days with the latest vulnerability in the Adobe PDF viewer. A malicious web site can make the Adobe PDF view execute Javascript by simply adding the javascript commands to a URL (Adobe Viewer has it&#8217;s own internal Javascript engine, separate from the one in the [...]]]></description>
			<content:encoded><![CDATA[<p>
The bugtraq mailing list has been a-buzz the past few days with the latest vulnerability in the Adobe PDF viewer. A malicious web site can make the Adobe PDF view execute Javascript by simply adding the javascript commands to a URL (Adobe Viewer has it&#8217;s own internal Javascript engine, separate from the one in the web browser). The original advisory is published here: <a href="http://www.wisec.it/vulns.php?page=9">Adobe Acrobat Reader Plugin &#8211; Multiple Vulnerabilities</a>.
</p>
<p>
The vulnerability can be used for many evil purposes such as downloading executables, phishing, stealing login credentials. The nasty part is that anyone can attach Javascript to a link to any PDF, even PDF files on other servers, and the Adobe Viewer will happily execute the Javascript as the user. The vulnerability even exists in Adobe Viewer for Linux (not sure about Macintosh). The black hats are going to steal a lot of money using this vulnerability.
</p>
<p>
One fix is to upgrade the version of PDF Viewer to version 8. However, given the <a href="http://advosys.ca/viewpoints/2006/09/disarming-adobe-pdf-vulnerabilities/" title="Disarming Adobe PDF Viewer">history of Adobe&#8217;s PDF viewer</a> I think it&#8217;s better to replace it with a viewer not so &#8220;feature rich&#8221;. The <a href="http://www.foxitsoftware.com/pdf/rd_intro.php">Foxit PDF viewer</a> is not vulnerable to this exploit (though it also has an optional internal Javascript engine) and makes a very good alternative PDF viewer for Windows. A side benefit is the FOxit reader is also much faster.
</p>
<p>
On my Windows systems I keep both Foxit and Adobe Viewer installed, with the default action for PDF files set to Foxit. That way I can still use Acrobat viewer to open the few PDFs that use special features unique to the Adobe product.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2006/09/disarming-adobe-pdf-vulnerabilities/' rel='bookmark' title='Permanent Link: Disarming Adobe PDF Viewer'>Disarming Adobe PDF Viewer</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/09/flash-player-vulnerability/' rel='bookmark' title='Permanent Link: Remote exploit in Adobe Flash player'>Remote exploit in Adobe Flash player</a></li>
<li><a href='http://advosys.ca/viewpoints/2007/08/port-scanner-with-adobe-flash/' rel='bookmark' title='Permanent Link: Port scanning with Adobe Flash'>Port scanning with Adobe Flash</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2007/01/avoiding-adobe-pdf-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows gets a real shell</title>
		<link>http://advosys.ca/viewpoints/2006/11/windows-gets-a-real-shell/</link>
		<comments>http://advosys.ca/viewpoints/2006/11/windows-gets-a-real-shell/#comments</comments>
		<pubDate>Wed, 15 Nov 2006 17:37:47 +0000</pubDate>
		<dc:creator>D Webber</dc:creator>
				<category><![CDATA[Windows security]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows scripting]]></category>

		<guid isPermaLink="false">http://advosys.ca/viewpoints/2006/11/windows-gets-a-real-shell/</guid>
		<description><![CDATA[Microsoft operating systems have taken another small step towards adulthood now that PowerShell has been released. This is the first&#160;real scriptable shell MS has produced for their operating systems. Now we have a vendor approved&#160;way to automate system administration, somewhat comparable to Bash and other scriptable shells that have long made Unix and Linux systems [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft operating systems have taken another small step towards adulthood now that <a title="Windows PowerShell" href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx">PowerShell</a> has been released. This is the first&nbsp;real scriptable shell MS has produced for their operating systems. Now we have a vendor approved&nbsp;way to automate system administration, somewhat comparable to Bash and other scriptable shells that have long made Unix and Linux systems so easy to administer.</p>
<p>Windows has always been a nightmare to automate. Unlike Unix and Linux, most Windows programs assume a human is sitting at the console clicking GUI dialog boxes with a mouse. There&#8217;s very little you can do from the command line. Admins have gotten around this by installing <a title="Real VNC" href="http://www.realvnc.com/">VNC</a>, PCAnywhere or some other remote GUI tool on each system. That saves trips to the server farm and to each desktop, but each system still needs to be tended to one at a time.<span id="more-109"></span></p>
<p>Lack of a standard shell has been another obstacle. Up to now the only standard &quot;shell&quot; for Windows operating systems have been the outrageously primitive cmd.exe and command.com. Microsoft came up with &quot;Windows script host&quot; (wsh) and most admins use VBscript or &quot;JScript&quot; in some way for login scripts but they are limited and enabling WSH leaves systems vulnerable unless you carefully configure Software Restriction Policies. Many organizations have resorted to proprietary scripting utilities like <a title="WinBatch" href="http://www.winbatch.com/">WinBatch</a>, <a title="AutoIt" href="http://www.autoitscript.com/autoit3/">AutoIt</a> or <a title="KiX" href="http://www.kixtart.org/">KiXtart</a> which are very capable, but non-standard.</p>
<p>Having a standard scripting&nbsp;language is important. When you hire a Unix admin you can be sure they will be able to automate tasks using bash or similar standard shell. Many have worked with enterprise-wide automation like <a title="CfEngine - a configuration engine" href="http://www.cfengine.org/">cfengine</a>. Not so with Windows admins: to many the entire concept of automation is foreign, and those who have done it may have experience with WinBatch but none with VBscript or whatever your organization has wound up using.</p>
<p>Finally Windows has one standard scripting shell provided by the vendor and supported by them. It will be years before PowerShell fully replaces the jungle of DOS, VBscript, JScript and other automation efforts currently in use (assuming it actually does&#8230; PowerShell doesn&#8217;t seem to provide a way to script the GUI), but at least we can start expecting Windows admins to be able to automate tasks using this shell. Knowledge and experience can now grow around one standard, rather than being scattered across multiple solutions. Too bad MS&nbsp;chose to re-invent the wheel and create yet another language rather than building on proven admin languages like Bash, Perl or&nbsp;Python. But that&#8217;s to be expected&#8230; MS hardly wants admins to have transferable skills.</p>
<p>PowerShell has been in development for long time&#8230; it has been known as &quot;monad&quot; and MSH and was originally intended to be included with the Vista series of operating systems. According to the <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/faq.mspx">PowerShell FAQ</a>, none of the various versions of Vista or &quot;Longhorn&quot; server will ship with PowerShell. It is available as a download for those operating systems, as well as for Windows XP and 2003 Server. As a language it looks fairly capable: it provides&nbsp;associative arrays&nbsp;and one type of regular expressions.</p>
<p>On the security side, it appears that Microsoft has learned some things from the debacle of Windows Scripting Host. There are a few additional safeguards with PowerShell (summed in this article about the recent <a href="http://blogs.msdn.com/powershell/archive/2006/08/03/687838.aspx">PowerShell malware</a>). Fundamentally MS is still relying on code signing, however, and we all know how&nbsp;well that security model worked for ActiveX.</p>
Copyright &copy; 2010 <a href="http://advosys.ca/">Advosys Consulting Inc.</a>

<p><em>Related posts:</em><ul><li><a href='http://advosys.ca/viewpoints/2007/01/us-military-to-standardize-windows-hardening/' rel='bookmark' title='Permanent Link: U.S. military to standardize Windows hardening'>U.S. military to standardize Windows hardening</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/04/windows-most-important-security/' rel='bookmark' title='Permanent Link: The most important Windows security tool'>The most important Windows security tool</a></li>
<li><a href='http://advosys.ca/viewpoints/2006/11/free-host-intrusion-prevention/' rel='bookmark' title='Permanent Link: Free host intrusion prevention for Windows'>Free host intrusion prevention for Windows</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://advosys.ca/viewpoints/2006/11/windows-gets-a-real-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
