Home > Glossary > CompTIA PenTest+ > Dictionary Attack

📖 What is Dictionary Attack?

A dictionary attack is a password-cracking method that uses a predefined list of likely passwords, known as a dictionary, to attempt to gain access. It is more efficient than a pure brute-force attack because it focuses on common words and previously leaked passwords.

🥋 Sensei Says:

"If the exam mentions 'wordlists' or 'rockyou.txt,' they are referring to a dictionary attack."

📚 Certification: CompTIA PenTest+ (PT0-002)

🔑 What are the Key Concepts of Dictionary Attack?

  • Utilizes predefined wordlists containing common passwords or leaked credentials, significantly reducing the time required compared to exhaustive brute-force attempts.
  • Often employs specialized tools like John the Ripper or Hashcat to automate the process of testing thousands of passwords per second.
  • Focuses on human psychology, targeting common patterns, dictionary words, and frequently used substitutions like replacing 's' with '$'.
  • Can be evolved into a hybrid attack by appending numbers or special characters to dictionary words to bypass basic complexity requirements.
  • Highly effective against users who choose passwords based on real words rather than truly random character sequences.

🎯 How does Dictionary Attack appear on the PT0-002 Exam?

You may be asked to identify the most efficient password-cracking method when provided with a known list of leaked credentials from a previous data breach.

A scenario might describe a penetration tester using the 'rockyou.txt' file with a tool like Hashcat; you must identify this as a dictionary attack.

Expect questions where you must compare a dictionary attack to a brute-force attack to determine which is faster for targeting common user passwords.

❓ Frequently Asked Questions

What is the main difference between a dictionary attack and a brute-force attack?

A brute-force attack tries every possible combination of characters, while a dictionary attack only tries words from a specific list. Dictionary attacks are faster but only work if the password is in the list.


How does a hybrid attack differ from a standard dictionary attack?

A hybrid attack takes a dictionary word and adds variations, such as adding '2023' to the end or capitalizing the first letter, to catch passwords that follow simple patterns.


How can organizations effectively mitigate the risk of dictionary attacks?

Implementing strong password complexity policies, enforcing the use of multi-factor authentication (MFA), and using salts during password hashing prevent these attacks from being successful.

Related Terms from CompTIA PenTest+

📝 Related Study Guides

Comparison 8 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

Choose CISSP if you want broad technical security expertise across eight domains, including cryptography, network security, and software development. Choose CISM if you're focused on information security management, governance, and risk management from a leadership perspective. CISSP is ideal for hands-on security architects, while CISM is designed for security managers and directors.

Career Guide 9 min read

The IT Certification Roadmap: Where to Start in 2026

Start your IT certification journey in 2026 with CompTIA A+ for general IT foundations, then branch into networking (Network+), cybersecurity (Security+), or cloud computing (AWS Cloud Practitioner or Azure Fundamentals) based on your career goals. Each path leads to advanced certifications like CISSP, AWS Solutions Architect, or CISM within 2-3 years of focused progression.

Comparison 10 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

The CISSP is a broad, technical-to-managerial certification focusing on security operations and architecture across eight domains. In contrast, CISM is a specialized management certification centered on governance, risk management, and program development. Choose CISSP for comprehensive security expertise and CISM if you are pivoting specifically into security leadership and governance roles.

🧠

Test Your Knowledge

Think you understand Dictionary Attack? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium