Reverse Engineering Android Malware with Claude Code#2258
Open
carlospolop wants to merge 1 commit into
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://zanestjohn.com/blog/reing-with-claude-code Content Categories: Based on the analysis, this content was categorized under "Mobile Pentesting > Android Applications Pentesting, with cross-links to Basic Forensic Methodology > Malware Analysis and Hardware/Physical Access > Firmware 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
Reverse Engineering Android Malware with Claude Code
The post investigates a cheap AliExpress/Magcubic HY300 Pro+ Android projector that began generating suspicious DNS traffic immediately after Wi-Fi setup, before the user opened any app or browser. Pi-hole observed domains such as
o.fecebbbk.xyz,impression.appsflyer.com, and laterusmyip.kkoip.com. The device ran Android 11 / API 30, used a production build, was not signed with test keys, and ...🔧 Technical Details
Automated XOR deobfuscation of Android malware strings: Malware often stores C2 domains, paths, commands, algorithm names, and identifiers as encrypted byte arrays decoded at runtime. In this case, the Java routine XORs each byte with a rotating key and returns a string. Analysts can reproduce the logic offline, handle Java signed bytes with
& 0xFF, walk the decompiled jadx output, and decrypt all call sites to recover infrastructure such asapi.pixelpioneerss.com, payload directories such asTMRXwWJu3G5, SharedPreferences names, campaign IDs, and shell commands likechmod 777.Platform-signed Android malware as a privilege and persistence primitive: An APK declaring
android:sharedUserId="android.uid.system"and signed with the platform certificate executes with Android system privileges. If it is preinstalled in firmware, it should be treated as firmware/supply-chain compromise rather tha...🤖 Agent Actions
Done — I updated:
src/mobile-pentesting/android-app-pentesting/README.mdWhat I added:
android.uid.systemmalware triagesystemExempted,START_STICKY,NetworkCallback, boot receiver)I kept everything in a single file and reused the existing Android malware tradecraft section. I also normalized the blog reference title in the existing
## Referencessection.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.