From: eklinger@uci.edu Subject: Re: Auditing File Changes Date: Mon, 10 Jul 2006 15:09:00 -0700 (PDT) Message-ID: <3076.216.231.24.46.1152569340.squirrel@webmail.uci.edu> References: <20060710193214.95422.qmail@web36606.mail.mud.yahoo.com> <200607101942.k6AJgUo2016221@turing-police.cc.vt.edu> <1152561408.4275.17.camel@fryspc> <2504.216.231.24.46.1152565902.squirrel@webmail.uci.edu> <1152567463.18406.48.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k6AM9IZ0022887 for ; Mon, 10 Jul 2006 18:09:18 -0400 Received: from relay2.es.uci.edu (relay2.es.uci.edu [128.200.80.28]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id k6AM9Bgw020503 for ; Mon, 10 Jul 2006 18:09:12 -0400 In-Reply-To: <1152567463.18406.48.camel@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: "Timothy R. Chavez" Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com > Maybe it's the way you've described it, but this sounds like a very > contrived and fickle security mechanism. I really don't understand the > purpose of your encryption, can you elaborate any? Maybe I'm just > confused with the example you gave. Further more, if you want to > restrict operations on a given a file, why reinvent the wheel, it's > already doable. Also, the audit subsystem does log events describing > "copy" events, renames, linking, unlinking, open's, close's, file > attribute modifications, etc, without the need for modifying specific > programs. Decompose the "abstract" event of cut and paste into its > system-calls and there you go. > The original idea was to prevent the user from opening the file in any text or hex editor and changing the file or the file's allowed operations= , which would be stored in the file itself. However, if we can capture the open call we may not need the the encryption afterall. All of this is jus= t a proof of concept. It will need to be refined much more before we do the actual implementation, which is why I'm here to get these comments and ideas from the community. :) We do not want to reinvent the wheel but the permissions need to go beyond the basic read-write-exec since engineers will need to modify the source code files but we may not want them to cop= y them to a usb drive or email them, and we want the permissions to be in place across platforms. > > You'd have to modify OpenOffice to decrypt and re-encrypt documents, > right? The idea was that we would capture the writes and the data and then encrypt it ourselves so OO would not need to care. Evan