1. <var id="fe6gj"></var>

    <rp id="fe6gj"><nav id="fe6gj"></nav></rp>

    <noframes id="fe6gj"><cite id="fe6gj"></cite>

    <ins id="fe6gj"><button id="fe6gj"><p id="fe6gj"></p></button></ins>
    1. <tt id="fe6gj"><i id="fe6gj"><sub id="fe6gj"></sub></i></tt>
        始創于2000年 股票代碼:831685
        咨詢熱線:0371-60135900 注冊有禮 登錄
        • 掛牌上市企業
        • 60秒人工響應
        • 99.99%連通率
        • 7*24h人工
        • 故障100倍補償
        您的位置: 網站首頁 > 幫助中心>文章內容

        記一次簡單的linux肉雞檢測 (3)

        發布時間:  2012/8/15 18:09:17

        p
        tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2883/vsftpd
        tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2315/cupsd
        tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2361/sendmail: acce
        tcp 0 0 0.0.0.0:65530 0.0.0.0:* LISTEN 2663/ttyload (有東東出來了吧)
        tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 2303/python
        tcp 0 0 :::22 :::* LISTEN 13935/sshd

        現在再用chkrootkit和rkhunter查一下看看:

        [root@localhost .v]# ls
        chkrootkit-0.48 chkrootkit.tar.gz rkhunter rkhunter-1.2.7.tar.gz
        [root@localhost .v]# cd chkrootkit-0.48/
        [root@localhost chkrootkit-0.48]# ./chkrootkit
        ROOTDIR is `/'
        Checking `amd'... not found
        Checking `basename'... not infected
        ............(省略若干行)
        Checking `ifconfig'... INFECTED
        ............(省略若干行)
        Checking `pstree'... INFECTED
        ............(省略若干行)
        Checking `top'... INFECTED
        ............(省略若干行)
        Searching for t0rn's v8 defaults... Possible t0rn v8 \(or variation\) rootkit installed
        ............(省略若干行)
        Searching for Showtee... Warning: Possible Showtee Rootkit installed
        ............(省略若干行)
        Searching for Romanian rootkit... /usr/include/file.h /usr/include/proc.h
        ............(省略若干行)

        上面幾行都是有問題的。
        下面用rkhunter,它的log存在/var/log/rkhunter.log里面

        [root@localhost rkhunter]# /usr/local/bin/rkhunter -c --createlogfile

        Rootkit Hunter 1.2.7 is running

        Determining OS... Unknown
        Warning: This operating system is not fully supported!
        Warning: Cannot find md5_not_known
        All MD5 checks will be skipped! (md5sum被替換了)
        ............(省略若干行)
        Rootkit 'SHV4'... [ Warning! ] (SHV4)

        --------------------------------------------------------------------------------
        Found parts of this rootkit/trojan by checking the default files and directories
        Please inspect the available files, by running this check with the parameter
        --createlogfile and check the log file (current file: /var/log/rkhunter.log).
        --------------------------------------------------------------------------------

        [Press <ENTER> to continue]

        Rootkit 'SHV5'... [ Warning! ] (SHV5)

        --------------------------------------------------------------------------------
        Found parts of this rootkit/trojan by checking the default files and directories
        Please inspect the available files, by running this check with the parameter
        --createlogfile and check the log file (current file: /var/log/rkhunter.log).
        --------------------------------------------------------------------------------
        ............(省略若干行)
        Scanning took 84 seconds
        Scan results written to logfile (/var/log/rkhunter.log)

        -----------------------------------------------------------------------

        Do you have some problems, undetected rootkits, false positives, ideas
        or suggestions?
        Please e-mail me by filling in the contact form (@http://www.rootkit.nl)

        -----------------------------------------------------------------------

        下面我們看下log:

        [root@localhost rkhunter]# cat /var/log/rkhunter.log
        [15:16:51] Running Rootkit Hunter 1.2.7 on localhost.localdomain
        [15:16:51]
        Rootkit Hunter 1.2.7, Copyright 2003-2005, Michael Boelen
        ............(省略若干行)
        [15:16:55] *** Start scan SHV4 ***
        [15:16:55] - File /etc/ld.so.hash... OK. Not found.
        [15:16:55] - File /lib/libext-2.so.7... OK. Not found.
        [15:16:55] - File /lib/lidps1.so... WARNING! Exists. (找到一個文件)
        [15:16:55] - File /usr/sbin/xntps... OK. Not found.
        [15:16:55] - Directory /lib/security/.config... OK. Not found.
        [15:16:55] - Directory /lib/security/.config/ssh... OK. Not found.
        [15:17:04] *** Start scan SHV5 ***
        [15:17:04] - File /etc/sh.conf... WARNING! Exists. (找到一個文件)
        [15:17:04] - File /dev/srd0... OK. Not found.
        [15:17:04] - Directory /usr/lib/libsh... WARNING! Exists. (找到一個目錄)
        ............(省略若干行)

        下面手工核對下,因為工具都是對已有的檢查,如果改過的,他就找不到了。

        [root@localhost sbin]# netstat -anp
        Active Internet connections (servers and established)
        Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
        tcp 0 0 0.0.0.0:65530 0.0.0.0:* LISTEN 2663/ttyload
        ............(省略若干行)
        raw 0 0 0.0.0.0:1 0.0.0.0:* 7 2679/ttymon
        ............(省略若干行)

        發現2個不正常的
        [root@localhost sbin]# ps aux|grep 2663
        root 2663 0.0 0.0 2128 516 ? Ss 12:37 0:00 /sbin/ttyload -q (原型出來了)
        root 15350 0.0 0.0 4088 604 pts/0 S+ 15:21 0:00 grep 2663
        [root@localhost sbin]# lsof -p 2663
        COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
        3 2663 root cwd DIR 253,0 4096 2 /
        3 2663 root rtd DIR 253,0 4096 2 /
        3 2663 root txt REG 253,0 652620 34897965 /tmp/sh-AQJ3OQYACSO (deleted) (是個壓縮的)
        3 2663 root mem REG 253,0 121684 8586729 /lib/ld-2.5


        億恩科技地址(ADD):鄭州市黃河路129號天一大廈608室 郵編(ZIP):450008 傳真(FAX):0371-60123888
           聯系:億恩小凡
           QQ:89317007
           電話:0371-63322206


        本文出自:億恩科技【www.endtimedelusion.com】

        服務器租用/服務器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質保障!--億恩科技[ENKJ.COM]

      1. 您可能在找
      2. 億恩北京公司:
      3. 經營性ICP/ISP證:京B2-20150015
      4. 億恩鄭州公司:
      5. 經營性ICP/ISP/IDC證:豫B1.B2-20060070
      6. 億恩南昌公司:
      7. 經營性ICP/ISP證:贛B2-20080012
      8. 服務器/云主機 24小時售后服務電話:0371-60135900
      9. 虛擬主機/智能建站 24小時售后服務電話:0371-60135900
      10. 專注服務器托管17年
        掃掃關注-微信公眾號
        0371-60135900
        Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權所有  地址:鄭州市高新區翠竹街1號總部企業基地億恩大廈  法律顧問:河南亞太人律師事務所郝建鋒、杜慧月律師   京公網安備41019702002023號
          0
         
         
         
         

        0371-60135900
        7*24小時客服服務熱線

         
         
        av不卡不卡在线观看_最近2018年中文字幕_亚洲欧美一区二区三区_一级A爱做片免费观看国产_日韩在线中文天天更新_伊人中文无码在线