Saturday, May 18, 2024

Man-in-the-Disk Attack Shows How External Storage by App Opens An Android Phone To Serious Attacks

The Man-in-the-Disk Attack open’s a new attack surface that would allow an attacker to replace, or to manipulate the data that stored on the External Storage.

These attacks are possible when app use External Storage without performing proper validations. Man-in-the-Disk allows an attacker to perform a silent installation of malicious apps to the user’s phone, DoS attack over legitimate apps, code injection and it also cause applications to crash.

Check Point security Slava Makkaveev presented the DefCon security conference Sunday. “We have witnessed cases where an app was downloaded, updated or received data from the app provider’s server, which passed through the External Storage before being sent on to the app itself allows attackers to manipulate the data held in the External Storage before the app reads it again.”

Storage Types

With the Android OS, there are of two types of storage resources the Internal and the External storage.

Internal Storage

The internal storage by default stores the internal app data which is properly organized and segregated the file system for each app and once the user uninstalls the apps the data will be removed.

External storage

The external space mostly the SD cards, it doesn’t have Android built-in Sandbox protection and the resource is shared across all the applications. The Android application developers documentation provides guidelines on how the external storage for apps to be managed. If the guidelines not followed it leads to Man-in-the-Disk Attack.

Man-in-the-Disk Attack Flow

Attackers convince the user to install a legitimate app that contains attackers script which in turn asks user permission for external storage, once the user granted permission the attacker monitor the data transfer between the user device and external storage.

By having the access to the data transfer attackers can overwrite the data, intercept traffic and even cause the application to crash. Attackers can even inject the code’s to escalate the privileges to access the camera, microphone, contacts, Gallery and other parts.


Slava Makkaveev tested the new attack surface with following applications Google Translate, Yandex Translate, Google Voice Typing, Google Text-to-Speech, Xiaomi Browser and other applications.

With the apps, Google Translate, Yandex Translate, and Google Voice Typing researchers failed to the valid integrity of the data that leads to application crash.

In the Xiaomi Browser app, the attack result’s in installing an alternative application instead of the legitimate update.

While it is clear that these design shortcomings leave Android users potentially vulnerable to cyber threats, app developers should follow the Android’s developers guidelines and to build the app by having security in mind says Slava Makkaveev.

Checkpoint published a blog post with Technical details on how Android Apps Exposed via External Storage.

Also Read

Most Important Android Application Penetration Testing Checklist

Mobile Security Testing to Protect Your Applications From Cyber Threats

Most Important Android Security Penetration Testing Tools for Hackers & Security Professionals


Latest articles

Norway Recommends Replacing SSLVPN/WebVPN to Stop Cyber Attacks

A very important message from the Norwegian National Cyber Security Centre (NCSC) says that...

New Linux Backdoor Attacking Linux Users Via Installation Packages

Linux is widely used in numerous servers, cloud infrastructure, and Internet of Things devices,...

ViperSoftX Malware Uses Deep Learning Model To Execute Commands

ViperSoftX malware, known for stealing cryptocurrency information, now leverages Tesseract, an open-source OCR engine,...

Santander Data Breach: Hackers Accessed Company Database

Santander has confirmed that there was a major data breach that affected its workers...

U.S. Govt Announces Rewards up to $5 Million for North Korean IT Workers

The U.S. government has offered a prize of up to $5 million for information...

Russian APT Hackers Attacking Critical Infrastructure

Russia leverages a mix of state-backed Advanced Persistent Threat (APT) groups and financially motivated...

Millions Of IoT Devices Vulnerable To Attacks Leads To Full Takeover

Researchers discovered four significant vulnerabilities in the ThroughTek Kalay Platform, which powers 100 million...
Guru baran
Guru baran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Free Webinar

Live API Attack Simulation

94% of organizations experience security problems in production APIs, and one in five suffers a data breach. As a result, cyber-attacks on APIs increased from 35% in 2022 to 46% in 2023, and this trend continues to rise.
Key takeaways include:

  • An exploit of OWASP API Top 10 vulnerability
  • A brute force ATO (Account Takeover) attack on API
  • A DDoS attack on an API
  • Positive security model automation to prevent API attacks

Related Articles