Skip to contentSkip to conversation

SELinux, KDE, and honeypots

DISCUSSION Joshua Brindle 1 participant 1 message Jul 9, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

The idea I had was to create a pseudo-device driver that leverages

NetFilter

Quoted 1 line

to output all traffic from all TCP streams to a user-mode daemon that

writes

Quoted 1 line

the packets for each stream into their own separate disk files (and

governing

Quoted 1 line

the throughput if need be so that the transcribing daemon can keep up

with

Quoted 1 line

the traffic). If no security violations are reported during the

lifetime of

Quoted 1 line

the TCP stream, then when it is closed the transcript is moved to a

directory

Quoted 1 line

where it remains for some period of time (perhaps for auditing

purposes)

Quoted 1 line

before being routinely deleted.

this is sorta offtopic so i'll just quickly say it would be insane to try and
handle that with netfilter.. you can use libpcap but that would take decades to review, your best bet is to plug in an IDS like prelude (www.prelude-ids.org) to monitor tcp traffic for violations. we are looking
into getting rules written for the prelude log monitor to understand selinux avc messages so thats a plus (prelude is hybrid ids, that is net + host ids) so you can monitor network traffic on your router and host ids (logs, file digests, etc) on your other machines.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.