4.2 Exercise 1: Identify the Password Attack
Exercise 1: Identify the Password Attack
Guided Practice · 5 scenarios · Predict first, then check · 20–25 min
Each scenario describes a real-world incident. Before you answer, type a short prediction in the purple box — your best guess based on the observed behavior. Then answer the multiple-choice question and check your reasoning against the feedback.
Why predict first? It forces you to commit to a hypothesis before the options frame your thinking. This is exactly the mental habit AP Cyber MCQs reward.
Aceshack2026 — from four source addresses over seven hours. Account lockout triggers after five failed attempts on an account within fifteen minutes; it never triggered, and two accounts signed in successfully. Which attack does this log describe?
ACESHACK TICKET #2214 — DROP-IN WORKSTATION SETUP
Device: DROP-IN-WS-03 (shared, used by remote staff for the day)
Finding 1: The local administrator account still uses the vendor
default password that shipped with the imaging tool.
Finding 2: The sign-in portal stores each password as a hash with
a unique random salt, kept in the same row as the hash.
ASSESSMENT: Finding 2 is a defect. A salt is a secret, so storing
it beside the hash cancels its protection entirely.
RECOMMENDATION: Change the default password, set a minimum
password length, and enable account lockout.
1. A random value stored with each password hash, so that two users who choose the same password still end up with different hashes, is called a .
2. An attack that replays username-and-password pairs stolen from one site against a different site is called credential .
3. A precomputed list of candidate passwords with their matching hashes, searched to reverse a stolen hash, is called a table.
Password-attack items are decided by two questions you can ask before you read the options. How many accounts, and how many guesses per account? — that separates brute force from password spraying from credential stuffing. Where is the guessing happening? — on a live portal, where lockout and rate limits bite, or offline against a stolen hash file, where only password length and a slow hashing algorithm slow the attacker down. Terminology items reward the same discipline: a salt is a stored value, stuffing is an attack, and a rainbow table is a lookup structure.
Get in Touch
Whether you're a student, parent, or teacher — I'd love to hear from you.
Just want free AP CS resources?
Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.
Message Sent!
Thanks for reaching out. I'll get back to you within 24 hours.
Prefer email? Reach me directly at [email protected]