brute force attack
Trying many passwords against one account until one works.
In more detail
In logs, brute force shows as many failures for one account, often followed by lockout events. A success after many failures from the same source is the key alert. Account lockout, MFA and rate limits are the defences.
Examples
for middle in range(10**6): # the attacker only lacks six digitsplain SHA-256: recovered 4111111111111111 after 111,112 guessesA login endpoint that answers unlimited guesses is a password oracle; the course recovers hunter2 in seven requests.Related terms
- password cracking — Recovering the actual passwords behind stolen password hashes by guessing candidates, hashing each one and looking for a match.
- dictionary attack — A password-guessing attack that tries words from a prepared list of likely passwords instead of every possible combination.
- keyed hash — A hash computed with a secret key mixed in, so only someone who holds the key can produce or check the correct value.
- key length — The size of a cryptographic key in bits, which sets how many possible keys an attacker would have to try.
- password spraying — Trying one or two common passwords against many different accounts, to avoid the lockouts that repeated guesses on one account would cause.
- account lockout — Temporarily disabling an account after too many failed login attempts.
- correlation rule — A detection rule that links several events, often from different sources, that together suggest an attack.
- rate limiting — Capping how many requests a client may make in a period of time, and rejecting or delaying the rest.
Taught in
- Regulatory Compliance: SOC 2, HIPAA, GDPR & PCI-DSS — Cybersecurity Fundamentals, GRC & Cryptography
- Symmetric Encryption: AES-GCM & ChaCha20 — Cybersecurity Fundamentals, GRC & Cryptography
- Event Correlation Rules, Thresholds & Anomaly Pipelines — Security Operations & Threat Hunting (SOC)
- Detection as Code: Authoring & Testing Sigma Rules — Security Operations & Threat Hunting (SOC)
- Adversary Tactics, Techniques & Procedures (TTP) Mapping — Security Operations & Threat Hunting (SOC)
- Authentication Versus Authorisation — Application Security & Threat Modeling for Engineers
- Rate Limiting And Resource Consumption — Application Security & Threat Modeling for Engineers