From: urgrue Subject: Re: hacked Date: Wed, 12 Jun 2002 16:40:23 +0300 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20020612134023.GA2115@fede2.tumsan.fi> References: <20020612115141.GA1599@fede2.tumsan.fi> <15623.20073.595822.36388@cerise.nosuchdomain.co.uk> Reply-To: urgrue@tumsan.fi Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: Content-Disposition: inline In-Reply-To: <15623.20073.595822.36388@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Wed, Jun 12, 2002 at 16:36:41 +0300 List-Id: Content-Type: text/plain; charset="us-ascii"; To: Glynn Clements Cc: admin yes, true. ive already replaced the box with a fresh install, but i am just curious to know what happened. > > urgrue wrote: > > > a hacker has planted trojans and messed around with one of my boxes. > > its off the network, but i want to know what he did. > > i replaced netstat, ps, lsof (and others) with originals, but nmap > > shows that ports 1130 and 53228 are open on the box. i can even > telnet > > to these ports and get what definitely looks like backdoors. > > but netstat and lsof cant find anything on these ports. > > and ps of course doesnt show anything unusual. > > since ive replaced the binary commands with originals, but these > ports > > are still open, presumably some networking related library has been > > trojaned? > > Or the kernel itself. > > Once a system has been cracked, the only reliable solutions are to > either revert to a known good backup, or start from scratch[1]. > > [1] Literally. Re-installing the OS over an existing filesystem won't > help if a trojan configuration file has been added; "dot" files in > root's home directory are a common vector. > > -- > Glynn Clements >