[Paper Review] Beware of the App! On the Vulnerability Surface of Smart Devices through their Companion Apps
This paper proposes analyzing companion mobile apps as a practical method to uncover security vulnerabilities in IoT devices, leveraging static and dynamic analysis to expose weak or hardcoded encryption in device-app communication. The key finding is that 50% of analyzed apps for 38% of devices lacked proper encryption, enabling remote exploitation of five popular Amazon IoT devices.
Internet of Things (IoT) devices are becoming increasingly important. These devices are often resource-limited, hindering rigorous enforcement of security policies. Assessing the vulnerability of IoT devices is an important problem, but analyzing their firmware is difficult for a variety of reasons, including requiring the purchase of devices. This paper finds that analyzing companion apps to these devices for clues to security vulnerabilities can be an effective strategy. Compared to device hardware and firmware, these apps are easy to download and analyze. A key finding of this study is that the communication between an IoT device and its app is often not properly encrypted and authenticated and these issues enable the construction of exploits to remotely control the devices. To confirm the vulnerabilities found, we created exploits against five popular IoT devices from Amazon by using a combination of static and dynamic analyses. We also did a larger study, finding that analyzing 96 popular IoT devices only required analyzing 32 companion apps. Among the conservative findings, 50% of the apps corresponding to 38% of the devices did not use proper encryption techniques to secure device to companion app communication. Finally, we discuss defense strategies that developers can adapt to address the lessons from our work.
Motivation & Objective
- To investigate whether companion apps can serve as a viable entry point for identifying security vulnerabilities in resource-constrained IoT devices.
- To assess the security of communication between IoT devices and their companion apps, focusing on encryption, authentication, and protocol design.
- To develop and validate proof-of-concept exploits based on flaws discovered in companion app analysis.
- To evaluate the scalability and effectiveness of app-based vulnerability discovery across a broad set of popular IoT devices.
- To provide actionable defense strategies for developers to harden companion app and device communication security.
Proposed method
- Conducted static and dynamic analysis on 32 companion apps for 96 popular IoT devices, primarily from Amazon.
- Used reverse engineering and network monitoring to extract cryptographic parameters, including hardcoded keys and encryption modes.
- Developed proof-of-concept exploits by leveraging unauthenticated or weakly encrypted communication channels between apps and devices.
- Evaluated communication protocols, including cloud-based and local network (e.g., Bluetooth, Wi-Fi) interactions, for security flaws.
- Performed a large-scale study across 96 devices to assess the prevalence of insecure practices in companion apps.
- Validated findings by successfully compromising five devices, including a TP-Link smart plug, via spoofing attacks based on shared hardcoded keys.
Experimental results
Research questions
- RQ1Can companion apps reveal critical vulnerabilities in IoT devices that are otherwise difficult to detect through firmware analysis?
- RQ2To what extent do companion apps implement proper encryption and authentication in device-to-app communication?
- RQ3How prevalent are hardcoded encryption keys and weak cryptographic practices in popular IoT companion apps?
- RQ4Can static and dynamic analysis of companion apps lead to practical remote or local exploits on IoT devices?
- RQ5What are the most common insecure communication patterns in companion apps, and how do they enable device compromise?
Key findings
- Among 32 companion apps analyzed, 50% corresponding to 38% of the 96 devices did not use proper encryption to secure device-to-app communication.
- 19% of the apps used hardcoded encryption keys, enabling attackers to impersonate devices or intercept communications.
- 31% of the apps used no cryptography at all to protect device-app communication, leaving them wide open to eavesdropping and replay attacks.
- 40–60% of the apps used local communication or broadcast mechanisms, creating attack surfaces where weak or missing encryption can be exploited.
- Proof-of-concept exploits were successfully developed against five popular IoT devices, including a TP-Link smart plug, by leveraging hardcoded keys and unauthenticated setup procedures.
- The study confirmed that companion app analysis is a scalable and effective method for identifying device-level vulnerabilities without requiring firmware access or reverse engineering of the device itself.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.