[Paper Review] MITHYS: Mind The Hand You Shake - Protecting mobile devices from SSL usage vulnerabilities
MITHYS is a platform-independent system that detects and protects mobile applications from SSL-based man-in-the-middle (MITM) attacks by validating TLS handshakes at the application level. It operates without OS modifications or special permissions, reducing risk in vulnerable apps like PayPal and Facebook through runtime monitoring and certificate validation, with a measurable but acceptable average overhead of ~5 seconds.
Recent studies have shown that a significant number of mobile applications, often handling sensitive data such as bank accounts and login credentials, suffers from SSL vulnerabilities. Most of the time, these vulnerabilities are due to improper use of the SSL protocol (in particular, in its \emph{handshake} phase), resulting in applications exposed to man-in-the-middle attacks. In this paper, we present MITHYS, a system able to: (i) detect applications vulnerable to man-in-the-middle attacks, and (ii) protect them against these attacks. We demonstrate the feasibility of our proposal by means of a prototype implementation in Android, named MITHYSApp. A thorough set of experiments assesses the validity of our solution in detecting and protecting mobile applications from man-in-the-middle attacks, without introducing significant overheads. Finally, MITHYSApp does not require any special permissions nor OS modifications, as it operates at the application level. These features make MITHYSApp immediately deployable on a large user base.
Motivation & Objective
- To address the widespread vulnerability of mobile applications to SSL/TLS-based man-in-the-middle (MITM) attacks due to improper handshake implementation.
- To provide an application-level solution that detects vulnerable apps without requiring OS-level access or special permissions.
- To protect users from data exfiltration in untrusted Wi-Fi environments by enforcing proper certificate validation.
- To offer developers a tool for testing their apps' resilience against MITM attacks.
- To minimize performance overhead while maintaining strong security guarantees in real-world deployment.
Proposed method
- MITHYS operates at the application layer using a proxy-based interception of TLS handshakes to inspect and validate certificate chains.
- It leverages Android's logcat to precisely time login/logout operations and detect anomalies in network behavior.
- The system performs runtime analysis of SSL/TLS handshake sequences to detect missing or weak certificate validation checks.
- It implements a certificate validation module that enforces strict checks on server certificates, rejecting untrusted or self-signed ones.
- MITHYSApp, the Android prototype, integrates with existing apps without code changes, using standard Android APIs for network monitoring.
- The system includes user controls to block or warn on detection of vulnerable applications.
Experimental results
Research questions
- RQ1Can a lightweight, application-level system detect SSL/TLS vulnerabilities in mobile apps that lead to MITM attacks?
- RQ2Can such a system protect users from MITM attacks in real time without requiring OS modifications or elevated permissions?
- RQ3What is the performance overhead introduced by runtime SSL validation and monitoring in real-world mobile applications?
- RQ4How effective is the system in detecting known vulnerabilities in widely used apps like PayPal and Facebook?
- RQ5Can the system be extended to other mobile platforms beyond Android?
Key findings
- MITHYSApp successfully detects SSL-based MITM vulnerabilities in mobile applications by analyzing TLS handshake behavior and certificate validation practices.
- The system introduces an average performance overhead of approximately five seconds per login/logout operation, which is consistent across different applications.
- For Facebook, the login delay increased by about 55%, and logout by 33%, due to additional network checks and validation.
- The performance overhead is considered acceptable by users, especially given the protection it provides against data theft in public Wi-Fi networks.
- The authors estimate that optimization—particularly through certificate caching—could reduce the average delay to two or three seconds.
- MITHYSApp operates without OS modifications or special permissions, enabling immediate deployment on a large user base.
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.