<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msinfluentials.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>Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx</link><description>In a parallel universe, where our normal rules of logic do not apply, security is enhanced by publishing exploits for unpatched vulnerabilities. Straight from that universe, we received a gift from H.D. Moore today - a brand new MetaSploit toolkit for</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#9016</link><pubDate>Fri, 15 Aug 2008 18:47:55 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:9016</guid><dc:creator>3.141592654</dc:creator><description>&lt;p&gt;e5df9d10-3b52-11d1-83e8-00a0c90dc849&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=9016" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#177</link><pubDate>Wed, 04 Oct 2006 15:28:28 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:177</guid><dc:creator>dickcarl@dickcarlson.com</dc:creator><description>&lt;p&gt;It's really great (for those of us at the user level) to be able to follow along in these discussions and learn. &amp;nbsp;Thanks to Jesper and all of you for sharing.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=177" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#176</link><pubDate>Tue, 03 Oct 2006 06:51:37 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:176</guid><dc:creator>Magnus L&amp;#246;&amp;#246;f</dc:creator><description>There are some discussions regarding the killbit and wether it will prevent an ActiveX control from installing, or just prevent it from running - http://tinyurl.com/zrcnv .

It seems that the killbit is only effective *after* an ActiveX control is installed. It could be possible to set the killbit beforehand, but since the killbit does not prevent (it seems) the control from being installed, a smart (from the perspective of the malware author) ActiveX installer would reset the killbit to allow it to be run.

And we know that most our users are "Curious Georges" that will happily "OK" an installation of an ActiveX control, if the content of the website is interesting enough.

What I would like MS to do, is to create an Enterprise grade management facility (GPOs par example) for *whitelisting* what AX controls can be installed and used.

Just my SEK 0.50&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=176" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#173</link><pubDate>Mon, 02 Oct 2006 16:35:01 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:173</guid><dc:creator>jesper</dc:creator><description>&lt;p&gt;Malyn and John, I took a very conservative approach to the script in that if the registry key for the particular control does not exist under the Internet Explorer\ActiveX Compatibility key then do not make any changes. That was based on the assumption that if there is no key there, the control probably was not designed to be used in IE at all, and IE may have undefined behavior if I killbit a non-existent control. As it were, I have no idea if those assumptions are correct or not. I have been unable to find any documentation on the behavior of the flags or that key at all. If anyone feels like educating me, I would appreciate it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=173" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#169</link><pubDate>Mon, 02 Oct 2006 10:19:13 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:169</guid><dc:creator>malynj</dc:creator><description>This script is programmed to bail out if the registry key for the ActiveX doesn't exist.  
Shouldn't the script create the missing key and set the killbit?  
KB article 240797 indicates that typically the key will need to be created in order to kill an ActiveX control, seeming to indicate the key won't always exist.
For my use I modified the script to create the key if missing, but I wanted to see if there were any specific reasons for not creating the key with the script, or if it was only the risk of not knowing enough for non-existent keys.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=169" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#168</link><pubDate>Mon, 02 Oct 2006 07:51:37 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:168</guid><dc:creator>John Smitg</dc:creator><description>I get the following message:
The specified ActiveX control: 844F4806-E8A8-11d2-9652-00C04FC30871 does not exist on this system

For the other GUID it works ok. Is that normal or is there someting I have to worry about?

It also doesnt work for the DACTL vulnerability.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=168" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#164</link><pubDate>Sun, 01 Oct 2006 13:53:53 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:164</guid><dc:creator>Yakov Shafranovich</dc:creator><description>We deployed this script without any issues in our organization. However, we did modify it to log to the event log as opposed to the file using WshShell.LogEvent method. We even consider logging to a remote computer, but that probably would be a management nightmare.

Thanks!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=164" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#163</link><pubDate>Sat, 30 Sep 2006 21:31:18 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:163</guid><dc:creator>HiltonT</dc:creator><description>Hi Jesper,

This vulnerability seems to be actively exploited.  I have some updated information in my blog: http://hiltont.blogspot.com/

I just wish the term "responsible disclosure" was a lot more widely used, accepted and practiced.  I also wish Microsoft would release critical fixes when they are ready, not wait for the next Black Tuesday to meander around, ESPECIALLY for actively exploited vulnerabilities.  We currently have to hound them to get critical issues addressed, and that is not a good thing.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=163" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#162</link><pubDate>Sat, 30 Sep 2006 03:42:04 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:162</guid><dc:creator>jesper</dc:creator><description>&lt;p&gt;Roger, I do not know what happens if you lose the COMPAT_NEVERFOCUSSABLE flag in this case. However, the fact that there may be other flags is one of the major reasons I decided to write the script the way I did. &lt;/p&gt;
&lt;p&gt;I was actually struggling to find any documentation at all on what the Compatibility Flags were. Apparently you have found them, and now I did too:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://windowssdk.msdn.microsoft.com/en-gb/library/ms688755.aspx"&gt;http://windowssdk.msdn.microsoft.com/en-gb/library/ms688755.aspx&lt;/a&gt;. I understand that it means the control cannot receive focus, but what that means I do not get. It sounds like it simply puts up an Icon, and that might not need mouse focus I suppose.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=162" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#160</link><pubDate>Fri, 29 Sep 2006 17:47:48 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:160</guid><dc:creator>jesper</dc:creator><description>&lt;p&gt;Actually, the script works either with or without the braces. At the beginning of the script it checks for them and removes them if they are there. &lt;/p&gt;
&lt;p&gt;I did not think to point out that you have to be an admin to log the action since the whole script will fail if you are not an admin as you would not have the right to killbit any ActiveX controls in that case. In hindsight, I could have actually checked for that, but I did not think about it. Maybe in v.2...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=160" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#159</link><pubDate>Fri, 29 Sep 2006 17:46:57 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:159</guid><dc:creator>Roger Heim</dc:creator><description>Jesper, I was trying to create an ADM template for this control like Romeo did for the DAXCTL vuln. In one of my systems there is already an entry in ActiveX Compatiblity for this control with setting 0x00020000 (COMPAT_NEVERFOCUSSABLE). Your script handles this but an ADM template will nuke the NEVERFOCUSSABLE flag. Do you know what the ramifications are of losing this existing flag?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=159" width="1" height="1"&gt;</description></item><item><title>re: Set KillBit on Arbitrary ActiveX Controls with GPO or an EMS</title><link>http://msinfluentials.com/blogs/jesper/archive/2006/09/29/Set-KillBit-on-Arbitrary-ActiveX-Controls-with-Group-Policy.aspx#158</link><pubDate>Fri, 29 Sep 2006 17:21:44 GMT</pubDate><guid isPermaLink="false">91db4bc3-5a69-4a9f-94bf-eedb569902ab:158</guid><dc:creator>Andrew from Vancouver</dc:creator><description>Jesper, your script requires the braces around the CLASSID, but your example doesn't use the braces!

Checking for the presence of the braces would make sense, and the lack would be logged if the -l option was chosen.

You might also point out that the logging option only works when the user who executes it is an administrator equivalent; if your script is called from the user's login script, they won't have the privilege write to the %systemdrive% location.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msinfluentials.com/aggbug.aspx?PostID=158" width="1" height="1"&gt;</description></item></channel></rss>