<?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>SoftRCE.net &#187; ActiveX</title>
	<atom:link href="http://www.softrce.net/archives/tag/activex/feed" rel="self" type="application/rss+xml" />
	<link>http://www.softrce.net</link>
	<description>Software Reverse Code Engineering</description>
	<lastBuildDate>Tue, 03 Aug 2010 10:06:18 +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>ActiveX 控件组件的Fuzz和利用</title>
		<link>http://www.softrce.net/archives/136</link>
		<comments>http://www.softrce.net/archives/136#comments</comments>
		<pubDate>Thu, 14 May 2009 19:36:28 +0000</pubDate>
		<dc:creator>caterqiu</dc:creator>
				<category><![CDATA[倚天屠龙（Vulnerability）]]></category>
		<category><![CDATA[ActiveX]]></category>
		<category><![CDATA[Fuzz]]></category>
		<category><![CDATA[控件]]></category>
		<category><![CDATA[漏洞]]></category>

		<guid isPermaLink="false">http://www.softrce.net/archives/136</guid>
		<description><![CDATA[前几天暴风影音的那个0day也跟了下 当然以我技术，那肯定是没有跟出来了 这也注定，俺不适合搞技术 漏洞挖掘时一门严谨的科学，需要的知识经验太多了 最近也有一个朋友加我和我交流溢出... ]]></description>
			<content:encoded><![CDATA[<p>前几天暴风影音的那个0day也跟了下<br />
当然以我技术，那肯定是没有跟出来了<br />
这也注定，俺不适合搞技术</p>
<p>漏洞挖掘时一门严谨的科学，需要的知识经验太多了<br />
最近也有一个朋友加我和我交流溢出程序的编写和利用</p>
<p>再说下Cater 不只是一个传说，请大哥们放过我吧。<br />
<span id="more-136"></span><br />
郑重申明下<br />
1、我已经该行做了水果渠道，工作已经不是搞IT的了<br />
2、我也不是什么黑客，我没法和YingCracker这等牛比人<br />
3、我不否认我在某人心中是个坏人，尽管我还没有伤害到她<br />
4、我只用过Cater，caterqiu，老黄牛这些ID，我只是小打小闹搞了搞技术，我只是一个迷途小子。</p>
<p>丢出最后一篇技术的文章 纪念下，当年学习 ActiveX控件的漏洞Fuzz和漏洞利用学习的往事<br />
希望错恋上 Cater 的朋友不联系搞坏事。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>2009年，我的目标是好好整理思绪和经历好好做事。</p>
<p>送上我的最后一篇有关技术的文档，来告别江湖上的三位大哥 K头、K少、老k</p>
<p>www.caterqiu.cn/UPLOAD/2009/5/ActiveX_And_Fuzz_Tutorial.By.Cater.Qiu.rar<br />
PassWord:WwW.CaterQiu.Cn</p>
<p>From:CaterQiu&#8217;s Blog<br />
Link:http://www.caterqiu.cn/Article/ActiveX_Fuzz_And_Tutorial_By_CaterQiu.html</p>
<p>Blog:WwW.CaterQiu.Cn<br />
E-Mail:Cater.Qiu@Gmail.CoM<br />
Date:May 15 ,2009</p>
<hr /><h2>Comments</h2><ul><li><a href="http://www.softrce.net/archives/136#comment-69">2009年05月15日</a>, robinh00d writes: 支持cater</li><li><a href="http://www.softrce.net/archives/136#comment-70">2009年05月15日</a>, root writes: 人怕出名猪怕壮。
游戏该玩还得玩，换个方法玩就是了。</li><li><a href="http://www.softrce.net/archives/136#comment-71">2009年05月15日</a>, <a href='http://www.caterqiu.cn' rel='external nofollow' class='url'>cater</a> writes: …我出毛毛名哦。
其实写点东西到处发发主要还是想让自己的心得被人分享呗
写的大多是简单的入门教程

哎，我想要月收入一万五，只可惜我不是什么美女YingCracker。</li><li><a href="http://www.softrce.net/archives/136#comment-72">2009年05月15日</a>, robinh00d writes: 以前用过comraider~</li><li><a href="http://www.softrce.net/archives/136#comment-73">2009年05月15日</a>, ayarei writes: @cater, 技术性美男吧，恩</li></ul><hr /><h2>Related posts:</h2><ul><li><a href="http://www.softrce.net/english-version" rel="bookmark" title="Permanent Link: English Version">English Version</a></li><li><a href="http://www.softrce.net/english-version/baofeng-storm-activex-control-onbeforevideodownload-buffer-overflow-vulnerability" rel="bookmark" title="Permanent Link: BaoFeng Storm ActiveX Control &#8216;OnBeforeVideoDownload()&#8217; Buffer Overflow Vulnerability">BaoFeng Storm ActiveX Control &#8216;OnBeforeVideoDownload()&#8217; Buffer Overflow Vulnerability</a></li><li><a href="http://www.softrce.net/archives/100" rel="bookmark" title="Permanent Link: 暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞">暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞</a></li></ul><hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 8e761b2ea8edc3ca311452b020051837)</small><h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2009年05月1日 -- <a href="http://www.softrce.net/archives/100" title="暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞">暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞</a></li><li>2009年05月1日 -- <a href="http://www.softrce.net/archives/96" title="暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞">暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞</a></li><li>2009年04月30日 -- <a href="http://www.softrce.net/archives/83" title="中国游戏中心游戏大厅ActiveX远程栈溢出漏洞">中国游戏中心游戏大厅ActiveX远程栈溢出漏洞</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.softrce.net/archives/136/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞</title>
		<link>http://www.softrce.net/archives/100</link>
		<comments>http://www.softrce.net/archives/100#comments</comments>
		<pubDate>Thu, 30 Apr 2009 22:18:59 +0000</pubDate>
		<dc:creator>bugvuln</dc:creator>
				<category><![CDATA[倚天屠龙（Vulnerability）]]></category>
		<category><![CDATA[ActiveX]]></category>
		<category><![CDATA[漏洞分析]]></category>

		<guid isPermaLink="false">http://www.softrce.net/?p=100</guid>
		<description><![CDATA[暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞 by bugvuln(bugvuln_at_gmail.com)    niklen(niklenxyz_at_gmail.com) 描述: 暴风影音是国内一款相当流行的万能播放器 http://www.baofeng.com/ 受影响的系统: 暴风影音2009 &... ]]></description>
			<content:encoded><![CDATA[<p>暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞<br />
by bugvuln(bugvuln_at_gmail.com)<br />
   niklen(niklenxyz_at_gmail.com)</p>
<p>描述:<br />
暴风影音是国内一款相当流行的万能播放器<br />
<a href="http://www.baofeng.com/">http://www.baofeng.com/</a></p>
<p>受影响的系统:<br />
暴风影音2009 &lt;=[3.09.04.17]</p>
<p>细节:<span id="more-100"></span><br />
clsid:BD103B2B-30FB-4F1E-8C17-D8F6AADBCC05<br />
C:\Program Files\StormII\Config.dll<br />
Sub SetAttributeValue (<br />
  ByVal lpQueryStr  As String ,<br />
  ByVal bstrAttributeName  As String ,<br />
  ByVal lpValueStr  As String<br />
)</p>
<p>当参数lpQueryStr是一个超长字符串时，发生栈溢出，利用堆填充技术，攻击者可以很轻松的利用此漏洞执行任意代码</p>
<p>分析:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p100code2'); return false;">View Code</a> ASM</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1002"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
</pre></td><td class="code" id="p100code2"><pre class="asm" style="font-family:monospace;"><span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A4C                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">ebp</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A4D                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">ebp</span><span style="color: #339933;">,</span> <span style="color: #00007f;">esp</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A4F                 <span style="color: #00007f; font-weight: bold;">sub</span>     <span style="color: #00007f;">esp</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">208h</span>       <span style="color: #666666; font-style: italic;">; 开辟208h的堆栈空间</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A55                 <span style="color: #00007f; font-weight: bold;">cmp</span>     <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>Source<span style="color: #009900; font-weight: bold;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">0</span> <span style="color: #666666; font-style: italic;">; 判断参数1是否为空</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A59                 <span style="color: #00007f; font-weight: bold;">jz</span>      <span style="color: #000000; font-weight: bold;">short</span> loc_10009AA8
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A5B                 <span style="color: #00007f; font-weight: bold;">cmp</span>     <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>arg_C<span style="color: #009900; font-weight: bold;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">0</span>  <span style="color: #666666; font-style: italic;">; 判断参数3是否为空</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A5F                 <span style="color: #00007f; font-weight: bold;">jz</span>      <span style="color: #000000; font-weight: bold;">short</span> loc_10009AA8
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A61                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>Source<span style="color: #009900; font-weight: bold;">&#93;</span>    <span style="color: #666666; font-style: italic;">; 参数1</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A64                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>String<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A6A                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; eax正好指向ebp-208h的堆栈区域</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A6B                 <span style="color: #00007f; font-weight: bold;">call</span>    <span style="color: #00007f;">ds</span><span style="color: #339933;">:</span>wcscpy       <span style="color: #666666; font-style: italic;">; oh，my god，不进行参数合法性检查，直接开始拷贝操作，</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A6B                                         <span style="color: #666666; font-style: italic;">; 哦豁了，eax指向的堆栈区域全部被超长非法参数占领了-_-！</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A71                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">ecx</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A72                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>String<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A78                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">ecx</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A79                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>arg_8<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A7C                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #000000; font-weight: bold;">offset</span> String   <span style="color: #666666; font-style: italic;">; &quot;/@&quot;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A81                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #000000; font-weight: bold;">offset</span> aSS      <span style="color: #666666; font-style: italic;">; &quot;%s%s&quot;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A86                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; String</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A87                 <span style="color: #00007f; font-weight: bold;">call</span>    <span style="color: #00007f;">ds</span><span style="color: #339933;">:</span>swprintf     <span style="color: #666666; font-style: italic;">; 上面的拷贝直接影响到这里的swprintf,相当于再对eax指向的堆栈进行一次拷贝操作</span>
             <span style="color: #666666; font-style: italic;">; 没有上边的拷贝，这里也要出问题</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A8D                 <span style="color: #00007f; font-weight: bold;">add</span>     <span style="color: #00007f;">esp</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">10h</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A90                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>String<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A96                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>arg_C<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A99                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A9A                 <span style="color: #00007f; font-weight: bold;">call</span>    sub_10001201
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009A9F                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">ecx</span><span style="color: #339933;">,</span> <span style="color: #00007f;">eax</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AA1                 <span style="color: #00007f; font-weight: bold;">call</span>    sub_1000CC9A
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AA6                 <span style="color: #00007f; font-weight: bold;">jmp</span>     <span style="color: #000000; font-weight: bold;">short</span> locret_10009AAD
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AA8 <span style="color: #666666; font-style: italic;">; ---------------------------------------------------------------------------</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AA8
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AA8 loc_10009AA8<span style="color: #339933;">:</span>                           <span style="color: #666666; font-style: italic;">; CODE XREF: sub_10009A4C+Dj</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AA8                                         <span style="color: #666666; font-style: italic;">; sub_10009A4C+13j</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AA8                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">80004005h</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AAD
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AAD locret_10009AAD<span style="color: #339933;">:</span>                        <span style="color: #666666; font-style: italic;">; CODE XREF: sub_10009A4C+5Aj</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AAD                 <span style="color: #00007f; font-weight: bold;">leave</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>10009AAE                 <span style="color: #00007f; font-weight: bold;">retn</span>    <span style="color: #0000ff;">10h</span>        <span style="color: #666666; font-style: italic;">; 就这样返回，哦豁了</span></pre></td></tr></table></div>

<p>ModLoad: 41f50000 41fc7000   C:\WINDOWS\system32\mshtmled.dll<br />
ModLoad: 10000000 10020000   C:\Program Files\StormII\Config.dll<br />
ModLoad: 63380000 633f8000   C:\WINDOWS\system32\jscript.dll<br />
(eec.ee8): Illegal instruction &#8211; code c000001d (first chance)<br />
(eec.ee8): Illegal instruction &#8211; code c000001d (!!! second chance !!!)<br />
eax=80004005 ebx=100116b0 ecx=0175f998 edx=00030001 esi=0039fe98 edi=00000000<br />
eip=00410061 esp=0175f5ec ebp=00410041 iopl=0         nv up ei pl nz ac po nc<br />
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000212<br />
*** ERROR: Module load completed but symbols could not be loaded for C:\Program Files\Internet Explorer\IEXPLORE.EXE<br />
IEXPLORE+0&#215;10061:<br />
00410061 ff              ???<br />
解决办法:<br />
在厂商没有推出相应的补丁之前，<br />
建议用户通过注册表对相应的CLSID:BD103B2B-30FB-4F1E-8C17-D8F6AADBCC05设置Killbit<br />
或者将以下文本保存为.REG文件并导入:<br />
Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{BD103B2B-30FB-4F1E-8C17-D8F6AADBCC05}]<br />
&#8220;Compatibility Flags&#8221;=dword:00000400</p>
<p>&#8211;EOF&#8211;</p>
<hr /><h2>Comments</h2><ul><li><a href="http://www.softrce.net/archives/100#comment-41">2009年05月2日</a>, <a href='http://www.windowsxp-vista.cn/?p=32' rel='external nofollow' class='url'>暴风影音被报告存在0day安全漏洞 | windows xp vista windows7</a> writes: [...] 感谢匿名人士的投递 国内安全研究者在5月1号凌晨公布了暴风影音的两个ActiveX远程溢出漏洞(link1,link2)。当安装了暴风影音的用户在浏览黑客精心构造的 包含恶意代码的网页后，可能会导致系统遭受到黑客的攻击。现在在著名exploit网站milw0rm上已经出现了相应的漏洞利用程序。 [...]</li><li><a href="http://www.softrce.net/archives/100#comment-42">2009年05月2日</a>, <a href='http://blog.24reader.com/vincentlam/2009/05/02/%e6%9a%b4%e9%a3%8e%e5%bd%b1%e9%9f%b3%e8%a2%ab%e6%8a%a5%e5%91%8a%e5%ad%98%e5%9c%a80day%e5%ae%89%e5%85%a8%e6%bc%8f%e6%b4%9e/' rel='external nofollow' class='url'>暴风影音被报告存在0day安全漏洞 於囧</a> writes: [...] 感谢匿名人士的投递 国内安全研究者在5月1号凌晨公布了暴风影音的两个ActiveX远程溢出漏洞(link1,link2)。当安装了暴风影音的用户在浏览黑客精心构造的 包含恶意代码的网页后，可能会导致系统遭受到黑客的攻击。现在在著名exploit网站milw0rm上已经出现了相应的漏洞利用程序。 [...]</li><li><a href="http://www.softrce.net/archives/100#comment-81">2009年09月24日</a>, <a href='http://blog.duba.net/post/baofengyingyin2009beibaoxin0dayanquanloudongjinshanwangdunwanmeilanjie2009-5-3gengxin.php' rel='external nofollow' class='url'>暴风影音2009被爆新0day安全漏洞,金山网盾完美拦截（2009-5-3更新） &laquo; 金山毒霸官方博客|Kingsoft Internet Security Blog</a> writes: [...] 或者直接双击运行导入fix_baofeng_0day.reg参考：暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞BaoFeng (mps.dll) Remote Code Execution Exploit   标签：0-day, config.dll, mps.dll, 暴风  评论 (4) , 阅读 (2285) [...]</li></ul><hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 8e761b2ea8edc3ca311452b020051837)</small><h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2009年05月1日 -- <a href="http://www.softrce.net/archives/96" title="暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞">暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞</a></li><li>2009年04月30日 -- <a href="http://www.softrce.net/archives/83" title="中国游戏中心游戏大厅ActiveX远程栈溢出漏洞">中国游戏中心游戏大厅ActiveX远程栈溢出漏洞</a></li><li>2010年04月21日 -- <a href="http://www.softrce.net/archives/302" title="WinMount mou文件格式溢出漏洞分析">WinMount mou文件格式溢出漏洞分析</a></li><li>2009年05月15日 -- <a href="http://www.softrce.net/archives/136" title="ActiveX 控件组件的Fuzz和利用">ActiveX 控件组件的Fuzz和利用</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.softrce.net/archives/100/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞</title>
		<link>http://www.softrce.net/archives/96</link>
		<comments>http://www.softrce.net/archives/96#comments</comments>
		<pubDate>Thu, 30 Apr 2009 22:15:51 +0000</pubDate>
		<dc:creator>bugvuln</dc:creator>
				<category><![CDATA[倚天屠龙（Vulnerability）]]></category>
		<category><![CDATA[ActiveX]]></category>
		<category><![CDATA[漏洞分析]]></category>

		<guid isPermaLink="false">http://www.softrce.net/?p=96</guid>
		<description><![CDATA[暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞 by bugvuln(bugvuln_at_gmail.com)    niklen(niklenxyz_at_gmail.com) 描述: 暴风影音是国内一款相当流行的万能播放器 http://www.baofeng.com/ 受影响的系统: 暴风影音2009 &#60... ]]></description>
			<content:encoded><![CDATA[<p>暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞<br />
by bugvuln(bugvuln_at_gmail.com)<br />
   niklen(niklenxyz_at_gmail.com)</p>
<p>描述:<br />
暴风影音是国内一款相当流行的万能播放器<br />
<a href="http://www.baofeng.com/">http://www.baofeng.com/</a></p>
<p>受影响的系统:<br />
暴风影音2009 &lt;=[3.09.04.17]</p>
<p>细节:<span id="more-96"></span><br />
clsid:6BE52E1D-E586-474F-A6E2-1A85A9B4D9FB<br />
C:\Program Files\StormII\mps.dll<br />
Sub OnBeforeVideoDownload(ByVal URL  As String)</p>
<p>当参数URL是一个超长字符串时，发生栈溢出，利用堆填充技术，攻击者可以很轻松的利用此漏洞执行任意代码</p>
<p>分析:</p>
<blockquote><p>sub_10014240<br />
   |&#8211;.text:1001430A  call    sub_10014D40<br />
   |&#8211;sub_10014D40<br />
         |&#8211;.text:10014E37   call    dword ptr [eax+8] ; sub_1005DAF0<br />
         |&#8211;sub_1005DAF0<br />
               |&#8211;.text:1005DBA1  call    dword ptr [edx+4] ; sub_1005EB50<br />
               |&#8211;sub_1005EB50<br />
       |&#8211;.text:1005EB9A  call    sub_10060320<br />
                     |&#8211;sub_10060320<br />
                           |&#8211;.text:1006033C    call    ds:lstrcpynA<br />
                     |     add     esp, 1348h<br />
                     |&#8211;{ retn  14h</p></blockquote>
<p>&#8230;</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p96code4'); return false;">View Code</a> ASM</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p964"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
</pre></td><td class="code" id="p96code4"><pre class="asm" style="font-family:monospace;"><span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB6F                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">ebp</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB70                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB71                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">esi</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">esp</span><span style="color: #339933;">+</span><span style="color: #0000ff;">1350h</span><span style="color: #339933;">+</span>lpString2<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB78                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">edi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB79                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #000000; font-weight: bold;">offset</span> aStormbox_0 <span style="color: #666666; font-style: italic;">; &quot;stormbox&quot;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB7E                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">ebp</span><span style="color: #339933;">,</span> <span style="color: #00007f;">ecx</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB80                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; Str</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB81                 <span style="color: #00007f; font-weight: bold;">call</span>    <span style="color: #00007f;">ds</span><span style="color: #339933;">:</span>strstr       <span style="color: #666666; font-style: italic;">;检查下传递进来的参数是否含有&quot;stormbox&quot;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB87                 <span style="color: #00007f; font-weight: bold;">add</span>     <span style="color: #00007f;">esp</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">8</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB8A                 <span style="color: #00007f; font-weight: bold;">test</span>    <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #00007f;">eax</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB8C                 <span style="color: #00007f; font-weight: bold;">jnz</span>     loc_1005ED67    <span style="color: #666666; font-style: italic;">;没有！那就xxoo了</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB92                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; lpString2</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB93                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">ecx</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">esp</span><span style="color: #339933;">+</span><span style="color: #0000ff;">1358h</span><span style="color: #339933;">+</span>var_1034<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005EB9A                 <span style="color: #00007f; font-weight: bold;">call</span>    sub_10060320
<span style="color: #339933;">...</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060320</span>                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060321</span>                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">edi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060322</span>                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">edi</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">esp</span><span style="color: #339933;">+</span><span style="color: #0000ff;">8</span><span style="color: #339933;">+</span>lpString2<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060326</span>                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">esi</span><span style="color: #339933;">,</span> <span style="color: #00007f;">ecx</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060328</span>                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">edi</span>             <span style="color: #666666; font-style: italic;">; lpString</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060329</span>                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #000000; font-weight: bold;">dword</span> <span style="color: #000000; font-weight: bold;">ptr</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">esi</span><span style="color: #009900; font-weight: bold;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000000; font-weight: bold;">offset</span> off_1007C5A4
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">1006032F</span>                 <span style="color: #00007f; font-weight: bold;">call</span>    <span style="color: #00007f;">ds</span><span style="color: #339933;">:</span>lstrlenA
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060335</span>                 <span style="color: #00007f; font-weight: bold;">inc</span>     <span style="color: #00007f;">eax</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060336</span>                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; iMaxLength,唉，上面这是最后一次调用函数来进行长度检查，但是这里仅仅是为了这个最大值参数，</span>
             <span style="color: #666666; font-style: italic;">; 还是没有考虑合法性-_-</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060337</span>                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">esi</span><span style="color: #339933;">+</span><span style="color: #0000ff;">4</span><span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1006033A                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">edi</span>             <span style="color: #666666; font-style: italic;">; lpString2</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1006033B                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; lpString1</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1006033C                 <span style="color: #00007f; font-weight: bold;">call</span>    <span style="color: #00007f;">ds</span><span style="color: #339933;">:</span>lstrcpynA    <span style="color: #666666; font-style: italic;">; 拷贝到eax指向的堆栈区域，为即将到来的溢出做热身运动</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060342</span>                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #00007f;">esi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060344</span>                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">edi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060345</span>                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">esi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10060346</span>                 <span style="color: #00007f; font-weight: bold;">retn</span>    <span style="color: #0000ff;">4</span>
<span style="color: #339933;">...</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005ED70                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">edi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005ED71                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">esi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005ED72                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">ebp</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005ED73                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #000000; font-weight: bold;">large</span> <span style="color: #00007f;">fs</span><span style="color: #339933;">:</span><span style="color: #0000ff;">0</span><span style="color: #339933;">,</span> <span style="color: #00007f;">ecx</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005ED7A                 <span style="color: #00007f; font-weight: bold;">add</span>     <span style="color: #00007f;">esp</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">1348h</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1005ED80                 <span style="color: #00007f; font-weight: bold;">retn</span>    <span style="color: #0000ff;">14h</span>        <span style="color: #666666; font-style: italic;">; 就这样返回，哦豁了</span></pre></td></tr></table></div>

<p> <br />
ModLoad: 41f50000 41fc7000   C:\WINDOWS\system32\mshtmled.dll<br />
ModLoad: 10000000 100e2000   C:\Program Files\StormII\mps.dll<br />
ModLoad: 75ff0000 76055000   C:\Program Files\StormII\MSVCP60.dll<br />
ModLoad: 02c60000 02c96000   C:\Program Files\StormII\meedb.dll<br />
ModLoad: 02ca0000 02d2e000   C:\Program Files\StormII\splayers.dll<br />
ModLoad: 02730000 0274e000   C:\Program Files\StormII\rndrmgr.dll<br />
ModLoad: 02d30000 02e48000   C:\Program Files\StormII\SubDecoder.dll<br />
ModLoad: 4b640000 4b7e6000   C:\WINDOWS\system32\d3d9.dll<br />
ModLoad: 6dd20000 6dd26000   C:\WINDOWS\system32\d3d8thk.dll<br />
ModLoad: 736d0000 73719000   C:\WINDOWS\system32\DDRAW.dll<br />
ModLoad: 73b30000 73b36000   C:\WINDOWS\system32\DCIMAN32.dll<br />
ModLoad: 74be0000 74c0c000   C:\WINDOWS\system32\OLEACC.dll<br />
ModLoad: 72f70000 72f96000   C:\WINDOWS\system32\WINSPOOL.DRV<br />
ModLoad: 76320000 76367000   C:\WINDOWS\system32\COMDLG32.dll<br />
ModLoad: 02eb0000 02ed2000   C:\Program Files\StormII\mediainfo.dll<br />
ModLoad: 719c0000 719fe000   C:\WINDOWS\system32\mswsock.dll<br />
ModLoad: 60fd0000 61025000   C:\WINDOWS\system32\hnetcfg.dll<br />
ModLoad: 71a00000 71a08000   C:\WINDOWS\System32\wshtcpip.dll<br />
ModLoad: 7cf70000 7d0d8000   C:\WINDOWS\system32\quartz.dll<br />
ModLoad: 63380000 633f8000   C:\WINDOWS\system32\jscript.dll<br />
(a0.8b0): Access violation &#8211; code c0000005 (first chance)<br />
First chance exceptions are reported before any exception handling.<br />
This exception may be expected and handled.<br />
eax=ffffff00 ebx=01b3f33c ecx=41414141 edx=00142f90 esi=01b3f328 edi=01b3f340<br />
eip=41414141 esp=0175f588 ebp=01b3f338 iopl=0         nv up ei pl nz ac po nc<br />
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00210212<br />
41414141 ??              ???<br />
解决办法:<br />
在厂商没有推出相应的补丁之前，<br />
建议用户通过注册表对相应的CLSID:6BE52E1D-E586-474F-A6E2-1A85A9B4D9FB设置Killbit<br />
或者将以下文本保存为.REG文件并导入:<br />
Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{6BE52E1D-E586-474F-A6E2-1A85A9B4D9FB}]<br />
&#8220;Compatibility Flags&#8221;=dword:00000400</p>
<p>&#8211;EOF&#8211;</p>
<hr /><h2>Comments</h2><ul><li><a href="http://www.softrce.net/archives/96#comment-80">2009年09月24日</a>, <a href='http://blog.duba.net/post/baofengyingyin2009beibaoxin0dayanquanloudongjinshanwangdunwanmeilanjie2009-5-3gengxin.php' rel='external nofollow' class='url'>暴风影音2009被爆新0day安全漏洞,金山网盾完美拦截（2009-5-3更新） &laquo; 金山毒霸官方博客|Kingsoft Internet Security Blog</a> writes: [...] 或者直接双击运行导入fix_baofeng_0day.reg参考：暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞BaoFeng (mps.dll) Remote Code Execution Exploit   标签：0-day, config.dll, mps.dll, 暴风  评论 (4) , 阅读 (2285) [...]</li></ul><hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 8e761b2ea8edc3ca311452b020051837)</small><h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2009年05月1日 -- <a href="http://www.softrce.net/archives/100" title="暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞">暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞</a></li><li>2009年04月30日 -- <a href="http://www.softrce.net/archives/83" title="中国游戏中心游戏大厅ActiveX远程栈溢出漏洞">中国游戏中心游戏大厅ActiveX远程栈溢出漏洞</a></li><li>2010年04月21日 -- <a href="http://www.softrce.net/archives/302" title="WinMount mou文件格式溢出漏洞分析">WinMount mou文件格式溢出漏洞分析</a></li><li>2009年05月15日 -- <a href="http://www.softrce.net/archives/136" title="ActiveX 控件组件的Fuzz和利用">ActiveX 控件组件的Fuzz和利用</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.softrce.net/archives/96/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>中国游戏中心游戏大厅ActiveX远程栈溢出漏洞</title>
		<link>http://www.softrce.net/archives/83</link>
		<comments>http://www.softrce.net/archives/83#comments</comments>
		<pubDate>Thu, 30 Apr 2009 14:18:04 +0000</pubDate>
		<dc:creator>bugvuln</dc:creator>
				<category><![CDATA[倚天屠龙（Vulnerability）]]></category>
		<category><![CDATA[ActiveX]]></category>
		<category><![CDATA[漏洞分析]]></category>

		<guid isPermaLink="false">http://www.softrce.net/?p=83</guid>
		<description><![CDATA[中国游戏中心游戏大厅ActiveX远程栈溢出漏洞
by bugvuln(bugvuln_at_gmail.com)
      niklen(niklenxyz_at_gmail.com)

描述:
中国游戏中心是中国一款著名的游戏平台，含棋牌，网络游戏等
http://www.chinagames.net... ]]></description>
			<content:encoded><![CDATA[<p>中国游戏中心游戏大厅ActiveX远程栈溢出漏洞<br />
by bugvuln(bugvuln_at_gmail.com)<br />
      niklen(niklenxyz_at_gmail.com)</p>
<p>描述:<br />
中国游戏中心是中国一款著名的游戏平台，含棋牌，网络游戏等<br />
<a href="http://www.chinagames.net/" target="_blank">http://www.chinagames.net/</a></p>
<p>受影响的系统:<br />
中国游戏中心游戏大厅2009<br />
<span id="more-83"></span><br />
细节:<br />
clsid:75108B29-202F-493C-86C5-1C182A485C4C<br />
C:\Program Files\Chinagames\iGame\CGAgent.dll<br />
Sub CreateChinagames (ByVal lpszToken  As String)</p>
<p>参数lpszToken是一个超长字符串时，发生栈溢出，利用堆填充技术，攻击者可以很轻松的利用此漏洞执行任意代码</p>
<p>分析:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p83code5'); return false;">View Code</a> ASM</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p835"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
</pre></td><td class="code" id="p83code5"><pre class="asm" style="font-family:monospace;"><span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10001234</span>                 <span style="color: #00007f; font-weight: bold;">cmp</span>     <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>lpString2<span style="color: #009900; font-weight: bold;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #00007f;">esi</span> <span style="color: #666666; font-style: italic;">; 只判断了参数是否为空，但是没有判断长度-_-!!!</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10001237</span>                 <span style="color: #00007f; font-weight: bold;">jnz</span>     <span style="color: #000000; font-weight: bold;">short</span> loc_10001243
<span style="color: #339933;">...</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10001295</span>                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #000000; font-weight: bold;">offset</span> aIgame_exe <span style="color: #666666; font-style: italic;">; &quot;\\igame.exe &quot;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1000129A                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; lpString1</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1000129B                 <span style="color: #00007f; font-weight: bold;">call</span>    <span style="color: #00007f;">edi</span> <span style="color: #666666; font-style: italic;">; lstrcatW</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1000129D                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>lpString2<span style="color: #009900; font-weight: bold;">&#93;</span> <span style="color: #666666; font-style: italic;">; lpString2</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012A0                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>String1<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012A6                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; lpString1</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012A7                 <span style="color: #00007f; font-weight: bold;">call</span>    <span style="color: #00007f;">edi</span> <span style="color: #666666; font-style: italic;">; lstrcatW  ; 没有对传递给igame.exe的参数进行长度检查，直接连接，</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012A7                                         <span style="color: #666666; font-style: italic;">; 这下子，eax指向的堆栈区域都被非法参数给占领了-_-！</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012A7                                         <span style="color: #666666; font-style: italic;">;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012A9                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #0000ff;">44h</span>             <span style="color: #666666; font-style: italic;">; 结构体长度</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012AB                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>Dst<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012AE                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; Val</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012AF                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; Dst</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012B0                 <span style="color: #00007f; font-weight: bold;">call</span>    memset          <span style="color: #666666; font-style: italic;">; 为STARTUPINFO作准备</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012B5                 <span style="color: #00007f; font-weight: bold;">add</span>     <span style="color: #00007f;">esp</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">0Ch</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012B8                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>ProcessInformation<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012BB                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>Dst<span style="color: #009900; font-weight: bold;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">44h</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012C2                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; lpProcessInformation</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012C3                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>Dst<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012C6                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; lpStartupInfo</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012C7                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; lpCurrentDirectory</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012C8                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; lpEnvironment</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012C9                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #0000ff;">10h</span>             <span style="color: #666666; font-style: italic;">; dwCreationFlags</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012CB                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; bInheritHandles</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012CC                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; lpThreadAttributes</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012CD                 <span style="color: #00007f; font-weight: bold;">lea</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>String1<span style="color: #009900; font-weight: bold;">&#93;</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012D3                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; lpProcessAttributes</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012D4                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">eax</span>             <span style="color: #666666; font-style: italic;">; [igame.exe 参数]</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012D5                 <span style="color: #00007f; font-weight: bold;">push</span>    <span style="color: #00007f;">esi</span>             <span style="color: #666666; font-style: italic;">; lpApplicationName</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012D6                 <span style="color: #00007f; font-weight: bold;">call</span>    <span style="color: #00007f;">ds</span><span style="color: #339933;">:</span>CreateProcessW <span style="color: #666666; font-style: italic;">; 创建进程</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012DC                 <span style="color: #00007f; font-weight: bold;">test</span>    <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #00007f;">eax</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012DE                 <span style="color: #00007f; font-weight: bold;">jz</span>      <span style="color: #000000; font-weight: bold;">short</span> loc_100012F0 <span style="color: #666666; font-style: italic;">; 成功了，继续xxoo</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">100012E0</span>                 <span style="color: #00007f; font-weight: bold;">xor</span>     <span style="color: #00007f;">eax</span><span style="color: #339933;">,</span> <span style="color: #00007f;">eax</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">100012E2</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">100012E2</span> loc_100012E2<span style="color: #339933;">:</span>                           <span style="color: #666666; font-style: italic;">; CODE XREF: sub_10001218+26j</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">100012E2</span>                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">ecx</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>var_4<span style="color: #009900; font-weight: bold;">&#93;</span> <span style="color: #666666; font-style: italic;">; (.text:100012A7)处那里导致把这里给覆盖了</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">100012E5</span>                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #00007f;">edx</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ebp</span><span style="color: #339933;">+</span>var_8<span style="color: #009900; font-weight: bold;">&#93;</span> <span style="color: #666666; font-style: italic;">; 同上</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">100012E8</span>                 <span style="color: #00007f; font-weight: bold;">mov</span>     <span style="color: #009900; font-weight: bold;">&#91;</span><span style="color: #00007f;">ecx</span><span style="color: #339933;">+</span><span style="color: #0000ff;">4</span><span style="color: #009900; font-weight: bold;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #00007f;">edx</span>    <span style="color: #666666; font-style: italic;">; 互爆#_#</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>100012EB                 <span style="color: #00007f; font-weight: bold;">jmp</span>     loc_10001429
<span style="color: #339933;">...</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10001429</span> loc_10001429<span style="color: #339933;">:</span>                           <span style="color: #666666; font-style: italic;">; CODE XREF: sub_10001218+D3j</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span><span style="color: #0000ff;">10001429</span>                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">edi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1000142A                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">esi</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1000142B                 <span style="color: #00007f; font-weight: bold;">pop</span>     <span style="color: #00007f;">ebx</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1000142C                 <span style="color: #00007f; font-weight: bold;">leave</span>
<span style="color: #339933;">.</span>text<span style="color: #339933;">:</span>1000142D                 <span style="color: #00007f; font-weight: bold;">retn</span>    <span style="color: #0000ff;">8</span>               <span style="color: #666666; font-style: italic;">; 就这样返回，哦豁了</span></pre></td></tr></table></div>

<p>ModLoad: 01d10000 01d1d000   C:\Program Files\Chinagames\iGame\CGAgent.dll<br />
ModLoad: 5f800000 5f8f2000   C:\windows\system32\MFC42u.DLL<br />
ModLoad: 61be0000 61bed000   C:\windows\system32\MFC42LOC.DLL<br />
ModLoad: 75bc0000 75c3d000   C:\WINDOWS\system32\jscript.dll<br />
(39c.28c): Access violation &#8211; code c0000005 (first chance)<br />
First chance exceptions are reported before any exception handling.<br />
This exception may be expected and handled.<br />
eax=41baf50e ebx=01d153ec ecx=00410041 edx=00410041 esi=003bd4f0 edi=00000000<br />
eip=00410049 esp=01cff5ec ebp=00410041 iopl=0         nv up ei ng nz ac pe nc<br />
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010296<br />
*** ERROR: Module load completed but symbols could not be loaded for C:\Program Files\internet explorer\iexplore.exe<br />
iexplore+0&#215;10049:<br />
00410049 004000          add     byte ptr [eax],al          ds:0023:41baf50e=??</p>
<p>解决办法:<br />
在厂商没有推出相应的补丁之前，<br />
建议用户通过注册表对相应的CLSID:75108B29-202F-493C-86C5-1C182A485C4C设置Killbit<br />
或者将以下文本保存为.REG文件并导入:<br />
Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{75108B29-202F-493C-86C5-1C182A485C4C}]<br />
&#8220;Compatibility Flags&#8221;=dword:00000400</p>
<p>厂商回应:<br />
2009.04.29 发邮件给<a href="mailto:gmservice@chinagames.net">gmservice@chinagames.net</a><br />
2009.04.30 木有收到回复。再发送了一封邮件<br />
2009.04.30 还是不甩??发布此公告</p>
<p>&#8211;EOF&#8211;</p>
<hr /><h2>Comments</h2><ul><li><a href="http://www.softrce.net/archives/83#comment-34">2009年04月30日</a>, lk writes: 太有才了。。。</li><li><a href="http://www.softrce.net/archives/83#comment-35">2009年04月30日</a>, ayarei writes: 楼主适当地方断页吧，太占首页的地方了:)</li><li><a href="http://www.softrce.net/archives/83#comment-36">2009年04月30日</a>, lk writes: 我等着抓网马，我等着抓网马~~~</li><li><a href="http://www.softrce.net/archives/83#comment-37">2009年04月30日</a>, ayarei writes: rp有问题啊你~~</li><li><a href="http://www.softrce.net/archives/83#comment-39">2009年05月1日</a>, lk writes: 牛MM咋又跑来上网了。。。</li></ul><hr /><small>Copyright &copy; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 8e761b2ea8edc3ca311452b020051837)</small><h3  class="related_post_title">相关阅读</h3><ul class="related_post"><li>2009年05月1日 -- <a href="http://www.softrce.net/archives/100" title="暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞">暴风影音2009(Config.dll)ActiveX远程栈溢出漏洞</a></li><li>2009年05月1日 -- <a href="http://www.softrce.net/archives/96" title="暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞">暴风影音2009(mps.dll)ActiveX远程栈溢出漏洞</a></li><li>2010年04月21日 -- <a href="http://www.softrce.net/archives/302" title="WinMount mou文件格式溢出漏洞分析">WinMount mou文件格式溢出漏洞分析</a></li><li>2009年05月15日 -- <a href="http://www.softrce.net/archives/136" title="ActiveX 控件组件的Fuzz和利用">ActiveX 控件组件的Fuzz和利用</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.softrce.net/archives/83/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
