一次被黑经历与反思_第1页
一次被黑经历与反思_第2页
一次被黑经历与反思_第3页
一次被黑经历与反思_第4页
一次被黑经历与反思_第5页
已阅读5页,还剩16页未读, 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

gen.ro,butthisdoesnotmapbacktotheaddress-POSSIBLEBREAK-INMay2216:16:48localhostsshd[26364]:Acceptedpasswordforrootfrom46portMay2216:16:48localhostsshd[26364]:pam_unix(sshd:session):sessionopenedforuserrootbyMay2216:17:09localhostpasswd:pam_unix(passwd:chauthtok):passwordchangedforrootMay2216:24:53localhostsshd[3521]:Receivedsignal15;May2216:34:51localhostsshd[26364]:pam_unix(sshd:session):sessionclosedforuserrootMay2216:39:47localhostgroupadd[1622]:newgroup:name=screen,可以确定此机已经被黑,首先将此IP46加入hosts.deny防止在处理过程中再次破坏,通过日志可以看出,被建立了一个组screengid84,在/etc/group[root@localhosthome]#nmapStartingNmap4.11()at2012-05-2315:13Interestingportsonlocalhost.local Notshown:1676closedports 22/tcpopen25/tcpopen80/tcpopenhttp111/tcpopenrpcbind900/tcpopenps[root@localhosthome]#ps PID%CPU%MEM VSZRSSTTY STATSTARTTIMECOMMAND 36760.00.0748361236? 0:00crond 36990.00.0201081044 0:00xfs-droppriv-0.0231721284S0:00avahi-daemon:0.023172340S0:00avahi-daemon:0.018440480S0:00492S0:00/sbin/mingetty492S0:00/sbin/mingetty484S0:00/sbin/mingetty488S0:00/sbin/mingetty484S0:00/sbin/mingetty0.825835216992 0:00/usr/bin/python0.0129401192 0:000.03816492 0:00/sbin/mingetty0.0240681740 0:00sshd:0.0660881580 0:00-0.21575285196 0:28/usr/bin/python0.0660841484 0:00-0.0240681696 0:00sshd:0.0660881536S0:00-0.0239041688S0:00sshd:0.0660881572S0:00-0.0239041548S0:00sshd:0.0660841484S0:00-0.0240681704S0:00sshd:0.0660881568S0:00-0.142002092R0:00ps )May2216:53:48localhostsendmail[3647]:q4M8rjFf003627: >,ctladdr=<root@localhost.local >(0/0), relay=.[47],dsn=2.0.0,stat=Sent(okdirdel)May2216:56:30localhostsendmail[3965]:q4M8uU5j003965: ,ctladdr=root(0/0),delay=00:00:00,xdelay=00:00:00,mailer=relay,pri=30083,relay=[][],dsn=2.0.0,stat=Sent(q4M8uUoA003985Messageacceptedfordelivery)May2216:56:32localhostsendmail[3987]:q4M8uUoA003985: >,ctladdr=<root@localhost.local >(0/0), relay=.[33],dsn=2.0.0,stat=Sent(okdirdel)May2216:56:43localhostsendmail[4030]:q4M8uhGd004030: ,ctladdr=root(0/0),delay=00:00:00,xdelay=00:00:00,mailer=relay,pri=30083,relay=[][],dsn=2.0.0,stat=Sent Messageacceptedfordelivery)May2216:56:46localhostsendmail[4035]:q4M8uhR >,ctladdr=<root@localhost.local >(0/0), relay=.[96],dsn=2.0.0,stat=Sent(okdirdel)可以看出,在频繁给yahoo发邮件,本以为此人只为盗发邮件才我的机器,但是仔细[root@localhostmail]#crontab-06***/usr/sbin/ xfs:x:43:43:XFontServer:/etc/X11/fs:/sbin/nologinrpcuser:x:29:29:RPCServiceUser:/var/lib/nfs:/sbin/nologin 异常:仔细看一下bin用户的登陆s 除了最后一行6:53pmup1:59,6users,loadaverage:0.00,0.00,102processes:101slee,1running,0zombie,0CPUstates:0.7%user,0.6%system,0.0%nice,98.5% Kav,613508Kused, 0Kshrd, Kav, 0Kused, 327072Kcached$<5>$<3>$<2>$<2>Unknowncommand'--hit`h'forhelp$<2>IZERSSSHARESTATLIB%CPU TIME1 576 00.0 0:002 0K- 0 00.0 0:003 34 0 00.0 0:00400000:00500000:00第三行:cpu显示第五行:swap查看top命令的信息 1 33992Mar312010[root@localhosthome]#ll-ha/usr/bin/topls:invalidoption--hTry`lshelp'formoreinformation.ls命令也被改了findfind/-user122|xargsls- 1 39696Mar12010154152Jan272010162920Mar312010131504Jan2720101212747Mar12010193476Mar12010139696Mar12010/u159536Sep42009131452Mar12010/u112340Sep272009133992Mar312010182628Jan102007/u[root@localhosthome]#mv/bin/lsmv:cannotmove`/bin/ls'to`/bin/ls.bak':Operationnot[root@localhosthome]# 没有问题啊,文件普通权限也没问题,让起来chattr+i去锁定文件修改权限finduser122|xargslsattr a:AppendOnly,系统只允许在这个文件之后追加数据,丌允许任何迚程覆盖戒截断这个文件。如果 s:SecureDelete0 改掉:finduser122|xargschattrai1:/sbin/ttyload2:/sbin/ttymonttyload&&ttymon-q两个迚程(当时没记录下来就直接重启了ll 3414Mar72011 49.9 08855240241272S49.90.2541:24.42发现这两个迚程占用系统资源比较高(我这台机器正常应该是无负载的lsofp 3uIPv4 TCP[root@localhost~]#cat/etc/services|grep #InternetRelay #InternetRelay6667

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论