Skip to main content
QUICK REVIEW

[Paper Review] Timing Analysis of SSL/TLS Man in the Middle Attacks

Kevin Benton, Ty Bross|arXiv (Cornell University)|Aug 16, 2013
Internet Traffic Analysis and Secure E-votingComputer Science6 references4 citations
TL;DR

This paper proposes a timing-based detection method for SSL/TLS man-in-the-middle (MiTM) attacks by measuring the delay between the TLS ClientHello and server certificate transmission. It finds that MiTM tools like WebMiTM, Cain & Abel, and Ettercap introduce significant, measurable delays in certificate delivery—especially when generating certificates on-the-fly—enabling detection through abnormal timing patterns in the handshake process.

ABSTRACT

Man in the middle attacks are a significant threat to modern e-commerce and online communications, even when such transactions are protected by TLS. We intend to show that it is possible to detect man-in-the-middle attacks on SSL and TLS by detecting timing differences between a standard SSL session and an attack we created.

Motivation & Objective

  • To detect SSL/TLS man-in-the-middle attacks by analyzing timing anomalies in the TLS handshake process.
  • To investigate whether MiTM tools introduce measurable delays in certificate transmission compared to legitimate servers.
  • To evaluate the feasibility of using network timing as a passive detection mechanism for MiTM attacks.
  • To compare the timing behavior of legitimate TLS handshakes with those conducted by known MiTM tools.
  • To explore the generalizability of timing-based detection across diverse geographic and network conditions.

Proposed method

  • Measured the time between TCP connection establishment and receipt of the server certificate during TLS handshakes.
  • Calculated the round-trip time (RTT) baseline by averaging responses to multiple TCP SYN packets over five minutes.
  • Subtracted the estimated RTT from the certificate delivery time to isolate the server-side processing delay.
  • Collected 19 samples per website over five minutes to reduce jitter and improve statistical reliability.
  • Tested 40 websites across multiple geographic regions (US, India, UK, Europe, Japan) under both normal and MiTM conditions.
  • Used three widely known MiTM tools—WebMiTM, Cain & Abel, and Ettercap—to simulate attacks and compare timing profiles.

Experimental results

Research questions

  • RQ1Can timing differences in the TLS handshake be used to detect man-in-the-middle attacks?
  • RQ2Do MiTM tools introduce measurable delays in certificate delivery compared to legitimate servers?
  • RQ3How does the variance in RTT and certificate delivery time differ between normal and MiTM-affected connections?
  • RQ4Can timing-based detection remain effective across diverse geographic locations and network conditions?
  • RQ5Are there consistent timing fingerprints across different MiTM tools that can be used for detection?

Key findings

  • MiTM tools such as WebMiTM, Cain & Abel, and Ettercap introduced significant delays in certificate delivery, primarily due to on-the-fly certificate generation.
  • The delay between the ClientHello and certificate transmission was substantially longer under MiTM conditions compared to legitimate handshakes.
  • The RTT variance across different geographic locations was significantly reduced when using MiTM tools, as they accepted TCP connections immediately.
  • The average certificate delivery delay increased by up to 300ms in MiTM scenarios, with some tools showing delays exceeding 500ms.
  • The timing pattern was consistent across multiple tools, indicating a common behavioral fingerprint in MiTM attack tools.
  • Non-timing methods, such as detecting known MiTM tool behaviors, also provided reliable detection, especially when combined with timing analysis.

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.