In September 2026, ESET researchers discovered new remote-controlled, financially motivated Android malware, which we named TZRat. It abuses Android Debug Bridge to elevate its privileges, and the legitimate scrcpy tool to stream in secret the victim’s screen to the C&C server. The malware can navigate most versions of the Android UI and is capable of executing over 100 commands.
We found TZRat on devices in Romania and the UAE. Our research confirmed that it has never been available on Google Play; as an App Defense Alliance partner, we shared our findings with Google. Android users are automatically protected against known versions of this malware by Google Play Protect, which is enabled by default on Android devices with Google Play Services.
Key points of this blogpost: At the end of September and beginning of October 2026, we detected activity of a new Android malware family in Romania and UAE that we named TZRat. TZRat can gain shell-level privileges via Android Debug Bridge, and use scrcpy to stream the device screen to the threat actors without requiring permission or showing a cast icon. The malware abuses Accessibility Services, which it can enable by navigating the screen on all major versions of Android. Due to the presence of Chinese strings in the code as well as the use of the language in the malware’s admin panel, we attribute the activity to a Chinese-speaking threat actor with medium confidence. We found a possible infrastructure overlap between TZRat and DarkSword, an iOS exploit chain used by several threat actors.
Key points of this blogpost:
- At the end of September and beginning of October 2026, we detected activity of a new Android malware family in Romania and UAE that we named TZRat.
- TZRat can gain shell-level privileges via Android Debug Bridge, and use scrcpy to stream the device screen to the threat actors without requiring permission or showing a cast icon.
- The malware abuses Accessibility Services, which it can enable by navigating the screen on all major versions of Android.
- Due to the presence of Chinese strings in the code as well as the use of the language in the malware’s admin panel, we attribute the activity to a Chinese-speaking threat actor with medium confidence.
- We found a possible infrastructure overlap between TZRat and DarkSword, an iOS exploit chain used by several threat actors.
TZRat overview
TZRat is an Android Remote Access Trojan (RAT) built with the goal of stealing financial information. It can keylog user input, record the victim’s screen, and exfiltrate sensitive data. Moreover, it can display various screen overlays, such as a fake update, a low battery warning, or just a black screen, while interacting in the background with other apps or the system.
We first discovered TZRat on September 22, 2026, by receiving it from our external feed. Later, we observed that another variant of the malware had been deployed in Romania (September 26 and October 3, 2026) and the UAE (September 27, 2026). While we have not yet discovered the manner in which the RAT was distributed, we do know that it impersonated the Chrome browser application.
We named the malware TZRat based on the strings with the prefix tz that the developers left throughout the code, such as tz-admin, tz_config, and tz_keylog.db. The prefixes refer to 天泽科技 (machine translation: Tianze Technology), which appears in the code as well. Additionally, the package name contains the string tianzeadmin, and the C&C admin panel is named 天泽远控 - 设备管理系统 (machine translation: Tianze Remote Control – Equipment Management System). Tianze Technology is an actual company, but it does not appear to be selling Android apps. It is therefore possible that the operators are abusing the company’s name to add an air of legitimacy to their malicious app.
The use of the Chinese language both in the in TZRat code and in the C&C admin panel suggests that a Chinese-speaking group is behind this threat.
Initial setup
When TZRat is launched, it displays a request that the user to enable Accessibility Services, as seen in Figure 1. Once Accessibility is enabled, which allows the malware to perform taps and read text displayed on the compromised device, TZRat shows an overlay image that mimics a Chrome loading screen (Figure 2). Underneath the overlay image, the RAT completes its setup, navigating screen elements and enabling desired options.
When the malware completes its setup process, it displays an English-language version of a Romanian crypto-purchase website https://coindisco[.]com/buy/crypto/romania (see Figure 3). The URL of the website is hardcoded.
Screen navigation
TZRat’s ability to manipulate the victim’s screen is quite extensive. The trojan ships with a built-in phrasebook containing 38 languages that are used to navigate through device settings menus to enable developer’s settings, USB debugging and paring. It can select from 39 languages to display an Accessibility Services request to the user. Additionally, it can handle more than 80 language variations of activating the permissions dialog, preventing uninstallation, resetting accessibility settings, and more. To be able to navigate the differences in menus across various mobile brands, TZRat also covers 12 Android UI versions. Altogether, this means that no country nor major brand is out of scope for the threat actors.
In cases where the malware encounters a problem with screen navigation, it sends the data to its C&C server and proceeds based on the server response. While there might be a human providing instructions on the server end, we believe it is much more likely to be AI parsing the data and generating instructions. However, we do not have evidence that would support this hypothesis.
If the operators are indeed leveraging AI in this way, the use case would end up quite similar to the Android malware PromptSpy that we discovered in February 2026, which prompts Gemini to be able to recognize screen elements on as many versions of Android as possible by locking itself in the list of recent apps.
Abusing Android Debug Bridge
The core functionality of TZRat rests upon the misuse of Android Debug Bridge (ADB), a developer tool used to control an Android device from a PC or Mac. With ADB, developers can perform actions such as installing and debugging apps, and running shell commands. Since Android 11, ADB supports working over Wi-Fi; however, connecting requires that a one-time pairing be performed. The process is designed to require manual interaction; it involves going through several menus, approving a consent pop-up, and entering a six-digit code shown on the phone screen into the computer.
By misusing Accessibility Services, TZRat has managed to automate the process, executing it behind a fake system update overlay without the victim’s knowledge:
- First, it taps "Build number" seven times in Settings -> About Phone to unlock Developer options (if they are off).
- Then, it switches onWireless debugging in System Settings and taps "Always allow"on the consent dialog asking to confirm the setting.
- Next, it opens "Pair device with pairing code" and scrapes the six-digit code and port shown on the screen.
- Now, it performs the pairing operation with itself (for more information, see the ADB self-pairing section).
Once paired, TZRat gains the following capabilities, with no further permission dialog displayed to the victim:
- Run shell commands as the shell user (UID 2000) and read the output back to the operator; this implicitly includes anything the shell can do by sending any ADB command.
- Tap exact screen coordinates via input tap through the shell session, a form of remote control that does not even need the Accessibility Services.
- Silently grant itself WRITE_SECURE_SETTINGS and then enable or disable its own Accessibility Services by writing protected settings. This allows TZRat to re-enable itself even if the victim turns it off.
- Turn on local ADB on port 5555 and pipe it to the attacker's server. The malware first flips the ADB daemon into an always-on mode on the fixed port 5555. This means that the daemon keeps listening even in cases when wireless debugging would normally turn off, such as joining a different Wi-Fi, rebooting the phone, or the victim switching it off manually. TZRat then relays the local ADB connection over its C&C channel so that the operator can hold a live developer session on the compromised device. While the random wireless-debugging port dies with every setting change, port 5555 doesn't, meaning that the ADB tunnel can always stay enabled for the operators.
- Stream the device screen via scrcpy (see the Screen mirroring using scrcpy section).
As shown in Figure 4, if TZRat successfully pairs with ADB, a new entry appears in Settings -> Developer options -> Wireless debugging -> Paired devices, named tz-admin@android. This name is hardcoded into the pairing key. TZRat is not the only malware using the wireless debugging self-pairing method; other malware families that use it include ToxicPanda 2.0, RatHat, THost9, and RedHook.
ADB self-pairing
To be able to abuse ADB, TZRat pairs the compromised device with itself. Normally, using ADB wireless debugging should involve two devices. One is a phone, using a small built-in system (in this case the ADB daemon) that waits for a partner to connect. The other is supposed to be a developer computer running the official ADB tool, which connects to the phone over Wi-Fi. For the pairing to proceed, a code that displays on the phone’s screen needs to be input into the computer.
TZRat collapses both roles into one device, playing the part of the developer's computer from inside the compromised phone. It connects to the phone's own waiting ADB daemon through an internal network channel (the same loopback channel an outside computer would use over Wi-Fi, just without leaving the device), and it "types in" the six-digit code by reading the code on the screen, using Accessibility Services.
To verify the code, the official pairing procedure uses a cryptographic protocol called SPAKE2, handled by the computer side. TZRat does the verification using a legitimate helper library named libspake2.so bundled inside the malware.
Once the pairing is successful, a trusted "computer" named tz-admin@android appears in Settings under Wireless debugging - Paired devices, already shown in Figure 4. From that point on, the phone treats TZRat's commands as trusted developer commands, and the operator's C&C server simply rides along that already-trusted channel.
Screen mirroring using scrcpy
Pairing the compromised device with itself using ADB enables the threat actors to unlock an even better way to watch the victim’s screen – stream it via the scrcpy tool: an open-source tool for mirroring and controlling an Android device from a computer.
The ADB pairing provides the operators with a developer’s shell that scrcpy needs in order to work. TZRat, which already comes bundled with scrcpy, unpacks the tool to the phone's temp directory, and launches it through its ADB session as the shell user. The scrcpy server then encodes the screen as a video stream and feeds it to TZRat over a local socket, relaying to the operators a live screen broadcast of everything the victim does on the phone.
Ordinarily, an Android app can only capture the screen via the MediaProjection API. To prevent misuse, Android requires the user to agree to screen mirroring via a consent dialog, and then displays a screen-recording indicator in the status bar while the stream is on. However, using scrcpy running as the shell user allows the operators to bypass both the consent dialog and the notification icon, hiding the process entirely.
While scrcpy also allows the operator to control the device, in the observed sample it is configured for mirroring only; the trojan already uses Accessibility Services for control. Since scrcpy only works if the wireless debugging pairing succeeds, in cases when it fails, TZRat uses the app-level MediaProjection stream as a fallback.
Different Android malware, RatHat, used a similar tool called minicap to stream the victim’s screen. However, minicap is an older tool that does not support Android 14 and above, which scrcpy does.
Other capabilities
TZRat uses a hardcoded C&C server (https://v3.p9a[.]xyz) for device registration and subsequently communicates via a websocket channel, with no additional encryption in place.
The malware can receive over 100 commands from the websocket, such as:
- take pictures using the camera,
- record via the microphone,
- track location,
- capture the device screen,
- keylog user input,
- capture the lockscreen passcode, and
- control the device by executing received ADB commands.
The full list of commands is available in Appendix A.
Credential stealing
TZRat employs several ways of harvesting credentials. By abusing Accessibility Services, it can capture text from any app. The malware then classifies password fields by hint or view-id keywords across 25 languages, and attaches either browser URL-bar text, or the app name to each of the stolen passwords. Apart from app passwords, the trojan also gathers passcodes used for unlocking the compromised device, such as a 3x3 unlock-pattern, or the PIN, which is captured from the System UI keypads. The stolen data is then stored locally in a keylog database named tz_keylog.db (see Figure 5) and exfiltrated to the C&C server (Figure 6).
Other methods of credential theft include phishing overlays where operators open a custom phishing website in WebView, and screen mirroring via either the scrcpy tool or the MediaProjection API.
Persistence
To prevent uninstallation, TZRat has a couple of tricks up its sleeve, mainly involving the misuse of Accessibility Services. After initial launch, the malware enables device administrator rights, making it so that the malicious app cannot be uninstalled without first disabling this setting. However, should a user try to do that, TZRat uses Accessibility Services to automatically click back from the menu option. The trojan also deploys these services to click Cancel on uninstall dialogs and triggers the Home button to interrupt the uninstallation process.
Additionally, TZRat is able to play a silent audio file stored in its resources (res/raw/ka_silence.wav) on a loop at 1% volume, just so that the system classifies the app as “actively playing media” and does not attempt to turn it off.
Connections to DarkSword
As part of our research, we examined TZRat’s C&C server at v3.p9a[.]xyz, which contained the operators’ admin panel (Figure 7).
We also looked at one of the C&C server’s subdomains, v5.p9a[.]xyz, which resulted in an interesting discovery. As reported by Censys, the IP address it resolved to, 38.22.89[.]117, hosted a DarkSword admin panel on July 30, 2026. DarkSword is an iOS exploit chain targeting devices running iOS versions between 18.4 and 18.7. It is currently being used by several threat actor groups.
Using Censys, we found 12 TZRat admin panels altogether, six of them resolving to the aforementioned IP address, with dates ranging from June 1 to August 7, 2026. Based on urlscan.io, the IP address hosted the DarkSword admin panel at least until August 4. It is notable that DarkSword and TZRat admin panels had been hosted on the same IP address, albeit on different ports. However, we haven’t found any solid proof of connection between the two. Also, the TZRat samples only ever pointed to the first C&C server we discovered, not to any of the remaining 11.
Conclusion
TZRat shows how far Android spyware has come, especially considering that it’s not a proof of concept, but malware used in the wild: it grants its own permissions, steals lock-screen passwords, unlocks the compromised device remotely, and fights every attempt at its removal. The trojan’s nastiest trick is silently pairing itself to the phone’s developer channel – bypassing the normal permission system entirely – and then dropping scrcpy for a secret live video feed of victim’s screen.
For any inquiries about our research published on WeLiveSecurity, please contact us at threatintel@eset.com. ESET Research offers private APT intelligence reports and data feeds. For any inquiries about this service, visit the ESET Threat Intelligence page.
For any inquiries about our research published on WeLiveSecurity, please contact us at threatintel@eset.com.
ESET Research offers private APT intelligence reports and data feeds. For any inquiries about this service, visit the ESET Threat Intelligence page.
IoCs
A comprehensive list of indicators of compromise (IoCs) and samples can be found in our GitHub repository.
Files
Network
MITRE ATT&CK techniques
This table was built using version 20 of the MITRE ATT&CK framework.












