All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Auditing tcpdump&co
Date: Tue, 1 Jun 2010 09:23:21 -0400	[thread overview]
Message-ID: <201006010923.21648.sgrubb@redhat.com> (raw)
In-Reply-To: <AANLkTilW8ETkDV6XBSAEL5MV23pXcMhYVTCMm4CY33sy@mail.gmail.com>

On Saturday, May 29, 2010 03:15:25 pm Jure Simsic wrote:
> I'm trying to catch all events of any net sniffers aka tcpdump, snoop,
> ethereal... I think I managed to make a rule that will do that:

This is hardwired into the linux kernel. As long as auditing is enabled, you 
will get ANOM_PROMISCUOUS events.


> -a entry,always -S socketcall -F euid=0 -F a0=3
> 
> I've played around and I think it does the trick. Do you see any problems
> with this rule?

Not needed.


> The problem I'm trying to solve now is how to get a daily report of all
> such events. I was trying to filter it on
> ausearch -m SYSCALL -sc socketcall -ue 0

aureport --start today --anomaly --summary -i

-Steve

      reply	other threads:[~2010-06-01 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-29 19:15 Auditing tcpdump&co Jure Simsic
2010-06-01 13:23 ` Steve Grubb [this message]

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=201006010923.21648.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.