Xingin Shield Reverse Engineering Traces Modified MD5

A reverse-engineering note follows Xingin Shield's custom hashing flow through Java hooks and native code. It shows where developers can observe request data, identify encryption steps, and trace how identifiers feed the final signature.

Xingin Shield Reverse Engineering Traces Modified MD5

Key points

  • A Java hook on HashMap.Put detects the key "shield" and records the associated call stack.
  • Native analysis reveals Base64 and RC4 processing around a fixed byte sequence used to recover plaintext request material.
  • The traced inputs include an app identifier, device identifier, version data, cached security key, and an HMAC based on AES-encrypted data and two rounds of modified MD5.

Context

The note provides a practical example of combining runtime instrumentation with native binary analysis to understand an Android request-signing process. For you, it illustrates how custom cryptography can be traced across Java, native code, and persisted application state.

What this means for you

Directly applicable

You can use the note as a worked example when auditing Android and native integrations, especially request signing, device identifiers, and custom hash routines in legacy codebases.

Who benefits: Developers working on Android security, request-signing code, or legacy native modules can benefit from the concrete analysis pattern and its instrumentation example.

Share article:

Integrate a system without docs?

API development: connect even poorly documented interfaces reliably, with tests and monitoring.