<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Native on Qtnes</title><link>http://qtnes.com/tags/native/</link><description>Recent content in Native on Qtnes</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 14 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="http://qtnes.com/tags/native/index.xml" rel="self" type="application/rss+xml"/><item><title>1 - GhostMode: Reversing a Native Android CTF Library</title><link>http://qtnes.com/posts/1---ghostmode---reversing-a-native-android-ctf-library/</link><pubDate>Tue, 14 Apr 2026 00:00:00 +0000</pubDate><guid>http://qtnes.com/posts/1---ghostmode---reversing-a-native-android-ctf-library/</guid><description>&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;GhostMode was the workshop&amp;rsquo;s first foray into native code. The APK itself was thin — the interesting logic lived entirely in &lt;code&gt;libctflib.so&lt;/code&gt;, a stripped ELF64 shared library loaded at runtime. The challenge name already telegraphed the approach: you were not meant to find the flag through static analysis alone.&lt;/p&gt;
&lt;p&gt;The fake flag was there to remind you of that.&lt;/p&gt;
&lt;h2 id="first-look--the-stub-and-the-taunt"&gt;First Look — The Stub and the Taunt&lt;/h2&gt;
&lt;p&gt;Decompiling the APK with JADX produced a small &lt;code&gt;FlagManager&lt;/code&gt; class with a single JNI method:&lt;/p&gt;</description></item></channel></rss>