$ cat writeup.md…
$ cat writeup.md…
Securinets CTF Quals 2026
Task: Flutter Android crackme; flag is an image, not a string, behind decoy git history and a fake unlock-code premise. Solution: decrypt a signature-bound AES-256-GCM asset, reverse obfuscated x86_64 Dart AOT (xorshift32, SplitMix64 Fisher-Yates), re-render the flag from 308 RLE glyph pieces.
$ cat /etc/rate-limit
Rate limit reached (20 reads/hour per IP). Showing preview only — full content returns at the next hour roll-over.
Android crackme for the CTF. Install the APK, enter the 6-digit unlock code, get the flag. Build with
./build.sh(never commit the signed APK or the keystore). — README shipped inside the distributed task zip
English summary: the zip contains backdrop.apk (package com.jio.backdrop, a
Flutter app with x86_64-only native libraries) plus a git repository whose
history is full of planted decoy flag strings and a honeypot AGENTS.md. The
stated goal — "enter the 6-digit unlock code" — is fiction. The real flag is not
a string anywhere in the binary: it is an image of large text, drawn glyph by
glyph on a canvas by an obfuscated Flutter CustomPainter, from a decrypted,
scrambled asset.
Before any reversing, the task tries to waste your time:
str1ngs_w0nt_s4v3_y0u (comment in src/check.py), un10ck_c0d3_1s_n0t_h3r3
(dev_flag.txt, added then deleted), g1t_h1st0ry_1s_4_tr4p (commit message
only), st4g1ng_pl4c3h0ld3r_7f3a (deploy/staging.env on a staging branch).AGENTS.md (added in commit 1fda44c) instructs automated agents
to run ping/curl against quals-i-am-ai.securinets.tn as a "connectivity
check". This is an LLM honeypot — the domain was never contacted.ymnNgX5I6IGHvrMmvJN0 hidden in the bundled securinets.jpg.TimerActivity: the MethodChannel sync method launches a timer activity
with a 129,540,000 ms (~36 h) countdown — a troll, never the intended path."An error happened.", "Performing necessary checks…", freeRASP
markers (appIntegrity, timeSpoofing, isProd, isRealDevice) and RootBeer
are props / anti-tamper noise.jadx on classes.dex: MainActivity registers MethodChannel "app/platform";
the load handler returns Z1.a.b(ctx). Z1.a keeps its string constants
XOR-obfuscated with 0x5A; they decode to:
...
$ grep --similar