Article View: comp.os.linux.security
Article #12Re: I think I have been hacked
From: Luke Vogel
Date: Sun, 26 May 2002 23:56
Date: Sun, 26 May 2002 23:56
77 lines
4174 bytes
4174 bytes
Graham Daniell wrote: > > I have a RH 6.2 Linux server (torvalds) which provides internet > connection for my home network of several Win9x PC's and one RH72 > PC. > > For some time I have been getting attacked by this IP number: > > May 26 12:04:35 torvalds in.telnetd[915]: refused connect from > 195.119.1.180 > May 26 12:19:35 torvalds in.telnetd[921]: refused connect from > 195.119.1.180 > May 26 18:08:44 torvalds in.telnetd[1069]: refused connect from > 195.119.1.180 > May 26 18:51:07 torvalds in.telnetd[1087]: refused connect from > 195.119.1.180 Seems that your server is refusing connections ok. This in itself is not a major problem ... what is of concern, is that you have a telnet daemon listening on the net for connections in the first place. This leads me to the conclusion that you are probably not running a firewall of any description, and that the crackers may find other entry points like ftp, smtp etc. ... this needs to be addressed quickly and properly. > Last night's message log showed this: > > May 26 20:49:41 torvalds network: Bringing up route unknown > succeeded > May 26 20:49:41 torvalds network: Bringing up route eth0 succeeded > May 26 20:49:49 torvalds network: Bringing up route unknown > succeeded > May 26 20:49:50 torvalds network: Bringing up route eth0 succeeded > May 26 20:55:49 torvalds network: Bringing up route unknown > succeeded > May 26 20:55:49 torvalds network: Bringing up route eth0 succeeded > May 26 20:56:00 torvalds network: Bringing up route unknown > succeeded > May 26 20:56:00 torvalds network: Bringing up route eth0 succeeded > > It looks to me like someone managed to install a route between my > internal network and an unknown address (probably 195.119.1.180?) Hard to say again, this could indicate a misconfigured daemon??? Have a look in your /etc/passwd and /etc/shadow files for "new" user accounts or even system accounts with root privileges. check the creation dates for programs like netstat ps top find ls and see if they differ wildly from other system binaries. If the box is cracked, then you can expect the crackers programs to be re-started at boot time, so you should also look in your /etc/rc.d/rc.local & /etc/rc.d/init.d files for unusual configurations. Again, recent creation dates are a clue. A simple and easy checker is to download chkrootkit from http://www.chkrootkit.org build it and run it. It's not perfect, but it will find evidence of a compromise if there has been one. > Should I be worried? (I already am :-( ) Worried is good ... it will keep you on your toes. > Should I not use my internal network till I reformat and relaod my > RH62 server? Gather evidence of a compromise first. -- Regards Luke ------ Q: What does FAQ stand for? A: We are Frequently Asked this Question, and we have no idea. ------ C.O.L.S FAQ - http://www.linuxsecurity.com/docs/colsfaq.html ------
Technical Details
Message-ID:
<3CF17648.783E2499@bell-bird.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!teaser.fr!deine.net!intgwpad.nntp.telstra.net!news.telstra.net!nsw.nnrp.telstra.net!not-for-mailReferences:
<3CF166C0.6C6DB09C@wt.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 106e9e,12f974d98d69a93f X-Google-Attributes: gid106e9e,public X-Google-Thread: 102983,12f974d98d69a93f X-Google-Attributes: gid102983,public X-Google-ArrivalTime: 2002-05-26 17:00:40 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!teaser.fr!deine.net!intgwpad.nntp.telstra.net!news.telstra.net!nsw.nnrp.telstra.net!not-for-mail Message-ID: <3CF17648.783E2499@bell-bird.com.au> From: Luke Vogel <luke@bell-bird.com.au> Organization: BellBird Services. X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: comp.os.linux.security,aus.computers.linux Subject: Re: I think I have been hacked References: <3CF166C0.6C6DB09C@wt.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 77 Date: Mon, 27 May 2002 09:56:56 +1000 NNTP-Posting-Host: 139.130.87.159 X-Complaints-To: abuse@telstra.net X-Trace: nsw.nnrp.telstra.net 1022457638 139.130.87.159 (Mon, 27 May 2002 10:00:38 EST) NNTP-Posting-Date: Mon, 27 May 2002 10:00:38 EST