# BTMOB Android RAT evolution: APK obfuscation, native AES-CTR payload decryption and DPT Shell packing (v3.4.1 to v4.6.1)

> Joe Security analyzed nine BTMOB Android RAT samples across five internal versions (3.4.1, 4.5.6, 4.5.7, 4.6.0, 4.6.1) plus one v4.5.2 sample. BTMOB, sold as malware-as-a-service and reported to have evolved from SpySolr, provides screen capture, keylogging, data exfiltration and Accessibility Services abuse, and uses ZIP/APK obfuscation, a native decryptor and DPT Shell to hinder analysis.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-01T23:07:22Z
- **Last updated:** 2026-12-01T23:07:22Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7223
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7223.png
- **ID:** TL-2026-7223
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 29 (3 shown free below)

## Description

BTMOB is an Android remote access trojan that Cyble described in February 2025 as an upgrade of SpySolr (itself reported to derive from CraxsRAT). ESET reports it is sold as malware-as-a-service with an APK builder that lets buyers generate payloads and regional lures without coding, promoted via a public web page, a Telegram operator and X/Instagram accounts, at a reported $5,000 lifetime license plus a monthly support fee. ESET also reports that BTMOB files were offered for free on a dark web forum in January 2026 (payloads not recovered). Distribution reported by ESET relies on phishing sites impersonating streaming, crypto-mining or other familiar services that lead to fake app stores pushing a malicious APK, with region-tailored lures (including impersonation of Argentina's tax and customs authorities). Activity has been reported mainly in Brazil and Latin America.

Joe Security's 2026-12-01 analysis covers nine samples (S01-S09) across BT-v3.4.1, 4.5.6, 4.5.7, 4.6.0 and 4.6.1, plus a BT-v4.5.2 sample (package migrator.provisioner.handler, label myapp). Lure labels include BAPTA, Customer Service, Ip Live Tv, Cadastro Central, Actualizacion de red and ReelShort (customer-support, TV, network-update and short-video themes). The article states its findings describe code and configuration present in the samples and do not establish when features first appeared, that every capability was exercised, or that shared configuration implies common operators.

Anti-analysis layers present in all nine samples: (1) ZIP general-purpose flag abuse - Central Directory entries are marked encrypted (flag 0x0801) while most Local File Headers use 0x0800, although raw classes.dex carries a valid DEX header and needs no decryption; (2) ZIP path confusion - entries placed under 'classes.dex/' (and the same for AndroidManifest.xml) create file-versus-directory conflicts, causing Apktool to reject the archive and Androguard to produce partial XML, while Android's loader still reads classes.dex directly; (3) DEX anti-decompilation via unreferenced array-data payloads appended to methods that break JADX but not Androguard. In the S01 worked example, the native library libhhcbcu.so implements AES-128-CTR with a custom counter layout to decrypt assets/nvcgehin into an inner APK protected with the open-source DPT Shell (luoyesiqiu/dpt-shell). ProxyComponentFactory loads the native DPT library, which decrypts the loader .bitcode section with RC4 and the shell configuration with AES; removed method instructions are stored in assets/OoooooOooo and must be restored and have SHA-1 signature and Adler-32 checksum recalculated to obtain analyzable DEX files.

Capabilities present from v3.4.1: Accessibility Services-driven control, screen capture, keylogging, camera and microphone access, SMS and file operations, proxy functionality, overlays and input collection, data exfiltration, VPN configuration via VpnService.Builder, deceptive interfaces impersonating Sberbank and Kaspersky, Alipay PIN interception (accessibility service recognizes com.eg.android.AlipayGphone, overlays touchable areas on the numeric keypad and records Alipay|PIN|<digit>), and vendor-specific autostart handling for ASUS, Meizu, Xiaomi, Huawei, vivo and Oppo. v4.5.6 adds an SSH/Telnet helper, HTTP GET/POST flooding including an IOT_BOTNET mode, a miner command targeting nativeLibraryDir/libxmrig.so (library absent from all recovered inner APKs, so mining is unconfirmed), default SMS/dialer role requests and device-admin activation logic. v4.5.7 adds screen-capture recovery logic, a device-admin receiver declaration and call-disconnection code; v4.6.0 changes the service-maintenance interval from 15 to 20 seconds; v4.6.1 shows no distinct new capability and shares the same 2642 decoded strings as v4.5.7.

C2 protocol: the sample first sends an HTTP POST to /yaarsa/private/yarsap_80541.php; the response is prefixed with 'Conf:' and supplies WebSocket parameters (v4.5.6 config fields idf, cip, sk, ad). Stored fallback addresses build ws://<address>:8080/ URLs, with server selection probing /yaarsa/private/log_error.php via HTTP HEAD. Registration includes device info and the BTVR version field, and JSON messages over the WebSocket use the shared 'Slr_client' identifier. Embedded config values use AES-CBC with PBKDF2-HMAC-SHA1 key derivation. The v4.5.2 sample differs: three DEX files, no native libraries or DPT Shell, XOR-encoded strings, and encrypted assets 1.bt/2.bt/3.bt providing pattern, PIN and password-entry templates. Zimperium (April 2025) separately reported BOOT_COMPLETED persistence, icon hiding, encrypted lock-screen overlays and self-granting of permissions in earlier v2.5-v3.2 builds. No CVE, CVSS score or threat actor attribution is stated in the sources. Severity HIGH is an analyst judgement based on the RAT capabilities.

## MITRE ATT&CK

- T1660 Phishing
- T1406.002 Software Packing
- T1575 Native API
- T1453 Abuse Accessibility Features
- T1417.001 Input Capture: Keylogging
- T1417.002 Input Capture: GUI Input Capture
- T1513 Screen Capture
- T1429 Audio Capture
- T1512 Video Capture
- T1636.004 Protected User Data: SMS Messages
- T1626.001 Device Administrator Permissions
- T1437.001 Application Layer Protocol: Web Protocols
- T1509 Non-Standard Port
- T1521.001 Encrypted Channel: Symmetric Cryptography
- T1604 Proxy Through Victim
- T1646 Exfiltration Over C2 Channel
- T1643 Generate Traffic from Victim

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

**BTMOB Android RAT C2 Bootstrap POST, Server Probe and WebSocket Upgrade on Port 8080** (`TL-2026-7223-SPL-003`)

Detects the BTMOB C2 protocol: an HTTP POST to /yaarsa/private/yarsap_80541.php (response prefixed 'Conf:' supplies WebSocket parameters), an HTTP HEAD to /yaarsa/private/log_error.php used for fallback server selection, and a WebSocket upgrade to ws://<address>:8080/ built from stored fallback addresses.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1437.001, T1521.001, T1509
- **Data sources:** splunk_stream_http, network_proxy, firewall_url_logs
- **Severity:** high
- **Confidence:** high

### Splunk SPL

````spl
index=network sourcetype="stream:http" earliest=-24h
(uri_path="/yaarsa/private/yarsap_80541.php" OR uri_path="/yaarsa/private/log_error.php" OR dest_port=8080)
```BTMOB TL-2026-7223 C2: bootstrap POST, HEAD server probe, WebSocket upgrade on 8080```
| eval stage=case(http_method="POST" AND uri_path="/yaarsa/private/yarsap_80541.php","bootstrap_post", http_method="HEAD" AND uri_path="/yaarsa/private/log_error.php","server_probe", dest_port=8080 AND match(_raw,"(?i)upgrade:[ ]*websocket"),"ws_upgrade")
| where isnotnull(stage)
| stats count min(_time) as first_seen max(_time) as last_seen dc(stage) as stages values(stage) as observed_stages values(site) as hosts by src_ip dest_ip dest_port
| eval fidelity=if(stages>=2,"high","medium")
| eval first_seen=strftime(first_seen,"%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen,"%Y-%m-%d %H:%M:%S")
````

### Microsoft KQL

```kql
CommonSecurityLog
| where TimeGenerated > ago(24h)
| extend Url = tostring(RequestURL), Method = toupper(tostring(RequestMethod))
| where (Method == 'POST' and Url has '/yaarsa/private/yarsap_80541.php')
    or (Method == 'HEAD' and Url has '/yaarsa/private/log_error.php')
| summarize Events = count(), Stages = make_set(Method), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort
| project FirstSeen, LastSeen, SourceIP, DestinationIP, DestinationPort, Events, Stages
```

### Sigma

```yaml
title: BTMOB Android RAT C2 Bootstrap POST and Server Probe
id: c52e7b90-1a3d-4d68-a4f2-70b8e6d13c97
status: experimental
description: Detects the BTMOB bootstrap HTTP POST to /yaarsa/private/yarsap_80541.php and the HTTP HEAD probe of /yaarsa/private/log_error.php used during C2 server selection.
references:
  - https://www.joesecurity.org/blog/5240302111297252319
author: Threadlinqs Team
date: 2026-12-01
tags:
  - attack.command_and_control
  - attack.t1437.001
  - attack.t1521.001
logsource:
  category: proxy
detection:
  selection_post:
    cs-method: 'POST'
    c-uri|endswith: '/yaarsa/private/yarsap_80541.php'
  selection_head:
    cs-method: 'HEAD'
    c-uri|endswith: '/yaarsa/private/log_error.php'
  condition: 1 of selection_*
falsepositives:
  - Unlikely; the path is specific to BTMOB bootstrap servers
level: high
```

**Known false positives:**

- Security sandbox or analyst traffic detonating BTMOB samples
- Threat-intel crawlers replaying the published bootstrap URL

**Tuning notes:** Exclude sandbox egress ranges. The ws_upgrade stage matches any WebSocket on 8080, so treat it as medium fidelity unless combined with bootstrap_post/server_probe (stages>=2). Requires TLS inspection or Stream capture, since many bootstrap servers use plain HTTP.

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

- BTMOB Android RAT Known APK Hashes and Fake Store APK Downloads on Managed Endpoints (locked: unlock with TL Creds)
- BTMOB Android RAT Victim-Originated HTTP Flooding and SSH/Telnet Scanning from Mobile Networks (locked: unlock with TL Creds)
- BTMOB Android RAT Repeated Port 8080 WebSocket C2 Sessions to Known and Unknown Hosts (locked: unlock with TL Creds)
- BTMOB Android RAT Community-Observed Delivery and Sibling Infrastructure Access (locked: unlock with TL Creds)
- BTMOB Android RAT Packed APK Artifacts: [indicator], [indicator] and [indicator] (locked: unlock with TL Creds)
- BTMOB Android RAT /yaarsa/private/ C2 Path Access Observed in Zeek HTTP Logs (locked: unlock with TL Creds)
- BTMOB Android RAT APK Delivery via Fake App Store Paths and Known Bootstrap Infrastructure (locked: unlock with TL Creds)
- BTMOB Android RAT Mobile Defense Alerts for Accessibility, Device-Admin and Overlay Abuse (locked: unlock with TL Creds)

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

## Sample indicators (3 of 29)

Defanged, TLP:CLEAR.

- IP address: `144.31.219[.]143`
- Domain: `arbsniper[.]com`
- File hash: `65f7fdd393643212cc0658860e0b39aa884eceef204d9559998d27f90e9f2b20`

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

## Sources

- [The evolution of BTMOB Android Malware (Joe Security)](https://www.joesecurity.org/blog/5240302111297252319)
- [BTMOB: stealthy RAT burrowing deep into Android devices (ESET / WeLiveSecurity)](https://www.welivesecurity.com/en/malware/btmob-stealthy-rat-burrowing-deep-android-devices/)
- [DPT Shell (open source Dex protection shell)](https://github.com/luoyesiqiu/dpt-shell)
- [BTMOB RAT: newly discovered Android malware (Cyble)](https://cyble.com/blog/btmob-rat-newly-discovered-android-malware/)
- [From Lock Screen to Wallets: BTMOB RAT now targets Alipay PINs (Zimperium zLabs)](https://zimperium.com/blog/from-lock-screen-to-wallets-btmob-rat-now-targets-alipay-pins)
- [New BTMOB Android malware enables full device takeover (SecurityWeek)](https://www.securityweek.com/new-btmob-android-malware-enables-full-device-takeover/)
- [BTMOB RAT spreads across Brazil, LatAm via MaaS model (Dark Reading)](https://www.darkreading.com/cyberattacks-data-breaches/btmob-rat-brazil-latam-maas-model)
- [Inside the underground business of BTMOB RAT (BleepingComputer)](https://bleepingcomputer.com/news/security/inside-the-underground-business-of-btmob-rat)
- [BTMOB Android RAT spreads through no-code builder tooling (Infosecurity Magazine)](https://infosecurity-magazine.com/news/btmob-android-rat-maas-builder)

## 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-7223
