Home › Cybersecurity wiki › What is a password attack against the secret of an account?

Wiki

What is a password attack against the secret of an account?

A password attack tries to find or capture a secret that unlocks an account or a system.
The path runs from blunt guessing to deceiving the person who knows the secret.
Defense has to know both paths, because a strong password does not stop a keystroke that was recorded.

Types of Password Attacks

The types differ by whether many possibilities are tried mechanically or likely words and patterns come first.
Both assume the attacker can either submit many attempts or test a copy of stored passwords.
The type decides whether a limit per sign-in or the way secrets are stored is the more important protection.

Brute Force Attacks

Brute force attacks try possible strings in order or in great width until one fits.
Online they fail against tight attempt limits and delay.
Offline, against a stolen password file, success depends on length and randomness of the secret and on a slow checking function.

Dictionary Attacks

Dictionary attacks try words, earlier leaks, and close variants such as digits appended to a word.
They hit passwords people build from language and habit.
A random, long enough sequence sits outside that stock.
The same list is reused against many services once a password was reused.

Methods of Password Attacks

Besides guessing, the password is captured on the way to the service or lured out of the person.
Keyloggers and phishing bypass the strength of the secret because they read the real one.
A policy about complexity alone changes nothing on these paths.

Keylogging

Keylogging records keystrokes or entry into a form, often through malware or a tampered device.
The password is then known regardless of its length.
Protection is avoiding unknown software, checking the sign-in path, and a second factor the logger does not possess.

Phishing

Phishing leads the person to enter the password on a copied page or in a reply.
The message creates pressure or imitates a familiar party.
The useful difference is the real address and a second factor bound to that sign-in, which cannot simply be typed along with the password.

Preventing Password Attacks

Prevention limits guessing, stores secrets so a stolen file is of little use, and makes capture and deception harder.
Users choose long secrets that are not reused, or a password manager holds them.
Operators count failed attempts, slow them down, and offer a second factor.

Strong Password Policies

Strong policies demand length and uniqueness rather than forced symbols that only create predictable patterns.
They reject reuse of secrets already seen in leaks and allow a manager to hold the secrets.
A policy that forces frequent change without a reason often produces weaker variants of the same word.

Two-Factor Authentication (2FA)

A second factor means the password alone is not enough to sign in.
It has to be bound to the specific sign-in and must not travel on the same channel where the password was just captured.
Recovery paths must not be weaker than the factor, or the policy is bypassed there.

The Role of CAPTCHA in Preventing Password Attacks

CAPTCHA slows automated sign-in attempts before guessing can pick up speed.
CDPCaptcha has the browser solve a small computation that people barely notice and that becomes expensive for bots in bulk.
It does this without cookies and without fingerprinting, and so it raises the cost of mass attempts at sign-in.

Types of CAPTCHA

Types include distorted characters, image selection, short interactions, and computations the browser performs itself.
CDPCaptcha belongs with the computations: a person barely notices it, a bot pays for it in compute time on every attempt, and neither cookies nor a browser fingerprint are used.
The type decides whether protection depends on human labor, on browser traits, or on cost per attempt.

Limitations of CAPTCHA

CAPTCHA limits mass attempts and not the use of a single secret that is already known.
Image puzzles can be outsourced, and checks based on cookies or fingerprints fail on unusual but real browsers.
A computation such as CDPCaptcha stays effective against volume without cookies and without fingerprinting, and it replaces neither a long secret nor a second factor.

Conclusion

Password attacks guess, capture, or lure out the secret.
Limits, sound storage, long unique secrets, and a bound second factor close the main paths.
A barely noticeable computation at sign-in additionally makes automated guessing expensive.