ºìÁª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. zeur913 ÓÚ 2011-03-28 00:12:51·¢±í:

    ÓÖѧϰÁË£¬¸Ðл¥Ö÷¡£

  2. hml1006 ÓÚ 2011-03-11 17:37:01·¢±í:

    ÓÐÒâ˼

  3. tzzjchao ÓÚ 2011-02-28 21:22:01·¢±í:

    ÕâÊÇ°ñÑùÀ²£¡

  4. tzzjchao ÓÚ 2011-02-28 21:21:54·¢±í:

    ÕâÊÇ°ñÑùÀ²£¡

  5. qq470320278 ÓÚ 2011-02-28 19:46:21·¢±í:

    ÕżûʶÁË¡£

  6. imleoho ÓÚ 2011-02-26 23:03:14·¢±í:

    ÓÖ³¤¼ûʶÁË£¬Ð»Ð»Â¥Ö÷¡£

  7. lograss ÓÚ 2011-02-04 15:25:41·¢±í:

    ·¹ý£¬Ò²³¤¼ûʶÁË

  8. lhxxdch ÓÚ 2011-01-31 23:30:24·¢±í:

    ¸Î²ü°¡
    ¿´À´Ê²Ã´ÏµÍ³Ò²²»ÄÜ´óÒâ°¡

  9. clh920202 ÓÚ 2011-01-31 02:32:29·¢±í:

    ѧϰÁË Ð»Ð»LZ

  10. liop ÓÚ 2011-01-23 12:50:04·¢±í:

    ѧϰһÏ£¬¸Ðл¡£

  11. wenhui131432 ÓÚ 2011-01-22 10:59:23·¢±í:

    Ó¦¸Ã¶àŪЩÕâ¸ö¶«¶«°¡£¡

  12. techippo ÓÚ 2011-01-20 17:52:37·¢±í:

    дµÄ²»´í

  13. weixiaoyu111 ÓÚ 2011-01-04 13:12:14·¢±í:

    ΪΪΪwwwwwwwwwwww

  14. zhangxing095047 ÓÚ 2010-12-24 22:52:33·¢±í:

    ѧϰÖС£¡£¡£¡£¡£¡£¡£¡£

  15. aollen ÓÚ 2010-12-23 14:52:23·¢±í:

    ºÃ¼Ò»ï£¡£¡{:3_114:}

  16. yanlong938 ÓÚ 2010-08-12 23:07:17·¢±í:

    ѧϰÏÂ

  17. wdhuag ÓÚ 2010-08-12 16:04:23·¢±í:

    ¶¥Ò»Ï¡­¡­

  18. wdhuag ÓÚ 2010-08-12 15:43:41·¢±í:

    ¶¥Ò»Ï¡­¡­

  19. yilinhust ÓÚ 2010-07-22 17:00:31·¢±í:

    ѧϰÁË

  20. fanstysword ÓÚ 2010-07-09 15:28:48·¢±í:

    ³¤Á˼ûʶÁË£¬ÊܽÌ

  21. mldjc ÓÚ 2010-07-08 01:21:11·¢±í:

    ³õ¼¶ÈëÃÅ£¬Ö§³ÖÒ»ÏÂ

  22. wap ÓÚ 2010-07-04 12:31:14·¢±í:

    ѧϰһÏÂ

  23. henryloveeva ÓÚ 2010-07-03 08:54:06·¢±í:

    ºÃ¶«Î÷°¡£¬¶¥ÆðÀ´À²

  24. lcezdjzx ÓÚ 2010-07-02 20:34:26·¢±í:

    ºÜºÃºÜ¼°Ê±£¬Ð»Ð»ÁË¡£

  25. hock ÓÚ 2010-05-20 22:37:22·¢±í:

    ³¤¼ûʶ

  26. micai ÓÚ 2010-05-18 19:36:58·¢±í:

    лл£¬ÎÒÕâ¸ö²ËÄñÊܽÌÁË¡£

  27. ¹ÇÍ·¸ç¸ç ÓÚ 2010-05-18 11:15:29·¢±í:

    ÐÂÊÖ ÏÈ¿´ ÃâµÃÒÔºó ºó»Ú{:3_112:}

  28. axbyc123 ÓÚ 2010-05-17 13:37:32·¢±í:

    лл¥Ö÷·ÖÏí:0)1

  29. qiaocsk2 ÓÚ 2010-05-16 16:59:13·¢±í:

    ѧϰÁË¡£Ð»Ð»Â¥Ö÷

  30. ´ó±¿Ã¨ ÓÚ 2010-05-14 12:06:50·¢±í:

    Èç¹ûÓиü¶àÕâ·½ÃæµÄ¶«Î÷¾ÍºÃÁË:0wpoi2

  31. Shepherd ÓÚ 2010-05-14 11:57:40·¢±í:

    ²»´í£¬Ñ§Ï°ÁË£¡{:2_103:}

  32. shejijia ÓÚ 2010-02-18 09:58:02·¢±í:

    ºÇºÇ£¬»¹¿´²»¶®ÄØ

  33. linshao.Solin ÓÚ 2010-02-10 18:06:09·¢±í:

    Ï£Íû³ö¸ö¹ØÓÚLinux°²È«µÄÎĵµ

  34. lklangzi ÓÚ 2010-02-06 09:23:04·¢±í:

    ºÜÉÙ±»ºÚ°É

  35. mdl0122 ÓÚ 2010-02-01 16:01:26·¢±í:

    ˵˵ԭÀí¾Í¸üºÃÁË

  36. wxg307 ÓÚ 2010-01-31 06:45:47·¢±í:

    ºÃ¶«Î÷£¡Ñ§Ï°ÁË£¡£¡

  37. wAe]levis ÓÚ 2010-01-28 15:12:10·¢±í:

    (6)m:b

  38. zengtiakun ÓÚ 2010-01-21 13:39:10·¢±í:

    ºÜÓÐÓã¬Ð»Ð»£¡

  39. ¼«ËÙεÀ¶ ÓÚ 2010-01-16 21:22:52·¢±í:

    ¸ß¼¶Ó¦ÓÃ

  40. bruceli ÓÚ 2009-12-19 08:01:34·¢±í:

    ²»Å²¡¶¾£¬¾Íźڿ͡£