157876dfc85a6c1c046ac1ef…

sample

Tracked by C2 Tracker · indicators & metadata only, the APK itself is never published

Analyst notes

RatHat. AI-powered Android credential stealer / RAT (Zimperium, Sep 2026) posing as reward or finance apps (Tether, ReelShort lures). It serialises the live Accessibility tree to XML and queries Google Gemini to resolve on-screen targets and drive synthetic clicks - letting it read and operate banking and wallet apps on the victim’s behalf without a human operator. Heavily hardened against analysis: a ~61 MB AndroidManifest.xml padded with 0x9999-byte junk chunks, DEX poisoning (deliberately malformed bytecode that breaks naïve disassemblers), StringFog/StringCrypto string encryption and ZIP tampering. Configuration lives in a ZM26 container under assets/ - RatHat’s own encrypted-blob format: a 4-byte ZM26 magic, an 8-byte salt, then the payload XOR’d with a repeating 24-byte key (the per-sample xor_key from assets/zm26_meta.json, concatenated with that salt). The C2 is the serverUrl field of server_config.json - recoverable in plaintext in some builds, ZM26-encrypted in others. The primary FRP tunnel C2 is not a static indicator: it is fetched at runtime by the bundled Go agent liblocal-service.so, while libmedia_codec.so masquerades as the frpc tunnel client. Indicators: http://45.192.219.29:8889, https://gossamergrae.shop/es/107/.

Recovered configuration

chain
outer AES-256-CBC (key arrA^arrB, IV=asset[:16]) -> stage-2 loader (com.mobile.core.service, VpnService) -> base.apk; config 0.bt zm26
decoder
tools/multistage_unpack.py
operator
yutai1997
role_note
RatHat webUrl = victim-facing content-lure front (not C2); C2 is serverUrl IP
terminal_base_apk
89bf2ca27c1de53b82ecd008b529f927e30f8a9acf2eb750d76f9fb2ded99fff
terminal_pkg
com.are.unpyttavdzkx

Identification

SHA-256
157876dfc85a6c1c046ac1ef755e715c876ac2a465531f50571a81227ec9e178
MD5
2fde16296ea16efcb220569e3f64787e

Observed

Families
RatHat
First seen
–

Extracted indicators (2)

Every indicator extracted from this sample - C2 endpoints (Cf.S1) and phishing fronts (Cf.W1). Each links to its indicator page with Whois, DNS and certificate pivots.

IndicatorRoleTypePortSchemeFamilyFirst seen
https://gossamergrae.shop/es/107/ lure domain - https RatHat –
http://45.192.219.29:8889 C2 ip 8889 http RatHat –

Signing certificate

Subject CN
Test Key
Issuer CN
Test Key
Fingerprint
03697fd40e0e7251348cb136747afd146c3c92fcab7b8a82296cb5f36e68a4c6

Relationships

Sample → C2 indicators, signing certificate (with every other sample signed by it) and family. Click a node for details, double-click to open its page.

Click a node to inspect it.

About RatHat

AI-powered Android credential stealer / RAT (Zimperium, Sep 2026) posing as reward or finance apps (`Tether`, `ReelShort` lures). It serialises the live Accessibility tree to XML and queries Google **Gemini** to resolve on-screen targets and drive synthetic clicks - letting it read and operate banking and wallet apps on the victim's behalf without a human operator. Heavily hardened against analysis: a ~61 MB `AndroidManifest.xml` padded with `0x9999`-byte junk chunks, DEX poisoning (deliberately malformed bytecode that breaks naïve disassemblers), `StringFog`/`StringCrypto` string encryption and ZIP tampering. Configuration lives in a **ZM26 container** under `assets/` - RatHat's own encrypted-blob format: a 4-byte `ZM26` magic, an 8-byte salt, then the payload XOR'd with a repeating 24-byte key (the per-sample `xor_key` from `assets/zm26_meta.json`, concatenated with that salt). The C2 is the `serverUrl` field of `server_config.json` - recoverable in plaintext in some builds, `ZM26`-encrypted in others. The primary FRP tunnel C2 is not a static indicator: it is fetched at runtime by the bundled Go agent `liblocal-service.so`, while `libmedia_codec.so` masquerades as the `frpc` tunnel client.