Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Mobile & Wireless

Many Android Devices Ship with ADB Enabled

Many vendors ship Android devices with the Android Debug Bridge (ADB) feature enabled, thus rendering them exposed to various attacks, security researcher Kevin Beaumont has discovered.

Many vendors ship Android devices with the Android Debug Bridge (ADB) feature enabled, thus rendering them exposed to various attacks, security researcher Kevin Beaumont has discovered.

ADB is a feature meant to provide developers with the ability to easily communicate with devices remotely, to execute commands and fully control the device. Because it doesn’t require authentication, ADB allows anyone to connect to a device, install apps and execute commands.

In theory, the device should be first connected via USB to enable ADB, but Beaumont has discovered that some vendors ship Android devices with the feature enabled right from the start. The Debug Bridge listens on port 5555, and anyone can connect to the device over the Internet.

“During research for this article, we’ve found everything from tankers in the US to DVRs in Hong Kong to mobile telephones in South Korea. As an example, a specific Android TV device was also found to ship in this condition,” the security researcher notes.

This is clearly a major issue, as anyone can remotely access devices with ADB enabled and, without any password but with root privileges, can silently install software and execute malicious functions.

The issue is not related to ADB itself, as it wasn’t designed to be deployed in this manner, but with devices having the feature enabled. Furthermore, root access should not be available in non-development builds, but this can be bypassed on some devices, not to mention that some users enabled root on their own.

To make matters worse, the security researcher also discovered a worm taking advantage of this security slip and attempting to infect devices via ADB.

Starting February 1, there was a massive increase in scans for TCP port 5555 (the Android Debug Bridge port), with “nearly ten thousand unique IP addresses scanning in any 24 hour window.” There are over a hundred thousand IP addresses scanning each 30 days, but the security researcher couldn’t determine the exact number of infected devices.

Advertisement. Scroll to continue reading.

“These devices are currently being used for cryptocurrency mining, where computing resources is misused without the owner’s permission to generate profits for criminals,” Beaumont notes.

Qihoo 360’s Netlab issued a warning on the matter on February 4, but the problem continued to grow, mostly in Asia.

Analysis of the worm revealed it is spreading using a modified version of Mirai’s code, leveraging the official Android ADB tools. It lacks a command and control (C&C) server and moves peer-to-peer via port 5555. Because of various bugs in its code, the malware only works on certain types of devices.

The issue, however, is larger than a simple botnet abusing devices for cryptocurrency mining. The fact that the impacted devices ship misconfigured is the actual problem, especially with some of them used in corporate environments.

“If somebody wanted to, they could run something other than cryptocurrency mining — which could develop into a serious issue,” Beaumont points out.

Searching for devices listening to port 5555 and filtering the results using Metasploit’s module adb_server_exec, the researcher discovered over 80,000 devices residing in China alone.

“It’s very clear through digging through data and feeds that a huge number of misconfigured devices exist, hence all the scanning for port 5555,” the researcher notes.

According to Beaumont, vendors should make sure they do not ship products with ADB enabled over a network, especially on devices designed to stay connected to the Internet, as these devices remain exposed and can be misused, while also placing users in harm’s way. Vendors are also advised to release updates to correct the issue.

Related: Crypto-mining Botnet Targets Android Devices

Related: New Monero-Mining Android Malware Discovered

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

Vulnerabilities

The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.