From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 08:14:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FFF916A4CE for ; Wed, 14 Apr 2004 08:14:30 -0700 (PDT) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED73B43D31 for ; Wed, 14 Apr 2004 08:14:29 -0700 (PDT) (envelope-from dgw@liwest.at) Received: from cm217-96.liwest.at ([81.10.217.96]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1BDm5s-0003OB-DY; Wed, 14 Apr 2004 17:14:28 +0200 From: Daniela To: Remko Lodder , freebsd-questions@freebsd.org Date: Wed, 14 Apr 2004 16:08:08 +0000 User-Agent: KMail/1.5.3 References: <200404140933.i3E9XdSE000461@mist.nodomain> <407D08FD.1080708@elvandar.org> In-Reply-To: <407D08FD.1080708@elvandar.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404141608.08788.dgw@liwest.at> Subject: Re: have i been hacked? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 15:14:30 -0000 On Wednesday 14 April 2004 09:48, Remko Lodder wrote: > Dan Strick wrote: > >> ... > >>When i got the daily run > >>output i noticed the setuid files have changed. Wondering if this box got > >>hacked and if so where to look to confirm this? > >> ... > >> > >> Checking setuid files and devices: > >> ls: Terminated > >> > >> : No such file or directory > >> > >> guardian.davemehler.net setuid diffs: > >> 1,52d0 > >> < 94240 -r-sr-xr-x 1 root wheel 448384 Jun 4 21:54:47 2003 > >> /bin/rcp ... [...] > aragorn# ls -l /bin/rcp > -r-sr-xr-x 1 root wheel 18392 Feb 23 20:41 /bin/rcp > > (notice the size!, someone mentioned that already on the list..) > > So obviously something weird happened. That needn't be the case. Mine is 932532 bytes long (and it was already that size after a fresh reinstall). And why? Debug symbols. I love to have them everywhere. Try to strip the file, and it will be much shorter. Daniela