From: "Timothy R. Chavez" Subject: Re: Auditing File Changes Date: Mon, 10 Jul 2006 15:55:51 -0500 Message-ID: <1152564952.18406.21.camel@localhost.localdomain> References: <20060710193214.95422.qmail@web36606.mail.mud.yahoo.com> <200607101942.k6AJgUo2016221@turing-police.cc.vt.edu> <1152561408.4275.17.camel@fryspc> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k6AKu8nj011351 for ; Mon, 10 Jul 2006 16:56:08 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k6AKu6KM021255 for ; Mon, 10 Jul 2006 16:56:06 -0400 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e32.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k6AKtreU030493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 10 Jul 2006 16:55:54 -0400 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by westrelay02.boulder.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k6AKt4gL312134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 10 Jul 2006 14:55:04 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k6AKtr1C010304 for ; Mon, 10 Jul 2006 14:55:53 -0600 In-Reply-To: <1152561408.4275.17.camel@fryspc> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: LC Bruzenak Cc: Linux-audit@redhat.com, Valdis.Kletnieks@vt.edu List-Id: linux-audit@redhat.com On Mon, 2006-07-10 at 14:56 -0500, LC Bruzenak wrote: > On Mon, 2006-07-10 at 15:42 -0400, Valdis.Kletnieks@vt.edu wrote: > ... > > > > Probably depends on what actual problem he's trying to solve by recording > > all the changes. > > Most likely the same one I have been working on all my career: > > Security guy: Please deliver system with maximum security. > System guy (me): What do you need to know? > Security guy: Any and all changes to security-relevant files. > System guy: Which ones are those? > Security guy: All of 'em. If you issue 100 writes() in between an open() and an exit(), what does write() #97 tell you that write() #26 doesn't? You'd pretty much have to log what changed per-write, which would consume a ridiculous amount of space in addition to what would be consumed by logging write()'s in general. I think, from a security stand point, it's more interesting to know if, when, and by whom the file was open'ed() for write. -tim