A crypto drainer is not a virus that “hacks your seed phrase” in the background. In most real incidents the victim willingly connects a wallet to a malicious website and signs a transaction or message that grants the attacker lasting power to move tokens. The site looks like compliance (AML / KYC), a bridge, an airdrop claim, a support portal, or a familiar exchange — until the funds are gone.
This article explains the pattern in depth: how the lure is built, what actually happens when you click Connect and Approve, why the vulnerability is largely a wallet UX and literacy failure, and what teams and individuals should do before any signature leaves the device.
What a drainer actually is
In industry language a “drainer” (or wallet drainer) is a phishing kit plus smart-contract and off-chain tooling that steals crypto after the user authorises it. The operator buys or rents a template, clones the UI of a trusted brand, hosts it on a lookalike domain or compromised site, and drives traffic via ads, DMs, search ads, or fake “security alerts”.
The goal is rarely to steal your private key in one click. The goal is to get an on-chain approval, a permit signature, or a malicious contract call that lets the attacker transfer your tokens later — sometimes seconds later, sometimes when they decide to sweep.
That distinction matters for defence. Seed-phrase phishing (“enter your 12 words to restore”) still exists, but modern drainers lean harder on signatures that look like normal DeFi usage. Victims often believe they only “connected” or “verified” an account.
How the lure is built
Operators copy official brand colours, logos, and copy. Common skins include AML / travel-rule portals (“verify your wallet to unlock withdrawals”), fake support desks after a “suspicious activity” email, airdrop claim pages, NFT mint sites, and bridge UIs during network congestion news.
Domains are close enough to fool a hurried glance: extra hyphens, swapped TLDs (.com vs .io), Unicode lookalikes, or a subdomain on a compromised legitimate host. Ads may appear above the real brand in search results. Telegram and Discord DMs impersonate support with a “secure link”.
Once the page loads, the flow feels familiar: Connect Wallet → MetaMask / WalletConnect popup → one or more signature prompts → success screen (“Verified”, “Eligible”, “Pending review”). The success screen is theatre. The irreversible step was the signature.
Connect wallet is not the theft — the signature is
Connecting a wallet only reveals your address to the site. Alone, that does not move assets. Drainers need you to sign. The prompt may say “Sign in”, “Verify ownership”, “Enable trading”, or simply show a hex blob. Many users click Confirm because the site asked for it and the wallet UI did not translate the risk into plain language.
After connection, the kit typically asks for an ERC-20 `approve` (or `increaseAllowance`) on a high-value token — USDT, USDC, WETH, wrapped BTC variants — targeting the spender address controlled by the attacker. With unlimited allowance (`type(uint256).max`), the attacker’s contract can later call `transferFrom` and empty the balance without another user click.
Some kits drain immediately after approval: an automated backend watches for the allowance event and sweeps. Others wait for the operator to press a “collect” button in an admin panel. From the victim’s view both feel the same — the money disappears after they “just verified”.
Allowance, approve, and why “unlimited” is dangerous
ERC-20 tokens separate ownership from spending rights. `approve(spender, amount)` tells the token contract: this spender may pull up to `amount` from my balance. DeFi routers need some allowance to swap. Drainers abuse the same primitive with a hostile spender and often an unlimited amount so they do not need a second approval after you receive more tokens.
Wallet screens frequently show “Approve USDT” or “Spending cap” without a clear explanation that you are not sending USDT yet — you are handing a blank cheque. If the UI defaults to unlimited, or the site requests unlimited and the wallet does not force a custom cap, the user has no mental model of what they authorised.
Permit and Permit2-style signatures are a related path: an off-chain signature that a contract can later use to move tokens without a classic on-chain approve transaction. To the user it may look like “just a message”, which feels safer than a transaction — and therefore is more dangerous when misunderstood.
SetApprovalForAll and NFTs
For NFTs, `setApprovalForAll(operator, true)` grants an operator control over an entire collection in that wallet. Drainer kits aimed at NFT holders use the same social engineering with a mint or “marketplace listing” skin. One confirmation can authorise transfer of every NFT in the collection to the attacker.
Why this is a wallet (and industry) UX failure
Calling every victim “careless” misses the product problem. Wallet interfaces still surface cryptographic actions the average user cannot decode. A screen full of contract addresses, function selectors, and hex data does not answer the only questions that matter: Who can take my money? How much? For how long? Can I revoke this easily?
Official-looking sites exploit trust in brand chrome. The wallet sits in the middle as the last gate — and too often that gate asks for a binary Confirm without a human-readable risk summary. When a phishing site requests unlimited USDT allowance to an unknown contract, the wallet could block, warn loudly, or require typing the spend cap. Many still treat it like any other DeFi click.
There is also a literacy gap the industry normalised: “Connect wallet” became synonymous with “log in”, so users expect to sign something to enter a site. Attackers only need that habit. Until wallets default to clear spending limits, simulation of outcomes (“this allows X to take all your USDT”), and stronger warnings on first interaction with unknown contracts, drainers will keep converting.
None of this removes personal responsibility. It does explain why sophisticated people still lose funds: they were asked to perform a ritual that looked like verification, not like wiring their savings to a stranger.
Typical end-to-end sequence
1) Victim lands on a cloned AML / claim / support page. 2) Connects wallet; site reads balances and token list to prioritise high-value assets. 3) Site requests approve / permit / setApprovalForAll. 4) Victim confirms in the wallet. 5) Allowance is live on-chain. 6) Drainer backend or operator sweeps via `transferFrom` or equivalent. 7) Victim sees a reassuring “under review” page while explorers already show the outbound transfer.
Speed varies. Some kits sweep in under a minute. Others batch victims. Either way, once unlimited allowance exists, the attacker does not need the victim online again.
How to recognise and reduce risk
Type domains yourself from bookmarks; never trust urgent DM links. Check the exact contract you are approving on a block explorer and compare it to the official token and protocol docs. Prefer custom spending caps over unlimited. Revoke stale allowances regularly with a reputable revoke tool — and verify that tool’s URL the same way.
If a site demands a signature to “complete AML” or “unlock withdrawals”, stop. Real compliance flows do not need unlimited token allowance to a random contract. Hardware wallets help against malware but do not stop you from approving a hostile spender if you confirm the prompt.
For teams building Web3 products: never train users to sign opaque messages for login when a clearer SIWE (Sign-In with Ethereum) pattern with readable statements exists; simulate transactions; warn on unlimited approvals; and document official domains aggressively so phishing clones are easier to dispute in ads and search.
What Gualcore’s security work covers
Drainers sit at the intersection of phishing ops, smart-contract primitives, and product UX. Our cyber security and penetration-testing work for product teams includes threat modelling connect-wallet flows, reviewing approval UX, and hardening public sites against lookalike abuse. If you ship wallet connections, treat every signature prompt as a fund-movement decision — because attackers already do.
Educational note: this article describes public scam patterns so users and builders can defend themselves. It is not instructions to build or operate drainers.
Insights
- Drama RAT explained: dropper, Accessibility takeover, C2, and how Android gets lockedExpert walkthrough of the Drama RAT Android banking family: phishing APKs, Update Now droppers, multi-part payload decryption, Accessibility auto-grants, anti-uninstall, mTLS C2, fake PIN/VPN screens, IoCs — from public PT ESC and MVD research.
- Flash crypto tokens explained: fake balances, clones, and how scams use themWhat “flash USDT” and flash tokens really are, how they differ from real flash loans, how cheap clone tokens are deployed, and the social-engineering scripts that turn fake balances into stolen gas and deposits.
- How we integrate AI into a business — the essenceAI is not a chatbot bolted onto the website. It is a controlled layer on top of real processes, CRM truth, and human oversight — from map to production.
Tell us what you need to build or harden.
Share the goal, audience, and constraints. We reply with how we would approach it — Partnership, Scoped build, or Care.