Skip to main content
QUICK REVIEW

[Paper Review] Counting Down Thunder: Timing Attacks on Privacy in Payment Channel Networks

Elias Rohrer, Florian Tschorsch|arXiv (Cornell University)|Jun 22, 2020
Blockchain Technology Applications and SecurityComputer Science14 references5 citations
TL;DR

This paper demonstrates that timing side-channel attacks can deanonymize payment endpoints in the Lightning Network by measuring time differences in HTLC message exchanges. By deploying a proof-of-concept measurement node and simulating adversarial scenarios, the authors show that even a small number of strategically placed malicious nodes can deanonymize over 50% of payments with high precision and recall, undermining the network's privacy guarantees.

ABSTRACT

The Lightning Network is a scaling solution for Bitcoin that promises to enable rapid and private payment processing. In Lightning, multi-hop payments are secured by utilizing Hashed Time-Locked Contracts (HTLCs) and encrypted on the network layer by an onion routing scheme to avoid information leakage to intermediate nodes. In this work, we however show that the privacy guarantees of the Lightning Network may be subverted by an on-path adversary conducting timing attacks on the HTLC state negotiation messages. To this end, we provide estimators that enable an adversary to reduce the anonymity set and infer the likeliest payment endpoints. We developed a proof-of-concept measurement node that shows the feasibility of attaining time differences and evaluate the adversarial success in model-based network simulations. We find that controlling a small number malicious nodes is sufficient to observe a large share of all payments, emphasizing the relevance of the on-path adversary model. Moreover, we show that adversaries of different magnitudes could employ timing-based attacks to deanonymize payment endpoints with high precision and recall.

Motivation & Objective

  • To investigate whether timing side-channel information in HTLC message exchanges can be exploited to deanonymize payment endpoints in the Lightning Network.
  • To evaluate the feasibility of such attacks using real-world measurements and network simulations.
  • To develop and validate timing-based estimators that reduce the anonymity set of payment endpoints.
  • To assess the impact of adversarial node placement and scale on deanonymization success.
  • To compare the effectiveness of timing-based estimators against baseline methods like the First-Spy estimator.

Proposed method

  • The authors developed a proof-of-concept measurement node deployed on the Lightning Network testnet to collect time-difference measurements of HTLC message exchanges.
  • They introduced timing-based estimators that use time-difference data to rank candidate sender and receiver nodes based on maximum likelihood.
  • An adversarial edge latency model was constructed by probing the network to infer round-trip delays across payment paths.
  • A discrete-event network simulator was built using real-world snapshots of the public Lightning Network to evaluate attack success across diverse adversarial configurations.
  • The method combines network probing, time-difference analysis, and probabilistic ranking to infer payment endpoints with high precision.
  • The approach was evaluated against a baseline First-Spy estimator to demonstrate superior performance in deanonymization tasks.

Experimental results

Research questions

  • RQ1Can an on-path adversary infer the true sender and receiver of a Lightning Network payment by measuring time differences in HTLC message exchanges?
  • RQ2How effective are timing-based estimators in reducing the anonymity set and identifying payment endpoints compared to existing methods?
  • RQ3What is the impact of adversarial node placement and scale on the success rate of deanonymization attacks?
  • RQ4To what extent do network topology and path length distributions affect the accuracy of timing-based deanonymization?
  • RQ5Can timing attacks deanonymize payments with high precision and recall even when controlling only a small number of nodes?

Key findings

  • Controlling just 10 malicious nodes enabled an adversary to deanonymize payment endpoints with a precision exceeding 50%.
  • The four most central nodes in the network could observe an average of 72% of all payments, highlighting the risk of central nodes.
  • An adversary controlling a single highly central node could observe nearly 50% of all payments, demonstrating the vulnerability of network centrality.
  • Timing-based estimators significantly outperformed the First-Spy baseline, especially in full deanonymization scenarios.
  • The attack was feasible in practice, as confirmed by a proof-of-concept measurement node deployed on the testnet.
  • The results showed that timing attacks could achieve up to 50% recall in deanonymizing both sender and receiver endpoints.

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.