* Auditing tcpdump&co
@ 2010-05-29 19:15 Jure Simsic
2010-06-01 13:23 ` Steve Grubb
0 siblings, 1 reply; 2+ messages in thread
From: Jure Simsic @ 2010-05-29 19:15 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 680 bytes --]
Hi,
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:
-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?
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
but I get all possilble sshd,ftpd and the bunch as well.. I could do post
processing with a whitelist and ignore all I know are ok, but it would be
much nicer if I could get the search a bit narrower in the first place. Any
ideas?
Thanks
Jure
[-- Attachment #1.2: Type: text/html, Size: 741 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Auditing tcpdump&co
2010-05-29 19:15 Auditing tcpdump&co Jure Simsic
@ 2010-06-01 13:23 ` Steve Grubb
0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2010-06-01 13:23 UTC (permalink / raw)
To: linux-audit
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-01 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-29 19:15 Auditing tcpdump&co Jure Simsic
2010-06-01 13:23 ` Steve Grubb
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.