Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ unzip -t stage2.bin
apksigner verify --verbose --print-certs stage2.bin
```

Before reversing a loader, check whether an adjacent asset manifest already names the opaque blob and supplies its key, IV, expected hash, and payload path. When the blob also carries an IV in its header, compare it with the manifest before decoding offline. If the plaintext is a ZIP containing the child APK, compare the manifest hash with the **extracted APK**, not the ZIP wrapper, and inspect the child's signer separately from the loader's.<sup>[[14]](#references)</sup>

#### Reconstruct DPT-Shell method bodies

DPT-Shell hollows DEX method implementations and reconstructs them at runtime.<sup>[[10]](#references)</sup> Strong fingerprints are a small `ProxyApplication`/`JniBridge` stub, `assets/OoooooOooo`, and a native loader below `assets/vwwwwwvwww/` for each ABI.<sup>[[10]](#references)[[11]](#references)</sup> Repair deceptive DEX table offsets **before** resolving method indexes; otherwise valid code-store records will be mapped to the wrong methods.<sup>[[11]](#references)</sup>
Expand Down Expand Up @@ -267,4 +269,5 @@ After decrypting a staged container:
- [11] [78 Victims, One Lazy Key, and a Firebase Named After India’s Ruling Party](https://medium.com/@singhbkn07/78-victims-one-lazy-key-and-a-firebase-named-after-indias-ruling-party-62cf0ad0380e)
- [12] [Unpacking the Unpackable: Malformed APKs as an Anti-Analysis Technique](https://www.cleafy.com/cleafy-labs/malformed-apks-as-an-anti-analysis-technique-malfixer-tool)
- [13] [MalFixer: Inspecting and recovering malformed Android APK files](https://github.com/Cleafy/Malfixer)
- [14] [YuanKong RAT: The Android Remote-Control Service That Stamps Operator Names into Every Build](https://starlabs.sg/blog/2026/10-yuankong-rat-the-android-remote-control-service-that-stamps-its-operators-names-into-every-build)
{{#include ../../banners/hacktricks-training.md}}
Loading