LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Trace hacker? (https://www.linuxquestions.org/questions/linux-security-4/trace-hacker-53395/)

mikeshn 04-04-2003 10:32 AM

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

david_ross 04-04-2003 11:46 AM

"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?

rshaw 04-04-2003 11:52 AM

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.

trickykid 04-04-2003 12:11 PM

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.

mikeshn 04-04-2003 12:45 PM

Quote:

Originally posted by david_ross
"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?

No Idea

rshaw 04-04-2003 12:45 PM

a new version of chkrootkit is available, run that to see if they root'ed you,

unSpawn 04-04-2003 02:09 PM

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?

mikeshn 04-17-2003 08:53 AM

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

david_ross 04-17-2003 01:30 PM

Have you only got ftp access? If so - you probably can't.


All times are GMT -5. The time now is 04:56 PM.