Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-13 Thread Richard Guy Briggs
On Tue, Mar 12, 2013 at 05:09:15PM -0400, Steve Grubb wrote: On Tuesday, March 12, 2013 04:47:42 PM Richard Guy Briggs wrote: On Tue, Mar 12, 2013 at 07:06:59AM -0400, Miloslav Trmac wrote: - Original Message - I am resurrecting this old thread from last summer because I ran

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-13 Thread Steve Grubb
On Wednesday, March 13, 2013 10:55:29 AM Richard Guy Briggs wrote: On Tue, Mar 12, 2013 at 05:09:15PM -0400, Steve Grubb wrote: On Tuesday, March 12, 2013 04:47:42 PM Richard Guy Briggs wrote: On Tue, Mar 12, 2013 at 07:06:59AM -0400, Miloslav Trmac wrote: - Original Message -

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-13 Thread Miloslav Trmac
- Original Message - Please do post the patch here when you have it worked out as I am very likely to miss it in the flood of kernel patches when it goes to/from Linus. Here you go. Given Steve's good question, this control method may change. Isn't icanon _true_ when the data

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-13 Thread Richard Guy Briggs
On Wed, Mar 13, 2013 at 12:43:58PM -0400, Miloslav Trmac wrote: - Original Message - Please do post the patch here when you have it worked out as I am very likely to miss it in the flood of kernel patches when it goes to/from Linus. Here you go. Given Steve's good

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-13 Thread Miloslav Trmac
- Original Message - On Wed, Mar 13, 2013 at 12:43:58PM -0400, Miloslav Trmac wrote: - Original Message - Please do post the patch here when you have it worked out as I am very likely to miss it in the flood of kernel patches when it goes to/from Linus.

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-13 Thread Tracy Reed
On Wed, Mar 13, 2013 at 07:55:29AM PDT, Richard Guy Briggs spake thusly: I haven't seen a lot of requests for this feature yet, but it sounds like there could be a lot of interest, so it may be worth doing correctly, rather than as a quick fix. As people become more security-aware and

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-12 Thread Miloslav Trmac
- Original Message - I am resurrecting this old thread from last summer because I ran into the same issue and found the thread in the archives via Google. It would be very nice if everything could be logged except passwords. There is work being done. Sorry, I don't have more

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-12 Thread Richard Guy Briggs
On Tue, Mar 12, 2013 at 07:06:59AM -0400, Miloslav Trmac wrote: - Original Message - I am resurrecting this old thread from last summer because I ran into the same issue and found the thread in the archives via Google. It would be very nice if everything could be logged except

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-12 Thread Steve Grubb
On Tuesday, March 12, 2013 04:47:42 PM Richard Guy Briggs wrote: On Tue, Mar 12, 2013 at 07:06:59AM -0400, Miloslav Trmac wrote: - Original Message - I am resurrecting this old thread from last summer because I ran into the same issue and found the thread in the archives via

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-12 Thread Tracy Reed
On Tue, Mar 12, 2013 at 01:47:42PM PDT, Richard Guy Briggs spake thusly: I'm actually working on that right now. I have a patch I am in the process of testing. It implements a new sysctl. I'm working in the upstream kernel, so it will likely be available in Linus' git tree before anywhere

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2013-03-11 Thread Tracy Reed
I am resurrecting this old thread from last summer because I ran into the same issue and found the thread in the archives via Google. It would be very nice if everything could be logged except passwords. Isn't the option for echo back set in the tty settings? Could the pam module not log

Re: EXT :Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2012-07-16 Thread Steve Grubb
On Monday, July 16, 2012 10:05:48 AM Florian Crouzat wrote: Le 13/07/2012 19:09, Boyce, Kevin P (AS) a écrit : Wouldn't another option be to audit the exec of particular executables you are interested in knowing if someone runs? Obviously you won't know what they are typing into text

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2012-07-13 Thread Florian Crouzat
Le 12/07/2012 21:41, Thugzclub a écrit : Florian, Did you get and answer for this? Regards. Not a single one. Florian. On 10 Jul 2012, at 08:29, Florian Crouzat gen...@floriancrouzat.net wrote: Hi, This is my first message to the list to please be indulgent, I might be mixing

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2012-07-13 Thread Thugzclub
Florian, Did you get and answer for this? Regards. On 10 Jul 2012, at 08:29, Florian Crouzat gen...@floriancrouzat.net wrote: Hi, This is my first message to the list to please be indulgent, I might be mixing concepts here between auditd, selinux and pam. Any guidance much

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2012-07-13 Thread Steve Grubb
On Friday, July 13, 2012 10:14:59 AM Florian Crouzat wrote: Le 12/07/2012 21:41, Thugzclub a écrit : Florian, Did you get and answer for this? Regards. Not a single one. Hmm...I thought I sent an answer. The problem from the kernel's perspective is that it has no idea what user

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2012-07-13 Thread Florian Crouzat
Le 13/07/2012 15:27, Steve Grubb a écrit : Hmm...I thought I sent an answer. The problem from the kernel's perspective is that it has no idea what user space is doing. It can't tell a password from anything else being typed. There is a flag that can be set for the TTY to hide characters. But

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2012-07-13 Thread Valentin Avram
There is another way we used to pass PCI-DSS. We use an audit rule to log all EXECVE happening on production servers, rsyslog the logs to the remote centralized logs server, then parse the audit logs there using a cron script and rebuild the commands issued on each server by any user id. Hope

Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2012-07-13 Thread Miloslav Trmac
Hello, - Original Message - Every keystroke are logged in /var/log/audit/audit.log which is great. My only issue is that I just realized that prompt passwords are also logged, eg MySQL password or Spacewalk, etc. I can read them in plain text when doing aureport --tty -if

RE: EXT :Re: PCI-DSS: Log every root actions/keystrokes but avoid passwords

2012-07-13 Thread Boyce, Kevin P (AS)
what you've got. -Original Message- From: linux-audit-boun...@redhat.com [mailto:linux-audit-boun...@redhat.com] On Behalf Of Florian Crouzat Sent: Friday, July 13, 2012 9:51 AM To: Steve Grubb Cc: Thugzclub; linux-audit@redhat.com Subject: EXT :Re: PCI-DSS: Log every root actions