Hacker Tool Steals All Your Passwords from KeePass

Password managers help users remember countless complicated, unique passwords, but they set up a single point of failure that can be targeted by malicious software. A new tool posted online does exactly that, stealing the treasure trove of usernames, passwords and other sensitive data from the open-source KeePass password manager tool without needing to know the single "master password" that controls a KeePass account.

Credit: Ingvar Bjork/Shutterstock

(Image credit: Ingvar Bjork/Shutterstock)

The tool, called KeeFarce and posted on the code-sharing site GitHub, must first be surreptitiously installed on a targeted system. Once there, it waits until the user launches KeePass and, very importantly, logs into KeePass using his or her master password. The master password decrypts the password database stored on the computer's hard drive and puts in the computer's running memory in plaintext so that KeePass can use the passwords to log into websites and other accounts.

MORE: Should You Use a Password Manager?

This is where KeeFarce steps in. It uses a classic hacking technique called a dynamic-link-library (DLL) injection to confuse KeePass into exporting the entire plaintext password database as a comma-separated-values (.CSV) file, which can easily be translated into a spreadsheet. KeeFarce doesn't have to know the KeePass master password, and doesn't have to decrypt the stored password database.

KeeFarce was developed by a New Zealand-based researcher and is intended for penetration testers, security consultants who are hired by companies to see how hard it is to break into the companies' computer systems. But putting it on GitHub means that anyone can use it.

The developers of KeePass have previously said that KeePass cannot protect itself from targeted spyware if a computer system is compromised, citing the adage that "if a bad guy can get his software on your computer, it's not your computer anymore." It's possible that other password managers could be compromised in similar ways, provided that the targeted password manager keeps the user logged in.

If users continue to keep their systems updated, secured by antivirus software and out of the physical hands of attackers, they should be able to avoid most infections by KeeFarce, or indeed any malware. And if they're using password managers, they should set time-outs that limit how long a user can be actively logged into the managers.

TOPICS
Henry T. Casey
Managing Editor (Entertainment, Streaming)

Henry is a managing editor at Tom’s Guide covering streaming media, laptops and all things Apple, reviewing devices and services for the past seven years. Prior to joining Tom's Guide, he reviewed software and hardware for TechRadar Pro, and interviewed artists for Patek Philippe International Magazine. He's also covered the wild world of professional wrestling for Cageside Seats, interviewing athletes and other industry veterans.

Latest in Password Managers
The Apple Passwords app open on an iPhone in hand
Apple Passwords password manager review
A phone in hand showing the LastPass logo
Millions stolen from LastPass users in massive attack — what you need to know
Proton Pass
Proton Pass password manager review
A phone and tablet sharing passwords using Google Password Manager
Google just made a huge step in killing off passwords for good
Keeper password manager shown on laptop and smartphone
Hurry! Save 50% on this top-rated password manager
Keeper password manager shown on laptop and smartphone
Hurry! One of our top password managers is 50% off right now
Latest in News
ChatGPT on iPhone
ChatGPT was down — updates on quick outage
Emma D'Arcy in House of the Dragon season 2
‘House of the Dragon’ season 3 has officially begun filming — what it could mean for the potential release window
AirPods Max in various colors
AirPods Max is getting a big update with lossless audio and ultra-low latency — here's how it works
A mosquito resting on a plant
Experts predict a spring surge in these 9 pest populations — here's what's forecast for your area
Apple Watch SE (2022) shown on wrist
Apple Watch SE 3 reportedly in ’serious jeopardy’ — here’s why
Galaxy S25 Plus held in the hand.
Samsung could delay One UI 7’s release in the US — here’s what we know