AP Cybersecurity Interactive Lab - Units 3 & 4
Reconnaissance starts with knowing what's listening. You'll run a simulated nmap scan against a workstation your NIDS flagged, then decide which open port doesn't belong.
Which open port is the indicator of compromise?
A server's authentication log is below. Somewhere in the noise, an attacker brute-forced a login and got in.
You pulled a short packet capture from the LAN. The gateway is 10.10.20.1. Inspect the ARP replies.
| # | Time | Protocol | Info |
|---|
What attack does this capture show?
A new public web server must be reachable on TCP 443 โ but all other inbound TCP must be blocked. Firewalls read an access control list top-to-bottom and act on the first rule that matches.
Three artifacts, three hidden flags. Each flag looks like APCEP{...}. Use the decoder toolkit below โ analysts decode data all day. Find each flag and submit it.
FLAG 1 Hidden in the access log โ Captured
An IDS logged an odd HTTP request. The attacker stuffed data into the User-Agent. It's Base64 โ decode it.
FLAG 2 The evil twin's calling card โ Captured
A wireless scan found a rogue access point mimicking the corporate SSID. Its vendor/info field carries a suspicious hex blob. Decode it.
FLAG 3 The weak router config โ Captured
A router backup uses a broken wireless cipher. A technician hid a note on the same line โ but typed it backwards. Reverse it.
You scanned a host, traced a live break-in, unmasked an ARP on-path attacker, hardened a firewall, and captured all three flags. That's the full Unit 3โ4 defender workflow โ hands-on.
๐ฉโ๐ซ Teacher notes & answer key (click to expand)
01 Port Mapping โ Answer: 4444/tcp. Ports 22/80/443/3389 match expected services; 4444 runs a generic shell = mismatched port-application IoC (a backdoor). Discuss port security & why unexpected high ports get flagged.
02 Log Analysis โ Answer: the 5 repeated "Failed password for invalid user admin from 203.0.113.66" lines plus the "Accepted password ... 203.0.113.66" line = brute force โ successful breach. The single failed login for a real user earlier is a distractor.
03 Packet Capture โ Answer: ARP poisoning (on-path / MITM). Two MACs claim 10.10.20.1. Contrast with DNS poisoning, MAC flooding, Smurf.
04 Firewall ACL โ Answer: ALLOW TCP 443 must precede DENY TCP ALL. First-match wins; a leading broad DENY blocks 443 too.
05 CTF โ Flag 1 (Base64) = APCEP{n3tw0rk_1ntrud3r}; Flag 2 (Hex) = APCEP{ev1l_tw1n}; Flag 3 (reverse) = APCEP{w3p_1s_br0k3n}.
Extend it: pair with picoCTF, Wireshark sample captures, or the CYBER.ORG Range for live tooling.
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]