LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-24-2004, 02:21 AM   #1
sax8er
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Angry My server got broken in and all access of admin are changed passwd, etc. HELP needed!


Today I realised that someone unothorized got on my server and in means of "F****ing" with my job/head changed root passwd, and dissabele/changed all of my user account settings. I realy need help, couse this is a server of a Primary school institution, and I dnot want anyything to go bad mor than its already is!
I heve Fedora2 on machine, And I suspect that the attacker came through SSH,
I shoud close down the sshd in my fw, but realy would like to know who the attacer is, and where is the attack been made from, so I cen get "Phisycal" on him , need some advice how to be successfull detective in this case??

thanx
sax
 
Old 12-24-2004, 07:53 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
First of all...unplug this box from the network. It has been rooted, and therefore you can no longer trust *any* program on it. The logs/dmesg output et al may be doctored. You can no longer trust the files on this box. Your best bet if you want legal recourse down the road is to make an exact copy of the HDD onto another one...and leave it untouched. Do not go messing around wantonly. Next, either boot up the box with a forensics livecd, or put the HDD in a trusted computer and mount it.

Check out the forensics section in Unspawns excellent security references:
http://www.linuxquestions.org/questi...threadid=45261
for specifics on the forensic investigation.

You will have to perform a fresh install with different passwds, both root and user. Any passwds/sensitive data etc on the box at the time of attach should be considered compromised.

Quote:
but realy would like to know who the attacer is, and where is the attack been made from, so I cen get "Phisycal" on him
Although it is a natural instinct to want to kick this guys ass...remember that you are a professional (I hope) and that is not the way to deal with this.
 
Old 12-26-2004, 10:48 PM   #3
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
I would also look at configuring your firewall to block ssh and telnet port 23, these are usually the ports most often used in an attack, unless there is a specific reason you need to allow those ports to be open, and even if there is, can you get by with local connection only and disabling remote connections.

Tracing the cracker will be almost impossible, the IP address you will find will most likly be from another comprised computer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changed passwd doesn't unlock the screen cheez_m Ubuntu 1 11-13-2005 07:40 AM
Broken X after changed monitor settings? badbunny Linux - Newbie 2 10-27-2005 11:14 AM
Root passwd changed Tinku Linux - Security 9 10-22-2004 12:52 AM
Unix admin needed, Jackson TN mykrob Linux - General 1 09-02-2004 02:42 PM
changed the login shell in /etc/passwd to the wrong path infamous41md Solaris / OpenSolaris 3 07-03-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration