Login system supplies fake passwords to hackers

ErsatzPasswords, a research project, aims to stop the cracking of password hashes

Mohammed H. Almeshekah, Purdue University

Mohammed H. Almeshekah, Purdue University

A team of researchers has developed a system that makes it much harder for hackers to obtain usable passwords from a leaked database, which could help blunt the damage from a data breach.

The system is described in a research paper that has been submitted for consideration at the 2015 Annual Computer Security Applications Conference, which takes place in Los Angeles in December.

Called ErsatzPasswords, the system is aimed at throwing off hackers who use methods to "crack" passwords, said Mohammed H. Almeshekah, a doctoral student at Purdue University in Indiana.

Hackers "will still be able to crack that file, however the passwords they will get back are fake passwords or decoy passwords," Almeshekah said.

Passwords are typically encrypted when stored by organizations. The passwords are encrypted using an algorithm, and that output -- called a hash -- is stored.

Hashes are considered safer to store than plain-text passwords. It is difficult, but not impossible, to figure out a plain-text password from a hash.

To do that, hackers use brute-force techniques, which involve creating lists of words that could be possible passwords and computing their hash to see if a match is found. It's time-consuming and computationally intensive work.

To cut down on that time, hackers use programs such as John the Ripper, which can draw on large lists of passwords from different data breaches whose hashes have already been calculated. Those lists grow longer by the day, and since many users do not pick complicated passwords, it speeds up the work of hackers.

When a new password is created for a service on a Linux system, a random value called a salt is added to it before it is encrypted and the hash is stored.

ErsatzPasswords adds a new step. Before a password is encrypted, it is run through a hardware-dependent function, such as one generated by a hardware security module, Almeshekah said.

That step adds a characteristic to a password that makes it impossible to restore it to its accurate plain text without access to the module, he said.

ErsatzPasswords exerts a bit of control over the salt that is added to the password so that what comes out of the hardware security module resembles a password, albeit a fake one, Almeshekah said.

The result is that if a hacker starts to get matches on a list of hashes, all of the passwords won't work. The hacker wouldn't know that necessarily until he or she tried them to access a service.

Web services are typically designed to cut off people after a number of wrong guesses, although ErsatzPasswords can be configured to alert an admin when a fake password is entered. It can also be configured to automatically create a fake account when a fake password is entered, allowing an admin to see what the person is trying to hack, Almeshekah said.

The beauty is on the server side since only one password file needs to be stored. "Even if we want to verify the real password, we don't need a different file," Almeshekah said.

Almeshekah said the researchers used a fairly cheap hardware security module from Yubico called the YubiHSM that costs around US$500. For a large numbers of users, a more advanced type of hardware security module would be needed for better performance, which could cost $10,00 and up, he said.

But setting up ErsatzPasswords on the server side is pretty easy, he said, and the code is available on GitHub. It's free and is published under an Apache open-source license.

The research paper was co-authored by Christopher N. Gutierrez, Mikhail J. Atallah and Eugene H. Spafford, all of Purdue's Information Assurance and Security group.

Send news tips and comments to jeremy_kirk@idg.com. Follow me on Twitter: @jeremy_kirk

Join the Good Gear Guide newsletter!

Error: Please check your email address.

Tags no companysecurity

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jeremy Kirk

IDG News Service
Show Comments

Essentials

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?