Skip to content
PayableWithCrypto

Glossary

What Is a Keylogger? Malware That Records What You Type

Editorial teamFact-checked against official sources Last updated 3 min read

Definition

Keylogger: A keylogger is software or hardware that secretly records keystrokes, and often clipboard and screen content, to capture passwords, 2FA codes and seed phrases typed on a device.

On this page
  1. 1How keyloggers get onto devices
  2. 2Types and what they capture
  3. 3Warning signs (often absent)
  4. 4Keeping keys out of reach
  5. 5Why copying and pasting isn’t a fix
  6. 6If you suspect infection
  7. 7Common questions

A keylogger is malware, or occasionally a small hardware device, that secretly records what you type. For crypto users that means passwords, 2FA codes, PINs and, worst of all, a seed phrase typed into a computer or phone. Most modern versions are bundled inside broader “info-stealer” malware that also copies saved passwords, browser cookies, wallet files and the clipboard.

How keyloggers get onto devices

Almost always, someone runs a file they shouldn’t have. Common routes:

  • Fake software: cracked apps, game cheats, “wallet updates” or trading bots from unofficial sites.
  • Job and freelance lures: a “test task” or “meeting app” sent by a fake recruiter; see crypto job scams.
  • Malicious extensions: browser add-ons impersonating wallets or productivity tools; see malicious browser extensions.
  • Email attachments and links: invoices, shipping notices or “security alerts” (crypto phishing emails).
  • Physical access: a USB device placed between keyboard and computer, mostly a concern on shared or public machines.

Types and what they capture

Type Where it lives Captures Typical defence
Software keylogger Operating system or app Keystrokes, sometimes screenshots OS updates, security software, no unknown files
Info-stealer Runs once or persists Saved passwords, cookies, wallet files, clipboard Don’t store secrets in the browser; separate devices
Browser extension Inside the browser Page content, form inputs Install only verified extensions; review regularly
Mobile keyboard / accessibility abuse Phone Typed text, on-screen content Official keyboard; limit accessibility permissions
Hardware keylogger Between keyboard and PC Every keystroke Check ports on shared machines; avoid public PCs

Related malware swaps the address you copied for an attacker’s; see clipboard malware address checks.

Warning signs (often absent)

Good malware is quiet, so absence of symptoms is not proof of safety. Possible clues: unknown processes, a browser homepage or extension you didn’t add, login alerts from places you’ve never been, 2FA prompts you didn’t trigger, or a sudden flood of password-reset emails.

Keeping keys out of reach

  1. Never type your seed phrase on a computer or phone except into a hardware wallet or a wallet you are deliberately restoring on a trusted device.
  2. Confirm on the device screen. Hardware wallets display addresses and amounts independently of the infected computer.
  3. Use phishing-resistant 2FA. Hardware security keys or passkeys defeat stolen passwords; a typed one-time code can be relayed in real time.
  4. Don’t store secrets in browsers or notes apps. Stealers search for them first.
  5. Separate roles. A dedicated device or user profile for crypto, with no games, pirated software or random downloads.
  6. Update everything. OS, browser and wallet apps, from official sources only.

Why copying and pasting isn’t a fix

Some people avoid typing secrets by pasting them instead. That swaps one risk for another: stealers read the clipboard, and many target exactly the moment a long string of words or a private key is copied. Password managers reduce typing but become a single high-value target if the device is compromised. The only robust approach for wallet secrets is to keep them off general-purpose devices entirely, on paper or metal backups and inside a dedicated signing device.

If you suspect infection

  • Disconnect the device from the internet
  • From a clean device, change exchange passwords and reset 2FA
  • Move funds from any wallet whose seed or key was ever typed on the suspect device to a new wallet with a fresh seed
  • Revoke active sessions and API keys on exchanges
  • Reinstall the operating system rather than trying to clean it
  • Follow exchange account hacked: what to do if funds already moved

For a full device and wallet hygiene routine, see self-custody wallet security.

Frequently asked questions

Can a keylogger steal my crypto?
Yes, if you type or paste your seed phrase, private key or exchange login on an infected device. Modern info-stealer malware also grabs browser-stored passwords, wallet extension data and clipboard contents, so the risk goes beyond keystrokes.
Does a hardware wallet protect me from keyloggers?
Largely, because the seed is generated and stored on the device and you confirm transactions on its own screen. It does not help if you ever type that seed into the computer, or if you approve a malicious transaction without checking the device display.
Can antivirus detect keyloggers?
Reputable security software detects many known keyloggers and stealers, but new or targeted variants can slip through. Keep the operating system and browser updated and avoid running unknown files, which matters more than any single product.
Are phone keyboards safe?
Third-party keyboard apps with 'full access' permissions can in principle log what you type. Use the built-in keyboard or a well-known one from the official store, and be careful granting accessibility permissions, which malware abuses to read the screen.

Sources

Facts were checked against these pages on the date shown above. Terms change; confirm on the official page before acting. General information, not financial, tax or legal advice. See our methodology.

Related terms

Compare cards Find a store