Skip to main content
QUICK REVIEW

[Paper Review] Shattered Trust: When Replacement Smartphone Components Attack

Omer Shwartz, Amir Cohen|arXiv (Cornell University)|May 13, 2018
Advanced Malware Detection TechniquesComputer Science10 references3 citations
TL;DR

This paper demonstrates that malicious replacement smartphone components—particularly touchscreens—can exploit trust in device drivers to launch hardware-based attacks, including touch injection and buffer overflow, enabling full device compromise without software traces. The key contribution is a practical, low-cost attack chain using a microcontroller to manipulate I2C communication, bypassing standard security controls and evading detection by antivirus and firmware updates.

ABSTRACT

Phone touchscreens, and other similar hardware components such as orientation sensors, wireless charging controllers, and NFC readers, are often produced by third-party manufacturers and not by the phone vendors themselves. Third-party driver source code to support these components is integrated into the vendor's source code. In contrast to 'pluggable' drivers, such as USB or network drivers, the component driver's source code implicitly assumes that the component hardware is authentic and trustworthy. As a result of this trust, very few integrity checks are performed on the communications between the component and the device's main processor. In this paper, we call this trust into question, considering the fact that touchscreens are often shattered and then replaced with aftermarket components of questionable origin. We analyze the operation of a commonly used touchscreen controller. We construct two standalone attacks, based on malicious touchscreen hardware, that function as building blocks toward a full attack: a series of touch injection attacks that allow the touchscreen to impersonate the user and exfiltrate data, and a buffer overflow attack that lets the attacker execute privileged operations. Combining the two building blocks, we present and evaluate a series of end-to-end attacks that can severely compromise a stock Android phone with standard firmware. Our results make the case for a hardware-based physical countermeasure.

Motivation & Objective

  • To investigate the feasibility of hardware-based attacks via malicious replacement smartphone components, particularly touchscreens.
  • To analyze the trust model in smartphone device drivers that assume internal components are authentic and trustworthy.
  • To demonstrate practical attack vectors—touch injection and buffer overflow—using only a malicious touchscreen and a low-cost microcontroller.
  • To evaluate end-to-end attacks that fully compromise stock Android devices with standard firmware.
  • To advocate for hardware-based countermeasures, such as I2C interface proxy firewalls, to defend against such threats.

Proposed method

  • Reverse-engineered the communication protocol between a common touchscreen controller (Synaptics S3718) and the main processor over the I2C bus.
  • Designed and implemented a standalone microcontroller-based attack platform embedded in-line with the I2C communication path to intercept and manipulate data.
  • Developed two attack primitives: touch injection to simulate user input and buffer overflow to execute arbitrary code with elevated privileges.
  • Combined the two primitives into full end-to-end attacks that can install apps, exfiltrate data, and achieve persistent, fileless root access.
  • Evaluated the attacks on a real Android device using a controlled experimental setup with minimal hardware cost.
  • Proposed a hardware-based I2C proxy firewall as a lightweight, non-invasive countermeasure to monitor and block malicious component behavior.

Experimental results

Research questions

  • RQ1Can a malicious replacement touchscreen component exploit trust in device drivers to compromise a smartphone’s security?
  • RQ2How effective are touch injection and buffer overflow attacks when executed solely through a compromised internal peripheral?
  • RQ3To what extent can such attacks bypass traditional software-based detection mechanisms like antivirus and firmware updates?
  • RQ4What are the architectural and implementation flaws in current driver trust models that enable such attacks?
  • RQ5Can a low-cost, hardware-based solution like an I2C proxy firewall effectively mitigate these threats without requiring changes to the CPU or component firmware?

Key findings

  • A malicious touchscreen component can successfully impersonate user input via touch injection attacks, enabling actions such as app installation and data exfiltration.
  • A buffer overflow vulnerability in the device driver allowed the attacker to execute arbitrary code with elevated privileges, achieving full control over the device.
  • The attacks were implemented using only a low-cost microcontroller and were able to bypass standard security controls, including antivirus software and factory resets.
  • The attacks were undetectable by software-based mechanisms due to their fileless nature and execution entirely within the CPU’s trusted code space.
  • The researchers successfully disclosed the vulnerabilities to Google, which assigned CVE-2017-0650 with critical severity, confirming real-world exploitability.
  • The proposed I2C proxy firewall countermeasure was shown to be effective in detecting and blocking malicious component behavior without requiring changes to existing firmware or hardware.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.