On Bypassing eBPF Security Monitoring
The write-up explains that eBPF-based security monitoring tools can be evaded in several ways, such as running code in userland without calling execve, delaying execution, escaping cgroup-scoped monitoring, or interfering with the agent. An attacker who has already compromised a host could therefore carry out post-exploitation activity without the monitoring solution recording it.
blog.doyensec.com
Published on blog.doyensec.com
There are many security solutions available today that rely on the Extended Berkeley Packet Filter (eBPF) features of the Linux kernel to monitor kernel functions. Such a paradigm shift in the latest monitoring technologies is being driven by a variety of reasons.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the monitoring tools only hook a narrow set of kernel events and trust userspace-supplied data, so activity that avoids those events or manipulates the agent goes unseen.
Impact
An attacker with a foothold on a monitored Linux host could execute tools and move around while evading eBPF-based detection, though the text notes all reported issues were fixed, mitigated or documented.
What the attacker needed
Existing foothold on a Linux host; eBPF-based monitoring deployed
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
eBPF is a way to run small programs inside the Linux kernel so a security tool can watch what programs do. This article lists tricks that let an attacker who is already on a machine avoid being seen by such tools, for example by loading and running code without using the normal system call that starts a program. It is a conceptual overview rather than a single bug report.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.