A keylogger is a program that secretly records everything you type and passes it on to whoever installed it: passwords, messages, card details. A keyboard layout switcher sees every keystroke too — otherwise it would have nothing to fix. So an app listening to your keyboard isn’t proof of anything; what matters is what it does with what it hears. Below, I’ll go through five questions that tell the two apart and show how to detect a keylogger with tools already built into Windows — try them before you go looking for a separate keylogger detector. I made a layout switcher myself, Lang Switcher, so at the end I’ll put it through the same five questions.
What they have in common
Windows gives apps a standard way to see keystrokes before they reach the window you’re typing in. Microsoft’s documentation calls it a hook: a way for an app to intercept events such as mouse actions and keystrokes. Layout switchers and hotkey tools rely on it. Kaspersky describes API-based keyloggers the same way: they listen in on the signals that travel from each keypress to the app you’re typing into.
Both kinds of program also run the whole time you’re at the computer and start when you sign in. So neither the hook nor autostart proves anything on its own. Even an antivirus that finds a keylogger may not sound the alarm. Keyloggers have legal uses too — parents can monitor their own children’s devices, for example — so, as Kaspersky notes, security software doesn’t always flag them as an immediate threat.
Five questions that tell them apart
Where does your typing go? The whole point of a keylogger is that someone else reads what it records, so it emails the log or uploads it to a server. A layout switcher doesn’t need the internet to work — the word gets fixed right where you typed it. If a utility does go online, an honest author tells you why and exactly what it sends.
How much does it keep? A keylogger saves everything you type, and some also take screenshots and record the websites you visit. To fix a word, a switcher needs only the last one, and it can keep that in memory rather than on disk. A legitimate app sometimes remembers more, but then it’s a feature you can see and switch off. For example, Punto Switcher, popular with Russian speakers, has a typing diary; according to Yandex’s help, you turn it on and off from the program’s icon by the clock. The difference is that you know the diary is there, and the choice is yours.
Can you see it? A keylogger is built to hide: its files and its traffic pass for ordinary ones. A decent utility is usually in plain sight, with an icon by the clock and an entry in Installed apps, where you can uninstall it like any other app.
Who made it? A trustworthy app has a website, a named author you can contact, and a signed installer. A signature doesn’t prove the author is honest, but a nameless installer from a forum, or a “repack” from some random site, is a reason to stop.
Is the code open? When the source code is public, anyone with the know-how can check the author’s promises. Closed code proves nothing either way, but then you have to take the author’s word for it.
How to check your PC for a keylogger
Don’t wait for your PC to slow down: a keylogger often causes no visible problems at all. Start with the checks that need no special knowledge. Open Start → Settings → Apps → Installed apps. Is there anything you don’t remember installing? Then right-click Start, select Task Manager and open the “Startup apps” tab, which lists the apps that start when you sign in.
To see who signed a program, right-click its file, open its properties and look for the “Digital Signatures” tab. A signed file lists the signer under “Embedded Signatures”, in the “Name of signer:” column; if there’s no such tab or both lists on it are empty, the file isn’t signed.
To see which programs go online, press Win+R, type resmon, press Enter and open the “Network” tab of Resource Monitor. Under “Processes with Network Activity”, you’ll see every program that’s sending or receiving data right now. If a layout switcher is busy on the network all the time, find out why.
Then let Windows Security take a look. Open the Windows Security app, select “Virus & threat protection” and run a quick scan. Still worried? Save your work, open “Scan options” and choose “Microsoft Defender Antivirus (offline scan)”. Your PC restarts and gets scanned before Windows loads, which, Microsoft says, makes it harder for persistent malware to hide. No scanner catches everything — you’ve seen why — but it will catch what it knows about.
A hardware keylogger is a different story. It’s a small device between the keyboard cable and the computer, and no scan will find it. If someone else has had access to your desktop PC, take a look at where the keyboard plugs in.
And download programs only from the author’s own site. Every middleman between the author and you is one more chance for someone to slip something into the file.
Lang Switcher, by the same five questions
Now let’s put my own program through the same five questions.
Lang Switcher keeps only the last word you typed, and only in memory. Press Enter or Tab, click the mouse or switch to another window, and the word is gone — overwritten with zeros, not just marked as empty. Arabic and similar layouts, where one key can type two letters, are the one exception. For these layouts, the program keeps up to 64 recent keystrokes, still only in memory, so that a word you select with the mouse converts correctly; it zeroes them when you switch fields or windows or stop typing for a minute. Keystrokes never touch the disk — not in the journal, not in the settings, not in temporary files. In password fields, which it spots with three checks, it keeps nothing at all. There’s no typing diary and no keystroke log. One honest caveat: if the program can’t tell what kind of field you’re in, it treats it as an ordinary one.
It goes online only to my site. Once a day, it reads a short news file from there, and it sends nothing about your computer. When a new version comes out, the program downloads it from the same site on its own, checks my signature and installs it while the computer is idle; afterward, a short notification appears by the tray icon. The “How to update” page explains what it checks first. The only other thing it sends is a message from the “Write to the author” wizard, and that goes to my site only when you press “Send” yourself — exactly the text you saw before sending.
You can see it: an icon by the clock and a “Lang Switcher” entry in Installed apps. It uninstalls the usual way and removes the certificate its installer created. I’m the author, Panda Koder. The installer is signed with my own certificate rather than one from a certification authority, a company that vouches for software publishers. So Windows will warn you about an unknown publisher, and you’ll have to confirm that you want to run it. The code is on GitHub, free and open source under the MIT or Apache-2.0 license, and the build is reproducible: the published source produces the same program, so you can check everything I’ve said here.
The bottom line
Both kinds of program intercept the keyboard, so look at everything else. Before you trust an app with what you type, ask the five questions: where does your typing go, how much does it keep, can you see it, who made it, and is the code open? If one of them has no answer, and the app is also hiding and going online, uninstall it and run a scan. None of this takes long, and none of it asks you to take anyone’s word for it — including mine.