From owner-freebsd-security Mon Feb 11 15:45:44 2002 Delivered-To: freebsd-security@freebsd.org Received: from pogo.caustic.org (caustic.org [64.163.147.186]) by hub.freebsd.org (Postfix) with ESMTP id 5A45237B405; Mon, 11 Feb 2002 15:45:39 -0800 (PST) Received: from localhost (jan@localhost) by pogo.caustic.org (8.11.6/8.11.6) with ESMTP id g1BNjaX64939; Mon, 11 Feb 2002 15:45:37 -0800 (PST) (envelope-from jan@caustic.org) Date: Mon, 11 Feb 2002 15:45:36 -0800 (PST) From: "f.johan.beisser" X-X-Sender: jan@localhost To: "Crist J. Clark" Cc: Bill Vermillion , Subject: Re: Is the technique described in this article do-able with In-Reply-To: <20020210221029.A20884@blossom.cjclark.org> Message-ID: <20020211152223.A21734-100000@localhost> X-Ignore: This statement isn't supposed to be read by you X-TO-THE-FBI-CIA-AND-NSA: HI! HOW YA DOIN? 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 Sun, 10 Feb 2002, Crist J. Clark wrote: > > not really. you can change chflags on a live machine. > > How do you do it when there is an elevated securelevel(8)? not really sure off hand :) i don't think that it can be done, at least, not without taking a really good look at the code first, and deliberately trying to find a way to bypass the kernel's watch on file permissions and the chflags information. note that i belive most people use the system in "-1" or "0" mode, post install. i did, for a long long while during my first year of FreeBSD usage. to this day, for remote handling of some machines, i still leave them at securelevel "0" for kernel upgrades.. but these are "low risk" machines, usually with very few services (read: single use) and/or they are easily replaced if there is a compromise. -------/ f. johan beisser /--------------------------------------+ http://caustic.org/~jan jan@caustic.org "John Ashcroft is really just the reanimated corpse of J. Edgar Hoover." -- Tim Triche To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message