|
|
Log in / Subscribe / Register

Tetragon security model ?

Tetragon security model ?

Posted Jul 13, 2026 15:51 UTC (Mon) by Lionel_Debroux (subscriber, #30014)
Parent article: Shielding running kernels against exploits with BPF

Tetragon immediately made me think about https://grsecurity.net/tetragone_a_lesson_in_security_fun... .
It's been 4 years since that post which described why Tetragon's security model couldn't work, which brings the question: did things change since then, considering that from what I can gather, the usage of same privilege level technologies (BPF, kprobes, uprobes, LSM hooks) remains ?


to post comments

Tetragon security model ?

Posted Jul 13, 2026 16:56 UTC (Mon) by geofft (subscriber, #59789) [Link]

The LWN writeup is phrased to say they're using Tetragon for detection, not for mitigation. That is, they're trying to find signs that a vulnerability was invoked or an unwanted privilege escalation occurred, but they're not expecting the compromised kernel to be able to fully defend itself against the exploit. Once they know about a vulnerability, the system that this article is about is used to prevent further exploitation on other systems in the first place, which is the approach the grsec article recommends.

I suppose it's possible that a sufficiently skilled exploit could turn off reporting, but I think this basically turns into a race condition - whether the malicious code can kill the reporting codepath before it manages to fire a packet off - and this is now biased in favor of the defender. Race conditions are not a great answer when trying to prevent exploitation, since a single successful exploit is a win for the attacker. But they're a much better answer if you're simply trying to detect it, since a single unsuccessful exploit is a win for the defender, who now knows they have something to respond to. So, if the exploit is some non-deterministic thing that is mostly stymied by ASLR, then a single report of malicious code having run and failed to secure a foothold is enough.

Tetragon security model ?

Posted Jul 14, 2026 8:57 UTC (Tue) by bjackman (subscriber, #109548) [Link]

The important detail here is: if the bypassable security mechanism is built by grsecurity then "yes it's not bulletproof but it increases the cost of attacks and serves as a tripwire". If someone else builds it then "look, this can be bypassed therefore it's useless".

Anyone who has actually done real-world security work can tell you that post-exploit security features are valuable in practice even if they are useless in theory.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds