From owner-freebsd-security@FreeBSD.ORG Sun Aug 24 04:55:16 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 848E016A4BF for ; Sun, 24 Aug 2003 04:55:16 -0700 (PDT) Received: from void.xpert.com (xpert.com [199.203.132.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2645943FE9 for ; Sun, 24 Aug 2003 04:55:15 -0700 (PDT) (envelope-from Yonatan@xpert.com) Received: from void.xpert.com (localhost [127.0.0.1]) by void.xpert.com (8.12.8/8.12.8) with ESMTP id h7OCDQad011216 for ; Sun, 24 Aug 2003 15:13:26 +0300 Received: from EXCHANGE.xpert.com (exchange.xpert.com [199.203.132.135]) by void.xpert.com (8.12.8/8.12.8) with ESMTP id h7OCDQ2G011210; Sun, 24 Aug 2003 15:13:26 +0300 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sun, 24 Aug 2003 14:54:16 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [solution] chkrootkit reports infected files Thread-Index: AcNqNd48d3krPrvmSX6n8K9mIEjnDgAAUIsw From: "Yonatan Bokovza" To: "Nelson Murilo" cc: freebsd-security@freebsd.org cc: jessen@nic.br Subject: RE: [solution] chkrootkit reports infected files X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 11:55:16 -0000 > -----Original Message----- > From: Nelson Murilo [mailto:nelson@pangeia.com.br] > Sent: Sunday, August 24, 2003 14:51 > To: Yonatan Bokovza > Cc: freebsd-security@freebsd.org; cordeiro@luinil.nic.br;=20 > jessen@nic.br > Subject: Re: [solution] chkrootkit reports infected files >=20 >=20 >=20 > Hi Yonatan, >=20 > I fixed all bugs in 5.x in 0.42 (next release), I look for > your patch for chk_vdir. >=20 > Thanks a lot for your interest in chkrootkit, The difference is in chk_vdir: - if [ -r ${CMD} ]; then + if [ ! -r ${CMD} ]; then As things stands now, this returns NOT_FOUND if the file is readable, and errors out if the file doesn't exist, or isn't readable.