<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Forensics on 0xMatheuZ</title><link>https://matheuzsecurity.github.io/categories/forensics/</link><description>Recent content in Forensics on 0xMatheuZ</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 26 Dec 2024 21:46:23 -0300</lastBuildDate><atom:link href="https://matheuzsecurity.github.io/categories/forensics/index.xml" rel="self" type="application/rss+xml"/><item><title>Detecting rootkits based on ftrace hooking.</title><link>https://matheuzsecurity.github.io/hacking/ftrace-rootkit/</link><pubDate>Thu, 26 Dec 2024 21:46:23 -0300</pubDate><guid>https://matheuzsecurity.github.io/hacking/ftrace-rootkit/</guid><description>&lt;p&gt;Hello! Welcome to this post! Well, I have a server that is focused on rootkit research, both for Linux and Windows, feel free to come and participate in our community.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://discord.gg/66N5ZQppU7"&gt;https://discord.gg/66N5ZQppU7&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="what-is-ftrace"&gt;What is Ftrace?&lt;/h2&gt;
&lt;p&gt;ftrace (Function tracing) is a kernel function tracer. It helps a lot with debugging the Linux kernel, tracing functions, events, and of course, you can use ftrace to do hooking, etc.&lt;/p&gt;
&lt;p&gt;Main Features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Function Tracing: Records kernel function calls, including order and execution time.&lt;/li&gt;
&lt;li&gt;Event Tracing: Monitors system events.&lt;/li&gt;
&lt;li&gt;Custom Filters: Focus on specific functions or events via configuration files.&lt;/li&gt;
&lt;li&gt;Support for dynamic tracers like kprobes and integration with tools like perf.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;On more current systems, tracing is enabled by default, but if not, simply set it:&lt;/p&gt;</description></item></channel></rss>