<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Red Team on 0xMatheuZ</title><link>https://matheuzsecurity.github.io/categories/red-team/</link><description>Recent content in Red Team on 0xMatheuZ</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 09 Feb 2026 15:25:08 +0000</lastBuildDate><atom:link href="https://matheuzsecurity.github.io/categories/red-team/index.xml" rel="self" type="application/rss+xml"/><item><title>Breaking eBPF Security: How Kernel Rootkits Blind Observability Tools</title><link>https://matheuzsecurity.github.io/hacking/ebpf-security-tools-hacking/</link><pubDate>Mon, 09 Feb 2026 15:25:08 +0000</pubDate><guid>https://matheuzsecurity.github.io/hacking/ebpf-security-tools-hacking/</guid><description>&lt;p&gt;Stealthy Kernel Rootkit: &lt;a href="https://github.com/MatheuZSecurity/Singularity"&gt;https://github.com/MatheuZSecurity/Singularity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Rootkit Researchers: &lt;a href="https://discord.gg/66N5ZQppU7"&gt;https://discord.gg/66N5ZQppU7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Me: &lt;a href="https://www.linkedin.com/in/mathsalves/"&gt;https://www.linkedin.com/in/mathsalves/&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;Linux security tooling has leaned heavily into eBPF. Projects like Falco, Tracee, and Tetragon made kernel-level telemetry feel like a step change: richer context, low overhead, and visibility that&amp;rsquo;s difficult to evade from user space.&lt;/p&gt;
&lt;p&gt;But that promise quietly depends on a threat model: the kernel is assumed to be a trustworthy observer.&lt;/p&gt;
&lt;p&gt;This article explores what happens when that assumption breaks, specifically, when an attacker can execute code in the kernel (e.g., via a loaded module). In that world, the most valuable targets aren&amp;rsquo;t the eBPF programs themselves, but the plumbing around them: iterators, event delivery paths (ring buffer / perf buffer), perf submission, and map operations that turn kernel activity into user-space signals.&lt;/p&gt;</description></item><item><title>Evading Elastic Security: Linux Rootkit Detection Bypass</title><link>https://matheuzsecurity.github.io/hacking/bypassing-elastic/</link><pubDate>Thu, 30 Oct 2025 14:15:09 -0400</pubDate><guid>https://matheuzsecurity.github.io/hacking/bypassing-elastic/</guid><description>&lt;p&gt;&lt;img src="https://giffiles.alphacoders.com/223/223415.gif" alt="imgur"&gt;&lt;/p&gt;
&lt;p&gt;Stealthy Kernel Rootkit: &lt;a href="https://github.com/MatheuZSecurity/Singularity"&gt;https://github.com/MatheuZSecurity/Singularity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Rootkit Researchers: &lt;a href="https://discord.gg/66N5ZQppU7"&gt;https://discord.gg/66N5ZQppU7&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;Security solutions continue to intensify. Modern EDRs like Elastic Security, integrated with Elastic Defend, employ multiple detection layers including YARA signatures and behavioral analysis to identify Linux kernel rootkits, triggering 26+ alerts on a single malicious module.&lt;/p&gt;
&lt;p&gt;This article demonstrates how to systematically evade these defenses. We present a comprehensive case study of developing a Linux rootkit that successfully bypasses Elastic Security&amp;rsquo;s detection mechanisms through obfuscation, fragmentation, and staged execution techniques. All content is strictly for educational purposes only.&lt;/p&gt;</description></item><item><title>Red Team Tactics: Evading EDR on Linux with io_uring</title><link>https://matheuzsecurity.github.io/hacking/evading-linux-edrs-with-io-uring/</link><pubDate>Fri, 04 Jul 2025 10:35:09 -0400</pubDate><guid>https://matheuzsecurity.github.io/hacking/evading-linux-edrs-with-io-uring/</guid><description>&lt;p&gt;Full source: &lt;a href="https://github.com/MatheuZSecurity/RingReaper"&gt;https://github.com/MatheuZSecurity/RingReaper&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="table-of-contents"&gt;Table of Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#introduction"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#what-is-io_uring"&gt;What is io_uring?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#the-agent"&gt;The Agent&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#code-analysis"&gt;Code Analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#how-does-the-edr-typically-fail-here"&gt;How Does the EDR Typically Fail Here?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#practical-edr-bypass"&gt;Practical EDR Bypass&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#python-c2-server-flow"&gt;Python C2 Server Flow&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#defensive-reflections"&gt;Defensive Reflections&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Each year, new security solutions emerge to protect Linux systems against increasingly sophisticated threats. Technologies such as &lt;code&gt;EDR (Endpoint Detection and Response)&lt;/code&gt; evolve rapidly, making the work of an attacker more challenging.&lt;/p&gt;
&lt;p&gt;We, as &lt;strong&gt;red teamers&lt;/strong&gt;, we need to stay one step ahead, seeking to understand not only the defenses, but also how to creatively circumvent them.&lt;/p&gt;</description></item></channel></rss>