<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Vista Compatibility Team Blog : Windows Vista Application Compatibilty XP port</title><link>http://blogs.msdn.com/vistacompatteam/archive/tags/Windows+Vista+Application+Compatibilty+XP+port/default.aspx</link><description>Tags: Windows Vista Application Compatibilty XP port</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Mark and Manmeet on .Net Show</title><link>http://blogs.msdn.com/vistacompatteam/archive/2006/10/24/mark-and-manmeet-on-net-show.aspx</link><pubDate>Tue, 24 Oct 2006 19:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:868901</guid><dc:creator>VistaCompatTeam</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vistacompatteam/comments/868901.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vistacompatteam/commentrss.aspx?PostID=868901</wfw:commentRss><description>&lt;P&gt;Mark and Manmeet appeared on the .Net show last week. Enjoy:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://msdn.microsoft.com/theshow/episode.aspx?xml=theshow/en/episode059/manifest.xml"&gt;http://msdn.microsoft.com/theshow/episode.aspx?xml=theshow/en/episode059/manifest.xml&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maarten&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=868901" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vistacompatteam/archive/tags/Windows+Vista+Application+Compatibilty+XP+port/default.aspx">Windows Vista Application Compatibilty XP port</category></item><item><title>rundll32.exe appwiz.cpl,NewlInkHere is back</title><link>http://blogs.msdn.com/vistacompatteam/archive/2006/10/20/rundll32-exe-appwiz-cpl-newlinkhere-is-back.aspx</link><pubDate>Fri, 20 Oct 2006 23:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:850387</guid><dc:creator>VistaCompatTeam</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/vistacompatteam/comments/850387.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vistacompatteam/commentrss.aspx?PostID=850387</wfw:commentRss><description>&lt;P class=MsoNormal&gt;For some reason it was quite common to use an undocumented (and hence unsupported and we-can-pull-rug-underneath-at-any-time) export from the appwiz.cpl called newlinkhere. This export was removed in Vista. Since this was quite a popular export (live.com for it yourself, you’ll see) we decided at a late stage to put it back in. I haven’t verified it but it should be in the RTM version. You would use it like this:&lt;/P&gt;
&lt;P class=MsoNormal mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&amp;nbsp;&lt;FONT color=#1f497d&gt;rundll32.exe appwiz.cpl,NewlInkHere&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;Maarten&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=850387" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vistacompatteam/archive/tags/Windows+Vista+Application+Compatibilty+XP+port/default.aspx">Windows Vista Application Compatibilty XP port</category></item><item><title>Impact of Least Privilege in System Services</title><link>http://blogs.msdn.com/vistacompatteam/archive/2006/10/19/impact-of-least-privilege-in-system-services.aspx</link><pubDate>Thu, 19 Oct 2006 20:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:845121</guid><dc:creator>VistaCompatTeam</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/vistacompatteam/comments/845121.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vistacompatteam/commentrss.aspx?PostID=845121</wfw:commentRss><description>&lt;P&gt;Of all security changes in Vista, UAC with its spit token and MIC is for obvious reasons getting most attention. But there are a lot of other areas that have been tightened up for security reasons and we keep finding new ones that impact customers. One of them is detailed in the &lt;A class="" href="http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/Vista_Services.doc" mce_href="http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/Vista_Services.doc"&gt;document on service changes in Vista&lt;/A&gt;. The specific session is called Running with Least Privilege.&lt;/P&gt;
&lt;P&gt;In Vista you can have NT services explicitly have only the privileges they need. You can view them with "sc qpriv" or just go to the registry (HKLM\SYSTEM\CurrentControlSet\Services under RequiredPrivileges). This is a good thing because you no longer have to get all the other privileges that for example Local System has if you only need one or two. For example "sc qprivs rpcss" will give you only three privileges on Vista. &lt;/P&gt;
&lt;P&gt;As with pretty much any change, there are impacts. For example, if your MSI package had a custom action (CA) that was assuming the Windows Installer service had the SeBackupPrivilege, you will be unpleasantly surprised. Checking it with "sc qpriv msiserver" shows that SeBackupPrivilege is no longer there. This was done to reduce the attack surface of the Windows Installer service. &lt;/P&gt;
&lt;P&gt;Let us know if this or another service missing a privilege is impacting you. &lt;/P&gt;
&lt;P&gt;Thanks to &lt;A class="" href="http://chrpai.blogspot.com/2006/10/vista-deferred-ca-consideration.html" mce_href="http://chrpai.blogspot.com/2006/10/vista-deferred-ca-consideration.html"&gt;Christopher&lt;/A&gt; for pointing this out.&lt;/P&gt;
&lt;P&gt;Maarten&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=845121" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vistacompatteam/archive/tags/Windows+Vista+Application+Compatibilty+XP+port/default.aspx">Windows Vista Application Compatibilty XP port</category></item><item><title>Per-User COM on Vista for elevated token processes</title><link>http://blogs.msdn.com/vistacompatteam/archive/2006/10/17/per-user-com-on-vista-for-elevated-token-processes.aspx</link><pubDate>Tue, 17 Oct 2006 20:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:835646</guid><dc:creator>VistaCompatTeam</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/vistacompatteam/comments/835646.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vistacompatteam/commentrss.aspx?PostID=835646</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Per-user COM&amp;nbsp;in Vista (where CLSIDs, etc.&amp;nbsp;go under HKCU\Software\Classes instead of HKLM\Software\Classes) behaves different on Vista compared to XP. Actually it does not work at all&amp;nbsp;for full administrators (to be precise, it is actually for any process with a MIC level higher than medium but more on that later). The CoCreateInstance or CreateObject call will return 0x800A01AD (-2148139437&amp;nbsp;or "server can't create object" or REGDB_E_CLASSNOTREG). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;The reason that it is not working is - you guessed it - a security issue. Non-elevated administrators are standard users and they can write to HKCU and hence \Software\Classes to their hearts content. So it would allow them to add entries to the registry that a process running under a full administrator token then would read. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Imagine the scenario where a rogue COM component is registered under HKCU by a non-elevated administrator process. There is no need for a consent dialog since again, standard users can write to HKCU. When a program is running as&amp;nbsp;full administrator it could load the rogue COM dll under its all too powerful admin token in its process space. This is a schoolbook example of elevation of privilege. It is also going against the basic premise of UAC that anything running on the machine as administrator has to be installed and approved by an administrator. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Thanks&amp;nbsp;Saji and Riyaz for helping me on this. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Maarten&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=835646" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vistacompatteam/archive/tags/Windows+Vista+Application+Compatibilty+XP+port/default.aspx">Windows Vista Application Compatibilty XP port</category></item></channel></rss>