Fake RTO Challan Checker Part 2 Cracking the Payload, Mappin...#2236
Open
carlospolop wants to merge 1 commit into
Open
Fake RTO Challan Checker Part 2 Cracking the Payload, Mappin...#2236carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://medium.com/@singhbkn07/fake-rto-challan-checker-part-2-cracking-the-payload-mapping-the-operator-and-why-this-is-3eb78e512d7f Content Categories: Based on the analysis, this content was categorized under "Mobile Pentesting > Android Applications Pentesting > Manual DeObfuscation / Reversing Native Libraries; optionally cross-reference Basic Forensic Methodology > Malware Analysis". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
This blog post is a technical static reverse-engineering teardown of
RTOChallanCheck.apk, an Android malware sample distributed through WhatsApp while impersonating an Indian government RTO traffic challan checker. The APK’s important components were a native ARM64 library namedlibtonk.soand a high-entropy 8 MB encrypted asset namedNhO0Y. The analysis shows thatNhO0Yis the encrypted container for the real malware platform, and that the ...🔧 Technical Details
Static recovery of OLLVM-encrypted strings in native Android malware: When an Android native library decrypts strings in place through repeated byte-wise XOR instructions, the decryptor can often be reconstructed without executing the malware. Look for patterns such as
ldrb,mov,eor, andstrb, or their decompiler equivalentDAT_addr ^= 0xNN. Extract the address-to-XOR-key mapping, apply it to the relevant ELF data section, and recover the plaintext strings offline. This is useful when OLLVM string encryption hides JNI method names, crypto constants, asset paths, or C2 indicators.Encrypted Android asset unpacking from recovered crypto constants: Malware may hide payloads as high-entropy asset files and decrypt them from native code. In this case, the decryptor derived
seed = asset_name + "2", then usedSHA-1(seed)[0:16]as the AES key andSHA...🤖 Agent ActionsDone.
Updated:
src/mobile-pentesting/android-app-pentesting/manual-deobfuscation.mdAdded concise reusable content for:
Also added the Medium blog URL to the file’s
## References and Further Reading.Validation:
mdbook build, butmdbookis not installed in this environment (/bin/bash: mdbook: command not found)This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.