Security & Compliance

Password Hacking: How Passwords are Breached

Password Hacking: How Passwords are Breached

“Your application has been hacked” is probably one of the last lines a SaaS executive wants to hear today. CISOs and security teams also know this. Unfortunately, poor authentication and authorization implementation is still common across multiple platforms, leaving hackers with a big(ger) attack surface to exploit.

This post covers password hacking and how to secure SaaS authentication standards with proper user management. 

Password authentication is a process where the end user enters a unique ID and key to access the application or website. The system checks them against credentials stored on dedicated servers, which can be on-prem or in the cloud. But more often than not, passwords get reused or are not strong enough, and that is what hackers look for.

It doesn’t matter whether you have enabled SSO authentication, MFA authentication, or other methodologies. Once your defenses have been penetrated, you’re looking at a large-scale breach with many business, legal, and regulatory implications. Read on to understand the dangers you face and why SSO implementation and other changes need careful planning. 

Top 5 Password Breach Techniques

Cybercrime is evolving and so are the techniques used to harvest passwords. In no specific order, here are 5 popular techniques the bad guys use.

  1. Phishing: This growing hacking technique exploits human beings, the weakest link in the ecosystem. This social engineering technique manipulates end-users or company employees into providing their personal and payment information through malicious requests masked as legitimate website links in emails, text messages, and online ads.
Phishing attack example.
Courtesy: Malwarebytes Labs
  1. Credential Stuffing: Another popular password hacking technique is credential stuffing, also known in cybersecurity circles as list cleaning, which is the automated testing of stolen credentials against usernames, passwords, and other info. Security researchers believe hackers test millions of user accounts with this technique every day.
  2. Keylogging: This exploit is less common than the techniques above because it is more complex, but it can give hackers access to your personal information by infecting your machine or network. Attackers use targeted, well-crafted attacks to install the keylogging malware.
     
  3. Password Spraying: Many people use a nickname or a spouse’s name as a password, and hackers know it. They run commonly used passwords and number combos (111111, 123456, etc.) against user accounts until one works. More than 15% of password exploits are executed like this.
  4. Brute Force: This is the least likely attack on this list, but many hackers and criminal organizations still use it. Tools like “DaveGrohl” and “Aircrack-ng” try to crack passwords with “dictionary attacks”, and some hackers access the hash of plain-text passwords.
Password hacking techniques.
Courtesy: CTM360

Hackers also exploit other loopholes such as network vulnerabilities, using network sniffers and analyzers to intercept data packets that contain passwords.

Related: Authentication Standoff: OAuth2 vs OIDC vs SAML

Password Breach Incidents are Escalating

Stolen passwords can unlock your database or expose sensitive business data when not managed properly. 61% of data breaches start with compromised credentials.

Twitter had a password exploit in May 2018, which impacted more than 300 million users. The cause was passwords stored unencrypted and unsecured in an internal log, where all internal users could see them. Twitter says there was no indication of a breach, but the information was still exposed for months.

A year later, a similar incident happened with Facebook, with more than 500 million users potentially impacted. The primary exploit was related to Mexican media company Cultura Colectiva’s Facebook datasets, which were found exposed to hackers and other malicious parties. Another weak link was “At the Pool”, a third-party app, which also leaked thousands of passwords and personal profiles.

Adopt these best practices to make your ecosystem safer:

  • Communicate issues and risks with your active users
  • Clean and delete inactive user accounts on an ongoing basis
  • Update your third-party software and apply all available patches
  • Watch out for breaches and inform your users about new exploits
  • Create a proper incident response plan to minimize collateral damage
Always communicate password exploits to your users.
Source

Even these security measures and best practices won’t get you far without a comprehensive end-to-end password authentication and user management solution that stores data securely. With organizations scaling up (and down) unexpectedly, only a flexible solution can help you avoid malicious activity and achieve data privacy compliance.

Authentication is the Gateway to Your Application

With the rapid digitalization driven by COVID-19 and the rise of Product-Led Growth (PLG), you need to enhance your user management capabilities to improve user satisfaction and, as this article explains, keep raising security standards. Your end-to-end user management solution should ideally be multi-tenant by design and scale smoothly.

There are many open-source (OS) solutions available today, with Keycloak, Ory-Kratos, Flask-base, and UserFrosting being the most popular ones.

These OS user management solutions give you ongoing community support and more visibility, but they can be tricky to deploy, integrate, and scale. And the lack of ongoing security updates in OS tools means you are unknowingly creating security and compliance blind spots in your application.

The OWASP Top-10 lists the risks apps face, including improper authentication. The best way to stay secure is an end-to-end user management solution with secure role-based authorization and a granular security policy, managed from a centralised dashboard with automated reporting/alerting and real-time user activity insights. 

Start protecting your SaaS infrastructure now.