Trace hacker?
My server Red Hat 7.2 was hacked yesterday :(
It is possbile to see an IP address of a person that was login on my server. How can I see and find out who was login in the server? Thanks M.S |
"last" will show logins
"lastb" if enabled shows bad logins "more /etc/httpd/logs/access_log" will show web connections Do you know which protocol you were hacked with? |
keep in mind that , unless it was a very stupid hacker, they haven't hacked you from there own address. there may be many innocent addresses between your box and the hacker.
|
Also this should prompt you to make your server more secure. Try browsing these forums with lots of good information. You might want to disconnect it for now to be safe until you know it is safe to bring back up on the net.
|
Quote:
|
a new version of chkrootkit is available, run that to see if they root'ed you,
|
Next to the fact they might be using intermediate servers they might have zapped shell and login history as well. Chkrootkit can find zap AFAIK, but can't find deleted data. If you really want to know what traces they left after they shredded stuff you'll have to dd an image of the disks, partitions and run TCT.
Mind you, it ain't a trivial task so I'd only recommend it for situations where it is crucial to have the knowledge, it'll take lots of time and you have to know how to construct the timeline and interprete the pieces to build the puzzle. Also chances of reconstructing get slimmer the longer the system remains active (disk writes). Btw, would you mind posting your general network layout (if any), what daemons you where running, if you where up2date and if you got *anything* out of *any* logfiles? |
I can login to server through FTP,. So my questions is:
how can i change the password on a machine that i could ftp to Thanks |
Have you only got ftp access? If so - you probably can't.
|
All times are GMT -5. The time now is 04:56 PM. |