# TZRat Android Spyware Silently Streams Victim Screens via scrcpy/ADB Self-Pairing (ESET: Android/Spy.TZRat.A)

> ESET disclosed TZRat, a financially motivated Android RAT impersonating Google Chrome that persuades users to enable Accessibility Services, self-pairs over Wireless debugging to obtain a UID 2000 shell, and streams the victim's screen to operators via scrcpy without the MediaProjection consent prompt or recording indicator. It supports 100+ commands including credential, PIN/pattern, SMS, camera and microphone access. ESET attributes it with medium confidence to a Chinese-speaking actor.

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

## Description

TZRat (ESET detection Android/Spy.TZRat.A) is an Android remote access trojan first received by ESET on 2026-09-22 via an external feed. Variants were later observed on devices in Romania (2026-09-26, 2026-10-03) and the United Arab Emirates (2026-09-27). ESET states the malware was never distributed through Google Play and that its delivery vector was not determined; samples masquerade as the Google Chrome browser (e.g. chrome.apk, file.apk). ESET shared its findings with Google; Google Play Protect covers known versions on devices with Google Play Services.

After installation the app prompts the victim to enable Accessibility Services and displays a fake Chrome loading overlay while it completes setup in the background, finally showing a hardcoded Romanian crypto-purchase website. Using Accessibility Services it automates enabling Developer options and Wireless debugging, taps 'Always allow', and reads the pairing code and port from the screen. It then pairs the device with itself over a loopback channel (SPAKE2 verification using a bundled libspake2.so), creating a trusted entry named tz-admin@android under Paired devices. This yields a shell as UID 2000, lets the malware grant itself WRITE_SECURE_SETTINGS and re-enable its own Accessibility Service, and ADB is exposed on fixed port 5555 so the connection survives Wi-Fi changes and reboots and is relayed to the C&C. A bundled scrcpy binary is unpacked to the temp directory and run as the shell user in mirroring-only mode, bypassing the MediaProjection consent dialog and status-bar indicator; control is performed through Accessibility Services. If self-pairing fails the malware falls back to MediaProjection. ESET notes scrcpy works on Android 14+, unlike minicap used by RatHat. The same self-pairing technique is used by ToxicPanda 2.0, RatHat, THost9 and RedHook.

The RAT supports more than 100 commands over WebSocket (no encryption beyond HTTPS) to a hardcoded C&C, v3.p9a.xyz, used for device registration: camera, microphone, GPS, live screen and screenshots, keylogging, notification interception, UI-tree reading, PIN and 3x3 pattern capture, gesture recording/replay, phishing overlays, stored-credential queries, SMS/contacts/app list/file access, taps/swipes/clipboard injection, SMS sending, app launch and uninstall, fake update/low-battery/black cover screens, PIN unlock replay, biometric disabling, remote factory reset, icon hiding and rebranding as Chrome, Calculator, Settings or transparent, plus ADB self-pairing, tunnel and local shell control. Captured keystrokes and credentials (password fields classified across 25 languages, tagged with browser URL or app name) are stored locally in tz_keylog.db and exfiltrated to the C&C. A phrasebook covering 38 languages for developer/USB debugging menus, 39 for the Accessibility request and 80+ dialog variants across 12 Android UI versions drives navigation; on failures the malware sends screen data to the C&C and follows server instructions (ESET suspects but has no evidence of AI-generated guidance).

Persistence and anti-removal: the app requests device administrator rights, uses Accessibility to press Back/Home to cancel uninstall dialogs and settings navigation, and loops a silent audio file (res/raw/ka_silence.wav) at 1% volume so the system treats it as actively playing media. Attribution: ESET assesses with medium confidence a Chinese-speaking actor based on Chinese strings in code and the admin panel (titled as a remote control and equipment management system); 'tz' and 'tianzeadmin' reference 'Tianze' (天泽), possibly abusing a real company's name. ESET found 12 TZRat admin panels (six on 38.22.89.117, dated 2026-06-01 to 2026-08-07). That IP also hosted a DarkSword iOS exploit-chain panel on 2026-07-30; ESET found no solid proof the two are linked. Only the first C&C server was tied to observed samples.

## MITRE ATT&CK

- T1623.001 Unix Shell
- T1541 Foreground Persistence
- T1626 Abuse Elevation Control Mechanism
- T1626.001 Device Administrator Permissions
- T1516 Input Injection
- T1628.001 Suppress Application Icon
- T1628.002 User Evasion
- T1629.001 Prevent Application Removal
- T1655.001 Match Legitimate Name or Location
- T1417.002 GUI Input Capture
- T1453 Abuse Accessibility Features
- T1417.001 Keylogging
- T1513 Screen Capture
- T1512 Video Capture
- T1429 Audio Capture
- T1517 Access Notifications
- T1636.004 SMS Messages
- T1437.001 Web Protocols
- T1663 Remote Access Software
- T1646 Exfiltration Over C2 Channel
- T1582 SMS Control
- T1662 Data Destruction

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

**TZRat - ADB Self-Pairing / WRITE_SECURE_SETTINGS / scrcpy Mirroring Tooling on Endpoint** (`TL-2026-7166-SPL-002`)

Detects adb.exe or scrcpy.exe command lines associated with the TZRat technique and its related tooling: wireless pairing (adb pair), enabling ADB over TCP 5555, granting WRITE_SECURE_SETTINGS, the tz-admin@android pairing name, or scrcpy mirroring over port 5555. TZRat obtains a UID 2000 shell via loopback pairing, grants itself WRITE_SECURE_SETTINGS and runs a bundled scrcpy to stream the screen without MediaProjection consent. Operator/analyst or compromised workstations driving such devices will show these commands.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1623.001, T1626, T1663, T1513
- **Data sources:** sysmon, DeviceProcessEvents
- **Severity:** medium
- **Confidence:** medium

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 earliest=-24h ((process_name="adb.exe" (CommandLine="*WRITE_SECURE_SETTINGS*" OR CommandLine="*tcpip 5555*" OR CommandLine="* pair *" OR CommandLine="*tz-admin*")) OR (process_name="scrcpy.exe" CommandLine="*:5555*")) | eval indicator=case(like(CommandLine,"%WRITE_SECURE_SETTINGS%"),"grant_write_secure_settings", like(CommandLine,"%tcpip 5555%"),"adb_tcp_5555", like(CommandLine,"%tz-admin%"),"tz_admin_pairing_name", like(CommandLine,"% pair %"),"adb_wireless_pairing", true(),"scrcpy_over_5555") | stats count min(_time) as first_seen max(_time) as last_seen values(indicator) as indicators values(CommandLine) as command_lines values(ParentImage) as parents by host, user | convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where (FileName =~ "adb.exe" and (ProcessCommandLine has "WRITE_SECURE_SETTINGS" or ProcessCommandLine contains "tcpip 5555" or ProcessCommandLine contains " pair " or ProcessCommandLine has "tz-admin"))
    or (FileName =~ "scrcpy.exe" and ProcessCommandLine contains ":5555")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine
| order by Timestamp desc
```

### Sigma

```yaml
title: TZRat-Style ADB Pairing, WRITE_SECURE_SETTINGS Grant or scrcpy Over TCP 5555
id: b4a9d0e7-6c25-4f13-8e7a-2d91c5f60b38
status: experimental
description: Detects adb.exe command lines for wireless pairing, enabling ADB over TCP 5555, granting WRITE_SECURE_SETTINGS or the tz-admin pairing name, and scrcpy connecting over port 5555. These match the self-pairing and silent screen-streaming technique used by TZRat (Android/Spy.TZRat.A), ToxicPanda 2.0, RatHat, THost9 and RedHook.
references:
    - https://www.eset.com/blog/en/research/silent-takeover-new-android-malware-secretly-streams-screens/
    - https://cybersecuritynews.com/redhook-android-rat-abuses-adb-wireless-debugging/
author: Threadlinqs Team
date: 2026/12/01
tags:
    - attack.execution
    - attack.t1623.001
    - attack.privilege_escalation
    - attack.t1626
    - attack.command_and_control
    - attack.t1663
    - attack.collection
    - attack.t1513
logsource:
    category: process_creation
    product: windows
detection:
    selection_adb_img:
        Image|endswith: '\adb.exe'
    selection_adb_cmd:
        CommandLine|contains:
            - 'WRITE_SECURE_SETTINGS'
            - 'tcpip 5555'
            - ' pair '
            - 'tz-admin'
    selection_scrcpy:
        Image|endswith: '\scrcpy.exe'
        CommandLine|contains: ':5555'
    condition: (selection_adb_img and selection_adb_cmd) or selection_scrcpy
falsepositives:
    - Android developers, QA and help-desk staff using adb pair, adb tcpip or scrcpy for legitimate device work
level: medium

```

**Known false positives:**

- Android developers and QA engineers legitimately using adb pair, adb tcpip 5555 or scrcpy
- IT help-desk remote assistance of managed Android devices with scrcpy

**Tuning notes:** Scope to hosts that should not run Android tooling, or exclude developer and help-desk groups. This detects the technique from the workstation side; TZRat itself runs on-device, so pair it with MDM and network detections. Requires Sysmon process_name/CommandLine extractions (Splunk TA for Sysmon).

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

- TZRat - APK and Artifact File Indicators on Managed Endpoints (Defender) (locked: unlock with TL Creds)
- TZRat - ADB Self-Pairing and scrcpy Streaming Command Lines (Defender) (locked: unlock with TL Creds)
- TZRat - C2 DNS Resolution and Infrastructure Connections (Sentinel DNS + Firewall) (locked: unlock with TL Creds)
- TZRat - Chrome Look-alike APK Staging and Published Hash Match (Sigma) (locked: unlock with TL Creds)
- TZRat - ADB Self-Pairing, TCP [indicator] and Silent scrcpy Streaming Tooling (Sigma) (locked: unlock with TL Creds)
- TZRat - C2 and Panel Infrastructure DNS Queries (Sigma) (locked: unlock with TL Creds)
- TZRat - Sideloaded Chrome Look-alike with Accessibility/Device-Admin Privileges (MDM Inventory) (locked: unlock with TL Creds)
- TZRat - C2 Domain Resolution and Infrastructure/ADB-5555 Connections (DNS + Firewall) (locked: unlock with TL Creds)

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

## Sample indicators (3 of 31)

Defanged, TLP:CLEAR.

- IP address: `38.22.89[.]117`
- Domain: `v3[.]p9a[.]xyz`
- File hash: `782daa66b0b57cb4d475d0409c1cdb35735e3c03`

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

## Sources

- [ESET Research: Silent takeover - New Android malware secretly streams screens](https://www.eset.com/blog/en/research/silent-takeover-new-android-malware-secretly-streams-screens/)
- [Cyber Security News: New Android Malware Secretly Stream Victim's Screen to Hackers Without any Notifications](https://cybersecuritynews.com/new-android-malware-3/)
- [ESET malware-ioc repository: TZRat indicators](https://github.com/eset/malware-ioc/tree/master/tzrat)
- [Cyber Security News: RedHook Android RAT abuses ADB wireless debugging (Group-IB)](https://cybersecuritynews.com/redhook-android-rat-abuses-adb-wireless-debugging/)
- [Cyber Security News: RatHat Android banking trojan](https://cybersecuritynews.com/new-android-malware/)
- [Cyber Security News: DarkSword iOS exploit kit](https://cybersecuritynews.com/darksword-ios-exploit-kit/)
- [Google Play Protect settings](https://support.google.com/googleplay/answer/2812853)

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