Alot of times hacks happen from insecure cgi/php scripts if its a cpanel box you can track this down using:
Quote:
|
for files in /usr/local/apache/domlogs/*; do grep "wget" $files; done;
|
Alot of people dont do it, but you can noexec, nosuid your /dev/shm in fstab