A sophisticated Android Remote Access Trojan (RAT) campaign leveraging the Hugging Face AI platform for payload distribution.
The operation combines server-side polymorphism with the abuse of legitimate infrastructure to bypass reputation-based filtering, deploying new malware samples approximately every 15 minutes to evade detection.
Infection Chain and Dropper Mechanics
The infection begins with a dropper application, initially identified as “TrustBastion” and later resurfacing as “Premium Club.” These applications are distributed via malvertising, masquerading as security tools or utility apps
Upon manual installation, the dropper exhibits benign behavior but immediately triggers a deceptive update prompt.
This dialog mimics legitimate Google Play or Android system update interfaces to coerce the user into authorizing the download of the second-stage payload.
Unlike typical campaigns that host payloads on malicious domains, this campaign retrieves the malicious APK directly from Hugging Face repositories.
The campaign’s defining characteristic is its abuse of Hugging Face, a platform widely trusted in the developer community for hosting machine learning models.
Traffic to huggingface.co Typically, it bypasses network blocklists due to the domain’s high reputation.
Network analysis reveals that the dropper contacts a command-and-control (C2) endpoint (e.g., trustbastion[.]com) which returns an HTML page containing a redirect link.
This link points to a specific Hugging Face repository hosting the payload.
To maintain persistence and evade hash-based detection mechanisms, the attackers employ server-side polymorphism.
The investigation found the repository generating roughly 6,000 commits over 29 days, resulting in a unique payload hash every 15 minutes.
While the cryptographic hash changes, the underlying malicious code structure remains consistent.
RAT Capabilities and Accessibility Abuse
Once installed, the payload requests access to Accessibility Services under the guise of a “Phone Security” feature, as reported by Bitdefender.
Granting this permission allows the RAT to bypass the Android security model and perform unauthorized actions, including:
- Screen Recording and Casting: Capturing real-time user activity.
- Overlay Attacks: Displaying fraudulent login interfaces over legitimate financial apps (specifically targeting Alipay and WeChat) to harvest credentials.
- Persistent Control: Establishing a connection to the C2 server to exfiltrate device data and lock-screen patterns.
The malware maintains persistent visibility via keep-alive connections to a centralized C2 infrastructure.
The primary endpoint identified during analysis was 154.198.48.57 over port 5000. This server coordinates payload delivery, receives exfiltrated data, and manages the redirection logic that points victims to the active Hugging Face repository.
Indicators of Compromise (IOCs)
| Category | Type | Indicator | Description / Notes |
|---|---|---|---|
| Network | Domain | trustbastion[.]com | Primary C2 / Dropper configuration server |
| Network | Domain | au-club[.]top | Secondary C2 (Premium Club campaign wave) |
| Network | IP Address | 154.198.48.57 | C2 server (listening on port 5000) |
| Network | IP Address | 108.187.7.133 | Secondary C2 node |
| Network | URL Pattern | huggingface[.]co/datasets/…/b.apk | rgpp. lerlgl.vhrthg |
| File | MD5 Hash | d184d705189e42b54c6243a55d6c9502 | TrustBastion dropper sample |
| File | MD5 Hash | d8b0fd515d860be2969cf441ea3b620d | TrustBastion dropper sample |
| File | MD5 Hash | b716a8a742fec3084b0f497abbfecfc0 | TrustBastion dropper sample |
| File | MD5 Hash | 15bdc66aca9fb7290165d460e6a993a9 | TrustBastion dropper sample |
| File | MD5 Hash | fc874c42ea76dd5f867649cbdf81e39b | Premium Club dropper sample |
| Android | Package Name | rgpp.lerlgl.vhrthg | TrustBastion malicious Android package |
| Android | Package Name | com.nrb.phayrucq | Premium Club malicious Android package |
Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyberpress as a Preferred Source in Google.