Linux (X86) ÀÚ·á½Ç - Æ÷±âÇÏÁö ¾ÊÀ¸¸é ½ÇÆÐÇÏÁö ¾Ê´Â´Ù!
Vote Modify Delete Forward Prev Next List

  ÀÛ¼ºÀÚ   : Á¶¼ºÈ¯ [ ladmin ] Ãßõ: 2597, ¼öÁ¤: 2, Á¶È¸: 8375, ÁÙ¼ö: 222, ºÐ·ù: Etc.
chkrootkit ¼³Ä¡ (ÄÄÆÄÀÏ) ¹× »ç¿ë ¹æ¹ý

chkrootkitÀ̶õ ½Ã½ºÅÛ¿¡ ·çƮŶ(rootkit)ÀÌ ¼³Ä¡µÇ¾ú´ÂÁö ¿©ºÎ¸¦ ¼Õ½±°Ô üũÇÒ ¼ö ÀÖ´Â ÇÁ·Î±×·¥À¸·Î chkrootkitÀº ÀϹÝÀûÀÎ ·çƮŶ»Ó ¾Æ´Ï¶ó, Ä¿³Î±â¹ÝÀÇ ·çƮŶ, worm±îÁöµµ ŽÁö°¡ °¡´ÉÇÏ´Ù.

°ü·Ã ¹®¼­ ÂüÁ¶
http://coffeenix.net/data_repository/html/Chkrootkit.html




<¼³Ä¡ ¹× »ç¿ë¹ý>

http://www.chkrootkit.org/  ¿¡¼­ ÃֽйöÁ¯ÀÇ chkrootkit À» ´Ù¿î·Îµå ÇÑ´Ù.


[root@ipstor1ccnuoe src]# ls
chkrootkit-0.47  chkrootkit-0.47.tar

[root@ipstor1ccnuoe src]# cd hkrootkit-0.47

[root@ipstor1ccnuoe chkrootkit-0.47]# ls
ACKNOWLEDGMENTS  chkdirs.c     chkproc.c   chkrootkit.lsm  chkwtmp.c  ifpromisc.c  README             README.chkwtmp
check_wtmpx.c    chklastlog.c  chkrootkit  chkutmp.c       COPYRIGHT  Makefile     README.chklastlog  strings.c



(ÄÄÆÄÀÏ)

[root@ipstor1ccnuoe chkrootkit-0.47]# make sense
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
gcc -DHAVE_LASTLOG_H   -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c
gcc  -o chkproc chkproc.c
gcc  -o chkdirs chkdirs.c
gcc  -o check_wtmpx check_wtmpx.c
gcc -static  -o strings-static strings.c
gcc  -o chkutmp chkutmp.c



[root@ipstor1ccnuoe chkrootkit-0.47]# ls

ACKNOWLEDGMENTS  chkdirs     chklastlog.c  chkrootkit      chkutmp.c  COPYRIGHT    Makefile           README.chkwtmp
check_wtmpx      chkdirs.c   chkproc       chkrootkit.lsm  chkwtmp    ifpromisc    README             strings.c
check_wtmpx.c    chklastlog  chkproc.c     chkutmp         chkwtmp.c  ifpromisc.c  README.chklastlog  strings-static




(chkrootkit ¸í·ÉÀ¸·Î ¼­¹ö OS rootkit À¯¹« È®ÀÎ)

[root@ipstor1ccnuoe chkrootkit-0.47]# ./chkrootkit
ROOTDIR is `/'
Checking `amd'... not found
Checking `basename'... not infected
Checking `biff'... not found
Checking `chfn'... not infected
Checking `chsh'... not infected
Checking `cron'... not infected
Checking `crontab'... not infected
Checking `date'... not infected
Checking `du'... not infected
Checking `dirname'... not infected
Checking `echo'... not infected
Checking `egrep'... not infected
Checking `env'... not infected
Checking `find'... not infected
Checking `fingerd'... not infected
Checking `gpm'... not infected
Checking `grep'... not infected
Checking `hdparm'... not infected
Checking `su'... not infected
Checking `ifconfig'... not infected
Checking `inetd'... not tested
Checking `inetdconf'... not found
Checking `identd'... not infected
Checking `init'... not infected
Checking `killall'... not infected
Checking `ldsopreload'... not infected
Checking `login'... not infected
Checking `ls'... not infected
Checking `lsof'... not infected
Checking `mail'... not infected
Checking `mingetty'... not infected
Checking `netstat'... not infected
Checking `named'... not found
Checking `passwd'... not infected
Checking `pidof'... not infected
Checking `pop2'... not found
Checking `pop3'... not found
Checking `ps'... not infected
Checking `pstree'... not infected
Checking `rpcinfo'... not infected
Checking `rlogind'... not infected
Checking `rshd'... not infected
Checking `slogin'... not infected
Checking `sendmail'... not infected
Checking `sshd'... not infected
Checking `syslogd'... not infected
Checking `tar'... not infected
Checking `tcpd'... not infected
Checking `tcpdump'... not infected
Checking `top'... not infected
Checking `telnetd'... not infected
Checking `timed'... not found
Checking `traceroute'... not infected
Checking `vdir'... not infected
Checking `w'... not infected
Checking `write'... not infected
Checking `aliens'... no suspect files
Searching for sniffer's logs, it may take a while... nothing found
Searching for HiDrootkit's default dir... nothing found
Searching for t0rn's default files and dirs... nothing found
Searching for t0rn's v8 defaults... nothing found
Searching for Lion Worm default files and dirs... nothing found
Searching for RSHA's default files and dir... nothing found
Searching for RH-Sharpe's default files... nothing found
Searching for Ambient's rootkit (ark) default files and dirs... nothing found
Searching for suspicious files and dirs, it may take a while...
/usr/lib/perl5/5.6.1/i386-linux/.packlist

Searching for LPD Worm files and dirs... nothing found
Searching for Ramen Worm files and dirs... nothing found
Searching for Maniac files and dirs... nothing found
Searching for RK17 files and dirs... nothing found
Searching for Ducoci rootkit... nothing found
Searching for Adore Worm... nothing found
Searching for ShitC Worm... nothing found
Searching for Omega Worm... nothing found
Searching for Sadmind/IIS Worm... nothing found
Searching for MonKit... nothing found
Searching for Showtee... nothing found
Searching for OpticKit... nothing found
Searching for T.R.K... nothing found
Searching for Mithra... nothing found
Searching for OBSD rk v1... nothing found
Searching for LOC rootkit... nothing found
Searching for Romanian rootkit... nothing found
Searching for HKRK rootkit... nothing found
Searching for Suckit rootkit... nothing found
Searching for Volc rootkit... nothing found
Searching for Gold2 rootkit... nothing found
Searching for TC2 Worm default files and dirs... nothing found
Searching for Anonoying rootkit default files and dirs... nothing found
Searching for ZK rootkit default files and dirs... nothing found
Searching for ShKit rootkit default files and dirs... nothing found
Searching for AjaKit rootkit default files and dirs... nothing found
Searching for zaRwT rootkit default files and dirs... nothing found
Searching for Madalin rootkit default files... nothing found
Searching for Fu rootkit default files... nothing found
Searching for ESRK rootkit default files... nothing found
Searching for rootedoor... nothing found
Searching for ENYELKM rootkit default files... nothing found
Searching for anomalies in shell history files... nothing found
Checking `asp'... not infected
Checking `bindshell'... not infected
Checking `lkm'... chkproc: nothing detected
Checking `rexedcs'... not found
Checking `sniffer'... /proc/6674/fd: No such file or directory
/proc/6741/fd: No such file or directory
/proc/6749/fd: No such file or directory
/proc/6750/fd: No such file or directory
/proc/6758/fd: No such file or directory
/proc/6795/fd: No such file or directory
/proc/6959/fd: No such file or directory
eth0: not promisc and no PF_PACKET sockets
Checking `w55808'... not infected
Checking `wted'... chkwtmp: nothing deleted
Checking `scalper'... not infected
Checking `slapper'... not infected
Checking `z2'... unable to open lastlog-file lastlog
Checking `chkutmp'...  The tty of the following user process(es) were not found
in /var/run/utmp !
! RUID          PID TTY    CMD
! root         1820 tty1   /sbin/mingetty tty1
! root         1821 tty2   /sbin/mingetty tty2
! root         1822 tty3   /sbin/mingetty tty3
! root         1823 tty4   /sbin/mingetty tty4
! root         1824 tty5   /sbin/mingetty tty5
! root         1825 tty6   /sbin/mingetty tty6
chkutmp: nothing deleted

[root@ipstor1ccnuoe chkrootkit-0.47]#



Âü°í·Î ÇØ´ç °Ë»ç °á°ú ¸Þ½ÃÁö´Â ´ÙÀ½°ú °°½À´Ï´Ù.

*********************************************************
infected : rootkit À¸·Î º¯ÇüµÇ¾úÀ½À» ÀǹÌÇÑ´Ù. (ÇØÅ·´çÇÔ)
not infected : rootkit ÀÇ º¯ÇüÀÌ ¾øÀ½À» ÀǹÌÇÑ´Ù.
not tested : °Ë»ç¸¦ ¼öÇàÇÏÁö ¸øÇÔÀ» ÀǹÌÇÑ´Ù.
not found : °Ë»çÇÑ command °¡ ¾øÀ½À» ÀǹÌÇÑ´Ù.
*********************************************************


[root@ipstor1ccnuoe chkrootkit-0.47]# ./chkrootkit -h
Usage: ./chkrootkit [options] [test ...]
Options:
       -h                show this help and exit (»ç¿ëÇÒ¼ö ÀÖ´Â ¿É¼ÇÀ» º¸¿©ÁØ´Ù)
       -V                show version information and exit (chkrootkit ¹öÀüÁ¤º¸¸¦ º¸¿©ÁØ´Ù)
       -l                show available tests and exit (»ç¿ë°¡´ÉÇÑ test µéÀ» º¸¿©ÁØ´Ù)
       -d                debug (debug ¸ðµå·Î ÀÚ¼¼ÇÑ È­¸éÀ» º¸¿©ÁØ´Ù)
       -q                quiet mode (quiet ¸ðµå·Î º¯Á¶µÈ Á¤º¸¸¸ º¸¿©ÁØ´Ù)
       -x                expert mode (Àü¹®°¡ ¸ðµå·Î strings °á°ú¸¦ º¸¿©ÁØ´Ù)
       -r dir            use dir as the root directory (µð·ºÅ丮 ÀÌÇÏ¿¡ ´ëÇØ üũÇÑ´Ù)
       -p dir1:dir2:dirN path for the external commands used by chkrootkit (º¹¼ö°³ÀÇ µð·ºÅ丮¿¡¼­ üũÇÑ´Ù)
       -n                skip NFS mounted dirs (NFS mounted µð·ºÅ丮¸¦ Á¦¿ÜÇÏ°í º¸¿©ÁØ´Ù)




* rootkit ÀÌ º¯°æµÇ¾úÀ»¶§ÀÇ Á¶Ä¡

: ÇØ´ç ½Ã½ºÅÛÀÌ ÇØÅ·À» ´çÇØ °ø°ÝÀÚ°¡ ·çÆ® ±ÇÇÑÀ» ȹµæÇÏ¿´À» °¡´É¼ºÀÌ ³ôÀ¸¹Ç·Î
Æ®·ÎÀÌÀÜÀ¸·Î º¯°æµÈ ¸í·É¾îµéÀ» ã¾Æ ¿ø·¡°ÍÀ¸·Î ¹Ù²Ù¾îÁÙ ¼ö ÀÖÀ¸³ª °¡Àå ¾ÈÀüÇÑ ¹æ¹ýÀº
½Ã½ºÅÛÀ» À缳ġÇÏ°í °ü·Ã Ãë¾àÁ¡µîÀ» ÆÐÄ¡ÇÏ°í ºÒÇÊ¿äÇÑ ¼­ºñ½ºµîÀ» ÁßÁöÇÏ´Â µîÀÇ Á¶Ä¡¸¦ ÃëÇØ
½Ã½ºÅÛÀ» ¾ÈÀüÇÏ°Ô »ç¿ëÇϴ°ÍÀÌ ¹Ù¶÷Á÷ÇÏ´Ù.




ÀÌÀü: ½Ã½ºÅÛ ·Î±× °ü¸®, System Log Daemon (°­Ãß)
´ÙÀ½: ¸®´ª½º ¹æÈ­º® ÇÁ·Î±×·¥ iptables [Ãʰ­Ãß]
2007/05/04(00:28) from 59.30.129.220
CrazyWWWBoard 2000

Vote Modify Delete Forward Prev Next List
(c) Nobreak Technologies, Inc.