Dust Attack

Sending tiny amounts to many addresses so that later spending links them together.

Basically

A dust attack sends tiny amounts of Bitcoin to many addresses. If you spend one with your other coins, the sender can link your addresses, track your spending and find out who you are.

Key Takeaways

  • A dust attack sends tiny amounts of Bitcoin (dust) to many addresses to track spending patterns. If you unknowingly include dust in a later transaction, the attacker can link previously unrelated UTXOs to the same owner.
  • The privacy threat comes from consolidation. Bitcoin's UTXO model reveals all inputs in a transaction, so spending dust alongside other coins creates a public link between addresses that an attacker can exploit for chain analysis.
  • Mitigations include coin control, not spending dust outputs, and using self-custody wallets that let you freeze or label suspicious UTXOs before they compromise your privacy.

What Is a Dust Attack?

A dust attack is a deanonymisation technique in which an attacker sends extremely small amounts of Bitcoin to a large number of addresses. These tiny outputs, called "dust", are worth less than the transaction fee required to spend them, so they are worthless on their own. The attack succeeds when a wallet automatically includes dust in a future transaction, revealing which addresses belong to the same person.

Bitcoin's UTXO model explicitly lists every transaction input. If you spend dust from the attacker alongside coins from your other addresses, those addresses become publicly linked on the blockchain. Chain analysis firms and attackers can use this information to cluster addresses, build spending profiles and potentially tie pseudonymous Bitcoin activity to real-world identities.

The term "dust" refers to Bitcoin amounts below a practical spending threshold. Bitcoin Core defines a dust limit: the minimum output value at which spending the output makes economic sense at current fee rates. Below this threshold, including the output in a transaction costs more than its face value.

How It Works

A dust attack unfolds in three phases: distribution, waiting and analysis. The attacker needs only a modest amount of Bitcoin and access to the public blockchain to execute it.

Phase 1: Dust Distribution

The attacker creates a transaction, or series of transactions, sending tiny amounts to many target addresses. A typical dust output might be 546 satoshis, the minimum non-dust amount for standard P2PKH outputs, or slightly above. This is just enough to avoid rejection by nodes enforcing dust limits.

Attackers typically select targets from blockchain data, including addresses that have appeared in exchange transactions or public payment contexts, and addresses identified through other means. Some dust attacks target thousands of addresses indiscriminately. Others focus narrowly on specific addresses of interest.

Phase 2: Waiting for Consolidation

After distributing dust, the attacker monitors the blockchain and tracks every dust output until it is spent. Many wallets automatically select UTXOs with algorithms such as "largest first" or "branch and bound". A wallet that does not distinguish user-generated UTXOs from unsolicited dust may include the dust in a future transaction.

The critical moment comes when the victim's wallet spends the dust alongside other UTXOs. All input addresses then appear together in that transaction, and Bitcoin's UTXO transaction model makes the linkage permanent and publicly visible on the blockchain.

Phase 3: Cluster Analysis

Once dust is spent alongside other inputs, the attacker applies the "common input ownership heuristic": the assumption that all inputs in a single transaction belong to the same entity. This assumption is the foundational heuristic of blockchain analysis and holds for the vast majority of Bitcoin transactions. CoinJoin transactions deliberately break it, so it is not always true.

Address clusters are now established. The attacker can use them for further analysis.

A Bitcoin address privacy audit demonstrates clustering and entity identification. It shows how these methods work for any Bitcoin address.

Dust Limits and UTXO Bloat

Bitcoin Core enforces a dust threshold to prevent the UTXO set from being bloated with economically unspendable outputs. Every full node must store every unspent output in memory, so minimising worthless UTXOs matters for network health.

The dust limit depends on the output script type. Different script types require different-sized inputs to spend.

These thresholds use a fee rate of 3 sat/vB: an output qualifies as dust if spending it at that rate costs more than it is worth. Nodes will not relay transactions that create outputs below these limits, which sets a floor against extreme dusting. Attackers can still send outputs just above the dust limit, so the attack remains viable despite these protections.

The concept of ephemeral dust in Lightning channel management is related but distinct. Ephemeral dust outputs are intentionally created as part of protocol mechanics, such as anchor outputs, and are expected to be spent immediately, unlike attack dust that persists in the UTXO set.

Use Cases for Dust Attacks

Dust attacks are primarily a privacy concern. Their purpose depends on who conducts them.

Mitigations

Defending against dust attacks requires awareness and proper wallet configuration. The most effective strategy is to prevent dust from being spent in the first place.

Coin Control

Coin control is the most powerful defence. Wallets with coin control let you manually select which UTXOs to include in a transaction. Never selecting unsolicited dust outputs prevents the address linkage that makes dusting effective.

Many self-custody wallets offer coin control. You can label incoming UTXOs and freeze suspicious ones so they are never automatically selected for spending. This approach requires some technical understanding of Bitcoin transactions, but it is the most reliable mitigation available.

UTXO Labelling and Freezing

Modern wallet software increasingly supports UTXO labelling, which tags each output with metadata about its source. You can label a new, unsolicited tiny output as potential dust and freeze it. Frozen UTXOs are excluded from automatic coin selection.

Wallet Architecture

HD wallets with proper address hygiene reduce the effectiveness of dust attacks. Address hygiene relies on several key practices.

Privacy-Preserving Techniques

Broader privacy practices reduce the impact of address clustering. These practices go beyond direct dust mitigation.

Privacy Erosion Is Permanent

Once dust is spent and address linkage is recorded on the blockchain, the privacy loss cannot be reversed. The blockchain is immutable, so every transaction that revealed address relationships remains visible forever. Prevention is therefore far more important than remediation.

Wallet Default Behaviour

Many wallets, particularly those designed for simplicity, do not offer coin control or UTXO freezing. These wallets may automatically include dust in transactions without alerting you. Coin control support should be a key consideration when privacy-conscious users choose a self-custody wallet.

False Positives

Not every small incoming payment is a dust attack. Legitimate transactions, change outputs from your own spending and small payments from known parties can all produce small UTXOs, so overzealous dust filtering could freeze legitimate funds. Context matters: unexpected tiny amounts from unknown sources are suspicious, while small change outputs from your own transactions are normal.

Economic Cost to Attackers

Dust attacks are not free because the attacker must pay transaction fees to distribute dust. High fees significantly increase the cost of a large-scale dusting campaign, and the replace-by-fee mechanism and rising base fees have made broad dusting more expensive over time, though targeted attacks against specific addresses remain inexpensive.

Relationship to UTXO Management

Dust attacks highlight the broader importance of UTXO management in Bitcoin. Anyone holding significant amounts of Bitcoin needs to understand the UTXO model and its privacy implications, because good UTXO hygiene protects against dust attacks, fee inefficiency and other forms of chain analysis. Solutions like cold storage with proper coin control offer the strongest combination of security and privacy for long-term holders.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.

0

← All 1876 glossary terms