<?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>evardsson.com: stuff that w0rks &#187; Windows</title>
	<atom:link href="http://www.evardsson.com/blog/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evardsson.com/blog</link>
	<description>tweaks and hacks, php, python, music, home and ???</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:25:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Using the COM class for PHP backgrounding in Windows</title>
		<link>http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/</link>
		<comments>http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 00:22:36 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/?p=235</guid>
		<description><![CDATA[I was having a difficult time finding a reliable way to run a background PHP process in Windows, when that was called from an active PHP page. In the *nix world it is relatively simple: by using shell_exec() (or the bactick operator) you can redirect the output to another stream or file and the process [...]]]></description>
			<content:encoded><![CDATA[<p>I was having a difficult time finding a reliable way to run a background PHP process in Windows, when that was called from an active PHP page. In the *nix world it is relatively simple: by using shell_exec() (or the bactick operator) you can redirect the output to another stream or file and the process will run in the background with no blocking. In Windows, however, this doesn&#8217;t seem to work well (or at all, depending on what you are calling via shell_exec()). I did find the answer, though, from piecing together info from the PHP documentation for shell_exec() and the COM class.</p>
<p>That, with a little trial and error and I was able to get a PHP page to fire off a command-line PHP process to run an import of several years data into a new reporting schema. Since this import relies on some serious data manipulation it has a tendency to time out for large data sets. So, I set up the command line script to run six months worth of data and before it exits it starts a new background process for the next six months of data. In this way I was able to complete a many-hour process without worrying about timeouts. I did notice that running in the background (actually in an &#8220;invisible&#8221; command shell) that the process ran slower than when running in the foreground. This was acceptable, however, since the page returns immediately while the processing begins and the application is still usable while the process is running.</p>
<p>Here is how I call it from the page:</p>
<div class="synthi_code" style="display:none;" id ="plain_synthi_4c8aed647c81a">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('styled_synthi_4c8aed647c81a').style.display='block';document.getElementById('plain_synthi_4c8aed647c81a').style.display='none';return false">Show Styled Code</a>]:</span></div>
<pre style="width:100%;overflow:auto;">if(isset($_SERVER['PWD'])) { // *nix
    $basepath = dirname(__FILE__).'/';
    $php = 'php';
} else {
    $basepath = dirname(__FILE__).'\\';
    // edit to match your installed target environment
    $php = &#034;C:\\php516\\php.exe&#034;;
}
ignore_user_abort(true);
set_time_limit(0);
$arg1 = 'foo';
$arg2 = 'bar';
$runCommand = &#034;$php -q {$basepath}my_background_running.php $arg1 $arg2&#034;;
if(isset($_SERVER['PWD'])) { // *nix
    // *nix: Use the backtick operator or shell_exec()
    $nullResult = `$runCommand > /dev/null &#038;`;
} else { // Windows: use the php COM class
    // WScript.Shell gives you the command line
    $WshShell = new COM(&#034;WScript.Shell&#034;);
    $oExec = $WshShell->Run($runCommand, 7, false);
}
</pre>
</div>
<div class="synthi_code" style="display:block;" id ="styled_synthi_4c8aed647c81a">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('plain_synthi_4c8aed647c81a').style.display='block';document.getElementById('styled_synthi_4c8aed647c81a').style.display='none';return false">Show Plain Code</a>]:</span></div>
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #000066;">isset</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_SERVER</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&#8216;PWD&#8217;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #808080; font-style: italic;">// *nix</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #0000ff;">$basepath</span> = <a href="http://www.php.net/dirname"><span style="color: #000066;">dirname</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">__FILE__</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #ff0000;">&#8216;/&#8217;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #0000ff;">$php</span> = <span style="color: #ff0000;">&#8216;php&#8217;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #0000ff;">$basepath</span> = <a href="http://www.php.net/dirname"><span style="color: #000066;">dirname</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">__FILE__</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #ff0000;">&#8216;<span style="color: #000099; font-weight: bold;">\\</span>&#8216;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// edit to match your installed target environment</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #0000ff;">$php</span> = <span style="color: #ff0000;">&quot;C:<span style="color: #000099; font-weight: bold;">\\</span>php516<span style="color: #000099; font-weight: bold;">\\</span>php.exe&quot;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><a href="http://www.php.net/ignore_user_abort"><span style="color: #000066;">ignore_user_abort</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><a href="http://www.php.net/set_time_limit"><span style="color: #000066;">set_time_limit</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #0000ff;">$arg1</span> = <span style="color: #ff0000;">&#8216;foo&#8217;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #0000ff;">$arg2</span> = <span style="color: #ff0000;">&#8216;bar&#8217;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #0000ff;">$runCommand</span> = <span style="color: #ff0000;">&quot;$php -q {$basepath}my_background_running.php $arg1 $arg2&quot;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #000066;">isset</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_SERVER</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&#8216;PWD&#8217;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #808080; font-style: italic;">// *nix</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// *nix: Use the backtick operator or shell_exec()</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #0000ff;">$nullResult</span> = `<span style="color: #0000ff;">$runCommand</span> &gt; /dev/<span style="color: #000000; font-weight: bold;">null</span> &amp;`;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #808080; font-style: italic;">// Windows: use the php COM class</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// WScript.Shell gives you the command line</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #0000ff;">$WshShell</span> = <span style="color: #000000; font-weight: bold;">new</span> COM<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;WScript.Shell&quot;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;">&nbsp; &nbsp; <span style="color: #0000ff;">$oExec</span> = <span style="color: #0000ff;">$WshShell</span>-&gt;<span style="color: #006600;">Run</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$runCommand</span>, <span style="color: #cc66cc;">7</span>, <span style="color: #000000; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 1.2em;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
<p>I do the same from the background script to call itself recursively right before it exits.</p>
<p>I didn&#8217;t find the Microsoft documentation for the Windows Script Host Shell until today during lunch. I found the location in the <a href="http://hudzilla.org/phpwiki/index.php?title=Main_Page">Practical PHP Programming Online Book</a> where he says to use the Google search <a href="http://www.google.com/search?q=%22wshshell+object%22+msdn">&#8220;wshell object&#8221; msdn</a> which will result in the first link pointing at the MSDN documentation. (I have a feeling it moves around quite a bit, since every link I have run across up to now that points directly at the documentation results in a nice 404 error page at Microsoft.)</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Using+the+COM+class+for+PHP+backgrounding+in+Windows+http://pnx7b.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;submitHeadline=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;submitHeadline=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows&amp;link=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows&amp;link=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/&amp;title=Using+the+COM+class+for+PHP+backgrounding+in+Windows" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2008/07/02/using-the-com-class-for-php-backgrounding-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP File IO concurrency issues with Windows</title>
		<link>http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/</link>
		<comments>http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 03:20:19 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/</guid>
		<description><![CDATA[A project that I am currently dealing with at work involves writing a large number of files to disk on Windows via PHP, and then pulling them into a database via a LOAD DATA INFILE call. The problem I am running into is that the file writes are backgrounded by the system while the PHP [...]]]></description>
			<content:encoded><![CDATA[<p>A project that I am currently dealing with at work involves writing a large number of files to disk on Windows via PHP, and then pulling them into a database via a LOAD DATA INFILE call. The problem I am running into is that the file writes are backgrounded by the system while the PHP script keeps trucking along, pushing the PHP system resources through the roof while paging most of the running processes, further slowing down the disk IO. Finally, once the scripts have have started and backgrounded all these file writes, the next script can&#8217;t read in the files to load them into the database.</p>
<p>So far I haven&#8217;t found any hints on this anywhere yet. If any of my readers know of any file IO tricks for PHP on Windows please let me know! (I&#8217;m talking to both of you!)</p>
<p><em>Edit: </em>It seems the issue was caused by having XDebug running while trying to write the files. I thought I had turned it off, but I hadn&#8217;t so it was writing cachegrind files while the scripts were trying to write their files, and well, it wasn&#8217;t pretty.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=PHP+File+IO+concurrency+issues+with+Windows+http://m32sz.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;submitHeadline=PHP+File+IO+concurrency+issues+with+Windows" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;submitHeadline=PHP+File+IO+concurrency+issues+with+Windows" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;title=PHP+File+IO+concurrency+issues+with+Windows" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;title=PHP+File+IO+concurrency+issues+with+Windows" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;title=PHP+File+IO+concurrency+issues+with+Windows" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;title=PHP+File+IO+concurrency+issues+with+Windows" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=PHP+File+IO+concurrency+issues+with+Windows&amp;link=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=PHP+File+IO+concurrency+issues+with+Windows&amp;link=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;title=PHP+File+IO+concurrency+issues+with+Windows" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;title=PHP+File+IO+concurrency+issues+with+Windows" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;title=PHP+File+IO+concurrency+issues+with+Windows" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/&amp;title=PHP+File+IO+concurrency+issues+with+Windows" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2008/01/14/php-file-io-concurrency-issues-with-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boot Camp + Parallels + XP = Validation Nightmare</title>
		<link>http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/</link>
		<comments>http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 17:54:51 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/</guid>
		<description><![CDATA[I have been running XP (WinXP Pro, SP2, retail version) under Parallels for a bit, and decided I wanted to give the Boot Camp with Parallels option a try. After finding some rather lengthy and questionable instructions on moving a Parallels image to a Boot Camp partition I decided to go the clean install route. [...]]]></description>
			<content:encoded><![CDATA[<p>I have been running XP (WinXP Pro, SP2, retail version) under Parallels for a bit, and decided I wanted to give the Boot Camp with Parallels option a try. After finding some rather lengthy and questionable instructions on moving a Parallels image to a Boot Camp partition I decided to go the clean install route.</p>
<p>I deleted my Parallels XP image (and subsequently ended up wishing I hadn&#8217;t) and used the Boot Camp assistant to set up my hard drive and install XP. I got XP set up and running, but had to call Microsoft to get it &#8216;activated&#8217; since it saw it as a new install. Once that was taken care of I installed Office, and got the same kind of headache there &#8211; where the key wouldn&#8217;t work, because it said it had been installed on too many machines. I decided to leave that be for the time until I felt like waiting on the MS phone queue again.</p>
<p>I rebooted into OS X and loaded my now &#8216;active&#8217; and &#8216;valid&#8217; Windows XP under Parallels. As soon as it booted it gave me the message that I had 3 days to activate it as the hardware had changed significantly and it was no longer valid. I ddn&#8217;t feel like fighting it so I closed down Parallels and rebooted into XP where, surprise, I got the 3 day warning again!</p>
<p>So not only does loading the same image in a VM result in XP thinking it isn&#8217;t a valid copy, but it changes something in the registry somewhere, so that booting back into natively results in the same thing. I thought the concept of hardware profiles would help with this sort of thing, but apparently not. This is something that MS needs to address sooner rather than later as multicore machines make virtualization more common and loading a native image in a VM becomes a more common way of doing that.</p>
<p>An interesting side note: I got fed up with the whole validation issue and removed the XP partition and re-installed XP under Parallels the same way I did originally. I expected the phone calls for the XP key and the Office key etc, etc &#8211; but, it just accepted the keys and validated no questions asked.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Boot%20Camp" class="performancingtags" rel="tag">Boot Camp</a>, <a href="http://technorati.com/tag/Parallels" class="performancingtags" rel="tag">Parallels</a>, <a href="http://technorati.com/tag/XP" class="performancingtags" rel="tag">XP</a>, <a href="http://technorati.com/tag/OS%20X" class="performancingtags" rel="tag">OS X</a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare+http://8wqxe.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;submitHeadline=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;submitHeadline=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare&amp;link=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare&amp;link=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/&amp;title=Boot+Camp+%2B+Parallels+%2B+XP+%3D+Validation+Nightmare" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vista Speech Command exploitable</title>
		<link>http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/</link>
		<comments>http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 17:48:15 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/</guid>
		<description><![CDATA[Talk about fast! George Ou at zdnet posted an article about this particular gem. Essentially, a user with the Speech Command feature enabled can browse to a web page which starts a sound file (like just about every mySpace page) containing clearly recorded commands, and the Speech Command feature will execute those commands without any [...]]]></description>
			<content:encoded><![CDATA[<p>Talk about fast! George Ou at zdnet posted an <a href="http://blogs.zdnet.com/Ou/?p=416&amp;tag=nl.e539">article</a> about this particular gem.</p>
<p>Essentially, a user with the Speech Command feature enabled can browse to a web page which starts a sound file (like just about every mySpace page) containing clearly recorded commands, and the Speech Command feature will execute those commands without any other user interaction. While not every command is enabled through Speech Command, George explains why you should disable Speech Command until there is a fix:</p>
<blockquote><p>The fact that a website can play a moderate level sound file to<br />
interact in a way with the desktop by activating an idle speech<br />
command system and be able to delete user documents with zero user<br />
interaction is serious by any stretch of the imagination.</p></blockquote>
<p>Update: <a href="http://blogs.zdnet.com/Ou/?p=418">Microsoft has confirmed this exploit</a>.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/security" class="performancingtags" rel="tag">security</a>, <a href="http://technorati.com/tag/windows" class="performancingtags" rel="tag">windows</a>, <a href="http://technorati.com/tag/vista" class="performancingtags" rel="tag">vista</a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Vista+Speech+Command+exploitable+http://9byt7.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;submitHeadline=Vista+Speech+Command+exploitable" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;submitHeadline=Vista+Speech+Command+exploitable" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;title=Vista+Speech+Command+exploitable" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;title=Vista+Speech+Command+exploitable" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;title=Vista+Speech+Command+exploitable" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;title=Vista+Speech+Command+exploitable" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Vista+Speech+Command+exploitable&amp;link=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Vista+Speech+Command+exploitable&amp;link=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;title=Vista+Speech+Command+exploitable" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;title=Vista+Speech+Command+exploitable" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;title=Vista+Speech+Command+exploitable" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/&amp;title=Vista+Speech+Command+exploitable" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2007/01/31/vista-speech-command-exploitable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cure for the External Drive Blues</title>
		<link>http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/</link>
		<comments>http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/#comments</comments>
		<pubDate>Sat, 27 Jan 2007 07:10:37 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/</guid>
		<description><![CDATA[I have been looking all over for a way to format an external drive so that I can use it under Linux, Windows and OS X. The reason for this is simple, I currently use Windows and Linux all the time, and I am planning on upgrading my rig to a MacBook Pro just as [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking all over for a way to format an external drive so that I can use it under Linux, Windows and OS X. The reason for this is simple, I currently use Windows and Linux all the time, and I am planning on upgrading my rig to a MacBook Pro just as soon as I can. Since I expect to be running OS X, Windows and Linux I needed to find a format for my 300GB external drive that would work with all of them.</p>
<p>While FAT32 is an option, it has some serious limitations. Like a maximum file size of 1 byte less than 4 GB. That and the way that FAT32 partitions over 32 GB (while supported under Windows) tend to get a little, shall we say, flaky.</p>
<p>Before today what I had found was as follows:</p>
<table align="center" border="1" cellpadding="10" cellspacing="0">
<thead>
<th>OS</th>
<th>File System</th>
<th>Read</th>
<th>Write</th>
</tr>
<tr>
<th rowspan="3">Windows XP</th>
<td>Ext2 / Ext3</td>
<td>application</td>
<td>no</td>
</tr>
<tr>
<td>HFS+</td>
<td>application</td>
<td>no</td>
</tr>
<tr>
<td>NTFS</td>
<td>native</td>
<td>native</td>
</tr>
<tr>
<th rowspan="3">Linux</th>
<td>Ext2 / Ext3</td>
<td>native</td>
<td>native</td>
</tr>
<tr>
<td>HFS+</td>
<td>in kernel</td>
<td>in kernel</td>
</tr>
<tr>
<td>NTFS</td>
<td>in kernel</td>
<td>no</td>
</tr>
<tr>
<th rowspan="3">OS X</th>
<td>Ext2 / Ext3</td>
<td>no</td>
<td>no</td>
</tr>
<tr>
<td>HFS+</td>
<td>native</td>
<td>native</td>
</tr>
<tr>
<td>NTFS</td>
<td>in kernel</td>
<td>no</td>
</tr>
</table>
<p>Note: native = default or standard in a &#8220;vanilla&#8221; install | in kernel = modules available for kernel insertion, although not default.</p>
<p>Well, that was before I found these today: kernel modules for both OS X and Windows for full read and write support of Ext2 / Ext3 file systems. I have installed <a href="http://www.fs-driver.org/index.html">Ext2 IFS for Windows</a> and pounded on it already. It works (so far) like a charm. I don&#8217;t yet have a Mac to test the <a href="http://sourceforge.net/projects/ext2fsx/">Mac OS X Ext2 Filesystem</a> but I will do so as soon as I can. Assuming they are building this as a loadable module for the Darwin kernel (does the OS X Darwin kernel allow insmodding?) then it should be a snap. What surprised me is that the Ext2 IFS for Windows is an actual NT Kernel module, not an app or service. It&#8217;s actually kind of cool to see my Linux partitions show up under XP as lettered drives!</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Cure+for+the+External+Drive+Blues+http://kcng4.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;submitHeadline=Cure+for+the+External+Drive+Blues" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;submitHeadline=Cure+for+the+External+Drive+Blues" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;title=Cure+for+the+External+Drive+Blues" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;title=Cure+for+the+External+Drive+Blues" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;title=Cure+for+the+External+Drive+Blues" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;title=Cure+for+the+External+Drive+Blues" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Cure+for+the+External+Drive+Blues&amp;link=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Cure+for+the+External+Drive+Blues&amp;link=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;title=Cure+for+the+External+Drive+Blues" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;title=Cure+for+the+External+Drive+Blues" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;title=Cure+for+the+External+Drive+Blues" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/&amp;title=Cure+for+the+External+Drive+Blues" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2007/01/26/cure-for-the-external-drive-blues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Word 0-day: Round 3</title>
		<link>http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/</link>
		<comments>http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/#comments</comments>
		<pubDate>Sat, 16 Dec 2006 06:26:00 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=8</guid>
		<description><![CDATA[Yesterday eWeek reported another 0-day exploit for Microsoft Word. While Microsoft has not publicly acknowledged the threat, CERT has issued a bulletin warning of it and a proof-of-concept has been released publicly. From the CERT bulletin: Data used by Microsoft Word to construct a destination address for a memory copy routine is embedded within a [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday <a href="http://www.eweek.com">eWeek</a> reported another 0-day exploit for Microsoft Word. While Microsoft has not publicly acknowledged the threat, <a href="http://www.cert.org" rel="tag">CERT</a> has issued a bulletin warning of it and a <a href="http://milw0rm.com/exploits/2922" rel="tag">proof-of-concept</a> has been released publicly.</p>
<p>From the CERT <a href="http://www.kb.cert.org/vuls/id/996892">bulletin</a>:</p>
<blockquote><p>Data used by Microsoft Word to construct a destination address for a memory copy routine is embedded within a Word document itself. If an attacker constructs a Word document with a specially crafted value used to build this destination address, then that attacker may be able to overwrite arbitrary memory.</p></blockquote>
<p>According to the eWeek article, currently only <a href="http://www.bitdefender.com">BitDefender</a> recognizes the threat. Testing on a fully patched and up-to-date WinXP SP2 I can at least vouch that AVG doesn&#8217;t recognize it as a threat yet. Opening the POC in Microsoft Word results in successful execution of the exploit (which in the POC merely crashes Word.) Attempting to open the POC in OpenOffice results in OO reporting an error.</p>
<p>My recommendation: use <a href="http://www.openoffice.org" rel="tag">OpenOffice</a>.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=MS+Word+0-day%3A+Round+3+http://4ykny.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;submitHeadline=MS+Word+0-day%3A+Round+3" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;submitHeadline=MS+Word+0-day%3A+Round+3" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;title=MS+Word+0-day%3A+Round+3" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;title=MS+Word+0-day%3A+Round+3" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;title=MS+Word+0-day%3A+Round+3" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;title=MS+Word+0-day%3A+Round+3" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=MS+Word+0-day%3A+Round+3&amp;link=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=MS+Word+0-day%3A+Round+3&amp;link=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;title=MS+Word+0-day%3A+Round+3" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;title=MS+Word+0-day%3A+Round+3" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;title=MS+Word+0-day%3A+Round+3" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/&amp;title=MS+Word+0-day%3A+Round+3" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2006/12/15/ms-word-0-day-round-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zero-Day Exploit Alert: WebViewFolderIcon setSlice Vulnerability</title>
		<link>http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/</link>
		<comments>http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 15:46:00 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=18</guid>
		<description><![CDATA[This is a Critical exploit, capable of executing code as the user running Internet Explorer. Reports of this in the wild as well as a temporary patch can be found at the Internet Storm Center. From the eEye Digital Security Alert: The PoC is an integer overflow-based heap overflow, in the DSA_SetItem function in COMCTL32.DLL. [...]]]></description>
			<content:encoded><![CDATA[<p>This is a Critical exploit, capable of executing code as the user running Internet Explorer. Reports of this in the wild as well as a temporary <a href="http://handlers.sans.org/tliston/WEBVW.DLL_KillBit.exe">patch</a>  can be found at the <a href="http://isc.sans.org/diary.php?storyid=1742">Internet Storm Center</a>.<br />
From the <a href="http://research.eeye.com/html/alerts/AL20061002.html">eEye Digital Security Alert</a>:</p>
<blockquote><p>The PoC is an integer overflow-based heap overflow, in the DSA_SetItem function in COMCTL32.DLL. An arithmetic overflow can occur during multiplication to calculate the desired size for a call to ReAlloc, that isn&#8217;t reproduced during a subsequent call to memmove, so the allocated size can be smaller than the copy size and result in a heap buffer overflow. &#8230;</p>
<p>This vulnerability can result in remote code execution in the context of the logged in user. In order to exploit this an attacker must create a malicious website or leverage a site that allows for custom user content.</p></blockquote>
<p>While the vulnerability was posted on the <a href="http://browserfun.blogspot.com/2006/07/mobb-18-webviewfoldericon-setslice.html">Browser Fun Blog</a> on July 18th, the exploit first appeared over the weekend. The <a href="http://www.microsoft.com/technet/security/advisory/926043.mspx">Microsoft Security Advisory</a> has details on how to patch manually and how to apply the manual change to group policy.</p>
<p><strong>Affects:</strong></p>
<ul>
<li> Windows 2000 Service Pack 4</li>
<li> Windows XP Service Pack  1</li>
<li> Windows XP Service Pack 2</li>
<li> Windows Server  2003</li>
<li> Windows Server 2003 Service Pack 1</li>
<li> Windows XP  Professional x64 Edition</li>
<li> Windows Server 2003 for Itanium-based  Systems</li>
<li> Windows Server 2003 with SP1 for Itanium-based  Systems</li>
<li> Windows Server 2003 x64 Edition</li>
</ul>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability+http://7wipg.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;submitHeadline=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;submitHeadline=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability&amp;link=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability&amp;link=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/&amp;title=Zero-Day+Exploit+Alert%3A+WebViewFolderIcon+setSlice+Vulnerability" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2006/10/04/zero-day-exploit-alert-webviewfoldericon-setslice-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code for IE exploit posted</title>
		<link>http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/</link>
		<comments>http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/#comments</comments>
		<pubDate>Sun, 17 Sep 2006 16:53:00 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=21</guid>
		<description><![CDATA[Hackers Post Code for New IE Attack Although the hackers are calling it a 0day exploit, it seems that it isn&#8217;t really. It is one of many that can be easily found using the AxMan ActiveX fuzzing engine. It seems that the guys over at xsec.org are trying to take more than reasonable credit for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pcworld.com/article/id,127148-pg,1-RSS,RSS/article.html">Hackers Post Code for New IE Attack</a></p>
<p>Although the hackers are calling it a 0day exploit, it seems that it isn&#8217;t really. It is one of many that can be easily found using the <a href="http://metasploit.com/users/hdm/tools/axman/">AxMan</a>  ActiveX fuzzing engine. It seems that the guys over at xsec.org are trying to take more than reasonable credit for writing code to exploit a known vulnerability.</p>
<p>HD Moore, head of the Metasploit project was quoted in the article as saying:</p>
<blockquote><p>&#8220;This is one of the many exploitable bugs that can be discovered using AxMan and one of the few that I didn&#8217;t include in Month of Browser bugs due to the ease of exploitation. I still have three or four left in IE that have similar impact.&#8221;</p></blockquote>
<p>There is also a <a href="http://secunia.com/advisories/21910/">Secunia Advisory</a> related to this exploit.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Code+for+IE+exploit+posted+http://6s9yt.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;submitHeadline=Code+for+IE+exploit+posted" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;submitHeadline=Code+for+IE+exploit+posted" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;title=Code+for+IE+exploit+posted" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;title=Code+for+IE+exploit+posted" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;title=Code+for+IE+exploit+posted" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;title=Code+for+IE+exploit+posted" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Code+for+IE+exploit+posted&amp;link=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Code+for+IE+exploit+posted&amp;link=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;title=Code+for+IE+exploit+posted" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;title=Code+for+IE+exploit+posted" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;title=Code+for+IE+exploit+posted" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/&amp;title=Code+for+IE+exploit+posted" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2006/09/17/code-for-ie-exploit-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Here they come . . .</title>
		<link>http://www.evardsson.com/blog/2006/08/14/here-they-come/</link>
		<comments>http://www.evardsson.com/blog/2006/08/14/here-they-come/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 21:47:00 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=26</guid>
		<description><![CDATA[In the eEye security bulletin for today the news of not just one, but two worms in the wild based on the Server Service vulnerability. If you still haven&#8217;t patched do it now, unless you&#8217;ve been infected, in which case eEye recommends &#8220;to wipe the system clean and rebuild it from the last uninfected backup.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>In the eEye security <a href="http://www.eeye.com/html/resources/newsletters/alert/pub/AL20060814.html?sb=kckvmmakvbmwkarmvvmm">bulletin</a> for today the news of not just one, but two worms in the wild based on the Server Service vulnerability. If you <em>still</em> haven&#8217;t patched do it now, unless you&#8217;ve been infected, in which case eEye recommends &#8220;to wipe the system clean and rebuild it from the last uninfected backup.&#8221;</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Here+they+come+.+.+.+http://i29wy.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;submitHeadline=Here+they+come+.+.+." title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;submitHeadline=Here+they+come+.+.+." title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;title=Here+they+come+.+.+." title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;title=Here+they+come+.+.+." title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;title=Here+they+come+.+.+." title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;title=Here+they+come+.+.+." title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Here+they+come+.+.+.&amp;link=http://www.evardsson.com/blog/2006/08/14/here-they-come/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Here+they+come+.+.+.&amp;link=http://www.evardsson.com/blog/2006/08/14/here-they-come/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;title=Here+they+come+.+.+." title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;title=Here+they+come+.+.+." title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;title=Here+they+come+.+.+." title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/08/14/here-they-come/&amp;title=Here+they+come+.+.+." title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2006/08/14/here-they-come/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patch! Patch! Patch!</title>
		<link>http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/</link>
		<comments>http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/#comments</comments>
		<pubDate>Fri, 11 Aug 2006 23:03:00 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=27</guid>
		<description><![CDATA[As much as this should be ingrained in our computing habits, this still needs to be said: Apply patches when they come out! The Microsoft Security Bulletin MS06-040 came out on the 8th, and a MetaSploit module to exploit the flaw came shortly after. Tech e-zine eWeek reported that Immunity and Core Security Technologies had [...]]]></description>
			<content:encoded><![CDATA[<p>As much as this should be ingrained in our computing habits, this still needs to be said: Apply patches when they come out!</p>
<p>The <a href="http://www.microsoft.com/technet/security/bulletin/ms06-040.mspx">Microsoft Security Bulletin MS06-040</a> came out on the 8th, and a <a href="http://www.metasploit.com/" rel="tag">MetaSploit</a> module to exploit the flaw came shortly after. Tech e-zine eWeek <a href="http://www.eweek.com/article2/0,1895,2002142,00.asp">reported</a> that <a href="http://www.immunitysec.com/">Immunity</a>  and  <a href="http://www.coresecurity.com/">Core Security Technologies</a> had both released what they deemed &#8220;reliable exploits&#8221; for the flaw and declared it wormable on all Windows versions.</p>
<p>Dave Aitel, CEO of Immunity said in an interview with eWeek &#8220;A worm is coming. This bug is just too easy to exploit.&#8221;</p>
<p>This is a vulnerability that would allow for remote takeover of an unpatched Windows machine. It will be interesting to see how widespread the damage is when (not if) a worm is released.</p>
<p>Patches are available from the <a href="http://www.microsoft.com/technet/security/bulletin/ms06-040.mspx">bulletin</a> (follow the links) or from Windows Update.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Patch%21+Patch%21+Patch%21+http://qq53t.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;submitHeadline=Patch%21+Patch%21+Patch%21" title="Post to Yahoo Buzz"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-buzz.png" alt="Post to Yahoo Buzz" /></a> <a class="tt" href="http://buzz.yahoo.com/submit?submitUrl=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;submitHeadline=Patch%21+Patch%21+Patch%21" title="Post to Yahoo Buzz">Buzz This Post</a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;title=Patch%21+Patch%21+Patch%21" title="Post to Delicious"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious.png" alt="Post to Delicious" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;title=Patch%21+Patch%21+Patch%21" title="Post to Delicious">Delicious</a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;title=Patch%21+Patch%21+Patch%21" title="Post to Digg"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-digg.png" alt="Post to Digg" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;title=Patch%21+Patch%21+Patch%21" title="Post to Digg">Digg This Post</a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Patch%21+Patch%21+Patch%21&amp;link=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/" title="Post to Ping.fm"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-ping.png" alt="Post to Ping.fm" /></a> <a class="tt" href="http://ping.fm/ref/?method=microblog&amp;title=Patch%21+Patch%21+Patch%21&amp;link=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/" title="Post to Ping.fm">Ping This Post</a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;title=Patch%21+Patch%21+Patch%21" title="Post to Reddit"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit.png" alt="Post to Reddit" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;title=Patch%21+Patch%21+Patch%21" title="Post to Reddit">Reddit</a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;title=Patch%21+Patch%21+Patch%21" title="Post to StumbleUpon"><img class="nothumb" src="http://www.evardsson.com/blog/wp-content/plugins/tweet-this/icons/tt-su.png" alt="Post to StumbleUpon" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/&amp;title=Patch%21+Patch%21+Patch%21" title="Post to StumbleUpon">Stumble This Post</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2006/08/11/patch-patch-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
