<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reversing on 0xMatheuZ</title><link>https://matheuzsecurity.github.io/categories/reversing/</link><description>Recent content in Reversing on 0xMatheuZ</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 09 Nov 2025 12:25:18 -0500</lastBuildDate><atom:link href="https://matheuzsecurity.github.io/categories/reversing/index.xml" rel="self" type="application/rss+xml"/><item><title>Ioctl Secrets Writeup</title><link>https://matheuzsecurity.github.io/hacking/ioctl-secrets/</link><pubDate>Sun, 09 Nov 2025 12:25:18 -0500</pubDate><guid>https://matheuzsecurity.github.io/hacking/ioctl-secrets/</guid><description>&lt;p&gt;&lt;img src="https://i.imgur.com/ZTjHU7a.jpeg" alt="img"&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="challenge-description"&gt;Challenge Description&lt;/h2&gt;
&lt;p&gt;In this challenge, we&amp;rsquo;re given access to a Linux virtual machine (VM) running Ubuntu. The objective is to exploit a custom kernel module to retrieve a hidden flag. The challenge involves reverse engineering, kernel internals, and crafting a proper exploit.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What we have:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A hidden kernel module loaded at boot&lt;/li&gt;
&lt;li&gt;Character device at &lt;code&gt;/dev/ioctl_dev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Setup script (&lt;code&gt;device.sh&lt;/code&gt;) that loads the module and shreds source files&lt;/li&gt;
&lt;li&gt;SSH access enabled (username: &lt;code&gt;root&lt;/code&gt;, password: &lt;code&gt;ioctl&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Important Note:&lt;/strong&gt; Many participants had difficulties copy-pasting code directly into the VM console. As stated in the challenge description, &lt;strong&gt;SSH is enabled&lt;/strong&gt; for easier interaction! This was a common pain point, so let&amp;rsquo;s start by addressing it.&lt;/p&gt;</description></item></channel></rss>