Career Tips

    My NIC-DoRD Android Interview Experience: Architecture, Security & Reverse Engineering

    G
    Gaurav KumarDec 3, 2026 · 3 min read
    12
    My NIC-DoRD Android Interview Experience: Architecture, Security & Reverse Engineering

    Round 1: Architecture, Scale & Runtime Defense

    The first round focused on system design, mobile architecture, and how to keep an app resilient against tampering in the wild.

    • MVVM vs. Monolithic Architecture: We discussed separating UI state from business logic using MVVM versus structuring codebases around monolithic modules. While small teams or early prototypes sometimes start monolithic, scaling a large application cleanly requires clear boundaries, reactive state layers, and modular separation so features can evolve without side effects.

    • Scaling to Millions of Users (App & API): When millions of users hit an app—often over inconsistent rural or mobile networks—efficiency comes down to smart caching, offline-first sync, payload compression, pagination, retry backoff, and rate-limiting/idempotency on the API side. On the client, avoiding heavy main-thread work, keeping network calls batched or deduplicated, and handling intermittent connectivity gracefully are essential.

    • Core App Security Controls: I walked through standard hardening layers: avoiding hardcoded secrets, enforcing TLS with certificate pinning, enabling code shrinking and obfuscation (R8/ProGuard), and verifying that incoming requests come from a genuine, untampered app binary rather than a cloned or modified client.

    • Detecting & Handling Frida Hooking and Cloned/Sold APKs: This was the sharpest question in Round 1. If an attacker hooks runtime methods with Frida or similar instrumentation frameworks and redistributes a modified/sold build, client-side checks alone can be bypassed if treated in isolation. My approach combines:

      • Runtime & integrity checks: Detecting instrumentation artifacts, debugger/emulator/root states, and verifying app signing/integrity signals.

      • Native-layer checks & symbol stripping: Moving critical checks into native C/C++ code so they are harder to inspect or hook than pure JVM methods.

      • Server-side enforcement: Never trusting client-reported state blindly—pairing binary/integrity attestation, session/device binding, and anomaly detection on the backend so unauthorized or tampered clients are blocked at the API boundary.

    Round 2: The Reverse-Engineering & NDK Challenge

    Round 2 moved from theory to hands-on execution under strict audit expectations. The task required building an Android app using a free public API with a POST call, Coroutines, MVVM, and a Proxy pattern, while meeting tough security constraints:

    1. Encrypt payload in transit via C++ NDK: Encrypt the outgoing request data using native C++ code through the Android NDK so traffic inspection cannot easily read raw payloads in flight.

    2. Resist immediate decompilation & code exposure: Because security auditors inspect APKs after decompilation, the app needed strong obfuscation, stripped debug/symbol info, and native hardening so business logic and crypto routines are not immediately readable upon decompiling the APK.

    3. Defense-in-depth mindset: Treat every layer—Kotlin/MVVM, the Proxy layer, network transport, and .so native libraries—as a target for reverse engineering, while being honest about the reality that no client binary is 100% mathematically unbreakable if given unlimited time, which is why layering obfuscation, native code, integrity checks, and server validation matters.

    Waiting on the Result

    Both rounds tested practical engineering judgment under real-world government security expectations: clean architecture, scale under constrained networks, and defense against reverse engineering and runtime hooking. Right now, I am awaiting the result for Round 2—fingers crossed for good news!

    Was this helpful?

    Comments (0)

    No comments yet. Be the first to share your thoughts!

    Leave a Comment

    Get the latest updates

    Join our newsletter and never miss an article.

    By subscribing, you agree to our Privacy Policy and consent to receive updates.