Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÈçºÎÀ´ÅжÏÄãµÄLinuxϵͳ»úÆ÷ÊÇ·ñ±»ºÚ£¿


Ë׳Ɠ½Å±¾Ð¡¹í”µÄ¼Ò»ïÊÇÊôÓÚÄÇÖÖºÜÔã¸âµÄºÚ¿Í£¬ÒòΪ»ù±¾ÉÏËûÃÇÖеÄÐí¶àºÍ´ó¶àÊýÈ˶¼ÊÇÈç´ËµÄûÓм¼ÇÉ¡£¿ÉÒÔÕâÑù˵£¬Èç¹ûÄã°²×°ÁËËùÓÐÕýÈ·µÄ²¹¶¡£¬ÓµÓо­¹ý²âÊԵķÀ»ðǽ£¬²¢ÇÒÔÚ¶à¸ö¼¶±ð¶¼¼¤»îÁËÏȽøµÄÈëÇÖ¼ì²âϵͳ£¬ÄÇôֻÓÐÔÚÒ»ÖÖÇé¿öÏÂÄã²Å»á±»ºÚ£¬ÄǾÍÊÇ£¬ÄãÌ«ÀÁÁËÒÔÖÁûȥ×ö¸Ã×öµÄÊÂÇ飬ÀýÈ磬°²×°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¡£Õ


Ïà¹ØÎĵµ£º

linuxÏÂÊý¾Ý¿â°²×°Ïêϸ½éÉÜ

Ò»¡¢²é¿´ÒªÇóµÄ×°Åä°ü£¨ºÍRHELËÄÓÐЩС²î±ð£©
rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common libstdc++ libstdc++-devel make ksh sysstat libaio openmotif22 libXp
rpm -ivh compat-db
rpm -ivh kernel-headers
rpm -ivh glibc-headers
rpm -ivh glibc-devel
rpm -ivh libgomp
rpm -i ......

LinuxÄں˵Äͬ²½»úÖÆ

Ò»¡¢ÒýÑÔ
ÔÚÏÖ´ú²Ù×÷ϵͳÀͬһʱ¼ä¿ÉÄÜÓжà¸öÄÚºËÖ´ÐÐÁ÷ÔÚÖ´ÐУ¬Òò´ËÄÚºËÆäʵÏó¶à½ø³Ì¶àÏ̱߳à³ÌÒ»ÑùÒ²ÐèҪһЩͬ²½»úÖÆÀ´Í¬²½¸÷Ö´Ðе¥Ôª¶Ô¹²ÏíÊý¾ÝµÄ·ÃÎÊ¡£ÓÈÆäÊÇÔڶദÀíÆ÷ϵͳÉÏ£¬¸üÐèҪһЩͬ²½»úÖÆÀ´Í¬²½²»Í¬´¦ÀíÆ÷ÉϵÄÖ´Ðе¥Ôª¶Ô¹²ÏíµÄÊý¾ÝµÄ·ÃÎÊ¡£
ÔÚÖ÷Á÷µÄLinuxÄÚºËÖаüº¬Á˼¸ºõËùÓÐÏÖ´úµÄ²Ù×÷ϵͳ¾ßÓеÄͬ²½» ......

ÔÚLinuxϲúÉú²¢µ÷ÊÔcoreÎļþ

ÔÚLinuxϲúÉú²¢µ÷ÊÔcoreÎļþ
ÏÈ¿´¿´ÎÒÓõÄÊǸöʲô»úÆ÷£º
$ uname -a
Linux dev 2.4.21-9.30AXsmp #1 SMP Wed May 26 23:37:09 EDT 2004 i686 i686 i386 GNU/Linux
ÔÙ¿´¿´Ä¬ÈϵÄһЩ²ÎÊý£¬×¢Òâcore file sizeÊǸö0£¬³ÌÐò³ö´íʱ²»»á²úÉúcoreÎļþÁË¡£
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbyt ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ