Hagaseca Inside a Packed Android RAT Loader - #2900
Open
carlospolop wants to merge 1 commit into
Open
carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://darkatlas.io/blog/hagaseca-inside-a-packed-android-rat-loader Content Categories: Based on the analysis, this content was categorized under "Mobile Pentesting -> Android Applications Pentesting -> ADB Commands and Accessibility Services Abuse, with cross-references to Network Services Pentesting -> 5555 - Android Debug Bridge and Basic Forensic Methodology/Reversing for packed DEX extraction and dynamic loading". 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
Classification, access conditions, and impact
Hagaseca is an artifact-defined Android malware cluster associated with exposed Android Debug Bridge (ADB) services. The post analyzes THost9, a packed, multi-stage Android remote-access trojan (RAT) and ADB worm. The APK hides executable DEX bytecode, loads a second-stage
tc9.dex, maintains foreground and boot persistence, uses Accessibility for UI control, executes arbitrary shell commands, transfers files, creates TCP tunne...🔧 Technical Details
ADB worm propagation: An Android malware stage can discover ADB through mDNS service names or accept an operator-selected
IP:port, expand a target into a/16, probe 65,025 generated hosts with 50 workers, send a raw ADBCNXNframe, selectAUTHorCNXNresponders, authenticate with prepared keys, and open a remote shell. It can then retrieve an APK, execute an embedded installer, enable Accessibility, change ADB settings, start persistence, and repeat the process. The technique requires exposed or reachable ADB, accepted authentication, and sufficient privilege; scanning alone does not provide access.Packed multi-stage Android loader: A loader can hide executable DEX code in an APK asset by storing a one-byte XOR key followed by XOR-obfuscated gzip data. It decodes and decompresses the asset, caches the wrapper, injects the recovered DEX at the beginning of the application class ...
🤖 Agent Actions
Updated
src/network-services-pentesting/5555-android-debug-bridge.mdwith:/16scanning workflow.CNXNprobe and response interpretation.Validation completed with
git diff --check, packet-structure verification, forbidden-source checks, and reference URL availability checks.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.