Crypto Malware and Infostealers: How Your Own Device Gets Turned Against You

Most hacks against individual crypto users do not break any encryption. They start on the user’s own device: a program that looks useful, a browser extension, a “verification” step or a file from a new contact. Once malware runs, it can read what you type and store, swap what you paste and use the accounts you are logged in to – often without any visible sign.

This chapter explains what malware takes from crypto users, how it gets onto computers and phones today, the signs that a device may be compromised, and the habits that keep one infected device from costing you everything.

Infographic: malware and infostealers – how malware gets in, what it takes and how to keep your keys off the computer, chapter 2 of the Hacks Prevention Guidebook
Chapter 2 of The Crypto and Web3 Hacks Prevention Guidebook – 2026 Edition.

IF THIS JUST HAPPENED TO YOU

  1. Disconnect the device from the internet and stop typing passwords or seed phrases on it.
  2. From a clean device, move funds from every wallet that was ever used on it to new wallets with new seed phrases.
  3. Secure your email first, then end sessions and delete API keys on your exchanges.
  4. obody can reverse a confirmed transfer for a fee. Treat every recovery offer as a scam.

Why Malware Works So Well Against Crypto Users

  • Crypto moves in minutes. Once a key or session is stolen, funds can be gone before you notice.

  • It looks like normal software. A coding test, a verification page or a browser extension does not look like a virus.

  • Your device holds the secrets. Wallet files, saved passwords and logged-in sessions are all on the computer.

  • There is no undo. A confirmed transfer cannot be reversed.

This Chapter Explains

  • What malware takes from crypto users: wallets, passwords, seed phrases and sessions

  • The six ways malware gets onto devices today

  • The warning signs of a compromised device – and why no sign is not proof

  • Which defences stop what, and what they do not stop

  • What to do if you ran something suspicious

  • The CSF rules for malware and infostealers

FROM THE BOOK

This post is Chapter 2 of The Crypto and Web3 Hacks Prevention Guidebook – 2026 Edition, a free guide to how hacks against crypto users happen and how to stop them. All chapters and the free PDF are on the guide page.

Table of Contents

What Malware Wants from a Crypto User

Crypto malware does not need to “hack” a blockchain. It goes after whatever on your device can move your funds or open your accounts.

TypeWhat it takesWhy it hurts
InfostealerWallet files and browser-extension data, saved passwords, seed phrases stored as text, photos or notes, and browser session cookiesSession cookies let an attacker use an account you are already logged in to, without your password or 2FA code.
Clipboard swapperNothing at first: it waits until you copy a crypto address and replaces it with the attacker’sThe transfer looks normal and confirms. The funds go to the attacker and cannot be reversed.
Remote-access trojanControl of the whole computer: screen, keyboard, files and open appsThe attacker can act as you, at a time when you are not watching.
Fake wallet app or fake update promptYour seed phrase, typed into a window that looks like your wallet softwareOne typed seed phrase gives away every account in that wallet, on every network.

What crypto malware takes

Windows PCs are not the only target. Macs are increasingly targeted too, and so are phones: fake wallet apps, apps that read screenshots in your photo gallery, and second-hand phones that come with malware already installed.

How Malware Gets onto Your Device Today

Malware rarely arrives as an obvious virus. It is usually something you were persuaded to run yourself.

1. Fake Job Interviews and Coding Tests

A recruiter or “Web3 company” offers paid work, then asks you to clone a code repository, run a setup script, install a meeting app or open a project file. The script installs malware. Developers and community managers are the main targets. The job scam side is covered in Chapter 11 of the Scams Prevention Guidebook.

SAFE JOB INTERVIEW CHECKLIST

Do

  • Find the job on the company’s official careers page and contact the recruiter through the company’s own domain – not only through the chat that reached you.
  • Do any coding test on a separate device, a fresh virtual machine or a cloud development environment – never on the computer or phone that holds your wallets, password manager or work access.
  • Join calls in the browser through a meeting service you already use. A “special” meeting app or an “updated version” sent by link is the attack.
  • Read the project before running it: setup scripts, install hooks and anything that downloads more code.
  • Keep crypto off the device you use for job hunting altogether.

Don’t

  • Run “install”, “setup” or “build” commands from a recruiter’s repository on your main device.
  • Paste a command into Terminal, PowerShell or the Run box because an interviewer or a web page tells you to.
  • Open password-protected archives or project files from someone you met online on your main device.
  • Install browser extensions, “screen-share fixes” or tools sent as part of hiring.
  • Let time pressure decide (“finish it now, while we are on the call”). Real employers can wait an hour while you set up a safe environment.

Work in crypto? Never take an outside interview or test on a device that can reach your employer’s systems.

Already ran it? Treat that device as compromised. From a clean device, move your funds and change your passwords – see what to do in the first hour. Not sure how a wallet was drained? Find the cause.

2. “Verification” Pages That Ask You to Paste a Command

A page shows a fake CAPTCHA, “human verification” or error message and asks you to press a key combination, paste something into the Run box or Terminal, and press Enter. No real website ever needs this. The command downloads malware with your own permissions.

3. Search Ads, Look-Alike Download Sites and Chatbot Links

Sponsored search results, social media ads and copied download pages offer wallet apps, trading tools or everyday software with malware inside. Links suggested by AI chatbots can point to the same copycat sites. Download software only from the address on the developer’s official website, typed or bookmarked yourself.

4. Browser Extensions and Bookmarklets

Extensions can read and change every page you open, including your wallet and exchange tabs. Some are malicious from the start; others turn malicious through an update after they have built up users. “Trading bot” bookmarklets shared in Discord or Telegram run code inside the page you are logged in to. Fake wallet extensions are covered in Chapter 4 of the Scams Prevention Guidebook

5. Cracked Software, Game Cheats and “Free Tools”

Pirated programs, game cheats, free “AI tools” and mining apps are a common way to deliver infostealers. If something paid is offered for free from an unofficial source, assume the price is your data.

6. Files and Invitations from New Contacts

A contact you met online sends a document, an “encrypted” project file, a game to test on their server or a meeting link that needs a special app. Weeks of friendly conversation are part of the method, not proof of trust.

Warning Signs That a Device May Be Compromised

Many infections show no sign at all. If one of these appears, stop using the device for crypto and follow the steps at the end of this chapter.

  • A pasted address is different from the one you copied.

  • Your wallet software suddenly asks you to type your seed phrase, “re-verify” the wallet or fix a firmware error. Hardware wallet apps do not ask you to type your seed phrase into a pop-up or “verification” window. A real recovery is something you start yourself, following the manufacturer’s official instructions.

  • Extensions, programs or browser settings you did not add, such as a changed proxy or a new default search engine.

  • Login alerts, new devices or active sessions in your email or exchange accounts that are not yours.

  • Accounts change on their own: messages sent from your social profiles, new API keys, changed withdrawal settings.

The absence of warning signs does not mean the device is clean. An infostealer can copy everything within seconds and leave nothing visible behind.

Illustrative Scenario: The Coding Test

This is an illustrative scenario, not a specific reported case.

Daniel, a freelance developer, is contacted on a professional network by a recruiter from a Web3 start-up. After two friendly calls, he is sent a repository for a short paid coding test and asked to run the setup script before the next interview.

The script runs in the background while Daniel works on the task. Two days later, his browser wallet is empty and someone has logged in to his exchange account from another country – without his password or 2FA code.

What Happened

The setup script installed an infostealer. It copied his browser wallet data and the session cookie of his exchange login. The attacker did not need to break anything: the computer handed over what it held.

Key Takeaways

  • Never run code, scripts or installers sent by someone you met online on the computer you use for crypto.

  • A device that runs unknown software is not a place for wallets or exchange logins.

  • A hardware wallet would have kept the keys of Daniel’s savings off the computer.

How to Protect Yourself from Malware

  • Install crypto software only from official sources. Type the developer’s website address yourself or use a bookmark; never follow ads, search results, chat links or chatbot suggestions to a download.

  • Keep crypto on a separate device or user account. Use one computer, or at least one separate account and browser profile, only for wallets and exchanges, with no games, cracked software, test code or random extensions.

  • Keep savings on a hardware wallet. Its keys never leave the device, so malware on the computer cannot copy them. Check every address and amount on the hardware wallet’s own screen before you approve.

  • Never store a seed phrase on a device. No text files, photos, notes, password managers or cloud drives. Write it on paper or metal (see Chapter 2 of the User Mistakes Prevention Guidebook).

  • Never paste a command a website asks for. Close the page instead.

  • Keep extensions to a minimum. Remove the ones you no longer use, and be suspicious of any extension that suddenly asks for new permissions.

  • Update your system, browser and wallet apps. Install updates through the app or system itself, never from a pop-up or a link.

  • Treat security software as a baseline, not a guarantee. Built-in antivirus helps against known malware; it does not catch everything new. See Safety Tools for what each tool covers.

DefenceWhat it stopsWhat it does not stop
Hardware walletMalware copying your private keysYou approving a malicious transaction or address on its screen
Separate device or account for cryptoAn infection from everyday use reaching your walletsMalware you install on that device yourself
Checking the full address on the device screenClipboard swappersA wrong address you chose yourself
Antivirus and updatesKnown malware and known security holesNew malware and anything you run on purpose

What each defence covers

CSF Rules for This Chapter

MAIN RULE · TSR-002

Assume Your Device Can Be Compromised.

Check addresses and transactions on the hardware wallet’s screen, and keep secrets off the computer.

RuleStatementWhy it applies here
TSR-001Never Install Crypto Software from Unofficial SourcesFake wallets, extensions and trading tools are the most common way malware arrives.
TSR-006Separate Devices and Accounts for Crypto UseOne infected device should not expose all your crypto at once.
TSR-007Slow Down Before Clicking or InstallingAlmost every infection starts with one rushed install, click or pasted command.
GR-003Always Use a Hardware Wallet for Long-Term or High-Value Crypto StorageKeys on a hardware wallet cannot be copied by malware on the computer.
GR-007Never Store Your Seed Phrase in Cloud Storage, Email, or ScreenshotsInfostealers search for exactly these files and photos.

CSF rules for malware and infostealers

All 32 rules, with what each one prevents: CSF Crypto Security Rules.

If This Just Happened to You

If you…Do this now
ran a suspicious file, script or commandDisconnect the device from the internet. Do not type passwords or seed phrases on it again. From a clean device, move funds from every wallet that was ever used on it to new wallets with new seed phrases.
see a pasted address changeDo not send. Stop using the device for crypto until it has been wiped and reinstalled.
typed your seed phrase into an app or windowTreat the seed phrase as burned. On a clean device, create a new wallet and move everything now – also from any hardware wallet that uses the same seed phrase.
see logins or changes you did not makeFrom a clean device: change the email password first, log out all sessions, revoke API keys, check withdrawal whitelists, then change exchange passwords.

First steps after a malware infection

Wiping and reinstalling comes last, after the funds are safe: a clean system does not make an exposed seed phrase safe again.

AFTER A LOSS

Expect offers to trace or recover the stolen crypto. Nobody can reverse a confirmed transfer for a fee. See Recovery Scams and report: How to Report a Crypto Scam.

Explore More

Crypto Malware – Frequently Asked Questions

Malware that copies what your device stores – wallet files, saved passwords, seed phrases kept as text or photos, and browser session cookies – and sends it to the attacker, often within seconds and without visible signs.

Yes, by stealing the session cookie of an account you are already logged in to. The attacker then uses the session directly, without your password or a 2FA code. Logging out and ending sessions helps.

It keeps your private keys off the computer, so malware cannot copy them. It does not stop you approving a malicious transaction – check the address and amount on the device screen.

No. It catches known malware and is a useful baseline, but new malware and anything you run on purpose can get through. Official sources, a separate device and a hardware wallet matter more.

Disconnect the device, then from a clean device move funds from every wallet used on it to new wallets with new seed phrases, and secure your email and exchanges. Wipe the device last.

Found an error or something we have missed? Tell us – corrections go into the next review.

Important notice: Educational content only.

Our content is intended to be used and must be used for informational purposes only. It is not intended to provide investment, financial, accounting, legal, tax, or other professional advice.

It is essential to research and verify any information you find on this website or any other website.

See our Disclaimer.

FREE GUIDE
The Three-Wallet Model®

Split your crypto across three wallets so one mistake can’t take everything.

✓ 50-page PDF guide
✓ Printable Toolkit
✓ Free