The Loader's Shadow
easy · 100 XP · flag · free · solves: 3
The app installed cleanly and passed every scan, but its real code was nowhere to be found. It was not in the usual native library folder, and no standard loader call ever touched it. Instead, a custom loader of its own unpacked the real instructions straight into memory at runtime, fixed up their addresses and ran them. Alex realised the flag logic only ever existed for a moment, in memory. To read it, you have to shadow the loader by hand. Can you catch the real code the moment it appears?
The core flag logic in this application is not located in the standard `lib/<abi>/` native library folder, nor is it accessible via standard `System.loadLibrary` or `dlopen` calls.
ocations (`R_*_RELATIVE`), sets memory protection flags via `mprotect`, resolves dynamic symbols, and executes the payload's `get_flag()` function.
Commercial packer detection tools will not identify this binary because the packer code is custom and written from scratch.
Tags: Mobile
Try next
- Follow the Crashes (medium)
- The World Just So (medium)
- The Wrong Order Wins (medium)