TZRat: The Android RAT That Pairs the Phone With Itself
TZRat pairs an Android phone to itself over wireless ADB, then uses scrcpy to stream the screen without a consent prompt. How it works and how to check.
On a phone in Romania or the United Arab Emirates, an app that called itself Chrome asked for Accessibility access. After the user granted it, the app drew a fake Chrome loading screen and, underneath it, switched on developer options and wireless debugging, read the six-digit pairing code off the screen, and paired the phone with itself. It then held a developer shell on the device and used the legitimate scrcpy tool to send a live video of the screen to its operator, with no consent dialog and no cast icon in the status bar.
ESET received the first TZRat sample on 22 September 2026 and named the family TZRat. The researchers observed variants in Romania on 26 September and 3 October, and in the UAE on 27 September. ESET attributes the financially motivated malware to a Chinese-speaking actor with medium confidence. It found no evidence that TZRat was distributed through Google Play, and Google Play Protect blocks the known versions.
The interesting part is not another Android RAT: it is how one Accessibility grant becomes the developer channel, and how a legitimate screen-mirroring tool steps around the consent and indicator Android added for screen capture.
What is TZRat?
TZRat is a financially motivated Android remote access trojan that uses Accessibility Services to automate Android's wireless-debugging pairing against the phone itself, then runs scrcpy through the resulting ADB shell to mirror the screen without the usual capture consent or indicator. ESET's write-up lists no CVE, because TZRat abuses legitimate Android features rather than a memory-safety or logic flaw in a component.
| Field | Value |
|---|---|
| First observed | 22 September 2026 in ESET's external feed; variants in Romania on 26 September and 3 October, and in the UAE on 27 September |
| Type | Android remote access trojan, financially motivated |
| Distribution | Unknown; impersonated Google Chrome; no evidence of Google Play distribution |
| Attribution | Chinese-speaking actor, medium confidence |
| Command and control | v3.p9a[.]xyz over a WebSocket channel |
| Capability | More than 100 commands, keylogging, screen streaming, credential and lock-screen capture, remote control, factory reset |
| Status | No patch; Google Play Protect blocks known versions |
ESET's telemetry shows a small number of compromised devices from the end of September, not a mass campaign. The design is broad, though: a phrasebook for 38 languages, a 39-language Accessibility request, more than 80 language variations for the permission and uninstall dialogs, and support for 12 Android UI versions. ESET's conclusion is that "no country nor major brand is out of scope for the threat actors."
When navigation fails, TZRat sends the current screen state to its C2 and acts on the returned instruction. ESET says a human could be answering, but it considers an AI agent more likely because the pattern resembles PromptSpy, an Android malware ESET found in February 2026 that asked Gemini for tap instructions. ESET has no evidence that AI is actually in the loop here.
How does one Accessibility grant become a developer shell?
TZRat automates a process Android designed to require a person. Wireless debugging normally needs two devices and a human who reads the pairing code from the phone and types it into a computer. TZRat plays both roles from inside the phone.
- The app asks the user to enable Accessibility Services. ESET says it can show the request in one of 39 languages, and the grant lets it read the screen and perform taps.
- It covers the screen with an image that mimics a Chrome loading page. Under that overlay, it navigates Settings and completes its setup.
- It opens Developer options by tapping "Build number" seven times, then turns on Wireless debugging and accepts the "Always allow" consent dialog.
- It opens "Pair device with pairing code" and reads the six-digit code and the port displayed on the screen.
- It connects to the phone's own ADB daemon over an internal loopback channel and completes the pairing with a bundled
libspake2.so. The phone records a trusted computer namedtz-admin@android. - From that point, the phone treats TZRat's commands as trusted developer commands.
The chain is short: one Accessibility grant lets TZRat turn on wireless debugging, pair the phone with itself, and hand the operator a shell that scrcpy can use.
The pairing is the security boundary that disappears. Android records TZRat as a trusted computer, so later commands raise no permission dialog. ESET lists four consequences:
- Commands run as the
shelluser (UID 2000). input tapcontrols the screen without Accessibility.- TZRat can grant itself
WRITE_SECURE_SETTINGSand re-enable its own Accessibility service. - It can keep ADB listening on the fixed port 5555.
That fixed port is the durable part. The random wireless-debugging port changes with every setting change, but ESET reports that port 5555 can stay open after a reboot, a Wi-Fi change or the user switching wireless debugging off. TZRat relays the local ADB connection over its C2 channel, so the operator keeps a developer session.
What can the operator do once the phone is paired?
ESET documents more than 100 commands. They fall into five groups.
| Capability | What ESET observed |
|---|---|
| Control | Run shell commands as UID 2000; tap exact coordinates; swipe, navigate, replay recorded gestures; inject clipboard text. |
| Screen capture | Bundle scrcpy, unpack it to the phone's temp directory and launch it as the shell user; stream the screen over a local socket. Mirroring only in the observed sample; control comes from Accessibility. |
| Credential theft | Read text from any app; classify password fields by hint or view-id keywords in 25 languages; attach the browser URL or app name; store the result in tz_keylog.db; capture lock-screen PINs and 3x3 patterns; show phishing pages in a WebView. |
| Collection | Camera, microphone, location, SMS inbox, contacts, notifications, installed-app list, file system, screenshots. |
| Persistence and impact | Device administrator rights; auto-click back, cancel uninstall dialogs and press Home; loop res/raw/ka_silence.wav at 1% volume so Android treats the app as playing media; hide the icon; disable biometrics; send SMS; factory reset. |
The keylogger captures credentials through Accessibility text reading, not from the scrcpy feed. ESET says it classifies password fields by hint or view-id keywords across 25 languages and attaches either the browser URL-bar text or the app name to each captured password. The local database is tz_keylog.db, and the C2 receives the contents. Lock-screen PINs and patterns are captured from the System UI keypads, and ESET observed a message to the C2 containing a stolen lock-screen PIN.
Why does scrcpy avoid the screen-capture warnings?
Because it runs as the shell user through ADB, not as an app through Android's MediaProjection API. MediaProjection requires user consent for each capture session and, on Android 15 QPR1 and later, shows a prominent status-bar chip while the screen is shared, cast or recorded. Those controls belong to the app-facing API, not to a shell process holding a developer session.
scrcpy is a legitimate open-source tool for mirroring and controlling an Android device from a computer. TZRat bundles it, unpacks it to a temporary directory, and launches it through its ADB session as the shell user. ESET says the scrcpy server encodes the screen as a video stream and feeds it to TZRat over a local socket; TZRat relays the live broadcast to the operator. In the observed sample, scrcpy is configured for mirroring only; TZRat uses Accessibility for control. If the pairing fails, ESET says TZRat falls back to the app-level MediaProjection stream, which would show the normal consent prompt.
ESET calls the result the trojan's "nastiest trick": silently pairing itself to the phone's developer channel, bypassing the normal permission system, and then using scrcpy for a secret live video feed.
How does it keep from being removed?
TZRat enables device administrator rights, so uninstalling the app requires disabling that setting first. If the user tries, Accessibility Services automatically click back from the menu, click "Cancel" on the uninstall dialog, or press Home to interrupt the process. It also plays a silent audio file from its resources at 1% volume in a loop, so the system classifies the app as actively playing media and is less likely to stop it. ESET's summary is that it "fights every attempt at its removal."
A confirmed infection should therefore be treated as a full device compromise rather than an app uninstall; ESET gives no removal recipe and recommends installing from Google Play with Play Protect enabled.
Who is behind TZRat, and what connects it to DarkSword?
ESET attributes the activity to a Chinese-speaking, financially motivated actor with medium confidence. The evidence is in the code and the panel: strings prefixed tz such as tz-admin, tz_config and tz_keylog.db; the name 天泽科技, or Tianze Technology; a package name containing tianzeadmin; and an admin panel titled 天泽远控 - 设备管理系统, or Tianze Remote Control - Equipment Management System. ESET notes that Tianze Technology is a real company but does not appear to sell Android apps, so the operators may be borrowing the name for legitimacy.
The C2 is v3.p9a[.]xyz, used for registration and then a WebSocket channel with no additional encryption. ESET also examined v5.p9a[.]xyz, a subdomain that resolved to 38.22.89[.]117.
Censys had observed a DarkSword Admin panel on that IP on 30 July 2026. ESET found 12 TZRat admin panels in total, six of them on the same IP, with dates from 1 June to 7 August 2026; urlscan.io showed the DarkSword panel there until at least 4 August. The panels sat on different ports.
DarkSword is a commercial iOS exploit chain for iOS 18.4 to 18.7 that leaked publicly and is used by several operators, according to Censys. Sharing an IP address with its panel is a lead, not an attribution. ESET says it found no solid proof that the same operator runs both, and the TZRat samples it analysed only contacted v3.p9a[.]xyz.
How do you check a phone or a fleet?
Start with the pairing, because that is the state TZRat needs and the one a user can see.
- On the phone, open Settings, then Developer options, then Wireless debugging, then Paired devices. Look for a device named
tz-admin@android. A phone that should not have wireless debugging enabled should have no paired devices at all. - With USB debugging authorised, these commands read the global settings and the ADB port property:
adb shell settings get global adb_enabled
adb shell settings get global adb_wifi_enabled
adb shell getprop service.adb.tcp.port
A 1 for either setting on a managed device, or 5555 for service.adb.tcp.port, is a red flag.
3. Check the active device administrators and Accessibility services:
adb shell dumpsys device_policy | grep -i admin
adb shell settings get secure enabled_accessibility_services
An app posing as Chrome should not be a device administrator, and a "Chrome" entry in the Accessibility list is suspicious on a phone whose real Chrome does not request it.
4. Look for the package and its artifacts. ESET's samples use package names containing tianzeadmin; the keylog database is tz_keylog.db, and the silent audio file is res/raw/ka_silence.wav.
adb shell pm list packages -3 | grep -i tianze
adb shell pm path <package>
A production phone may not let you read the app's private directory. Use an MDM inventory or a forensic tool for that step rather than assuming the paths are visible.
5. Check DNS and proxy logs for v3.p9a[.]xyz, v5.p9a[.]xyz, p9a[.]xyz and the addresses in the Indicator table in this guide.
6. Run a Play Protect scan. ESET says Play Protect blocks the known versions, so it is a useful check but not a clean bill of health for an unknown variant.
| Indicator | Value |
|---|---|
| Sample SHA-1 | 782DAA66B0B57CB4D475D0409C1CDB35735E3C03 as file.apk; 043C2EDA6F91DCDAC7E1CD3CE38232E80B416194 as chrome.apk |
| C2 domain | v3.p9a[.]xyz |
| Related domain | v5.p9a[.]xyz |
| Admin panels | 3z4[.]xyz, a2d[.]pw, 4ad[.]pw, 13d[.]pw, 2x1[.]xyz, g5k[.]xyz, 1f46k[.]sbs, 3gi8r[.]sbs, v2.p9a[.]xyz, l9t[.]xyz |
| IP address | 38.22.89[.]117, 104.21.20[.]181, 104.21.58[.]190, 107.148.150[.]50, 108.165.255[.]120, 172.66.42[.]223, 172.67.180[.]220, 188.114.97[.]9 |
What should defenders do?
Make the pairing impossible or visible. On managed Android devices:
- Apply the
UserManager.DISALLOW_DEBUGGING_FEATURESuser restriction, which disables debugging features including USB debugging, and verify on a test device that wireless debugging is blocked on your Android release as well. - Disallow installation from unknown sources, keep Play Protect enabled, and restrict Accessibility services to an allowlist.
- Monitor for ADB on port 5555 and for paired devices that users did not create.
For users: install apps from Google Play, do not grant Accessibility to an app that has no clear reason to need it, and check the paired-device list if a "Chrome" app ever asks for Accessibility. A phone with a confirmed tz-admin@android pairing should be treated as compromised and rebuilt, not cleaned by uninstalling one app.
For banks and other apps that move money, the screen-capture indicator is not a security control. TZRat keeps the feed outside MediaProjection, so the app cannot rely on the system chip or the consent dialog to know it is being watched.
Device integrity checks, Accessibility-service monitoring and transaction anomaly detection cover more of this path than a capture warning does. Detection engineering should target the behaviour and the artifacts, not just the two sample hashes: tz-admin@android, ADB on port 5555, an accessibility service attached to a Chrome lookalike, tz_keylog.db, ka_silence.wav, and the C2 domains.
Timeline
- 22 September 2026: ESET receives the first TZRat sample from its external feed.
- 26 September and 3 October 2026: variants observed in Romania.
- 27 September 2026: a variant observed in the UAE.
- 1 December 2026: ESET publishes the technical write-up and press release.
- 2 December 2026: international coverage follows.
FAQ
Is TZRat a vulnerability with a CVE?
No. It is an Android malware family, and ESET's write-up lists no CVE. It abuses legitimate Android features, mainly Accessibility Services and wireless ADB, rather than exploiting a flaw in a component.
Which Android versions are affected?
ESET does not publish an affected-version list. It says TZRat handles 12 Android UI versions, and the wireless-debugging feature it automates was introduced in Android 11. Treat the technique as broadly applicable rather than tied to one release.
Did TZRat come from Google Play?
ESET found no evidence that it was ever distributed through Google Play. Its known versions are blocked by Play Protect. The exact distribution channel remains unknown; the samples impersonated Google Chrome.
Does scrcpy on a phone mean it is compromised?
No. scrcpy is a legitimate open-source tool that developers use. The indicator is a paired ADB device the user did not create, or ADB listening on port 5555 when debugging should be off.
Is the DarkSword connection confirmed?
No. ESET found TZRat and DarkSword admin panels on the same IP address, on different ports, but no solid proof that the same operator runs both. The TZRat samples it analysed only contacted v3.p9a[.]xyz.
How do I remove TZRat?
ESET describes an app that blocks uninstall through device administrator rights and Accessibility automation, and gives no removal recipe. A phone with a confirmed pairing should be treated as compromised and rebuilt from a trusted image. Play Protect and installing only from Google Play are the preventive controls ESET recommends.
Is this only a Romania and UAE problem?
ESET found victims in those two countries, but the malware carries a 38-language navigation phrasebook and covers 12 UI versions. ESET's assessment is that no country or major brand is out of scope.
References
- ESET Research, "Silent takeover: New Android malware secretly streams screens", 1 December 2026: https://www.eset.com/blog/en/research/silent-takeover-new-android-malware-secretly-streams-screens/ (checked 3 December 2026)
- ESET press release, "ESET Research discovers new Android malware that secretly streams screens", 1 December 2026: https://www.eset.com/us/about/newsroom/research/eset-research-android-malware-tzrat-streams-screens/ (checked 3 December 2026)
- ESET malware IoC repository, TZRat: https://github.com/eset/malware-ioc/tree/master/tzrat (checked 3 December 2026)
- The Hacker News, "New TZRat Android Malware Silently Hijacks Phones and Streams Victims' Screens", 2 December 2026: https://thehackernews.com/2026/12/new-tzrat-android-malware-silently.html (checked 3 December 2026)
- BleepingComputer, "New TZRat Android malware silently livestreams victims' screens", 2 December 2026: https://www.bleepingcomputer.com/news/security/new-tzrat-android-malware-silently-livestreams-victims-screens/ (checked 3 December 2026)
- The Record, "Suspected Chinese-speaking hackers spy on Android phones in Romania, UAE", 1 December 2026: https://therecord.media/android-malware-chinese-speaking-hackers-financial-motvation (checked 3 December 2026)
- Infosecurity Magazine, "New TZRat Android Malware Abuses Debugging to Stream Screens", 1 December 2026: https://www.infosecurity-magazine.com/news/tzrat-android-malware-screen/ (checked 3 December 2026)
- Security Affairs, "TZRat Bypasses Android Protections to Spy on Users", 2 December 2026: https://securityaffairs.com/185111/security/tzrat-bypasses-android-protections-to-spy-on-users.html (checked 3 December 2026)
- Censys, "DarkSword's Panel Sprawl: How One Body Hash Unravels a Six-Panel, Two-Codebase Operator Cluster", 31 July 2026: https://censys.com/blog/darkswords-panel-sprawl/ (checked 3 December 2026)
- Android Developers, "Android Debug Bridge (adb)", wireless debugging and pairing: https://developer.android.com/tools/adb (checked 3 December 2026)
- Android Developers, "Media projection", consent, status-bar chip and app screen sharing: https://developer.android.com/media/grow/media-projection (checked 3 December 2026)
- Android Developers,
UserManager.DISALLOW_DEBUGGING_FEATURES: https://developer.android.com/reference/android/os/UserManager#DISALLOW_DEBUGGING_FEATURES (checked 3 December 2026) - Genymobile, scrcpy: https://github.com/Genymobile/scrcpy (checked 3 December 2026)
- ESET Research, "PromptSpy ushers in the era of Android threats using GenAI", 19 February 2026: https://www.eset.com/blog/en/research/promptspy-ushers-in-era-android-threats-using-genai/ (checked 3 December 2026)
Keep reading
