# RedHook Android RAT: A new step in Android device hijacking techniques

## Campaign Summary

A report from Group-IB Threat Intelligence published on July 9, 2026 confirms the re-emergence of RedHook malware — a remote access Trojan (RAT) on Android with breakthrough improvements in privilege escalation techniques. Instead of exploiting complex zero-day vulnerabilities, RedHook automatically abuses the wireless debugging feature (Wireless ADB) available on Android combined with the open source Shizuku framework to hijack the shell (uid 2000) on the victim device.

This campaign tends to shift its target from Vietnam to Indonesia, targeting customers of financial applications and public services. Attackers use websites impersonating government services to trick victims into downloading malicious APK files stored directly on AWS S3 and GitHub to avoid common URL filtering mechanisms.

## History and Development of RedHook

RedHook malware is not a completely new threat but is the result of a continuous technological evolution from previous financial attack campaigns.

### Starting phase (July 2025)

RedHook was first publicly documented by security researchers from the company Cyble in July 2025. During this period, the malware operated as a regular Android Banking Trojan. Its central target is users in the Vietnamese market. Attackers distribute malicious code through websites impersonating Vietnamese government agencies (such as the General Department of Taxation) or large financial institutions, luring victims into downloading APK installation files directly (sideloading).

Technically, early versions of RedHook relied entirely on abusing Accessibility Service permissions to:

1.  Collect sensitive information via Keylogging.
    
2.  Read SMS messages to steal OTP codes.
    
3.  Perform an Overlay attack by displaying fake login pages over legitimate banking applications to steal authentication information.
    
4.  Stealing the pin code or pattern to unlock the screen.
    

### Upgrade infrastructure and expand scale (Late 2025 - Early 2026)

By the end of 2025, the RedHook malware began to undergo a major upgrade in its control structure. Analysts discovered the malware has migrated from the traditional HTTP protocol to the real-time WebSocket protocol, allowing attackers to set up screen streaming and respond to remote control commands (C2 commands) with almost no latency.

At the same time, the campaign's goals are no longer limited to Vietnam. Localized variants of Bahasa Indonesia began appearing in the first quarter of 2026, indicating intent to expand the attack reach to other dynamic financial markets in the Southeast Asia region.

### Breakthrough upgraded version (July 2026)

The latest version of RedHook recorded in mid-2026 shows a technical leap forward through the integration of Wireless ADB system debugging and the Shizuku open source framework. This combination marks the transition from a conventional banking RAT based on Accessibility Service to a malware that controls the device at the system shell level (uid 2000), opening up the possibility of completely bypassing Android's protection mechanisms.

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/5668491e-5843-43f9-a604-596f41e7f1a4.png align="center")

## Event timeline

RedHook was first noted by Cyble researchers in July 2025 as a banking malware targeting the Vietnamese market. Below is the development process and major milestones of this malware:

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p><strong>Timeline / Date</strong></p></td><td colspan="1" rowspan="1"><p><strong>Event</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>07/2025</strong></p></td><td colspan="1" rowspan="1"><p>Cyble detected the first variant of RedHook targeting banking applications in Vietnam.</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>12/2025</strong></p></td><td colspan="1" rowspan="1"><p>The malware upgraded its C2 infrastructure, adding a real-time WebSocket communication mechanism.</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Q1/2026</strong></p></td><td colspan="1" rowspan="1"><p>Malicious samples targeting users in Indonesia began to appear with localized phishing interfaces.</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>07/2026</strong></p></td><td colspan="1" rowspan="1"><p>Group-IB published a detailed analysis report on the techniques of abusing Wireless ADB and integrating Shizuku.</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>07/2026</strong></p></td><td colspan="1" rowspan="1"><p>FPT IS SOC recorded attempts to distribute malicious files using GitHub repositories and AWS S3.</p></td></tr></tbody></table>

## Chain of Contamination and Social Engineering

Attackers use lure calls or messages via OTT applications (such as Zalo, Telegram) impersonating technical support staff or government agencies. Victims are instructed to visit phishing websites with an interface similar to the Google Play Store to download fake public service applications or security utilities.

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/b06db76a-95b7-4f86-aee0-bb59beca505f.png align="center")

Fake services and apk files are hosted by attackers on github

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/2ecb64c3-935a-4188-9a42-e06613a8bb84.png align="center")

The attacker designed the "PUBLIC SERVICE" Application to deceive users

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/239fe7d3-603a-4199-a594-d5410d6165c7.png align="center")

After the application is successfully installed, the malware displays phishing screens asking to enter account information, password and OTP code. The most important step is to trick the user into granting Accessibility Service permission through an intuitive wizard interface. This permission is a springboard for malware to automate privilege escalation operations in the following steps.

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/a4586899-b86c-409e-b6e8-2019ba28b5bd.png align="center")

The infection chain will be executed according to the following model

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/94853804-afe1-4db5-a5ad-61f2db083fdc.png align="center")

## Technical Anatomy Escalating Privileges: Wireless ADB & Shizuku

A special feature of RedHook is the mechanism to automatically gain system-level control (shell privilege - uid 2000) without needing to root the device or physically connect to the computer via USB cable.

### Automatically enable Wireless ADB via Accessibility

After having Accessibility Service permission, RedHook will run a series of actions to simulate the user's gestures in the Settings section of the operating system:

1.  Click Build Number 7 times continuously to activate Developer Options.
    
2.  Go to Developer Options and find the Wireless Debugging section.
    
3.  Enable the Wireless Debugging feature and tap the Pair device with pairing code option.
    
4.  Directly read the system interface to extract the pairing code and random connection port.
    

During this process, the malware often displays a full-screen overlay to cover the victim's eyes, making all configuration operations take place completely anonymously in the background.

### Set up self-hosting mechanism through Shizuku

Typically, the ADB debugging tool requires a computer to act as a client to send commands to the daemon (adbd) running on the phone. Shizuku solved this problem by taking advantage of local network connections. RedHook has a built-in native ADB client library.

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/ac077f2d-0a4f-408a-81e2-ada48942bcc8.png align="center")

Once the pairing code is present, the malware connects itself to the device's own adbd port via the loopback interface (127.0.0.1). As soon as the connection is successful, it sends a command to launch a privileged server process named libmx.so under the authority of the shell system user (uid 2000).

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/7243730f-bd07-4116-8a18-44ab80d140ca.png align="center")

Through Binder IPC (Inter-Process Communication), the RAT application communicates directly with the libmx.so process to execute privileged tasks:

1.  Automatically grant dangerous runtime permissions without displaying a system confirmation dialog.
    
2.  Execute arbitrary shell commands directly with uid 2000 privileges.
    
3.  Capture low-level touch events of the system.
    
4.  Override configuration in Settings.Secure via WRITE\_SECURE\_SETTINGS permission.
    

![](https://cdn.hashnode.com/uploads/covers/6777abffdb647396c7d71de4/c9983ba0-4db7-4eb2-8655-b7cd7a19191e.png align="center")

The malicious code also contains individual optimization codes for each ROM of major OEMs such as Google, Huawei, Meizu, Oppo, Samsung, Vivo and Xiaomi to automatically enable Wireless ADB depending on the Settings structure of each model.

## Analyzing the Persistence Stack

To avoid having Android's battery optimization and memory management mechanisms disabled when the device enters an idle state, RedHook builds an extremely resilient presence:

1.  1x1 pixel hidden screen (One-pixel Activity): When detecting that the device screen is off, the malicious code launches an almost invisible 1x1 pixel Activity. This mechanism forces Android to identify the application running in the foreground process, preventing the process from being released.
    
2.  Play Silent Audio: The RAT continuously runs a service that plays silent audio through the MediaSession class. Music playback progress is always kept in memory with priority.
    
3.  WakeLock: Keeps the device's CPU running continuously, not entering a deep sleep state.
    
4.  Cross-process Mutual Resurrection: RedHook splits the source code into two separate service processes. These two processes are linked together using the bindService() function with the BIND\_AUTO\_CREATE flag. When a process is killed by the system or antivirus software, the remaining process detects it through the onServiceDisconnected() event and immediately relaunches the other process.
    
5.  Alarm Manager: Set up a periodic check event every 5 minutes to wake up and restore services if both processes are interrupted at the same time.
    
6.  OOM Score Adjustment: The malware attempts to write the lowest priority value -1000 to the system configuration file /proc//oom\_score\_adj. This is the value that exempts the process from Android's RAM release filter (Out-Of-Memory killer).
    
7.  mlock() and Memory Pinning: Use the mlock() system call to pin an allocated physical RAM memory area, prevent the operating system from putting this memory area into swap memory on the disk, and periodically overwrite data on this memory area to signal an active process.
    

## C2 Control Infrastructure and Monitoring Capabilities

The malware uses the encrypted WebSocket protocol to maintain a real-time two-way communication channel with the control server (C2). Data stolen from the device (passwords, contacts, SMS messages) is sent through specific Rest API endpoints.

### Endpoints transmit data

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p><strong>Endpoint</strong></p></td><td colspan="1" rowspan="1"><p><strong>Purpose</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p><code>/auth/login</code></p></td><td colspan="1" rowspan="1"><p>Send initial login credentials collected from the victim.</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>/file/upload</code></p></td><td colspan="1" rowspan="1"><p>Upload screenshots to the C2 server.</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>/member/info/addDevice</code></p></td><td colspan="1" rowspan="1"><p>Update detailed information about the device's hardware configuration.</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>/member/info/addDevicePassword</code></p></td><td colspan="1" rowspan="1"><p>Upload collected screen unlock passwords/PINs.</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>/member/info/addsKeyboardInput</code></p></td><td colspan="1" rowspan="1"><p>Send keylogger data collected from keyboard inputs.</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>/member/info/addMessage</code></p></td><td colspan="1" rowspan="1"><p>Exfiltrate SMS data (to capture transaction OTP codes).</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>/member/identity_verification/saveSecurityCode</code></p></td><td colspan="1" rowspan="1"><p>Collect security verification codes manually entered by the user.</p></td></tr></tbody></table>

### Parallel Screen Streaming mechanism

Typically, Android apps use the MediaProjection API to stream the screen, which requires displaying a dialog box that alerts the user.

However, upon obtaining the uid 2000 shell privilege from Shizuku, RedHook launches a second parallel stream via the RTMP protocol. This stream reads data directly from the system's framebuffer at a low-level, allowing the attacker to monitor the victim's screen in real time without triggering any warning dialog or screen recording icon in the status bar.

### Statistics of command table C2

The malicious code supports up to 53 remote control commands structured with specific numbers sent via WebSocket. Here are the notable commands:

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p><strong>Command Code</strong></p></td><td colspan="1" rowspan="1"><p><strong>Technical Description</strong></p></td></tr><tr><td colspan="1" rowspan="1"><p>10002</p></td><td colspan="1" rowspan="1"><p>Simulate screen swipe gesture.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10003</p></td><td colspan="1" rowspan="1"><p>Simulate a click at a specific coordinate.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10004</p></td><td colspan="1" rowspan="1"><p>Create a fake screen overlay.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10007</p></td><td colspan="1" rowspan="1"><p>Retrieve the list of all installed applications on the device.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10008</p></td><td colspan="1" rowspan="1"><p>Retrieve the entire SMS message history.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10010</p></td><td colspan="1" rowspan="1"><p>Download and silently install a new APK file (via shell permissions).</p></td></tr><tr><td colspan="1" rowspan="1"><p>10011</p></td><td colspan="1" rowspan="1"><p>Uninstall a specified application.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10020 / 10021</p></td><td colspan="1" rowspan="1"><p>Lock and unlock the device screen.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10023</p></td><td colspan="1" rowspan="1"><p>Display a fake facial authentication screen and auto-activate the front camera to capture a portrait photo (to bypass banking apps' eKYC mechanisms).</p></td></tr><tr><td colspan="1" rowspan="1"><p>10028</p></td><td colspan="1" rowspan="1"><p>Disable the system's Accessibility feature.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10047</p></td><td colspan="1" rowspan="1"><p>Activate the anti-uninstall mechanism.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10050 / 10051</p></td><td colspan="1" rowspan="1"><p>Configure and establish a wireless ADB connection.</p></td></tr><tr><td colspan="1" rowspan="1"><p>10054</p></td><td colspan="1" rowspan="1"><p>Automatically grant a series of sensitive permissions to the malware.</p></td></tr><tr><td colspan="1" rowspan="1"><p>99999</p></td><td colspan="1" rowspan="1"><p>Remove the malicious <code>mx_server</code> helper library from the system to erase traces.</p></td></tr></tbody></table>

## Expert Comments

RedHook's Wireless ADB and Shizuku abuse techniques represent a new development in mobile malware in Southeast Asia. Previously, banking malware mainly depended on Accessibility permission to execute overlay attacks or steal OTPs. The switch to exploiting the Wireless ADB feature shows that attackers have found an optimal way to gain system privileges (shell privilege) without needing to jailbreak the device (root) or exploit OS vulnerabilities. This type of Zero-Exploit Privilege Escalation attack is extremely dangerous because it completely uses legitimate features of the operating system.

The shift in targets and expansion of operating areas from Vietnam to neighboring countries such as Indonesia shows that this malware operating group is operating according to a professional model, continuously optimizing distribution infrastructure (using GitHub, AWS S3 to hide malicious traffic) and localized phishing interface. Financial institutions in Vietnam need to immediately update the identifying signs of this malware variant into the transaction monitoring system.

## Defensive recommendation

### For financial institutions and banks

*   Immediate (0-24h): Update the list of detected network IOCs and malicious application package names to the organization's Threat Intelligence system.
    
*   Short-term (1-7 days): Deploy or upgrade user session monitoring solutions (such as Fraud Protection/RASP) capable of detecting devices running ADB debug processes or the presence of the Shizuku framework in the application runtime environment.
    
*   Long-term: Integrates overlay detection mechanism and checks the integrity of the application running environment (Device Attestation API) before allowing sensitive transactions.
    

### For personal use

*   Immediate (0-24h): Go to Settings -> Developer Options and completely turn off Wireless Debugging as well as USB Debugging. If there is no need for application development, turn off Developer Options completely.
    
*   Short-term (1-7 days): Check the list of applications that have granted Accessibility Service permission in the Settings section. Disable this permission for all unfamiliar applications, especially applications installed from APK files downloaded from the Google Play Store.
    
*   Long-term: Only install applications from official sources. Be wary of any requests for instructions on installing banking or public service applications from unknown phone numbers or OTT messages.
    

## IOC

### **File Hash (SHA-256)**

*   453333bffdd1850ea2e0647f7c805530b578919978a01b1e2be52d6eb2add946
    

### **Network indicators**

*   api.3n7wj\[.\]com
    
*   skt.3n7wj\[.\]com
    
*   sktv.3n7wj\[.\]com
    
*   hxxps://api.3n7wj\[.\]com
    
*   wss://skt.3n7wj\[.\]com
    
*   wss://sktv.3n7wj\[.\]com
    

## Reference

[RedHook Returns with a Dangerous Upgrade | Group-IB Blog](https://www.group-ib.com/blog/redhook-android-rat-upgraded/)

[RedHook Returns with a Dangerous Upgrade - Live Threat Intelligence - Threat Radar |](https://radar.offseq.com/threat/redhook-returns-with-a-dangerous-upgrade-119a82cbe7f78ba9) [OffSeq.com](http://OffSeq.com)

[RedHook Android RAT Abuses ADB Wireless Debugging to Gain Shell-Level Access](https://cybersecuritynews.com/redhook-android-rat-abuses-adb-wireless-debugging/#google_vignette)

[RedHook Android malware now uses Wireless ADB for shell access](https://www.bleepingcomputer.com/news/security/redhook-android-malware-now-uses-wireless-adb-for-shell-access/)
