ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÅжÏLinuxϵͳÊÇ·ñ±»ºÚµÄ·½·¨

·¢²¼Ê±¼ä:2008-08-16 01:03:01À´Ô´:ºìÁª×÷Õß:Jlveei
¡¡¡¡Ë׳ơ°½Å±¾Ð¡¹í¡±µÄ¼Ò»ï ÊÇÊôÓÚÄÇÖÖºÜÔã¸âµÄºÚ¿Í£¬ÒòΪ»ù±¾ÉÏËûÃÇÖеÄÐí¶àºÍ´ó¶àÊýÈ˶¼ÊÇÈç´ËµÄûÓм¼ÇÉ¡£¿ÉÒÔÕâÑù˵£¬Èç¹ûÄã°²×°ÁËËùÓÐÕýÈ·µÄ²¹¶¡£¬ÓµÓо­¹ý²âÊԵķÀ»ðǽ£¬²¢ÇÒÔÚ ¶à¸ö¼¶±ð¶¼¼¤»îÁËÏȽøµÄÈëÇÖ¼ì²âϵͳ£¬ÄÇôֻÓÐÔÚÒ»ÖÖÇé¿öÏÂÄã²Å»á±»ºÚ£¬ÄǾÍÊÇ£¬ÄãÌ«ÀÁÁËÒÔÖÁûȥ×ö¸Ã×öµÄÊÂÇ飬ÀýÈ磬°²×°BINDµÄ×îв¹¶¡¡£

¡¡¡¡Ò»²»ÁôÉñ¶ø±»ºÚȷʵÈÃÈ˸е½ÎªÄÑ£¬¸üÑÏÖصÄÊÇijЩ½Å±¾Ð¡¹í»¹»áÏÂÔØһЩÖÚËùÖÜÖªµÄ¡°root kits¡±»òÕßÁ÷ÐеĴÌ̽¹¤¾ß£¬ÕâЩ¶¼Õ¼ÓÃÁËÄãµÄCPU£¬´æ´¢Æ÷£¬Êý¾ÝºÍ´ø¿í¡£ÕâЩ»µÈËÊÇ´ÓÄÇÀ↑ʼ×ÅÊÖµÄÄØ£¿Õâ¾ÍÒª´Óroot kit¿ªÊ¼ËµÆð¡£

¡¡¡¡Ò»¸öroot kitÆäʵ¾ÍÊÇÒ»¸öÈí¼þ°ü£¬ºÚ¿ÍÀûÓÃËüÀ´Ìṩ¸ø×Ô¼º¶ÔÄãµÄ»úÆ÷¾ßÓÐroot¼¶±ðµÄ·ÃÎÊȨÏÞ¡£Ò»µ©Õâ¸öºÚ¿ÍÄܹ»ÒÔrootµÄÉí·Ý·ÃÎÊÄãµÄ»úÆ÷£¬Ò»Çж¼ÍêÁË¡£ Ψһ¿ÉÒÔ×ö¾ÍÊÇÓÃ×î¿ìµÄЧÂʱ¸·ÝÄãµÄÊý¾Ý£¬ÇåÀíÓ²ÅÌ£¬È»ºóÖØа²×°²Ù×÷ϵͳ¡£ÎÞÂÛÈçºÎ£¬Ò»µ©ÄãµÄ»úÆ÷±»Ä³È˽ӹÜÁËÒªÏë»Ö¸´²¢²»ÊÇÒ»¼þÇá¶øÒ×¾ÙµÄÊÂÇé¡£

¡¡¡¡ÄãÄÜÐÅÈÎÄãµÄpsÃüÁîÂð£¿

¡¡¡¡ÕÒ³öroot kitµÄÊ׸öÇÏÃÅÊÇÔËÐÐpsÃüÁî¡£ÓпÉÄܶÔÄãÀ´ËµÒ»Çж¼¿´À´ºÜÕý³£¡£Í¼Ê¾ÊÇÒ»¸öpsÃüÁîÊä³öµÄÀý×Ó¡£ÕæÕýµÄÎÊÌâÊÇ£¬¡°ÕæµÄÒ»Çж¼Õý³£Â𣿡±ºÚ¿Í³£ÓõÄÒ»¸ö ¹î¼Æ¾ÍÊÇ°ÑpsÃüÁîÌæ»»µô£¬¶øÕâ¸öÌæ»»ÉϵÄps½«²»»áÏÔʾÄÇЩÕýÔÚÄãµÄ»úÆ÷ÉÏÔËÐеķǷ¨³ÌÐò¡£ÎªÁ˲âÊÔ¸ö£¬Ó¦¸Ã¼ì²éÄãµÄpsÎļþµÄ´óС£¬Ëüͨ³£Î»ÓÚ /bin/ps¡£ÔÚÎÒÃǵÄLinux»úÆ÷ÀïËü´ó¸ÅÓÐ60kB¡£ÎÒ×î½üÓöµ½Ò»¸ö±»root kitÌæ»»µÄps³ÌÐò£¬Õâ¸ö¶«Î÷Ö»ÓдóÔ¼12kBµÄ´óС¡£

¡¡¡¡ÁíÒ»¸öÃ÷ÏÔµÄÆ­¾ÖÊÇ°ÑrootµÄÃüÁîÀúÊ·¼Ç¼ÎļþÁ´½Óµ½/dev/null¡£Õâ¸öÃüÁîÀúÊ·¼Ç¼ÎļþÊÇÓÃÀ´¸ú×ٺͼǼһ¸öÓû§ÔڵǼÉÏһ̨Linux»úÆ÷ºóËùÓùýµÄÃüÁîµÄ¡£ºÚ¿ÍÃÇ°ÑÄãµÄÀúÊ·¼Í¼ÎļþÖض¨Ïòµ½/dev/nullµÄÄ¿µÄÔÚÓÚʹÄã²»ÄÜ¿´µ½ËûÃÇÔø¾­ÊäÈë¹ýµÄÃüÁî¡£

¡¡¡¡Äã¿ÉÒÔͨ¹ýÔÚshellÌáʾ·ûÏÂÇÃÈëhistoryÀ´·ÃÎÊÄãµÄÀúÊ·¼Ç¼Îļþ¡£¼ÙÈçÄã·¢ÏÖ×Ô¼º ÕýÔÚʹÓÃhistoryÃüÁ¶øËü²¢Ã»ÓгöÏÖÔÚ֮ǰʹÓùýµÄÃüÁîÁбíÀÄãÒª¿´Ò»¿´ÄãµÄ~/.bash_history Îļþ¡£¼ÙÈçÕâ¸öÎļþÊǿյģ¬¾ÍÖ´ÐÐÒ»¸öls -l ~/.bash_historyÃüÁî¡£ÔÚÄãÖ´ÐÐÁËÉÏÊöµÄÃüÁîºóÄ㽫¿´µ½ÀàËÆÒÔϵÄÊä³ö£º

¡¡¡¡
ÒýÓÃ:
-rw------- 1 jd jd 13829 Oct 10 17:06 /home/jd/.bash_history


¡¡¡¡ÓÖ»òÕߣ¬Äã¿ÉÄܻῴµ½ÀàËÆÒÔϵÄÊä³ö£º

¡¡¡¡
ÒýÓÃ:
lrwxrwxrwx 1 jd jd 9 Oct 10 19:40 /home/jd/.bash_history -> /dev/null


¡¡¡¡¼ÙÈçÄã¿´µ½µÄÊǵڶþÖÖ£¬¾Í±íÃ÷Õâ¸ö .bash_history ÎļþÒѾ­±»Öض¨Ïòµ½/dev/null¡£ÕâÊÇÒ»¸öÖÂÃüµÄÐÅÏ¢£¬ÏÖÔÚ¾ÍÁ¢¼´°ÑÄãµÄ»úÆ÷´ÓInternetÉ϶ϵô£¬¾¡¿ÉÄܱ¸·ÝÄãµÄÊý¾Ý£¬²¢ÇÒ¿ªÊ¼ÖØа²×°ÏµÍ³¡£

¡¡¡¡Ñ°ÕÒδ֪µÄÓû§Õ˺Å

¡¡¡¡ÔÚÄã´òËã¶ÔÄãµÄLinux»úÆ÷×öÒ»´Î¼ì²âµÄʱºò£¬Ê×Ïȼì²éÊÇ·ñÓÐδ֪µÄÓû§Õ˺ÅÎÞÒÉÊÇÃ÷Öǵġ£ÔÚÏÂÒ»´ÎÄãµÇ¼µ½ÄãµÄLinux»úÆ÷ʱ£¬ÇÃÈëÒÔϵÄÃüÁ

¡¡¡¡
ÒýÓÃ:
grep :x:0: /etc/passwd


¡¡¡¡Ö»ÓÐÒ»ÐУ¬ÎÒÔÙÇ¿µ÷Ò»±é£¬ÔÚÒ»¸ö±ê×¼µÄLinux°²×°ÀgrepÃüÁîÓ¦¸ÃÖ»·µ»ØÒ»ÐУ¬ÀàËÆÒÔÏ£º

¡¡¡¡
ÒýÓÃ:
root:x:0:0:root:/root:/bin/bash


¡¡¡¡¼ÙÈçÔÚÇÃÈë֮ǰµÄgrepÃüÁîºóÄãµÄϵͳ·µ»ØµÄ½á¹û²»Ö¹Ò»ÐУ¬ÄÇ¿ÉÄܾÍÓÐÎÊÌâÁË¡£Ó¦¸ÃÖ»ÓÐÒ»¸öÓû§µÄUIDΪ0£¬¶øÈç¹ûgrepÃüÁîµÄ·µ»Ø½á¹û³¬¹ýÒ»ÐУ¬ÄǾͱíʾ²»Ö¹Ò»¸öÓû§¡£

¡¡¡¡ÈÏÕæÀ´Ëµ£¬ËäÈ»¶ÔÓÚ·¢ÏÖºÚ¿ÍÐÐΪ£¬ÒÔÉ϶¼ÊÇһЩºÜºÃµÄ»ù±¾·½·¨¡£µ«ÕâЩ¼¼Çɱ¾Éí²¢²»Äܹ¹³É×ã¹»µÄ°²È«ÐÔ£¬¶øÇÒÆäÉî¶ÈºÍ¹ã¶ÈºÍÔÚÎÄÕÂÍ·Ìáµ½µÄÈëÇÖ¼ì²âϵͳ±ÈÆðÀ´Ò²²îµÃÔ¶¡£

¡¡¡¡ÎҵĽ¨ÒéÊÇ£¬¼ÙÈçÄ㻳ÒÉÄãµÄϵͳÕæµÄ³öÁËÎÊÌ⣬´òµç»°¸øÒ»¸öLinuxµÄ°²È«×¨¼Ò£¬²Î¿¼ËûµÄÒâ¼û¡£±Ï¾¹LinuxµÄ°²È«²»ÊÇÒ»ÏÂ×ӾͿÉÒÔŪºÃµÄ¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 121 ÌõÆÀÂÛ

  1. StarBird ÓÚ 2014-02-19 08:41:34·¢±í:

    Thanks for sharing

  2. imanner ÓÚ 2013-09-29 09:30:29·¢±í:

    ºÇºÇ ʹÓþ­Ñé

  3. s0326fat ÓÚ 2013-09-06 15:17:03·¢±í:

    ¸Ð?·ÖÏí

  4. conandzy ÓÚ 2013-08-23 13:01:19·¢±í:

    ѧϰÁË£¬Ñ§Ï°ÁË

  5. Ç°½ø123 ÓÚ 2013-07-25 13:56:44·¢±í:

    {:2_92:}

  6. czxJAVA2009 ÓÚ 2013-07-04 08:43:03·¢±í:

    ÐèҪѧϰѧϰ

  7. pantse ÓÚ 2013-06-26 14:31:13·¢±í:

    лл¥Ö÷:0)1

  8. TinaÐí ÓÚ 2013-06-18 10:53:05·¢±í:

    ͦºÃµÄ

  9. ÍøÂçÇ鱨վ ÓÚ 2013-06-16 21:13:03·¢±í:

    ÁªÍøµÄlinux¾ÍÏñÒ»¿éÈ⣬˭¶¼ÏëÒ§Ò»¿Ú£¬
    ËùÒÔ°²È«ºÜÖØÒª

  10. xdl1211xdl1211 ÓÚ 2013-06-14 08:50:09·¢±í:

    (6)m:b¿´¿´£¬ÐÂÊÖ

  11. andrea ÓÚ 2012-12-14 23:15:29·¢±í:

    ¶¥

  12. q815188 ÓÚ 2012-12-03 23:13:38·¢±í:

    (6)m:b

  13. Çó֪·ÂþÂþ ÓÚ 2011-11-17 12:45:45·¢±í:

    ³öÓÚʵ¼Ê¾­ÑéµÄ¶«Î÷¾ÍÊÇʵÓã¡Ö§³Ö

  14. ghjkl159357 ÓÚ 2011-11-17 10:13:45·¢±í:

    {:2_93:}

  15. qqwe13 ÓÚ 2011-11-15 08:57:52·¢±í:

    ÓÐÒâ˼£¡£¡£¡
    ¶à¶à×¢Òâ¡£

  16. swdavid2011 ÓÚ 2011-11-14 16:43:22·¢±í:

    tks

  17. haoge512 ÓÚ 2011-10-31 22:06:33·¢±í:

    ¶÷£¬²»´í

  18. ÃÔÄã°ævcxz ÓÚ 2011-10-29 23:47:10·¢±í:

    ¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥

  19. benet1990 ÓÚ 2011-10-29 13:28:16·¢±í:

    ²»´í

  20. zhaoweiminde ÓÚ 2011-10-09 14:49:06·¢±í:

    {:3_109:}

  21. fenggepan ÓÚ 2011-09-26 17:13:06·¢±í:

    xiexie

  22. 243842 ÓÚ 2011-09-26 13:56:29·¢±í:

    :0w665mnb ºÃÎÄÕÂ

  23. lxydyx ÓÚ 2011-08-11 13:51:04·¢±í:

    Ìý²»¶®

  24. qq9293000079 ÓÚ 2011-07-23 10:40:40·¢±í:

    ¡£Í¼Ê¾ÊÇÒ»¸öpsÃüÁîÊä³öµÄÀý×Ó¡£ÕæÕýµÄÎÊÌâÊÇ£¬¡°ÕæµÄÒ»Çж¼Õý³£Â𣿡±
    Â¥Ö÷£¬ÕâÀïµÄͼʾÔÚÄÄÀ¡­¡­Âé·³ÄãÏ´θ´ÖƵÄʱºò£¬¸´ÖÆÍêÒ»µã

  25. zhou347742 ÓÚ 2011-07-23 09:59:33·¢±í:

    ѧϰÁË£¬ÕæµÄºÜ²»´í¡£

  26. whuisslewis ÓÚ 2011-07-05 15:22:13·¢±í:

    ³¤¼ûʶÁË,¸Ðл

  27. mentkant ÓÚ 2011-06-30 15:39:22·¢±í:

    (5ty(

  28. every_why ÓÚ 2011-06-30 09:56:42·¢±í:

    ºÜºÃ£¬Ö§³ÖÁË

  29. your180 ÓÚ 2011-06-22 07:28:04·¢±í:

    ºÃ

  30. yrj8008037241 ÓÚ 2011-06-20 10:01:24·¢±í:

    :0)1

  31. 397778823 ÓÚ 2011-06-19 23:37:44·¢±í:

    {:2_92:}

  32. emirxin ÓÚ 2011-06-19 21:37:17·¢±í:

    ¼Ó¾«£¬¼Ó¾«

  33. apnet001 ÓÚ 2011-06-18 21:46:51·¢±í:

  34. lin80230 ÓÚ 2011-06-16 13:23:40·¢±í:

    ÊǸÃ×¢Òâ¡£ÎÒµÄϵͳÊÇ¡°¹û¡±ÅܵÄ

  35. lin80230 ÓÚ 2011-06-16 13:02:05·¢±í:

    ÊǸöà×¢Òâ¡£ÎÒµÄϵͳÊÇÂãÅܵÄ

  36. greedfarmer ÓÚ 2011-04-30 09:54:53·¢±í:

    ³¤¼ûʶ£¬¶àл·ÖÏí

  37. wbls615117 ÓÚ 2011-04-27 13:44:17·¢±í:

    ¶÷£¬ºÃ

  38. tiaoshi ÓÚ 2011-04-07 18:21:09·¢±í:

    ¶¥Ò»¸ö

  39. rhel5 ÓÚ 2011-04-06 18:14:23·¢±í:

    :0)1

  40. ²»Ñ§²»·ÅÐÄ ÓÚ 2011-03-29 19:56:48·¢±í:

    ѧϰÖÐ