The Ultimate AP Cybersecurity Cheat Sheet: Protocols, Ports & Cryptography
Cybersecurity involves a massive lexicon of acronyms, RFC protocol numbers, cryptographic handshakes, and access control models. Trying to memorize them across hundreds of textbook pages is inefficient. This Master Cheat Sheet condenses the entire College Board curriculum into the essential high-yield references you must review in the final days before the exam.
1. Must-Know Network Ports & Protocols
- **Port 22 — SSH (Secure Shell):** Encrypted remote command-line administration. Replaces Telnet.
- **Port 23 — Telnet:** Plaintext unencrypted remote shell. Insecure! Any question showing port 23 indicates an active vulnerability.
- **Port 53 — DNS (Domain Name System):** Resolves hostnames to IP addresses. Vulnerable to DNS cache poisoning and amplification attacks.
- **Port 80 — HTTP vs. Port 443 — HTTPS:** Port 80 sends plaintext; Port 443 uses TLS encryption to ensure end-to-end data confidentiality and integrity.
- **Port 3389 — RDP (Remote Desktop Protocol):** Proprietary remote GUI access. The most common target for automated credential brute-forcing in FRQs.
2. Cryptography & PKI at a Glance
- **Symmetric Encryption (AES):** Uses a single shared secret key for both encryption and decryption. Fast and computationally efficient. Ideal for bulk data storage and disk encryption.
- **Asymmetric Encryption (RSA, ECC):** Uses a key pair: a public key (distributed openly) and a private key (kept strictly secret). Computationally slower. Used for digital signatures and secure key exchanges.
- **Hashing (SHA-256, MD5):** One-way digest. Changing a single character in the input completely alters the output hash (avalanche effect). Used to verify file integrity and store passwords.
- **Digital Signatures:** Sender hashes message, encrypts the hash with their own **private key**. Receiver decrypts hash with sender's **public key** and compares. Guarantees **Authentication, Non-repudiation, and Integrity**.
3. The 4 Risk Management Strategies
- 1**Risk Mitigation:** Deploying defensive technical or managerial controls to reduce risk likelihood or impact (e.g., installing a firewall or enforcing MFA).
- 2**Risk Transference:** Shifting financial liability to a third party (e.g., purchasing cybersecurity insurance or outsourcing server hosting to AWS).
- 3**Risk Acceptance:** Consciously deciding to absorb the potential loss because the cost of countermeasures exceeds the asset value.
- 4**Risk Avoidance:** Discontinuing the risky activity entirely (e.g., shutting down an insecure legacy FTP server completely).
4. Malware Taxonomy Cheat Sheet
- **Virus:** Malicious code that attaches itself to a host file or program; requires human execution to spread.
- **Worm:** Standalone malicious software that self-replicates across computer networks automatically without human intervention.
- **Trojan Horse:** Malicious payload disguised as legitimate utility software (e.g., a fake PDF reader or game update).
- **Ransomware:** Encrypts user files or drives and demands monetary payment for the decryption key.
- **Rootkit:** Stealthy malware designed to maintain privileged kernel-level administrative access while concealing its presence from the OS.
Bookmark this cheat sheet and review it 24 hours before test day. Having these foundational definitions instant in your working memory will save you 10+ minutes on Section I.
Put your cheat sheet knowledge into practice with NomoExam's interactive full-length AP Cybersecurity mock papers.
Practice With Mock Tests on NomoExamFrequently asked questions
Which port numbers must I memorize for the AP Cybersecurity exam?
The essential ports you must know are: Port 20/21 (FTP), Port 22 (SSH/SFTP), Port 23 (Telnet - unencrypted!), Port 25 (SMTP), Port 53 (DNS), Port 80 (HTTP), Port 443 (HTTPS), and Port 3389 (RDP).
What is the difference between hashing and encryption?
Hashing is a one-way mathematical function (e.g., SHA-256) used for data integrity verification; it cannot be reversed. Encryption is a two-way mathematical process (e.g., AES, RSA) used for confidentiality; ciphertext can be decrypted back into plaintext using the appropriate key.
What are the 5 official authentication factors?
The 5 factors are: (1) Something you know (password, PIN), (2) Something you have (smart card, hardware token), (3) Something you are (fingerprint, retina scan), (4) Somewhere you are (GPS location, IP geofencing), and (5) Something you do (keystroke dynamics, signature rhythm).
How do I distinguish an IDS from an IPS on exam questions?
An Intrusion Detection System (IDS) is passive: it monitors traffic copies out-of-band and triggers alerts. An Intrusion Prevention System (IPS) is active: it sits inline directly in the traffic flow and automatically drops or terminates malicious packets.
Keep reading
AP Cybersecurity
The Complete Guide to the New AP Cybersecurity Exam: Syllabus, Units & Scoring
College Board has officially introduced AP Cybersecurity. Here is the complete breakdown of the 5 units, the 63-question exam format, scoring cutoffs, and how to score a 5.
AP Cybersecurity
How to Ace the AP Cybersecurity FRQ: Device Security & Threat Log Analysis Walkthrough
Section II of the AP Cybersecurity exam carries 30% of your score across 3 Device Security Analysis sub-parts. Here is the worked walkthrough, scoring rubric, and attack strategy.
AP Cybersecurity
AI Attacks vs AI Defense: Mastering Units 1.4 & 1.5 of AP Cybersecurity
Units 1.4 and 1.5 represent the most modern topics in any AP course: AI-driven attacks and AI-powered cyber defense. Here is what you must master for test day.
Ready to put this into practice?
Timed adaptive tests, difficulty-tagged drills, and an AI tutor that explains every miss.