Skip to content
Security & HacksLatest

Researchers Highlight Automated Exploitation of Cryptocurrency Wallets via Predictable Signature Errors

Published

Researchers from the University of Liège have demonstrated how predictable errors in cryptocurrency wallet signatures can be rapidly exploited by automated programs, leading to the recovery of private keys and the potential theft of funds.

MissedBlock Desk · 4 min read

Researchers Highlight Automated Exploitation of Cryptocurrency Wallets via Predictable Signature Errors

Researchers from the University of Liège have demonstrated how predictable errors in cryptocurrency wallet signatures can be rapidly exploited by automated programs, leading to the recovery of private keys and the potential theft of funds. The study focused on the reuse of nonces (numbers used once) in the Elliptic Curve Digital Signature Algorithm (ECDSA), a common method for securing transactions on blockchains like Bitcoin and Ethereum.

According to the study, automated bots monitoring the blockchain’s mempool—a waiting area for unconfirmed transactions—can quickly detect these predictable signature errors. Once identified, these errors allow attackers to recover the private key associated with the transaction within seconds to minutes. The research scanned six blockchains: Bitcoin, Ethereum, Dogecoin, Litecoin, Bitcoin Cash, and Dash. Across these chains, a total of 3,620 private keys were recovered, with the vast majority, 3,278, originating from Bitcoin.

The core of the vulnerability lies in the reuse of a nonce with the same private key for multiple transactions. In ECDSA, a unique nonce is crucial for generating a secure signature. If the same nonce is used twice with the same private key, it becomes mathematically possible to derive the private key itself. The open and permissionless nature of blockchains like Bitcoin means that transactions, including those with these predictable errors, are visible to all participants in the mempool before they are reported.

“Automated programs on the Bitcoin network detected and exploited these errors quickly, stealing funds,” the verified facts state. The study identified the earliest potential attack activity related to this issue on Bitcoin dating back to Q4 2015, and on Ethereum to November 2022. While the researchers intentionally created these vulnerable wallets as ‘bait,’ the findings highlight a persistent risk.

The study’s authors, Vincent Jacquot and Benoît Donnet from the University of Liège’s Montefiore Institute, titled their paper “Oops… I Did It Again. I Reused my Nonce.” They emphasize that the vulnerability is a long-tail issue in software implementation rather than necessarily a firmware defect. However, the paper does not suggest the actual amount of cryptocurrency that was stolen, nor does it distinguish between funds recovered through actual attacks and those that might have been normal withdrawals.

Implications for Wallet Security

The implications for wallet security are significant. The research suggests that relying solely on user diligence is insufficient. Developers, wallet providers, and exchanges must implement robust protections to prevent the generation of predictable signature errors and to monitor for compromised addresses. Cold wallets, while offering a layer of security, are not foolproof; once a private key is compromised, funds are lost regardless of the wallet’s offline status.

“The open, permissionless design of Bitcoin makes such attacks feasible because transactions in the mempool are visible to everyone,” the interpretations note. This transparency, while a cornerstone of blockchain technology, also creates an environment where automated systems can efficiently identify and act upon predictable cryptographic flaws.

While Dogecoin, Dash, and Litecoin are suggested to be less actively monitored by attackers, the study recovered 195 private keys from Dogecoin and 119 from Ethereum. The researchers also noted that most exposed funds are concentrated in a Bitcoin address using a non-mainstream format, though the precise balance of this address remains uncertain. The total historical peak balance of vulnerable addresses is estimated to be around €101 million or $106 million USD as of November 25, 2024, with various pools of vulnerable funds identified across different periods.

The findings also touch upon related security concerns, including a previous report of 594 Bitcoin being stolen due to a Coldcard vulnerability in July 2024. The research underscores the need for continuous vigilance in wallet security, as even seemingly minor predictable errors can be leveraged by automated systems to recover private keys and access digital assets.

Broader Context

Source materials place the factual news in this context: Previous reports of a Coldcard MK3 cold wallet vulnerability leading to the theft of 594 Bitcoin.

Researchers Highlight Automated Exploitation of Cryptocurrency Wallets via Predictable Signature Errors · MissedBlock