CAPEC-16
Dictionary-based Password Attack
An attacker tries each of the words in a dictionary as passwords to gain access to the system via some user's account. If the password chosen by the user was a word within the dictionary, this attack will be successful (in the absence of other mitigations). This is a specific instance of the password brute forcing attack pattern. Dictionary Attacks differ from similar attacks such as Password Spraying ( CAPEC-565 ) and Credential Stuffing ( CAPEC-600 ), since they leverage unknown username/password combinations and don't care about inducing account lockouts.
Soyutlama
Detailed
Tipik ciddiyet
High
Saldırı ihtimali
Medium
Saldırıyı anla
Bu saldırı kalıbı nedir?
Uygulama akışı
Saldırı adım adım nasıl ilerler?
Explore
Determine application's/system's password policy
Kullanılan teknikler
- Determine minimum and maximum allowed password lengths.
- Determine format of allowed passwords (whether they are required or allowed to contain numbers, special characters, etc., or whether they are allowed to contain words from the dictionary).
- Determine account lockout policy (a strict account lockout policy will prevent brute force attacks).
Select dictionaries
Kullanılan teknikler
- Select dictionary based on particular users' preferred languages.
- Select dictionary based on the application/system's supported languages.
Determine username(s) to target
Kullanılan teknikler
- Obtain username(s) by sniffing network packets.
- Obtain username(s) by querying application/system (e.g. if upon a failed login attempt, the system indicates whether the entered username was valid or not)
- Obtain usernames from filesystem (e.g. list of directories in C:\Documents and Settings\ in Windows, and list in /etc/passwd in UNIX-like systems)
Exploit
Use dictionary to crack passwords.
Kullanılan teknikler
- Try all words in the dictionary, as well as common misspellings of the words as passwords for the chosen username(s).
- Try common combinations of words in the dictionary, as well as common misspellings of the combinations as passwords for the chosen username(s).
Gereksinimler
Saldırının gerçekleşmesi için ne gerekir?
Ön koşullar
- The system uses one factor password based authentication.
- The system does not have a sound password policy that is being enforced.
- The system does not implement an effective password throttling mechanism.
Gerekli beceri
- Low: A variety of password cracking tools and dictionaries are available to launch this type of an attack.
Gerekli kaynak
- A machine with sufficient resources for the job (e.g. CPU, RAM, HD). Applicable dictionaries are required. Also a password cracking tool or a custom script that leverages the dictionary database to launch the attack.
Tespit
Saldırının göstergeleri nelerdir?
Etki
Başarılı saldırı neye yol açar?
Etkilenen alanlar: Confidentiality, Access Control, Authentication
Etkilenen alanlar: Confidentiality
Etkilenen alanlar: Integrity
Savunma
Nasıl önlenir ve etkisi azaltılır?
Gerçek dünya