From: Valdis.Kletnieks@vt.edu Subject: Re: Recording user commands (from RE: Linux-audit Digest, Vol 31, Issue 12) Date: Fri, 27 Apr 2007 17:38:59 -0400 Message-ID: <18196.1177709939@turing-police.cc.vt.edu> References: <200704271628.17906.paul.moore@hp.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0066520715==" Return-path: Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l3RLd5FZ023949 for ; Fri, 27 Apr 2007 17:39:05 -0400 Received: from turing-police.cc.vt.edu (turing-police.cc.vt.edu [128.173.14.107]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l3RLd4n5011879 for ; Fri, 27 Apr 2007 17:39:04 -0400 In-Reply-To: Your message of "Fri, 27 Apr 2007 16:28:17 EDT." <200704271628.17906.paul.moore@hp.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Paul Moore Cc: Taylor_Tad@emc.com, linux-audit@redhat.com List-Id: linux-audit@redhat.com --===============0066520715== Content-Type: multipart/signed; boundary="==_Exmh_1177709939_3769P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1177709939_3769P Content-Type: text/plain; charset="us-ascii" Content-Id: <18082.1177709910.1@turing-police.cc.vt.edu> On Fri, 27 Apr 2007 16:28:17 EDT, Paul Moore said: > I believe that would miss all of the shell built-in commands though, wouldn't > it? Not sure if we would care, but you can do some interesting things with > the built-ins ... (although maybe you could capture that through additional > audit watches/syscalls/etc.) # perl -e 'while (<>) {eval $_;}' Doing proper auditing of what a user is doing is harder than it looks. Have a nice day. :) --==_Exmh_1177709939_3769P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFGMm1zcC3lWbTT17ARAm7DAKCe00Zk1YTHdLqjk62CbnowktRwvACgs5uR DwbZOXURUAjx6UrB7Pqzy98= =wItN -----END PGP SIGNATURE----- --==_Exmh_1177709939_3769P-- --===============0066520715== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0066520715==--