public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Josh <jokajak@gmail.com>
To: zhu xiuming <xiumingzhu@gmail.com>
Cc: linux-audit@redhat.com
Subject: Re: Auditing USB Question
Date: Wed, 31 Jul 2013 20:15:21 -0400	[thread overview]
Message-ID: <7DF115C1-B9AB-4F69-8D28-FBF4A4E304BA@gmail.com> (raw)
In-Reply-To: <CAP6dAmdUHdrxx7Y5XS9Otd2FV9bB9wLGy3-98dTpX20P_CQ8NA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 911 bytes --]

On Jul 31, 2013, at 5:47 PM, zhu xiuming <xiumingzhu@gmail.com> wrote:

> my guess is 
> -a always,exit -F arch=ARCH -S mount -F auid>=500 -F auid!=4294967295 -k export
> 
> refer to http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf
> 
> 
> On Wed, Jul 31, 2013 at 8:41 AM, Josh <jokajak@gmail.com> wrote:
> I'd like to audit the insertion and removal of all USB devices but I'm not sure where to start.
> 
> Do I need to be auditing a specific syscall, should it be a udev configuration?
> 
> Any tips would be greatly appreciated.
> 
> Thanks,
> -josh
> 
> --
> Linux-audit mailing list
> Linux-audit@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-audit
> 

That appears to only cover the mounting of filesystems, not any usb device insertion.  Specifically I'd like to capture the insertion of a USB keyboard, USB mouse, or USB thumb-drive.

Thanks,
-josh


[-- Attachment #1.2: Type: text/html, Size: 1880 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  parent reply	other threads:[~2013-08-01  0:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 15:41 Auditing USB Question Josh
     [not found] ` <CAP6dAmdUHdrxx7Y5XS9Otd2FV9bB9wLGy3-98dTpX20P_CQ8NA@mail.gmail.com>
2013-08-01  0:15   ` Josh [this message]
2013-08-01 16:35     ` Steve Grubb
2013-08-01 18:04       ` Trevor Vaughan
2013-08-02 14:30         ` Josh
2013-08-01  0:43 ` lists_todd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7DF115C1-B9AB-4F69-8D28-FBF4A4E304BA@gmail.com \
    --to=jokajak@gmail.com \
    --cc=linux-audit@redhat.com \
    --cc=xiumingzhu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox