# GreedyRat Botnet Hijacks Android TV Boxes to Monetize Bandwidth via Legitimate Bandwidth-Sharing Apps

> XLab (QiAnXin) reports GreedyRat, a botnet of hijacked low-cost Android TV boxes and projectors (some sold with the malware preinstalled) that silently runs 6-8 bandwidth-sharing SDKs per device, plus ad clicks, proxy resale and cloud-phone rentals. XLab counts 100,000+ daily active nodes; the MQTT control channel supports 24 commands including DDoS and enabling ADB. XLab and partners took over core domain aibigdatausa.com on 2026-11-09, but the operator can still push malware through the firmware update channel.

- **Author:** Threadlinqs Team
- **Published:** 2026-11-30T17:47:54Z
- **Last updated:** 2026-11-30T17:47:54Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7093
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7093.png
- **ID:** TL-2026-7093
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 30 (3 shown free below)

## Description

GreedyRat is a Go-based ARM Linux/Android botnet disclosed by XLab (QiAnXin) on 2026-11-30. XLab's investigation began on 2026-07-14 when its telemetry flagged an ELF sample named daemon12138. The earliest known samples date to August 2023 and a control domain (iot.pansy.pw) began resolving in November 2022, suggesting roughly four years of activity. Affected devices include Android boxes T95MAX, T95N, MXQ PRO, A95X F3 and HK1 RBOX, and hy320 projectors running TXCZ firmware. Some boxes are sold with the malware preinstalled (storefront nas-lh.com). An XDA Forums report describes an A95X F3 Air device auto-downloading firmware A95X_F3_AIR_M-9.0.0-202502281521 that contained daemon12138; XLab could not confirm whether the vendor's update server was compromised or whether the vendor is involved, and has not reproduced this route.

Delivery and loader chain: small downloader channels (david_v1, huang15T_v1, huang15T_v2) build a URL, fetch a JSON manifest (fields channel, exp, sha256, urls, sig) from s.aibigdatausa.com, verify its signature against a hardcoded P-256 public key, then fetch and run the GreedyRat payload from oss.aibigdatausa.com/ray/ray-arm-{channel}. The core binary is written in Go (obfuscated in build v1238), installs under /data/adb/prebuilt/ (binary for self-update, main for the hidden main program, nc/systemServerN for service slots) and supports 11 update channels and run modes cell, client, cloudPhone32, vmPhone and dockerVmPhone. It exposes local SOCKS5 and HTTP proxies and periodically reports device fingerprint and network geolocation.

Control channel: MQTT to hardcoded brokers (38.46.222.130:1884, 38.147.107.119:1883, iot.pansy.pw:1883, emqx.supbox.net:1883) with hardcoded credentials, using topics devices/all (broadcast) and devices/<deviceID> (unicast). Commands are plaintext with an action field and results return as MqttResponse. The 24 commands are hello, update, quit, openAdb, closeAdb, listnetworks, port_reverse, apk, cmd, installApk, installApkNew, removeApkNew, uninstallApk, run-vm, run-vm-tag, run-vm-tag-and-remove, run-bridge-vm, updateImg, zerotierReset, reloadScript, runshLong, cmdNew, cc (DDoS) and cloudPhone. uninstallApk targets the hardcoded package com.setting.service. Command activity was observed from 2026-08-21 to about 2026-10-20; the most common command was 'killall -9 systemServer7;reloadScript'.

Hidden service deployment and persistence: the device fetches a HidConfig from https://s.aibigdatausa.com/ipfly/api/getHideSh (fields hide, hideMd5, hideMain, runSh, dnsFlag). Each runType maps to a systemServer<N> slot; each service runs in its own goroutine and restarts after a random 10-20 minute backoff, and unused slots are deleted. Loaders main_32/main_64 read a hideString configuration, then use chroot, unshare(CLONE_NEWNS) and mounts of /proc, /sys, /dev, decrypt AES-protected binaries into tmpfs at /app/ and call syscall.Exec.

Monetization: 15 bandwidth-sharing SDKs (Bitping, EarnFM, Honeygain, Pawns.app, repocket, Packetsdk, castarsdk, onlinesdk, traffmonetizer, speedshare, Infatica SDK, Geonode SDK, Antgain, mystnoeds, bridge-edge), typically 6-8 per device, run under system-sounding process names. A cloud-phone feature runs Docker + Redroid Android instances (image redroid_2025_05_16.tar, APK app.apk, package org.happy12138) with a cellc tool that spoofs MAC, IMEI, GPS and device properties per instance, driven by accessibility-based JavaScript automation polling 127.0.0.1:65532/status. One Pawns.app account earned about 1.15 BTC from 2026-01-23 to 2026-09-07; Repocket paid over $20K from July to October 2026; XLab estimates operator income of about 500K RMB per month and seven wallets holding about 3 BTC.

Scale: about 450K active nodes were seen on one account on 2026-09-28 (97.9% residential IPs); more than 660K MAC addresses collected; the core domain drew tens of millions of DNS requests. Top DNS-query countries: Brazil 19.4%, South Africa 7.5%, Colombia 6.3%, Venezuela 5.3%, Argentina 5.2%, Spain 4.4%, USA 4.2%. The USA ranks first in bandwidth and revenue. Four MAC OUIs (c4:2a:fe, cc:f3:05, 00:1a:79, 68:1d:ef) cover 83.4% of collected MACs; an OUI match is not proof of vendor involvement. No operator attribution has been published. Severity HIGH is analyst judgment; sources give no CVSS or rating. BeaconBeagle returned no match for aibigdatausa.com and no record for 38.46.222.130 at research time.

## MITRE ATT&CK

- T1195 Supply Chain Compromise
- T1583.001 Acquire Infrastructure: Domains
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1610 Deploy Container
- T1036.005 Masquerading: Match Legitimate Resource Name or Location
- T1027 Obfuscated Files or Information
- T1140 Deobfuscate/Decode Files or Information
- T1082 System Information Discovery
- T1071 Application Layer Protocol
- T1090 Proxy
- T1496.002 Resource Hijacking: Bandwidth Hijacking

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**GreedyRat Botnet Domain Resolution (aibigdatausa.com, pansy.pw, supbox.net) — Exploitation/Delivery** (`TL-2026-7093-SPL-001`)

Detects DNS resolution of GreedyRat infrastructure: the core domain aibigdatausa.com (s./oss./sh./ota. subdomains serving signed loader manifests, the ray-arm payloads and the HidConfig), the MQTT broker domains iot.pansy.pw and emqx.supbox.net, the likely related daem12138.com, the preinstalled-malware storefront nas-lh.com and the xmws.apk backdoor C2 dfa.tg56789.com. Any internal host resolving these is either an infected Android TV box/projector or a user who bought one. aibigdatausa.com was sinkholed by XLab on 2026-11-09, so hits there may be sinkhole traffic from still-infected devices; they still identify victims.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1583.001, T1195, T1071
- **Data sources:** splunk_cim_network_resolution, dns_logs, stream:dns
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
| tstats summariesonly=false count min(_time) as firstTime max(_time) as lastTime values(DNS.answer) as answers from datamodel=Network_Resolution.DNS where (DNS.query="*aibigdatausa.com" OR DNS.query="*pansy.pw" OR DNS.query="*supbox.net" OR DNS.query="*daem12138.com" OR DNS.query="*nas-lh.com" OR DNS.query="dfa.tg56789.com") by DNS.src DNS.query
| rename DNS.src as src, DNS.query as query
| eval firstTime=strftime(firstTime,"%Y-%m-%d %H:%M:%S"), lastTime=strftime(lastTime,"%Y-%m-%d %H:%M:%S"), threat_id="TL-2026-7093", malware="GreedyRat"
| table firstTime lastTime src query answers count threat_id malware
```

### Microsoft KQL

```kql
DnsEvents
| where TimeGenerated > ago(24h)
| where Name has_any ("aibigdatausa.com", "pansy.pw", "supbox.net", "daem12138.com", "nas-lh.com", "dfa.tg56789.com")
| summarize Queries = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Answers = make_set(IPAddresses, 10) by ClientIP, Name
| project FirstSeen, LastSeen, ClientIP, Name, Queries, Answers
```

### Sigma

```yaml
title: GreedyRat Botnet Domain Resolution
id: 7c1e5a42-93b0-4d6f-8a1b-2f4d7e9c0a11
status: experimental
description: Detects DNS queries for GreedyRat botnet infrastructure (loader/payload hosts, MQTT C2 brokers, related and storefront domains) reported by XLab on 2026-11-30.
references:
    - https://blog.xlab.qianxin.com/greedyrat-large-scale-malicious-resource-monetization-through-the-abuse-of-legitimate-commercial-ecosystems/
    - https://thehackernews.com/2026/11/greedyrat-botnet-turns-hijacked-android.html
author: Threadlinqs Team
date: 2026/11/30
tags:
    - attack.resource-development
    - attack.t1583.001
    - attack.initial-access
    - attack.t1195
    - attack.command-and-control
    - attack.t1071
logsource:
    category: dns
detection:
    selection:
        query|endswith:
            - 'aibigdatausa.com'
            - 'pansy.pw'
            - 'supbox.net'
            - 'daem12138.com'
            - 'nas-lh.com'
            - 'dfa.tg56789.com'
    condition: selection
falsepositives:
    - Security researchers or threat-intel tooling resolving the domains
    - Sinkhole or passive-DNS monitoring systems
level: high
```

**Known false positives:**

- Security researchers or threat-intel tooling resolving the domains
- Sinkhole or passive-DNS monitoring systems resolving IOC domains

**Tuning notes:** Requires the Network_Resolution data model to be populated (Splunk Stream, Infoblox, Umbrella or Zeek DNS mapped to CIM). Wildcards like *pansy.pw cover the whole registered domain; narrow to iot.pansy.pw and oss.pansy.pw if the wider domain proves noisy. Exclude your own DNS sinkhole and threat-intel scanner source IPs. Prioritise sources in IoT/guest VLANs and look up the MAC OUIs c4:2a:fe, cc:f3:05, 00:1a:79, 68:1d:ef; an OUI match alone is not proof of compromise.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- GreedyRat Loader Manifest, Payload and HidConfig Download URLs — Exploitation/Delivery (locked: unlock with TL Creds)
- GreedyRat Loader Executing Decrypted Payload from /app/ tmpfs — Post-Exploitation (locked: unlock with TL Creds)
- Bandwidth-Sharing SDK Platform Contact from IoT Segment (GreedyRat Monetization) — C2/Proxy (locked: unlock with TL Creds)
- GreedyRat Known Sample Hash Execution — Exploitation/Delivery (locked: unlock with TL Creds)
- GreedyRat Redroid Cloud-Phone Container Deployment — Post-Exploitation (locked: unlock with TL Creds)
- GreedyRat Cloud-Phone Panel and C2 IPs / External ADB Access — C2/Lateral Movement (locked: unlock with TL Creds)
- GreedyRat systemServerN / [indicator] / reloadScript Command Execution — Post-Exploitation (locked: unlock with TL Creds)
- GreedyRat MQTT C2 Egress to Known Brokers or Repeated External MQTT — C2 (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 30)

Defanged, TLP:CLEAR.

- IP address: `38.46.222[.]130`
- Domain: `aibigdatausa[.]com`
- File hash: `9a33dac2952da554cbc5231152fe2408aff3b9176bfd1fad92414764602cc4db`

Full set of 30 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [GreedyRat Botnet Turns Hijacked Android TV Boxes Into Cash via Legitimate Bandwidth-Sharing Apps](https://thehackernews.com/2026/11/greedyrat-botnet-turns-hijacked-android.html)
- [XLab: GreedyRat - Large-scale malicious resource monetization through the abuse of legitimate commercial ecosystems](https://blog.xlab.qianxin.com/greedyrat-large-scale-malicious-resource-monetization-through-the-abuse-of-legitimate-commercial-ecosystems/)
- [Kaspersky: Is your TV box renting out your network? (related Android TV botnet context)](https://www.kaspersky.com/blog/android-tv-botnet/55799/)
- [hunt.io: xlabs_v1 DDoS-for-Hire IoT Botnet Exposed (related, different botnet)](https://hunt.io/blog/xlabs-v1-ddos-for-hire-operation-exposed)
- [Security Affairs: Inside XCPE, the botnet that turned set-top boxes into proxy servers (related, different botnet)](https://securityaffairs.com/202323/malware/inside-xcpe-the-botnet-that-turned-set-top-boxes-into-proxy-servers.html)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7093
