<?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>Static in the Ether &#187; XP</title>
	<atom:link href="http://lair.moria.org/blog/archives/tag/xp/feed" rel="self" type="application/rss+xml" />
	<link>http://lair.moria.org/blog</link>
	<description>Unix, Information Security &#38; Systems Administration</description>
	<lastBuildDate>Wed, 11 Nov 2009 09:14:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Remote Desktop Annoyances with Nvidia drivers</title>
		<link>http://lair.moria.org/blog/archives/156</link>
		<comments>http://lair.moria.org/blog/archives/156#comments</comments>
		<pubDate>Mon, 27 Oct 2008 05:46:26 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Annoyances]]></category>
		<category><![CDATA[Nvidia]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=156</guid>
		<description><![CDATA[For the last few months I&#8217;ve been plagued by the inability to at times remote desktop to some of my Windows XP based system. While not critical, it is nice to be able to connect home and carry on working on a document/email I was busy with before departing to work. After some hunting, I [...]]]></description>
			<content:encoded><![CDATA[<p>For the last few months I&#8217;ve been plagued by the inability to at times remote desktop to some of my Windows XP based system. While not critical, it is nice to be able to connect home and carry on working on a document/email I was busy with before departing to work.</p>
<p>After some hunting, I narrowed the culprit down to the Nvida graphics drivers post version 169.39. Driver Release 175.16 was the first to show the issue, 175.19 made it worse.</p>
<p>My solution at the time roll back 169.19 and sacrifice some of the support for my CUDA enabled cards.  Last week I took the plunge and went for 178.13, which while resolving some other issues still broke the Remote desktop functionality.</p>
<p>The solution appears to be a tweek is needed in ones registry.</p>
<ol>
<li>Start, Run, type <strong>regedit</strong> and press OK</li>
<li>Navigate to the Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]</li>
<li>Right click in the Details pane and Select New –&gt; DWORD Value</li>
<li>Name it  <strong>SessionImageSize</strong></li>
<li>After it is created, double click on it and change its value to: 20 ( this is based on recommendations from <a href="http://computingondemand.com/?p=1141">here</a>) and effectively maps to raising the session memory to 32 MB.</li>
<li>Save and Reboot</li>
</ol>
<p>I tried this and no luck.  For my particular configuration SLI motherboards with Running 3 heads ofa 7600GT and 7300GS, I needed to raise the <strong>SessionImageSize</strong> value to 41 implying the use of 64MB of memory.  I&#8217;m not sure if this is due to the large amount of ram in the system ( 4gigs) or the particular use of two non SLI&#8217;d cards. the &#8216;default&#8217; value of 20 seems to have solved the problem on my other Intel based system running a single  8500GT.</p>
<p>Microsoft take on the issue  is contained in <a title="You are unexpectedly logged off when you try to connect to a computer that is running Windows Server 2003 or Windows XP" href="http://support.microsoft.com/kb/886212/en-us">KB886212</a> which proposes the solution of try another driver or rollback the driver.</p>
<p>Searching for &#8220;<strong>SessionImageSize</strong>&#8221; in the Microsoft knowledge base doesn&#8217;t seem to help either</p>
<p>Its worth nothign that the problem is occuring across different chipsets, Graphics cards, and on both SP2 and SP3 systems. The fix of increating the <strong>SessionImageSize to 0&#215;41</strong> seems to be working fine on a Windows Server 2003 (SP2) system as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/156/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Next Great worm on the rise ? (MS08-067 Critical)</title>
		<link>http://lair.moria.org/blog/archives/142</link>
		<comments>http://lair.moria.org/blog/archives/142#comments</comments>
		<pubDate>Thu, 23 Oct 2008 22:29:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Incidents]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[worm]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=142</guid>
		<description><![CDATA[Microsoft seems to have broken with the &#8220;Patch Tuesday&#8221; scheduled release cycle with the urgent release of MS08-67 earlier today after having detected in the wild attacks against  netapi32.dll. The vulnerability is in the RPC connector we know and love so well ( Blaster, Welchia, Nimda &#8230;). ISC points out quite nicely that this could [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft seems to have broken with the &#8220;Patch Tuesday&#8221; scheduled release cycle with the urgent release of <a title="Microsofr RPC vulnerability" href="http://www.microsoft.com/technet/security/Bulletin/ms08-067.mspx">MS08-67</a> earlier today after having detected in the wild attacks against  netapi32.dll. The vulnerability is in the RPC connector we know and love so well ( Blaster, Welchia, Nimda &#8230;). ISC <a href="http://isc.sans.org/diary.html?storyid=5227&amp;rss">points out</a> quite nicely that this could be the vector of choice for the next Generation worm, and have adjusted their infocon to Yellow accordingly. I suspect that we could see such a bit of code comming out within the next 3-5 days since there is already existing exploit source for blaster , and some of the reverse enginering and weaponization techniques based on patchers are rumoured ot be quite advanced. I supec we are  either going to see a  a payload  of some kind of destructiive nature ( Us Elections anyone?) or in a somewhat more insidous (now why do the <a href="http://en.wikipedia.org/wiki/House_Ordos">Ordos</a> spring to mind) form a bonet zombie.</p>
<p>I&#8217;ve been patiently waiting for three years to catch a new worm on my telescopes, so I I&#8217;m ready and waiting.</p>
<p>Windows 2000, XP and Server 2003 are all listed as critical targets, with Vista and Server 2008 being vulnerable as well, but potentially able to limit the damage due to their newer some what more modular and layered security design.  For Operating systems other than the latter two, this release also effectively updates <a href="http://go.microsoft.com/fwlink/?LinkId=70299">MS06-040</a></p>
<p>Christopher Budd from the Microsoft Security Response Center has a nice little <a href="http://blogs.technet.com/msrc/archive/2008/10/23/ms08-067-released.aspx">writeup about it</a>, with further details on the <a href="http://www.microsoft.com/technet/security/Bulletin/ms08-067.mspx">Official release notes for MS08-67</a>. Also from a Microsoft Perspective, Michael from the <a href="http://blogs.msdn.com/sdl/default.aspx">Security Develoment Lifcycle</a> has a nice piece titled <a href="http://blogs.msdn.com/sdl/archive/2008/10/22/ms08-067.aspx">MS08-067 and the SDL</a> in which he actually explains the bug itself.</p>
<p>Microsoft have also gone as far as to provide a <a title="Microsoft webcast on MS08-067" href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032393978&amp;EventCategory=4&amp;culture=en-US&amp;CountryCode=US">webcast</a> on the subject.</p>
<p><strong>Update:</strong> Infosec blogspace is all a twitter with this.  I&#8217;ll add relecant content as I find it.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/142/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XP failing to hibernate</title>
		<link>http://lair.moria.org/blog/archives/14</link>
		<comments>http://lair.moria.org/blog/archives/14#comments</comments>
		<pubDate>Sat, 03 May 2008 10:54:56 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[Annoyances]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=14</guid>
		<description><![CDATA[The problem For some time my Laptop and Desktop XP systems have been misbehaving, intermittently when going into hibernate, the desktop much more since it got its upgrade to 4 gigs of Ram. Symptoms include just going blank with heaps of hard disk activity and then just sitting with the HDD light flickering, or stating [...]]]></description>
			<content:encoded><![CDATA[<h2>The problem</h2>
<p>For some time my Laptop and Desktop XP systems have been misbehaving, intermittently when going into hibernate,  the desktop much more since it got its upgrade to 4 gigs of Ram.  Symptoms include just going blank with heaps of hard disk activity and then just sitting with the HDD light flickering, or stating that there are insufficient resources available —  despite heaps of free disk space on  the system drive.The other evening I had ad enough and went on a hunt for a potential solution other than the &#8220;re-install windows&#8221; solution.</p>
<p>This was particularly irritating when the laptop failed to hibernate, and you get home to find a rather warm laptop bag.  The other problem being in light of the joyous power cuts we have been experiencing, my UPS software is configured to hibernate on power fail rather than shut down something which wasn&#8217;t happening and the UPS batteries were ending up draining.  After trying the logical solutions of enable/disable hibernate, defrag the drive, removing the <code>hiberfile.sys</code>, rinse repeat etc. with no tangible effect it was time to look elsewhere.</p>
<h2>The solution</h2>
<p>The solution was surprisingly simple once I got the right <a href="http://www.google.com/search?hl=en&amp;newwindow=1&amp;q=xp+fails+to+hibernate+solution">sequence of terms</a> plugged into Google.  Microsoft has published a <a title="Microsoft KB 909095" href="http://support.microsoft.com/?kbid=909095">hotfix (Microsoft KB 909095)</a> for exactly this issue.  Although billed as:</p>
<blockquote><p>The computer occasionally does not hibernate and you receive an &#8220;Insufficient System Resources Exist to Complete the API&#8221; error message in Windows XP with Service Pack 2, in Windows XP Tablet PC Edition 2005, or in Windows XP Media Center Edition 2005</p></blockquote>
<p>It installs fine on any XP SP2 system, as stated further down in the Microsoft page.  With some trepidation I applied to my desktop fully expecting a warning or complaint &#8211; none occurred.  A reboot later I had hibernate working perfectly again. The cause of the problem is :</p>
<blockquote><p>To prepare the computer to hibernate, the Windows kernel power manager requires a block of contiguous memory. The size of this contiguous memory is proportional to the number of physical memory regions that the computer is using. A computer that uses lots of RAM is likely to use more physical memory regions when the computer prepares to hibernate. Therefore, a larger amount of contiguous memory is required to prepare the computer to hibernate.</p>
<p>Additionally, the number of physical memory regions varies according to the programs, services, and device drivers that the computer uses. Therefore, the hibernate feature occasionally fails.</p></blockquote>
<p>What I found interesting is that both systems are up to date, and I&#8217;ve never been offered this in any of the Windows update sessions, despite the hotfix being available since August 2006!</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/14/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
