<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Android on Security Notes</title>
    <link>https://blog.omiilgo.com/tags/android/</link>
    <description>Recent content in Android on Security Notes</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 04 Jan 2025 10:00:00 +0800</lastBuildDate>
    <atom:link href="https://blog.omiilgo.com/tags/android/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>NDK .so Session: readelf, llvm-objdump -d, JNI_OnLoad</title>
      <link>https://blog.omiilgo.com/posts/android-native-library-re-notes/</link>
      <pubDate>Sat, 04 Jan 2025 10:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-native-library-re-notes/</guid>
      <description>One lab APK, one arm64-v8a .so. file/readelf/llvm-objdump through JNI_OnLoad, Java_* exports, GetStringUTFChars, a 32-byte stack copy, tombstone and ASAN. Frida logs length and prefix only.</description>
    </item>
    <item>
      <title>Android Kernel LPE Classes, at Invariant Level, Plus a Userspace TOCTOU Lab</title>
      <link>https://blog.omiilgo.com/posts/android-kernel-lpe-classes/</link>
      <pubDate>Thu, 20 Jun 2024 10:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-kernel-lpe-classes/</guid>
      <description>Futex, perf_event, and get_user-era Android kernel LPE classes as broken invariants. No kernel exploit code. A toy C file-TOCTOU analog, a planted strcpy, ASAN output.</description>
    </item>
    <item>
      <title>AIDL Lab Service: Parcel Layout and Native onTransact</title>
      <link>https://blog.omiilgo.com/posts/android-binder-parcel-reversing/</link>
      <pubDate>Fri, 16 Feb 2024 09:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-binder-parcel-reversing/</guid>
      <description>Self-built AIDL service com.lab.binder. dumpsys and logcat Binder, Parcel bytes for writeInterfaceToken + int + string, ARM64 BnEcho::onTransact. No privilege escalation.</description>
    </item>
    <item>
      <title>Frida: Java Wrapper vs JNI Interceptor on the Same Call</title>
      <link>https://blog.omiilgo.com/posts/android-frida-jni-trace-lab/</link>
      <pubDate>Mon, 04 Sep 2023 11:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-frida-jni-trace-lab/</guid>
      <description>Lab APK com.lab.jni.trace. Hook NativeBridge.nInit in Java.perform and the Java_* export with Interceptor.attach, then compare argument length and prefix. Console output redacted.</description>
    </item>
    <item>
      <title>apktool Smali: if-eqz Chains That Want to Be a switch</title>
      <link>https://blog.omiilgo.com/posts/android-smali-control-flow-notes/</link>
      <pubDate>Tue, 08 Nov 2022 14:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-smali-control-flow-notes/</guid>
      <description>Lab APK with packed-looking if-eqz obfuscation around a 5-way dispatch. apktool smali, jadx Java, reconstruct a packed-switch, plus a planted stack copy crash. Not a commercial packer unpack.</description>
    </item>
    <item>
      <title>Finding Hidden JNI Methods: RegisterNatives in a Lab APK</title>
      <link>https://blog.omiilgo.com/posts/android-jni-registernatives-lab/</link>
      <pubDate>Wed, 09 Jun 2021 14:10:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-jni-registernatives-lab/</guid>
      <description>APK where nm -D shows no Java_* exports. Walk JNI_OnLoad, recover the JNINativeMethod table, map Java names to ARM64 IMPs, Frida-trace the native with arguments redacted.</description>
    </item>
    <item>
      <title>JNI_OnLoad vs Java_* Name Mangling on a Lab APK</title>
      <link>https://blog.omiilgo.com/posts/android-jni-onload-name-mangling/</link>
      <pubDate>Mon, 02 Dec 2019 10:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-jni-onload-name-mangling/</guid>
      <description>Self-built APK where javah-style Java_com_lab_onload_Bridge_* exports sit next to a RegisterNatives table. readelf -s, ARM64 JNIEnv GetObjectClass, crash on an unbounded UTF copy.</description>
    </item>
  </channel>
</rss>
