<?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>alt-92 - blogIT &#187; Security</title>
	<atom:link href="http://blog.alt-92.net/index.php/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alt-92.net</link>
	<description>Const ForReading =1 - personal brainstorms, items, and other random webstuff</description>
	<lastBuildDate>Wed, 10 Feb 2010 22:18:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Detecting and installing WSUS updates in Server 2008 Core</title>
		<link>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/</link>
		<comments>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 14:45:36 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/</guid>
		<description><![CDATA[On a normal GUI-box, detecting or installing new updates after a fresh install is reasonably easy.
You just click the Updates Control panel item,  or, for the more commandline orientated folks, run a wuauclt /detectnow  and wait for the “There are new updates available” Systray icon to appear.
  The problem with Server Core [...]]]></description>
			<content:encoded><![CDATA[<p>On a normal GUI-box, detecting or installing new updates after a fresh install is reasonably easy.<br />
You just click the Updates Control panel item,  or, for the more commandline orientated folks, run a wuauclt /detectnow  and wait for the “There are new updates available” Systray icon to appear.</p>
<p>  The problem with Server Core … there’s no way for you to see the “updates to install” notice in the system tray when you log on to the computer because, well, there’s no systray!</p>
<p> In comes a handy piece of VBscript that allows you to do a manual quick check and start off the installation process, using the in-box Windows Update Agent API.<br />
<a title="http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx">http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx</a></p>
<p>Although the MSDN article states it does not run against SUS 1.0 servers, you don’t have to worry because both Windows Update (site) and WSUS 3.x employ the WUA API.  </p>
<p>Save and run the script in the command prompt as &#8220;cscript <scriptname.vbs>&#8221; since the default script host is graphical (wscript) on a Core box.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li></li><li>Set updateSession = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.Session&quot;<span class="br0">&#41;</span></li><li>Set updateSearcher = updateSession.CreateupdateSearcher<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo &quot;Searching for updates...&quot; &amp; vbCRLF</li><li>&nbsp;</li><li>Set searchResult = _</li><li>updateSearcher.Search<span class="br0">&#40;</span>&quot;IsInstalled=<span style="">0</span> and Type='Software'&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo &quot;List of applicable items on the machine:&quot;</li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; update.Title</li><li>Next</li><li>&nbsp;</li><li>If searchResult.Updates.Count = <span style="">0</span> Then</li><li>WScript.Echo &quot;There are no applicable updates.&quot;</li><li>WScript.Quit</li><li>End If</li><li>&nbsp;</li><li>WScript.Echo vbCRLF &amp; &quot;Creating collection of updates to download:&quot;</li><li>&nbsp;</li><li>Set updatesToDownload = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.UpdateColl&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>For I = <span style="">0</span> to searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; adding: &quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;updatesToDownload.Add<span class="br0">&#40;</span>update<span class="br0">&#41;</span></li><li>Next</li><li>&nbsp;</li><li>WScript.Echo vbCRLF &amp; &quot;Downloading updates...&quot;</li><li>&nbsp;</li><li>Set downloader = updateSession.CreateUpdateDownloader<span class="br0">&#40;</span><span class="br0">&#41;</span> </li><li>downloader.Updates = updatesToDownload</li><li>downloader.Download<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; &quot;List of downloaded updates:&quot;</li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;If update.IsDownloaded Then</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;End If</li><li>Next</li><li>&nbsp;</li><li>Set updatesToInstall = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.UpdateColl&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; _</li><li>&quot;Creating collection of downloaded updates to install:&quot; </li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;If update.IsDownloaded = true Then</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; adding:&nbsp;&nbsp;&quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; updatesToInstall.Add<span class="br0">&#40;</span>update<span class="br0">&#41;</span> </li><li>&nbsp;&nbsp;&nbsp;&nbsp;End If</li><li>Next</li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; &quot;Would you like to install updates now? <span class="br0">&#40;</span>Y/N<span class="br0">&#41;</span>&quot;</li><li>strInput = WScript.StdIn.Readline</li><li>WScript.Echo </li><li>&nbsp;</li><li>If <span class="br0">&#40;</span>strInput = &quot;N&quot; or strInput = &quot;n&quot;<span class="br0">&#41;</span> Then </li><li>WScript.Quit</li><li>ElseIf <span class="br0">&#40;</span>strInput = &quot;Y&quot; or strInput = &quot;y&quot;<span class="br0">&#41;</span> Then</li><li>WScript.Echo &quot;Installing updates...&quot;</li><li>Set installer = updateSession.CreateUpdateInstaller<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>installer.Updates = updatesToInstall</li><li>Set installationResult = installer.Install<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>'Output results of install</li><li>WScript.Echo &quot;Installation Result: &quot; &amp; _</li><li>installationResult.ResultCode </li><li>WScript.Echo &quot;Reboot Required: &quot; &amp; _ </li><li>installationResult.RebootRequired &amp; vbCRLF </li><li>WScript.Echo &quot;Listing of updates installed &quot; &amp; _</li><li>&quot;and individual installation results:&quot; </li><li>&nbsp;</li><li>For I = <span style="">0</span> to updatesToInstall.Count - <span style="">1</span></li><li>WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; _</li><li>updatesToInstall.Item<span class="br0">&#40;</span>i<span class="br0">&#41;</span>.Title &amp; _</li><li>&quot;: &quot; &amp; installationResult.GetUpdateResult<span class="br0">&#40;</span>i<span class="br0">&#41;</span>.ResultCode </li><li>Next</li><li>End If</li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opening .CHM files from network drives &#8211; the GPO way</title>
		<link>http://blog.alt-92.net/index.php/2008/12/11/opening-chm-files-from-network-drives-the-gpo-way/</link>
		<comments>http://blog.alt-92.net/index.php/2008/12/11/opening-chm-files-from-network-drives-the-gpo-way/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 00:44:33 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/?p=33</guid>
		<description><![CDATA[Trying to read non-local HTML Help files since  Security Bulletin MS05-026 has always been a very frustrating process.
First, there is the common &#8216;Oh oh, you&#8217;re opening a potentially dangerous file&#8217; popup:

Well, yes. I want to, it&#8217;s already stored on my network. I put it there. In fact, I already unblocked the content when I [...]]]></description>
			<content:encoded><![CDATA[<p>Trying to read non-local HTML Help files since <a href="http://www.microsoft.com/technet/security/bulletin/ms05-026.mspx"> Security Bulletin MS05-026</a> has always been a very frustrating process.<br />
First, there is the common &#8216;Oh oh, you&#8217;re opening a potentially dangerous file&#8217; popup:</p>
<p><a href="http://blog.alt-92.net/wp-content/chmwarning.png"><img class="size-medium wp-image-34 alignleft" title="chm warning note" src="http://blog.alt-92.net/wp-content/chmwarning-300x211.png" alt="" width="270" height="190" /></a></p>
<p>Well, yes. I want to, it&#8217;s already stored on my network. I put it there. In fact, I already unblocked the content when I downloaded the file.</p>
<p><a href="http://blog.alt-92.net/wp-content/chm_unblock.png"><img class="size-medium wp-image-37 alignnone" title="chm_unblock" src="http://blog.alt-92.net/wp-content/chm_unblock-220x300.png" alt="" width="220" height="300" /></a></p>
<p>But still I get a blank page in the Helpfile:<br />
<a href="http://blog.alt-92.net/wp-content/chm_content.png"><img class="size-medium wp-image-35 alignnone" title="chm_content" src="http://blog.alt-92.net/wp-content/chm_content-300x208.png" alt="" width="300" height="208" /></a></p>
<p>So let&#8217;s go check the <a href="http://support.microsoft.com/kb/896358" target="_blank">KB Article page</a> to see what we can do.</p>
<p>Ah. While there is a helpful section explaining the registry keys needed to Make Things Work again regeditting manually is not everyones favourite pastime:</p>
<blockquote><p><code><br />
Windows Registry Editor Version 5.00</code><br />
<code><br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions]<br />
"MaxAllowedZone"=dword:00000001<br />
"UrlAllowList"="\\\\alt-92.net"<br />
</code><code><br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]<br />
"MaxAllowedZone"=dword:00000001<br />
"UrlAllowList"="\\\\alt-92.net"<br />
</code></p></blockquote>
<p>No, the double \\ are no mistake. You need to escape backslashes.</p>
<p>Now repeat for every computer. Wash, rinse, repeat.</p>
<p>Time to get busy.<br />
Using GPOs seems a likely solution. In fact, the KB article references GPO&#8217;s but in a very nasty way.<br />
So why not use Vista&#8217;s new GPO Preferences?</p>
<p>To start off, create a new GPO (appropriately named GP_HTMLHelpFix ).<br />
Dig down into the Computer Configuration tree, until you reach Preferences&gt; Windows Settings &gt; Registry.</p>
<p><a href="http://blog.alt-92.net/wp-content/chm_gppref0.png"><img class="alignnone size-medium wp-image-45" title="chm_gppref0" src="http://blog.alt-92.net/wp-content/chm_gppref0-300x271.png" alt="" width="300" height="271" /></a></p>
<p>Create new entries for the values needed:</p>
<p><a href="http://blog.alt-92.net/wp-content/chm_gppref2.png"><img class="size-medium wp-image-47 alignnone" title="chm_gppref2" src="http://blog.alt-92.net/wp-content/chm_gppref2-270x300.png" alt="" width="270" height="300" /></a></p>
<p>You can use the UrlAllowList setting to enter DFS roots or local intranet domain.</p>
<p><a href="http://blog.alt-92.net/wp-content/chm_gppref1.png"><img class="size-medium wp-image-46 alignnone" title="chm_gppref1" src="http://blog.alt-92.net/wp-content/chm_gppref1-270x300.png" alt="" width="270" height="300" /></a></p>
<p>After linking the Computer GPO to the proper OU and doing a gpupdate, you should see the results in the Registry Editor:</p>
<p><a href="http://blog.alt-92.net/wp-content/chmreg_manual.png"><img class="alignnone size-medium wp-image-52" title="chmreg_manual" src="http://blog.alt-92.net/wp-content/chmreg_manual-300x118.png" alt="" width="300" height="118" /></a></p>
<p>The above approach works in most cases. Except.. it&#8217;s still not working.<br />
<a href="http://blog.alt-92.net/wp-content/chm_content.png"><img class="size-medium wp-image-35 alignnone" title="chm_content" src="http://blog.alt-92.net/wp-content/chm_content-300x208.png" alt="" width="300" height="208" /></a></p>
<p>As it turns out, I not only need to configure the registry keys, but also need to <strong>properly </strong> configure Internet Options to include the namespace in the local Intranet Zone.<br />
Apparently, there is a problem in IE7 listed <a href="http://support.microsoft.com/kb/941001"> in MSKB article 941001</a>.</p>
<blockquote><p>If you configure a policy setting to a value other than the default value, a local site may appear as &#8220;Local Intranet&#8221; even though you expect it to appear as &#8220;Internet,&#8221; or vice versa.</p></blockquote>
<p>The default settings which should work but don&#8217;t:</p>
<p><a href="http://blog.alt-92.net/wp-content/chm_iesettings.png"><img class="alignnone size-medium wp-image-48" title="chm_iesettings" src="http://blog.alt-92.net/wp-content/chm_iesettings-242x300.png" alt="" width="242" height="300" /></a></p>
<p>So let&#8217;s tick off Autodetect, tick &#8220;Include all Network paths (UNCs)&#8221; since a drivemapping is also UNC..<br />
<a href="http://blog.alt-92.net/wp-content/chm_iesettings2.png"><img class="alignnone size-medium wp-image-50" title="chm_iesettings2" src="http://blog.alt-92.net/wp-content/chm_iesettings2-300x167.png" alt="" width="300" height="167" /></a></p>
<p>Click Advanced, and enter the domain as a file://-based UNC path..<br />
<a href="http://blog.alt-92.net/wp-content/chm_iesettings3.png"><img class="alignnone size-medium wp-image-51" title="chm_iesettings3" src="http://blog.alt-92.net/wp-content/chm_iesettings3-300x263.png" alt="" width="300" height="263" /></a></p>
<p>Re-tick autodetect, <em>with the settings enabled</em> and &#8216;Ok&#8217; your way though.<br />
<a href="http://blog.alt-92.net/wp-content/chm_iesettings4.png"><img class="alignnone size-medium wp-image-64" title="chm_iesettings4" src="http://blog.alt-92.net/wp-content/chm_iesettings4-300x167.png" alt="" width="300" height="167" /></a></p>
<p>Import these settings in the appropriate GPO object to control IE settings if you have them.</p>
<p>Bonus: Use a WMI filter to exclude or include the operating systems you wish to apply these settings to.  The Filter shown ensures the GPO only applies to XP desktops and Vista RTM or SP1 desktop machines, and not to any 2000 Pro or 2003 Server machines that inadvertently stray out of their OU.</p>
<p><a href="http://blog.alt-92.net/wp-content/chm_gpofilter1.png"><img class="alignnone size-medium wp-image-75" title="chm_gpofilter1" src="http://blog.alt-92.net/wp-content/chm_gpofilter1-300x173.png" alt="" width="300" height="173" /></a></p>
<p>By the way:</p>
<p>It worked!</p>
<p><a href="http://blog.alt-92.net/wp-content/chm_positive.png"><img class="alignnone size-medium wp-image-67" title="chm_positive" src="http://blog.alt-92.net/wp-content/chm_positive-300x170.png" alt="" width="300" height="170" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2008/12/11/opening-chm-files-from-network-drives-the-gpo-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interview with Rafal Luckawiecki at IT Forum &#8216;07</title>
		<link>http://blog.alt-92.net/index.php/2008/01/28/interview-with-rafal-luckawiecki-at-it-forum-07/</link>
		<comments>http://blog.alt-92.net/index.php/2008/01/28/interview-with-rafal-luckawiecki-at-it-forum-07/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 16:54:39 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2008/01/28/interview-with-rafal-luckawiecki-at-it-forum-07/</guid>
		<description><![CDATA[
Rafal Lukawiecki Security chat at IT Forum
]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://edge.technet.com/Media/313/player/" frameborder="0" height="325" scrolling="no" width="320"></iframe><br />
<a href="http://edge.technet.com/Media/MagicFolder-Screencast-Test/">Rafal Lukawiecki Security chat at IT Forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2008/01/28/interview-with-rafal-luckawiecki-at-it-forum-07/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inherited Permissions and moving Folders don&#8217;t mix.</title>
		<link>http://blog.alt-92.net/index.php/2007/06/24/inherited-permissions-are-not-automatically-updated-when-you-move-folders/</link>
		<comments>http://blog.alt-92.net/index.php/2007/06/24/inherited-permissions-are-not-automatically-updated-when-you-move-folders/#comments</comments>
		<pubDate>Sat, 23 Jun 2007 23:21:43 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2007/06/24/inherited-permissions-are-not-automatically-updated-when-you-move-folders/</guid>
		<description><![CDATA[You know the reACL mayhem that ensues when your datashares are ACLled with different groups on different folders..
When you (accidentally) move a folder into another one with different security, the inherited permissions don&#8217;t apply. This tends to happen frequently when users drag &#8216;n drop a folder in the wrong place and lose sight or can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>You know the reACL mayhem that ensues when your datashares are ACLled with different groups on different folders..<br />
When you (accidentally) move a folder into another one with different security, the inherited permissions don&#8217;t apply. This tends to happen frequently when users drag &#8216;n drop a folder in the wrong place and lose sight or can&#8217;t seem to remember that ctrl+z is Undo.</p>
<p>Here&#8217;s why.</p>
<p><a href="http://support.microsoft.com/kb/320246/en-us">http://support.microsoft.com/kb/320246/en-us</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2007/06/24/inherited-permissions-are-not-automatically-updated-when-you-move-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
