AP Cybersecurity Unit 1 FRQ Practice: Credential Compromise at a Public Library (14 Points)
Credential Compromise at a Public Library
Unit 1 in the real exam format: several sources from one incident, five parts, fourteen points. Covers social engineering, password attacks, public network risk, and AI on both sides of the fight.
How this question works. Every answer must be grounded in the sources below. The task verbs are precise: Identify means state the concept or the evidence, Describe means give the process or outcome, Explain means give reasons backed by specific evidence, and Determine means apply reasoning to the sources to reach a result. When a part says โinclude specific entriesโ or โinclude the network name,โ you lose the point without it.
The Riverton Public Library offers free Wi-Fi to the public and issues staff accounts for the catalog system at catalog.rivertonlib.org. On March 12 a librarian, D. Alvarez, reported that patron records had been altered. The sources below were collected during the investigation. Alvarez works two days a week from the Third Street Cafe next door. Use the sources to answer Parts A through E.
Read the red-flag reference first
Part B asks you to name a social engineering technique and cite the evidence for it. The reference below lists the techniques in the Unit 1 framework and the signal each one leaves behind. Several appear in the message in Source 1, so be precise about which one you are claiming.
| Technique | What the adversary does | Signal it leaves |
|---|---|---|
| Phishing | Mass message impersonating a trusted sender | Lookalike domain, link mismatch |
| Spear phishing | Message tailored to one named target | Real name, role, and internal details |
| Pretexting | Invents a believable situation to justify the ask | A story explaining why the rules bend |
| Baiting | Dangles something desirable | Free item, prize, found USB drive |
| Urgency and authority | Pressures the target to act before thinking | Deadlines, threats, a bossโs name |
| Evil twin | Runs a rogue access point with a trusted name | Duplicate SSID, different MAC address |
catalog.rivertonlib.org/login ย Actual target: rivertonl1b-secure.net/verify
Hi Dana,
Following up on the catalog migration you discussed at Mondayโs branch meeting. Because you are one of the two staff with editor rights on the patron database, your account is in the first migration group.
Your credentials must be re-verified before 5:00 p.m. today or editor access will be suspended and reissued through the county office, which takes about three weeks. I know you have the summer reading deadline, so I wanted to get you sorted first.
Sign in here to confirm: catalog.rivertonlib.org/login
Thanks,
Marcus Bell, IT Help Desk
Investigator note: the message contains no spelling or grammar errors. The library has no employee named Marcus Bell. A branch meeting did take place on Monday and the agenda is posted publicly on the library website.
1. Staff passwords must be at least 10 characters and are changed once per year.
2. Staff must not reuse a library password on any personal account.
3. Staff may access the catalog system from any location, including public Wi-Fi, provided the browser shows a padlock.
4. Suspicious messages must be reported to the branch manager within one business day.
5. Editor rights to the patron database are granted to a maximum of two staff per branch.
1 Mar 10 08:58:14 d.alvarez LOGIN SUCCESS src=203.0.113.40 geo=Riverton agent=Chrome/Win 2 Mar 10 09:31:02 d.alvarez LOGIN SUCCESS src=198.51.100.23 geo=Riverton agent=Chrome/Win 3 Mar 11 02:07:45 d.alvarez LOGIN FAILED src=192.0.2.181 geo=Unknown agent=python-requests 4 Mar 11 02:07:46 d.alvarez LOGIN FAILED src=192.0.2.181 geo=Unknown agent=python-requests 5 Mar 11 02:07:48 d.alvarez LOGIN SUCCESS src=192.0.2.181 geo=Unknown agent=python-requests 6 Mar 11 02:09:11 d.alvarez RECORD EDIT src=192.0.2.181 table=patrons rows=1,204 7 Mar 11 02:22:56 d.alvarez EXPORT src=192.0.2.181 table=patrons rows=1,204 8 Mar 11 08:40:33 d.alvarez LOGIN SUCCESS src=203.0.113.40 geo=Riverton agent=Chrome/Win
| SSID | MAC address (BSSID) | Security | Signal | First seen |
|---|---|---|---|---|
| ThirdStreetCafe | A4:2B:8C:11:07:D1 | WPA2 | -62 dBm | Mar 02 |
| ThirdStreetCafe | 66:F0:19:4E:B2:07 | Open, no password | -38 dBm | Mar 10 |
| RivertonLib-Public | C8:3A:35:0A:91:44 | Open, no password | -71 dBm | Jan 14 |
Investigator note: Alvarez confirmed connecting to the strongest ThirdStreetCafe network on the morning of March 10 and signing in to the catalog from the cafe.
ALERT ID : ANM-4471
ACCOUNT : d.alvarez
CONFIDENCE: 0.94
BASELINE : signs in 07:30-18:00 local, Riverton, Chrome on Windows
OBSERVED : sign-in 02:07 local, unrecognized network, client string python-requests
FLAGS : off-hours access; scripted client; first use of this source address;
bulk export 1,204 rows (baseline max 40 rows)
ACTION : alert written to queue. No automatic account action configured.
Part A
2 pointsConsider the staff security policy in Source 2.
A(i). Policy 2 forbids reusing a library password on any personal account. This protects staff because when an unrelated site is breached and its password list is leaked, that stolen password will not open the catalog system, so a credential-stuffing attempt fails. (Policy 5, capping editor rights at two staff per branch, is also acceptable: it limits how many accounts an adversary can target to reach the patron database.)
A(ii). Policy 1 could be strengthened by requiring multifactor authentication in addition to the password. For example, requiring a one-time code from an authenticator app means the credentials captured in Source 1 would not have been enough to sign in at 02:07 on March 11. (Also acceptable: rewrite Policy 3, since a padlock only proves the connection is encrypted, not that the site is genuine, so it should require a VPN or forbid catalog access from open networks entirely.)
Part B
2 pointsConsider the message in Source 1.
B(i). Spear phishing. (Pretexting is also acceptable if the evidence in B(ii) supports it, since the message invents a migration story to justify the request.)
B(ii). The message is aimed at one named person using details specific to her. It addresses Dana by first name, references Mondayโs branch meeting, and states that she is one of only two staff with editor rights, which matches Policy 5. It also creates urgency with a 5:00 p.m. deadline and the threat of a three-week suspension. The sender domain rivertonl1b.org substitutes the digit 1 for the letter i in the real domain, and the displayed link text catalog.rivertonlib.org/login does not match the actual target rivertonl1b-secure.net/verify.
Part C
3 pointsConsider the wireless survey in Source 4.
C(i). Two access points broadcast the same SSID, ThirdStreetCafe, with different MAC addresses. The legitimate one, A4:2B:8C:11:07:D1, uses WPA2 and has been seen since March 02. The second, 66:F0:19:4E:B2:07, is open with no password, appeared for the first time on March 10, and has a much stronger signal at -38 dBm. A duplicate SSID that is newer, open, and closer is an evil twin.
C(ii). All traffic from a device on that access point passes through equipment the adversary controls, putting them in the middle of the connection. They can present a fake catalog sign-in page, or strip the connection down to unencrypted HTTP, so the username and password Alvarez types are captured before the traffic ever reaches the real catalog server. Because the network is open, there is no encryption between her device and the access point at all.
C(iii). Use a VPN so all traffic is encrypted end to end even on an untrusted network, which means an evil twin sees only ciphertext. (Also acceptable: use a phoneโs cellular hotspot instead of public Wi-Fi; verify the network with staff before connecting; disable automatic reconnection to open networks.)
Part D
3 pointsConsider the authentication log in Source 3.
D(i). Row 3. From row 3 onward the source address is 192.0.2.181 with an unknown geolocation and a client string of python-requests, while every genuine Alvarez session uses a Riverton address and Chrome on Windows. The 02:07 timestamp is also far outside her working hours. Row 3 is the adversaryโs first attempt; row 5 is where they succeed.
D(ii). Row 6 modifies 1,204 rows in the patrons table, so the integrity of the patron records is destroyed; the library can no longer trust that any patron record is accurate. Row 7 exports all 1,204 rows, so confidentiality is lost as well: the adversary now holds a copy of the personal data of every patron in that table.
D(iii). A brute-force attack is many rapid guesses working through a large number of candidate passwords. Here there are only two failures before success, one second apart. That pattern fits an adversary who already holds the credentials and is retrying a small error, which matches the phishing capture in Source 1, rather than guessing the password from scratch.
Part E
4 pointsConsider the AI anomaly detection alert in Source 5.
E(i). The system holds a baseline of Alvarez signing in between 07:30 and 18:00 from Riverton using Chrome on Windows. It observed a 02:07 sign-in, an unrecognized network, and a python-requests client, and it flagged a bulk export of 1,204 rows against a baseline maximum of 40. Each observation is a departure from the learned pattern, which is why confidence reached 0.94.
E(ii). The ACTION line states that the alert was written to a queue and that no automatic account action was configured. Detection and response are separate things: the system correctly recognized the anomaly at 02:08, one minute before the record edit at 02:09, but it was only able to record a notice for a human to read later. With no analyst on duty at 2 a.m., nothing stopped the session.
E(iii). Configure the system to act on a high-confidence alert instead of only logging it: automatically suspend the session and require re-authentication with a second factor, or block the source address and freeze bulk exports on the account until a human reviews it. At 0.94 confidence and one minute before the first edit, an automated session termination would have prevented both the edit and the export.
E(iv). Automated action on a modelโs judgment produces false positives. A librarian legitimately working late, travelling, or running an approved end-of-year export could trip the same flags and be locked out of the catalog with no way to work and no analyst available to reverse it. Aggressive automation trades availability for confidentiality and integrity, so the confidence threshold and the severity of the action have to be tuned deliberately.
0 / 14
Exam tips that move the needle
Budget the clock: with 14 points in 50 minutes you have roughly 3 to 4 minutes per point. Do not write a paragraph where a sentence earns the point.
Quote the source. Almost every part rewards citing a specific row, MAC address, domain, or timestamp. Vague answers that could apply to any incident do not score.
Match the verb. Identify and Determine want a short, direct result. Explain wants a reason tied to evidence. Describe wants the process or outcome. Answering the wrong verb is the most common way to lose points you actually knew.
Key terms in this question
- Spear phishing: a message tailored to one named target using real details about their role or schedule.
- Evil twin: a rogue access point broadcasting a trusted SSID, identifiable by a duplicate name with a different MAC address.
- Credential capture: harvesting a username and password through a fake sign-in page rather than guessing them.
- Baseline: the normal pattern of behavior an anomaly detection system learns and measures new activity against.
- Detection versus response: noticing an event and acting on it are separate capabilities; an alert with no configured action stops nothing.
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]