PDA

View Full Version : tmp hack


Turk
12-08-2005, 08:34 PM
hello my tmp and shm only hacked.

/var/tmp
/dev/shm

when I m logged my server I can see hacker files in tmp and shm

when I m ps aux I can see run hackers program inetd. psybnc ore other hacker program how I can block this hacker?

ozgreg
12-08-2005, 08:50 PM
First thing you need to find how the hacker got into your system.. Most common tool for hacking right now is the XMLRPC libraries which unless patched can be easily hacked with the hacker toolkits (scripts) going around the net right now...

Blocking a hacker is just a bandaid and would only block one form of attack. Most hackers are utilising spoof IP addresses so you would not be successful anyway..

Make sure you run the root toolkit as well to clean up your system and speak to support as well..

Turk
12-09-2005, 02:53 PM
how I can find and delete hacker tools?

Hvu
12-09-2005, 04:26 PM
You can remove all of your tmp files.
rm -fR /tmp/*

Is your tmp mounted with noexec? Run "df" in root.
should see
vzfs 314574 11 314563 1% /tm

Turk
12-09-2005, 04:33 PM
yes my tmp and /dev/shm I m deleting only but hacker again update all hacker file hacker how logged my server I dont know

safe_mode =on

disable_functions="system,exec,shell_exec,passthru,readfile,escapeshe llarg,escapeshellcmd,popen,pcntl_exec"

Hvu
12-09-2005, 04:37 PM
Check that all your scripts are updated. Have you checked that you havnt been rootkited?

Turk
12-09-2005, 04:52 PM
ı havent root kid

ozgreg
12-09-2005, 06:29 PM
ı havent root kid

Either ask support to install it (rkhunter) or install it yourself

http://www.rootkit.nl/

charles
12-10-2005, 01:08 AM
Turk, *PLEASE* contact support if you haven't already.

thanks
charles