* [PATCH 0/2] audit: log binding and unbinding to netlink multicast socket
@ 2015-07-23 20:45 Steve Grubb
2015-07-24 22:42 ` Paul Moore
0 siblings, 1 reply; 3+ messages in thread
From: Steve Grubb @ 2015-07-23 20:45 UTC (permalink / raw)
To: linux-audit
Hello,
I am resurrecting this old patch. Its been cleaned up by adding a simple task
logging function which should, in the future, serve almost all kernel logging
needs. The cleaned up bind and unbind functions call it to create the preamble
and then finish with specific data items for bind/unbinding.
In essence, this patch logs connecting and unconnecting to the audit netlink
multicast socket. This is needed so that during investigations a security
officer can tell who or what had access to the audit trail. This helps to meet
the FAU_SAR.2 SFR for Common Criteria.
Sample output:
type=UNKNOWN[1329] msg=audit(1437683193.897:725): pid=10068 uid=0 auid=4325
tty=pts0 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
comm="test" exe="/home/sgrubb/test/multicast/test" nlnk-grp=1 op=connect res=1
type=UNKNOWN[1329] msg=audit(1437683308.055:741): pid=10068 uid=0 auid=4325
tty=pts0 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
comm="test" exe=(null) nlnk-grp=1 op=disconnect res=1
Signed-off-by: Steve Grubb <sgrubb@redhat.com>
---
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/2] audit: log binding and unbinding to netlink multicast socket
2015-07-23 20:45 [PATCH 0/2] audit: log binding and unbinding to netlink multicast socket Steve Grubb
@ 2015-07-24 22:42 ` Paul Moore
0 siblings, 0 replies; 3+ messages in thread
From: Paul Moore @ 2015-07-24 22:42 UTC (permalink / raw)
To: Steve Grubb; +Cc: linux-audit
On Thu, Jul 23, 2015 at 4:45 PM, Steve Grubb <sgrubb@redhat.com> wrote:
> Hello,
>
> I am resurrecting this old patch. Its been cleaned up by adding a simple task
> logging function which should, in the future, serve almost all kernel logging
> needs. The cleaned up bind and unbind functions call it to create the preamble
> and then finish with specific data items for bind/unbinding.
>
> In essence, this patch logs connecting and unconnecting to the audit netlink
> multicast socket. This is needed so that during investigations a security
> officer can tell who or what had access to the audit trail. This helps to meet
> the FAU_SAR.2 SFR for Common Criteria.
Hi Steve,
I knew we would get you writing kernel patches eventually ;)
A little birdie mentioned to me offlist that there are issues with
application bind/unbind events not being audited based on how they do
the audit, have you run into this in your testing of this patch?
--
paul moore
www.paul-moore.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 0/2] audit: log binding and unbinding to netlink multicast socket
@ 2016-11-30 19:23 Steve Grubb
0 siblings, 0 replies; 3+ messages in thread
From: Steve Grubb @ 2016-11-30 19:23 UTC (permalink / raw)
To: linux-audit
Hello,
I am resurrecting this old patch. Its been cleaned up by adding a simple task
logging function which should, in the future, serve almost all kernel logging
needs. The cleaned up bind and unbind functions call it to create the preamble
and then finish with specific data items for bind/unbinding.
In essence, this patch logs connecting and disconnecting to the audit netlink
multicast socket. This is needed so that during investigations a security
officer can tell who or what had access to the audit trail. This helps to meet
the FAU_SAR.2 SFR for Common Criteria.
Sample output:
type=UNKNOWN[1330] audit(1480532106.644:2): pid=1 uid=0 auid=4294967295
tty=(none) ses=4294967295 subj=kernel comm="systemd" exe="/usr/lib/systemd/
systemd" nlnk-grp=1 op=connect res=1
Signed-off-by: Steve Grubb <sgrubb@redhat.com>
---
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-30 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-23 20:45 [PATCH 0/2] audit: log binding and unbinding to netlink multicast socket Steve Grubb
2015-07-24 22:42 ` Paul Moore
2016-11-30 19: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.