Key Takeaways
- A brute force attack attempts various combinations of passwords or keys until a match is found.
- Password-based network logins like MS-CHAPv2 are vulnerable to credential capture and guessing.
- Certificate-based authentication removes passwords from the authentication process, eliminating the secret that brute force attacks target.
Brute force attacks turn authentication into a numbers game. Adversaries repeatedly test passwords, password variations or stolen credentials until they find one that grants access.
Against network authentication systems, that access can extend beyond an individual account to corporate Wi-Fi, VPN connections and protected network resources. The risk is greater when organizations rely on legacy password-based authentication without sufficient protections against automated attempts.
Understanding how these attacks work helps security teams choose defenses that make credential guessing harder and, where possible, eliminate guessable credentials entirely.
What Is a Brute Force Attack?
A brute force attack is an attempt to find a valid password or credential by systematically guessing it with a repetitive or iterative mechanism.
MITRE’s ATT&CK framework classifies brute force attack as technique T1110, which covers attempts to gain access to accounts when passwords are unknown or when password hashes have been obtained.
Brute force attacks are not limited to password authentication.
OWASP describes brute forcing more broadly as submitting predetermined values to a server and analyzing the response, a method that applies to passwords and PINs as readily as it does to hidden pages and content not meant to be publicly linked.
What unites these definitions is the use of repeated attempts rather than a shortcut. When attackers lack the information needed to identify the correct value, they use repeated guesses to find it.
Brute force attacks can target live authentication systems or stolen password hashes. Online guessing targets live authentication systems, where lockout mechanisms can limit repeated attempts. Offline cracking operates on adversary-controlled servers outside the target network, bypassing such restrictions.
Network security teams must distinguish between these two execution environments to design appropriate defenses.
See your security gap before attackers do.
See continuous trust in action on a platform that includes RADIUS, PKI and AI security.
Understanding the Mechanics of Network Brute Force Attacks
A brute force attack uses computational power and repeated attempts to exhaustively search for valid credentials rather than exploiting a software vulnerability.
In network environments such as Wi-Fi or VPNs, an adversary can send repeated authentication requests with different credential combinations until one is accepted by the network access server (NAS). The goal is to obtain credentials that grant access to the protected network.
Unlike social engineering attacks that trick users into revealing secrets, brute force relies on repetition and probability.
MITRE ATT&CK identifies four distinct sub-techniques under T1110 Brute Force:
- Password Guessing
- Password Cracking
- Password Spraying
- Credential Stuffing
These techniques manifest differently depending on whether the attacker targets online services or offline hashes of network credentials.
When targeting live authentication protocols like RADIUS (RFC 2865) or IEEE 802.1X port-based control, the attack typically uses repeated password guesses against the authentication server.
Types of Brute Force Attacks on Networks
Brute force attacks vary in how attackers obtain, generate and test credentials. Understanding these differences helps security teams choose appropriate defenses at the network edge.
The graphic below highlights the key differences between each brute force attack method.
Password guessing is the simplest approach. An adversary systematically tries different passwords against an account until one succeeds or a lockout stops further attempts.
Dictionary attacks use pre-existing lists of commonly used words and passwords instead of generating random combinations. They can be effective when users choose simple passwords or predictable variations.
Credential stuffing uses username and password pairs obtained from previous breaches to access other services where users have reused the same credentials. While more common in web-based authentication, it can also affect Remote Authentication Dial-In User Service (RADIUS) authentication when users reuse directory passwords across services.
Password spraying takes a different approach. Instead of trying many passwords against one account, an adversary tries one weak password across many accounts. This helps avoid the account lockouts that would normally occur when brute-forcing a single account.
The table below compares common brute force methods, how they work and the controls that can limit them.
|
Attack Type
|
How It Works
|
What Limits It
|
|---|---|---|
|
Simple Brute Force / Password Guessing |
Tries passwords repeatedly against one account until one works |
Lockouts, blocklists |
|
Dictionary Attack |
Tests pre-existing word lists against credentials |
Blocklists, unique passwords |
|
Hybrid Attack |
Combines words with variations like appended numbers |
Blocklists, certificate-based authentication |
|
Credential Stuffing |
Uses stolen pairs from breach dumps on a service |
Multi-factor authentication, unique passwords |
|
Password Spraying |
Sends one weak password against many accounts at once |
Rate limiting, blocklists |
|
Offline Password Cracking |
Cracks stolen hashes on adversary-controlled systems outside the network, where lockouts do not apply |
Long passwords, protected hash storage |
These attack methods demonstrate why removing passwords from the authentication process can reduce the attack surface for modern networks.
Vulnerabilities in Legacy Network Authentication Protocols
The primary vulnerability exploited by these attacks lies within legacy methods built on the Extensible Authentication Protocol (EAP), such as Protected EAP (PEAP) with MS-CHAPv2 (PEAP-MSCHAPv2), and weak RADIUS shared secrets.
Microsoft has warned that attackers who intercept an unencapsulated MS-CHAPv2 handshake, as in PPTP VPNs, can use published exploit code to decrypt user credentials because of known cryptographic weaknesses.
This is not merely a theoretical risk; Wi-Fi endpoints based on MS-CHAPv2 are subject to similar attacks as NTLMv1, creating significant exposure for enterprise networks.
When users connect via password-based RADIUS authentication and clients don’t validate the RADIUS server certificate, an evil-twin access point can capture the MS-CHAPv2 exchange and crack it offline.
Once cracked, these credentials give the attacker usable information to initiate their own brute force attempts against valid accounts.
Watch the video below to see how RADIUS authentication works.
The reliance on predictable shared secrets further worsens this risk. RFC 2865 recommends that RADIUS shared secrets be at least as large and unguessable as a well-chosen password.
However, some organizations deploy smaller or static secrets to reduce complexity for administrators, inadvertently creating an attack surface where guessing the secret becomes feasible with sufficient computational resources.
The security plan that scales with you.
Our solutions can scale from mid-market to global enterprises. Compare options and see how our solutions protect you from costly breaches and ensure peace of mind.
The Shift Toward Certificate-Based Authentication Security
Certificate-based authentication is an effective defense against brute force attacks because it eliminates the guessable secret entirely from the equation.
Unlike traditional protocols that rely on passwords or shared secrets, certificate-based methods like PEAP-TLS and Extensible Authentication Protocol–Transport Layer Security (EAP-TLS) use X.509 certificates for mutual authentication.
See how X.509 certificates replace passwords for Wi-Fi access.
In an EAP-TLS exchange (RFC 5216), support includes certificate-based mutual authentication where both the client and the server authenticate with digital certificates, removing user passwords from the process entirely.
Without a user password in transit during this handshake stage, brute force attacks lose their fundamental mechanism. An adversary cannot practically guess a certificate’s private key; they would have to compromise a device holding that key.
Microsoft’s security guidance recommends migrating away from PEAP-MSCHAPv2 and EAP-MSCHAPv2 to certificate-based authentication for Wi-Fi and VPN endpoints.
Why so many of our customers have been switching to EAP-TLS certificate-based Wi-Fi over the years is that the technologies behind PEAP MS-CHAPv2, like NTLM and the MS-CHAPv2 hash, are old and exploitable.
Micah Spady, Director of Product Marketing at SecureW2
The shift to certificate-based authentication also addresses practical challenges beyond security.
For example, one school district serving over 3,000 students across three elementary schools, a middle school and a high school replaced their FreeRADIUS with EAP-PEAP with certificate-backed EAP-TLS to address password sharing and simplify Wi-Fi access for students.
The transition shows how certificate-based authentication can improve both network security and the day-to-day experience of connecting to Wi-Fi.
How to Prevent Brute Force Attacks
Protecting network access from brute force attacks requires layered defenses that address both authentication protocols and credential security.
The following are some ways to prevent brute force attacks:
- Use strong passwords when passwords are required: NIST recommends a minimum of 15 characters for passwords used as a single-factor authentication method. But this is secondary to migrating away from susceptible password-based authentication methods entirely.
- Enable multi-factor authentication (MFA): MFA is one of the strongest defenses against credential-based attacks, including credential stuffing and password spraying. Analysis by Microsoft suggests MFA would have stopped 99.9% of account compromises.
- Limit failed authentication attempts: Rate limiting and account lockouts can prevent attackers from repeatedly testing credentials against live authentication systems. NIST SP 800-63B guidelines require verifiers to limit consecutive failed authentication attempts using a specific authenticator on a single subscriber account to no more than 100.
- Block commonly used or compromised passwords: Organizations should compare prospective passwords against blocklists containing known commonly used, expected or compromised passwords during enrollment.
- Move to certificate-based authentication: Certificate-based authentication removes passwords from the authentication process, eliminating the guessable secret that brute force attacks target.
All these measures can help protect network authentication from brute force attacks, but moving away from password-based authentication provides stronger protection.
Organizations are already making this shift by replacing shared Wi-Fi credentials with certificate-based authentication.
For example, a major cloud data company replaced pre-shared keys (PSKs) with unique, identity-backed certificates across more than 12,000 devices, standardizing EAP-TLS for Wi-Fi and VPN authentication.
Watch the video below to learn the best practices for moving from PEAP-MSCHAPv2 to certificate-based Wi-Fi with EAP-TLS.
Secure Your Network Infrastructure Against Credential Attacks
Brute force attacks require a guessable secret to succeed. Rate limiting, lockout policy and MFA all reduce brute force risk, but they are all still defending a shared secret.
Certificate-based authentication removes this vulnerability entirely by using X.509 certificates instead of user passwords.
Organizations can deploy JoinNow Dynamic PKI to replace static credentials with digital certificates for Wi-Fi, VPN, and web application access. This managed, cloud-native public key infrastructure (PKI) automates certificate issuance and works with your existing identity provider.
Complement it with JoinNow Cloud RADIUS, which checks every authentication against your identity provider in real time.
Schedule a demo to walk through your current authentication setup and see how certificate-based authentication removes brute force risk from your network.
Frequently Asked Questions
What is an example of a brute force attack in network security?
An adversary could repeatedly guess passwords against a network service such as SSH, LDAP or a Wi-Fi authentication system until valid credentials are found. Tools such as Hydra can automate password-guessing attacks against supported services, while password spraying uses one weak password across many accounts to avoid account lockouts. A successful guess can provide access to the network or other protected resources.
How does certificate-based authentication prevent brute force attacks?
Certificate-based authentication replaces passwords with digital certificates, removing the password an attacker would otherwise try to guess during authentication.
Should organizations disable login attempts after a certain number of failures?
Yes. Organizations should limit consecutive failed authentication attempts to make automated guessing more difficult. NIST SP 800-63B requires verifiers to limit consecutive failed attempts using a specific authenticator on a single subscriber account to no more than 100.
What is the difference between credential stuffing and password spraying?
Credential stuffing uses username and password pairs obtained from previous breaches to attempt access to other accounts. Password spraying uses one or a small number of commonly used passwords against many accounts to avoid triggering account lockouts.
Can long passwords always protect Wi-Fi networks from brute force attacks?
No. Long passwords make password cracking more difficult, but they do not protect against every credential-based attack. For example, credential stuffing can succeed when a long password has been reused and exposed in a breach. Captured MS-CHAPv2 exchanges can also be subjected to offline cracking because of weaknesses in the protocol.
