Glossary
What Is a Keylogger? Malware That Records What You Type
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
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
- 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.
- Confirm on the device screen. Hardware wallets display addresses and amounts independently of the infected computer.
- Use phishing-resistant 2FA. Hardware security keys or passkeys defeat stolen passwords; a typed one-time code can be relayed in real time.
- Don’t store secrets in browsers or notes apps. Stealers search for them first.
- Separate roles. A dedicated device or user profile for crypto, with no games, pirated software or random downloads.
- 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?
Does a hardware wallet protect me from keyloggers?
Can antivirus detect keyloggers?
Are phone keyboards safe?
Sources
- CISA: Avoiding social engineering and phishing attacks
- CISA: Cybersecurity best practices
- bitcoin.org: Secure your wallet
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.