SReverseby Simpa Labs

Traffic analysis

How to identify encryption before an Android API request

Identify the transformations that turn app data into request bytes. Verify the parser and code path before deciding whether a payload needs decryption.

Separate TLS from the body format

HTTPS protects the connection. The app can also encode, compress, serialize or encrypt the body before sending it. Inspect the bytes at the request builder and the captured body to locate each transformation.

JSON can be an object, array or scalar value. A body that does not start with a brace is not evidence of encryption. Decode an outer base64 or hex representation, then test the resulting data with the expected parser.

Check compression with the right framing

Raw DEFLATE has no zlib wrapper or gzip header. zlib adds its own header and Adler-32 check; gzip uses different framing and a CRC-32 trailer. The DEFLATE, zlib and gzip specifications define those formats.

A successful decompression identifies that layer's output. Parse or inspect the output before naming the next layer. Record decoder settings, consumed input and output length so another test can repeat the result.

Trace the transformation in code

Follow the serializer's output into compression, cipher and encoding calls. For encryption, inspect the algorithm, mode, padding, key source and IV or nonce. For authenticated encryption, also record the tag and additional authenticated data.

Length changes and changed-byte patterns do not identify a mode. CTR and GCM can preserve plaintext length before tags or framing are added; CBC padding behaves differently. NIST's mode definitions and GCM specification explain those distinctions.

Use errors as observations to check

A failed request can reflect credentials, freshness, framing, an authentication tag or application validation. Record the error and compare it with the app's code path. A generic rejection does not prove encryption, and a parse error does not reveal where the key came from.

Use controlled inputs to compare the bytes before and after each stage. Keep the session and request state visible during the comparison, then repeat with a fresh session to check the pipeline your client will use.

Continue with encrypted request reconstruction or working request-signing clients.

Reviewed 19 October 2026 · SReverse research desk

Start your full APK reconstruction

Send the full APK

Projects start at $70. Choose WhatsApp or email, then attach the APK in the app that opens. We reply within one hour with the next step and send the fixed quote after review.

Want us to contact you?