Challenges › Mobile

The World Just So

medium · 200 XP · flag · free · solves: 3

Ruby's job was to test the app on emulators, and on every emulator it refused to show its secret. It sampled the accelerometer, checked the clock, inspected the environment and quietly decided it was not on a real phone. Only when every reading looked exactly right would it release the flag. The checks live in a native library, written to be hard to read. Ruby could keep trying different devices, or she could learn exactly what the app wanted to see. Can you satisfy every check and make it reveal the flag?

This application uses a multi-factor environmental validation chain in native code (`libcheck.so`) before releasing the flag:

1. **Accelerometer Noise Floor Sampling**: Samples accelerometer sensor readings over 2–3 seconds and calculates variance. Stock emulators producing zero noise floor or synthetic flatlines fail.
2. **Device Fingerprint Whitelisting**: Checks `Build.FINGERPRINT` against a hash whitelist table.
3. **Rolling Boot-Time TOTP Window**: Validates a rolling time value calculated from `SystemClock.elapsedRealtime()` with a 3-step (90-second) tolerance window.

Tags: Mobile

Try next