Clipboard Hijacking

Malware that swaps a copied address for the attacker's, so a payment silently goes elsewhere.

Basically

Clipper malware watches the text you copy. It swaps a copied Bitcoin address for the attacker's address, so your payment goes to the attacker.

Key Takeaways

  • Clipboard hijacking, also called clipper malware, secretly replaces a cryptocurrency address you copy with an attacker's address. Your funds go to the attacker when you paste the address and send the transaction.
  • The attack exploits a basic habit: copying and pasting long addresses that are impractical to memorise. A signing device with an independent display is one of the strongest defences.
  • Prevention means verifying the full destination address before every transaction, not just the first and last few characters. QR codes and self-custody wallets with address book features can remove the need to use the clipboard.

What Is Clipboard Hijacking?

Clipboard hijacking is a malware attack in which malicious software monitors your device's clipboard for cryptocurrency wallet addresses. It silently swaps them for addresses controlled by the attacker. When you copy a Bitcoin address and paste it into your wallet, the clipboard may hold a different address, and your funds go to the attacker if you send without verifying.

Cryptocurrency addresses are long strings of seemingly random characters, which makes the attack effective. Bitcoin addresses range from 26 to 62 characters depending on the address type, whether Legacy, SegWit or Taproot, making them impossible to memorise and impractical to type manually. Nearly everyone relies on copy-paste, which is exactly what clipper malware exploits.

Kaspersky Lab discovered the first documented clipper malware, the CryptoShuffler trojan, in 2017. Clipper malware has since become a persistent threat across all major operating systems: Windows, Android, macOS and, as of 2026, Linux. Some variants are sold as malware-as-a-service, with subscriptions available for as little as $549 per year, lowering the barrier for attackers.

How It Works

Clipboard hijacking has three stages: installation, monitoring and replacement. Each stage is designed to stay invisible to you.

Stage 1: Installation

Clipper malware typically arrives through trojanised software, including pirated applications, fake browser extensions, fraudulent app store listings or bundles with other malware. The MassJacker campaign, discovered in 2025, specifically targeted users downloading pirated software. The GitVenom campaign, uncovered by Kaspersky in 2025, hid clipper malware in hundreds of fake GitHub repositories with AI-generated README files designed to appear legitimate.

The malware establishes persistence after installation through autorun entries or injected libraries that load at system startup. It runs silently in the background and uses minimal resources to avoid detection.

Stage 2: Clipboard Monitoring

The malware registers as a clipboard listener through operating system APIs. On Windows, it uses AddClipboardFormatListener() to receive notifications whenever clipboard content changes, while on Android it hooks into the ClipboardManager API. On Linux, the ClipXDaemon variant, discovered in 2026, targets X11 clipboard events.

The malware inspects text every time you copy it. The inspection takes milliseconds.

Stage 3: Pattern Matching and Replacement

The malware uses regular expressions to spot cryptocurrency addresses. It recognises them by their distinctive formats.

The malware clears the clipboard after detecting a match and writes the attacker's pre-configured address in its place. The entire swap takes milliseconds. More advanced variants such as the Laplas Clipper (2022) generate replacement addresses that visually resemble the original, sharing the same prefix or suffix characters to make detection during a quick visual check less likely.

Real-World Incidents

Clipboard hijacking is not theoretical. Security researchers have documented multiple large-scale campaigns.

Binance issued a public advisory in September 2024 about a widespread clipper malware campaign. It noted a "notable spike" in activity that caused "significant financial losses" among users, particularly those using unofficial Android apps.

Why Address Verification Matters

Bitcoin transactions are irreversible. Once a transaction is broadcast and confirmed on the blockchain, there is no chargeback mechanism and no way to recover funds sent to the wrong address. Clipboard hijacking is therefore especially dangerous compared with similar attacks in traditional finance, where chargebacks or bank reversals may be possible.

The attack also shows why self-custody requires active vigilance. Owning your own keys means taking full responsibility for verifying every transaction. Unlike custodial services that might flag suspicious addresses, a self-custody wallet will send wherever you tell it to send.

A research article on self-custodial vs. custodial wallets provides deeper context. It explains how different wallet architectures handle security.

Mitigations

No single defence eliminates the risk entirely. Combining several strategies makes clipboard hijacking significantly harder to exploit.

Verify the Full Address

You should always compare the pasted address with the original before confirming any transaction. Check more than the first and last few characters, because advanced clipper malware like Laplas generates addresses with matching prefixes and suffixes, and verify a substantial portion of the middle characters too. An academic paper published at IEEE demonstrated that attackers can pre-mine databases of lookalike addresses, achieving partial visual matches that deceive quick checks.

Use a Signing Device

A signing device, or hardware wallet, displays the destination address on its own built-in screen. That screen gives you an out-of-band verification channel that malware on your computer cannot tamper with. Before signing, compare the address on the device screen with the intended recipient's address, because verification on isolated hardware is one of the most effective defences.

Some users pair signing devices with air-gapped signing workflows for maximum security. The signing device never connects to an internet-enabled computer at all.

Use QR Codes

QR codes let you scan the recipient's address instead of copying it. Scanning bypasses the clipboard entirely and removes the attack surface for clipper malware, which is why many wallets support QR code payments. When possible, ask the recipient to display their address as a QR code rather than sending it as copyable text.

Send a Test Transaction

You should send a small test transaction before a large payment and verify receipt with the intended recipient. The additional transaction fee is a small price for confirming that the address is correct. Test transactions are especially important for first-time recipients or addresses you have not used before.

Use Address Books

Most wallets and exchanges offer address book or allowlist features for saving verified addresses. Future transactions use the stored version once an address is saved, rather than relying on copy-paste. Address books reduce exposure to clipboard manipulation for repeated payments.

Practise Software Hygiene

You should avoid pirated software, unofficial app stores and unverified browser extensions. You should also keep your operating system and antivirus software updated. Most clipper malware infections originate from downloading software from untrusted sources.

Broader Security Context

Clipboard hijacking is one of several attack vectors targeting cryptocurrency users. Phishing attacks trick users into revealing private keys or sending funds to fake websites, while dust attacks attempt to de-anonymise wallet owners through chain analysis. BGP hijacking can redirect network traffic to intercept transactions at the protocol level.

Clipboard hijacking is particularly insidious because it is simple. It requires no sophisticated cryptographic attack, no network-level interception and no social engineering at the moment of the transaction, and instead exploits the mundane action of pasting text. Your best defence is to build the habit of verifying the full destination address before every transaction, regardless of the amount.

Layer 2 solutions and payment protocols that reduce the need for raw address handling can also help. Lightning invoices encode payment details in a structured format that is less susceptible to simple address substitution. Spark, as a Bitcoin Layer 2, enables payments that do not require you to manually copy and paste long on-chain addresses for every transaction.

Risks and Considerations

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