Keylogger
Last Updated: November 16, 2026
What Is a Keylogger?
A keylogger is a spying tool that records every key a person presses on a device. The name is short for “keystroke logger.” Hackers often use keyloggers to steal private data for their own gain, such as:
- Crypto private keys and recovery phrases
- Account passwords
- Bank details
A keylogger is a type of spyware. Some spyware goes further and can also capture screenshots, clipboard contents or, in some cases, the device’s camera.
Two Chief Categories of Keyloggers
Hardware Keyloggers
Hardware keyloggers are physical devices. Common types include:
- Hidden camera loggers: cameras that watch what you type.
- USB-loaded keyloggers: USB devices that plant keystroke-logging malware on a computer.
- Keyboard hardware keyloggers: devices built into a keyboard or linked to a computer by a cable.
Some sit inside a computer’s internal parts. Others look like an ordinary plug in the keyboard port and record every signal as the victim types. The attacker first needs physical access to the victim’s computer to install one.
Software Keyloggers
Software keyloggers are much easier to plant on a device, which is why most attackers use them. Unlike many other viruses, they do not harm the system. They run quietly in the background and send what you type to the attacker while the device works as normal.
Keyloggers and Crypto-Stealing Malware
In crypto, a keylogger is now often one part of a wider “infostealer.” These programs grab saved passwords, login cookies, wallet files and anything you type. Then they send it all to the attacker. Related tools include clipboard hijackers, which swap a copied wallet address for the attacker’s own, and screenshot scanners.
A dated example: on February 5, 2025, Kaspersky reported SparkCat, a trojan hidden in apps on Google Play and Apple’s App Store. It read photos in the gallery to find pictures of recovery phrases. Kaspersky said the infected Google Play apps had more than 242,000 downloads. It called SparkCat the first known stealer of this kind in the App Store.
The losses are large. CertiK’s H1 2026 Hack3d report, published July 6, 2026, counted $444.5 million lost to wallet compromises across 33 incidents and $366.3 million lost to phishing in the first half of 2026.
Examples of Keylogger Software
Products such as Revealer Keylogger, Ardamax Keylogger, WinSpy, Refog Keylogger and Invisible Keylogger are sold as monitoring tools. Their makers list features like keystroke logs, screenshots, remote reports and hidden modes. Those same features make the software dangerous when someone puts it on another person’s device without consent.
The Use Cases of Keyloggers
A common criminal use of keyloggers is to steal crypto: attackers capture private keys, recovery phrases or exchange passwords. There are also some legal uses:
- Employers: system administrators may use keylogging software to track activity on company devices, within local law.
- Law enforcement: police can use keyloggers under legal authority to gather evidence.
- Parents: parental control tools let parents keep an eye on their children’s online activity.
Today, keyloggers are no longer just spying tools for governments or criminals. They have become their own commercial market, and anyone can buy a copy of keylogging software.
How to Reduce the Risk
- Store larger amounts in a hardware wallet, which signs transactions on its own screen so typed keys are never needed.
- Turn on two-factor authorization (2FA) for exchange accounts, preferably with passkeys or security keys. Our two-factor authentication entry explains why codes that are typed can still be captured.
- Never type a recovery phrase into a computer or phone, and never keep it as a screenshot.
- After pasting an address, compare it with the original on the wallet or device screen.
Our guide on how to store crypto safely covers backups and account security in more detail. To learn more about protecting your funds, read our guide on what a crypto wallet is.
Frequently Asked Questions
Can a keylogger steal my crypto?
Yes, if it captures a private key, a recovery phrase or an exchange password and the attacker can use it. Many modern stealers also grab browser data and wallet files. Funds held on a hardware wallet are harder to take, because signing happens on the device and the recovery phrase should never be typed on a computer.
Does two-factor authentication stop keyloggers?
It helps, but not fully. A keylogger can record a password and a typed one-time code, and some malware steals the cookies that keep you logged in. Passkeys and hardware security keys hold up better, because there is no secret to type. A clean device and careful downloads lower the risk further.
How can I tell if my device has a keylogger?
It is often hard, because good keyloggers stay hidden. Warning signs include apps or browser add-ons you do not know, settings that change on their own, and logins you did not make. Keep the system up to date, get apps only from official stores and run a trusted security scan. If you suspect an infection, move funds from a clean device.
Data sources: Kaspersky press release on SparkCat (February 5, 2025); CertiK H1 2026 Hack3d report (July 6, 2026).