* Secure usage of netfilter hooks
@ 2003-01-30 17:33 Abhishek Singh
2003-01-30 17:47 ` Gianni Tedesco
0 siblings, 1 reply; 2+ messages in thread
From: Abhishek Singh @ 2003-01-30 17:33 UTC (permalink / raw)
To: linux-kernel
Hi,
Is it possible for a netfilter hook registered during module insertion
time to be removed by a userspace application (such as iptables) without
the insertion of a new module?
What I am trying to do is implement a hook for secure packet processing
using netfilter. If however an attacker can remove this hook without
inserting a new module or compromising the kernel in some way then the
security level of this hook is compromised.
--
Thanks and Regards,
-abhi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Secure usage of netfilter hooks
2003-01-30 17:33 Secure usage of netfilter hooks Abhishek Singh
@ 2003-01-30 17:47 ` Gianni Tedesco
0 siblings, 0 replies; 2+ messages in thread
From: Gianni Tedesco @ 2003-01-30 17:47 UTC (permalink / raw)
To: Abhishek Singh; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
On Thu, 2003-01-30 at 17:33, Abhishek Singh wrote:
> Is it possible for a netfilter hook registered during module insertion
> time to be removed by a userspace application (such as iptables) without
> the insertion of a new module?
Yeah, remove all rules using it and rmmod the module.
> What I am trying to do is implement a hook for secure packet processing
> using netfilter. If however an attacker can remove this hook without
> inserting a new module or compromising the kernel in some way then the
> security level of this hook is compromised.
You gotta be root to manipulate iptables. If a user could manipulate ANY
iptables rules security would already be compromised because any user
could fuck with firewall rules.
HTH
--
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-30 17:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-30 17:33 Secure usage of netfilter hooks Abhishek Singh
2003-01-30 17:47 ` Gianni Tedesco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox