A brute-force attack is an attempt to gain access by systematically trying many passwords, passphrases, keys or credential combinations until one succeeds. Variants include simple guessing, dictionary attacks, password spraying and credential stuffing with leaked username and password pairs. MITRE ATT&CK lists them under technique T1110 (Brute Force). Defenses combine multi-factor authentication, rate limiting and monitoring of failed and successful logins.
What is a brute-force attack?
A brute-force attack relies on volume instead of a vulnerability. The attacker does not need a flaw in the software, only a login interface and enough attempts. Targets are web and mobile logins, APIs with token or key authentication, SSH and remote desktop access, VPN gateways and administrative interfaces. Attacks are usually automated with scripts or botnets and spread over many IP addresses to avoid simple blocking.
In the MITRE ATT&CK framework brute force is technique T1110 in the credential access tactic, with sub-techniques for password guessing, password cracking, password spraying and credential stuffing.
Types of brute-force attacks
- Password guessing: many passwords are tried against one account, often from lists of common passwords. This is the classic form and the easiest to notice per account.
- Password spraying: a few common passwords are tried against many accounts. Each account sees only a handful of failures, so per account lockouts do not trigger.
- Credential stuffing: username and password pairs leaked from other services are replayed, exploiting password reuse. Success rates per attempt are low, but the volume can be very high.
- Offline cracking: if password hashes have been stolen, attackers try candidates against the hashes on their own hardware. This is invisible to the target system, which is why strong, salted hashing algorithms matter.
Why brute-force attacks matter
A successful attack leads to account takeover, with access to personal data, payment methods or internal systems. Even unsuccessful attacks have an operational impact: thousands of login requests per minute increase load on authentication services and databases, raise the error rate and can lock out legitimate users if lockout rules are too aggressive. That is why brute-force activity often shows up in performance dashboards before it shows up in a security review.
Detecting brute-force attacks
Detection relies on authentication events with consistent fields: timestamp, user name, result, source IP address, user agent and, if available, geolocation or network origin. Useful signals are:
- A rising number of failed logins per account, per source IP or per network compared to a baseline.
- Many different user names from a single source, a typical sign of spraying or stuffing.
- A sudden change in the ratio of failed to successful logins for the whole login endpoint.
- A successful login after a series of failures for the same account, which deserves particular attention.
- Unusual user agents, automation patterns or login traffic from networks that normally do not access the service.
Because distributed attacks spread attempts over many sources, aggregated views across the whole endpoint are as important as per IP thresholds. A SIEM or log analytics platform correlates these signals, and a confirmed successful login after an attack becomes an indicator of compromise for further investigation. Our article on account takeover detection and credential stuffing describes detection patterns in more detail.
Preventing brute-force attacks
- Multi-factor authentication: a correct password alone is no longer enough, which removes most of the value of guessed or leaked passwords.
- Rate limiting and progressive delays: limit attempts per account, per source and per endpoint, and slow down repeated failures.
- Careful lockout rules: temporary lockouts slow down guessing, but permanent lockouts let attackers lock out legitimate users. Many teams prefer delays or step-up challenges.
- Password policies: current guidance such as NIST SP 800-63B recommends checking new passwords against lists of known compromised passwords instead of complex composition rules.
- Bot detection and challenges: CAPTCHAs or proof of work challenges for suspicious traffic raise the cost of automation.
- Reduce exposure: do not expose SSH, remote desktop or admin interfaces directly to the internet, and prefer key based authentication for servers.
The observability perspective
Brute-force attacks connect security and operations. The same login endpoint appears in security logs as failed authentications and in operational metrics as higher request rates, latency and error rates. Correlating both views helps teams decide quickly whether a spike in errors is a faulty deployment or an attack, and whether rate limits are protecting the service or blocking real users.
How Obseria helps
With Obseria Security Log Analytics, authentication and audit logs are linked to host, service and trace, and anomaly detection flags unusual patterns such as spikes in failed logins. Threat Observability adds detection rules as code, mapped to ATT&CK techniques, and alerts route findings to the right team. Because request rates, latency and errors of the login endpoint are visible in the same platform, teams can see the operational impact of an attack and the effect of their countermeasures.