I'm trying to minimize the chances of someone cracking my Web application's forms-based authentication. I know...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
I can't control who connects to the application, but what can I do to prevent cracking and users' accounts getting locked?
Web-based password cracking is a real problem for forms-based authentication. Between the weak passwords that people use and the amount of Web attacks taking place, you can be a target for an attack that you’re likely not ready to detect and protect against. According to the 2014 Verizon Data Breach Investigations Report, 35% of all breaches are Web-related.
I typically recommend that developers include an intruder lockout mechanism for forms-based authentication. For example, after five to 10 failed login attempts, lock the account for a few minutes and/or provide a means for the users to reset their passwords (i.e., via an out-of-band email reset process).
You can also help prevent automated forms-based attacks by requiring a multi-step process for users to login. The most resilient forms-based Web authentication system I’ve seen is one that required users to click on images to enter their passwords and the images changed position ever so slightly each time. The problem with this approach is that it also breaks most login macro recorders used in Web vulnerability scanners making it nearly impossible to perform authentication vulnerability scans if you’re using the wrong tool.
A Web application firewall (WAF) or intrusion prevention system (IPS) can help prevent login form attacks as well. There are a lot of variables, and only you know what would work best for your system architecture, your application workflow and your users. Just make sure you’re thinking about this challenge, because it will likely surface and need to be addressed at some point.
Related Q&A from Kevin Beaver
When replacing an email security gateway, should a Web security gateway be used or another email gateway? Expert Kevin Beaver explains.continue reading
Expert Kevin Beaver explains how organizations should address end-of-software development dates, and what they ultimately mean to enterprise security.continue reading
Are read-only domain controllers a more secure option for setting up domain services in a DMZ than using a separate domain? Expert Kevin Beaver ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.