Skip to content

← Tutorials

Wallet Drainers and Malicious Signatures: How They Work and How to Avoid Them

By moonbag.info team · · Intermediate

Last reviewed:

A wallet drainer is a scam toolkit that tricks you into signing something that gives an attacker control of your tokens or NFTs. Unlike a stolen seed phrase, a drainer usually doesn’t need your keys, just one bad signature (though some fake sites also try to phish your seed phrase). Because signing feels routine, it’s one of the most effective scams in crypto.

This guide explains the main types of malicious signatures, how drainer sites lure people in, and what to do before and after.

How drainers work

Drainer operators build convincing websites, often copies of real projects, and promote them through fake social accounts, hacked accounts, ads and DMs. When you connect your wallet, the site inspects what you hold and asks you to sign whatever request will take the most valuable assets.

You don’t have to “send” anything for this to work. One approval or signature can be enough.

The main types of malicious signature

1. Token approvals

An on-chain transaction that lets a contract move a specific token from your wallet, often in unlimited amounts. Legitimate apps use these all the time, which is why drainers do too. See token approval and How to Review and Revoke Token Approvals.

2. “Set approval for all” (NFTs)

Grants a contract permission to move every NFT in a collection. Drainers request it to take valuable NFTs.

3. Permit-style signatures

Off-chain signed messages that some tokens accept as approvals. They cost no gas to sign, so they feel harmless, but the attacker can submit them on-chain later. A signed permit may not appear in approval checkers until someone uses it.

4. Direct transfers disguised as something else

A transaction labeled “Claim,” “Mint,” “Verify” or “Connect” that actually sends your tokens or native coin to the attacker.

5. Blind or unreadable signatures

Requests your wallet can’t fully decode, shown as raw data. Some hardware wallets warn that a request requires “blind signing.” Unreadable means you can’t know what you’re agreeing to.

6. Signature requests on other networks

Some drainers target several networks at once, prompting you to switch networks and sign there too.

Common lures

  • Free mints and airdrop claims, often for tokens that appeared unexpectedly in your wallet.
  • “Gas refund” or “reward” pages.
  • Fake versions of popular apps, reached through search ads or look-alike URLs.
  • Hacked project accounts posting an urgent “migration” or “limited-time” link.
  • DMs from “support” asking you to “validate” or “sync” your wallet.
  • Fake wallet security alerts urging you to “revoke” via a malicious site.

Warning signs in your wallet

Stop and reject if you see:

  • A request to approve a token you weren’t planning to use, or an unlimited allowance.
  • “Set approval for all” when you only expected to mint or view something.
  • A permit or typed-data signature with a spender you don’t recognize.
  • A transaction sending assets to an address you don’t know.
  • Simulation warnings from your wallet or a security extension.
  • A request to switch networks for no clear reason.
  • Pressure: timers, “last chance” banners, “only 10 left.”

Protective habits

  1. Use bookmarks for every app. Don’t click links in DMs, replies, emails or ads.
  2. Keep a separate “burner” wallet for new apps, mints and claims, with only what you need for that interaction. Keep long-term holdings, such as a moonbag, in a vault wallet that never connects to new sites. See Hot Wallet vs. Cold Wallet.
  3. Read every request. Spender, token, amount and type. If you can’t read it, don’t sign it.
  4. Use transaction simulation where your wallet or a reputable extension offers it. It previews what would leave your wallet.
  5. Approve exact amounts instead of unlimited where possible.
  6. Use a hardware wallet and check details on its screen. Remember it protects your keys, not your judgment.
  7. Ignore unknown tokens and NFTs that appear in your wallet. Don’t try to sell or “claim” them.
  8. Review approvals regularly and after any interaction you’re unsure about.

If you think you signed something malicious

  1. Act fast. Drainers often move within minutes, but sometimes wait.
  2. Move remaining assets to a brand-new wallet created with a new seed phrase. Don’t reuse the old wallet for anything valuable.
  3. Revoke approvals for anything you can’t move immediately, such as NFTs or locked tokens. Revoking needs gas in that wallet, and it won’t cancel a permit that hasn’t been used yet, which is why moving funds is the priority.
  4. Watch for “sweeper” bots. If your seed phrase or key was exposed (not just a signature), bots may instantly take any gas you send to the old wallet. In that case, don’t send anything to the old wallet. Treat it as compromised. Be very wary of anyone offering to “rescue” the remaining funds; most such offers are scams.
  5. Report it to the platform impersonated and, in the US, to the FBI’s IC3. Keep transaction hashes.
  6. Beware recovery scams promising to get funds back. See How to Spot Crypto Scams.

Taxes (US, general)

In the US, most personal theft losses are no longer deductible, and that limit is now permanent. Losses from scams you entered hoping to make a profit, such as a fake investment platform, may still qualify, but the rules are strict. Keep records and consult a tax professional.

Common mistakes

  • Thinking “it’s just a signature, no gas, so it’s safe.”
  • Using your main wallet for mints and claims.
  • Trusting a link because a well-known account posted it; accounts get hacked.
  • Approving unlimited allowances by default.
  • Signing blind on a hardware wallet.
  • Only revoking after a bad signature instead of moving funds.
  • Interacting with mystery airdropped tokens.

Key takeaways

  • Drainers usually need only your signature, not your seed phrase (though some fake sites also try to phish the phrase).
  • Approvals, “approval for all,” permits and disguised transfers are the main tools.
  • Separate wallets, bookmarks, careful reading and simulation stop most attacks.
  • If you signed something bad, move funds to a new wallet first, then revoke what’s left.

Sources

  1. ERC-20: Token Standard (EIP-20), Ethereum Improvement Proposals. Accessed .
  2. ERC-721: Non-Fungible Token Standard (EIP-721), Ethereum Improvement Proposals. Accessed .
  3. ERC-2612: Permit Extension for EIP-20 Signed Approvals, Ethereum Improvement Proposals. Accessed .
  4. Ethereum security and scam prevention, ethereum.org. Accessed .
  5. Internet Crime Complaint Center (IC3): file a complaint, Federal Bureau of Investigation. Accessed .
  6. Increase in Companies Falsely Claiming an Ability to Recover Funds Lost in Cryptocurrency Investment Scams (PSA I-081123-PSA, Aug 11, 2023), FBI Internet Crime Complaint Center (IC3). Accessed .
  7. 26 U.S. Code § 165, Losses (see subsection (h)(5); sunset removed by Pub. L. 119-21, 2025), Legal Information Institute, Cornell Law School (text of the U.S. Code). Accessed .
  8. Chief Counsel Advice 202511015: Allowance of theft losses for victims of scams under I.R.C. section 165, IRS Office of Chief Counsel. Accessed .