The exam and the mindset
The test is adaptive. It gets harder when you answer correctly, and it can stop at any point after question 100 once it's confident you passed or failed. You can't skip a question or go back to one.
What changed in 2026
- The outline did not change. The April 15, 2024 CISSP outline and its domain weights are still current. The September 1, 2026 refresh was for the CC exam, and CCSP refreshed on August 1, 2026.
- April 2, 2026: AI exam guidance. ISC2 published Exam Guidance for Artificial Intelligence. It adds AI as a lens on all eight domains instead of creating a ninth domain. AI shows up two ways: as a system you have to secure, and as a tool defenders use. Each domain below has a callout for its AI topics.
- April 1, 2026: smaller experience-waiver list. Fewer certifications now waive one year of the experience requirement. Training Camp reports that CEH, CISA, CRISC and OSCP were removed. Check ISC2's current list before you apply.
AI vocabulary you need for the 2026 lens
| Term | What it means | Typical control |
|---|---|---|
| Prompt injection | Instructions hidden in user input or in retrieved content (indirect injection) that override the model's intended behavior | Treat model output as untrusted, give the model least privilege, filter input and output, keep a human in the loop for actions |
| Data poisoning | Tampered training or fine-tuning data that changes model behavior | Data provenance, integrity checks, curated sources |
| Model inversion / extraction | Rebuilding training data or cloning the model through repeated queries | Rate limits, output limits, monitoring for query abuse |
| Membership inference | Working out whether a specific record was in the training set | Differential privacy, data minimization |
| Model drift | Model performance drifts away from its baseline over time | Monitor drift. Unexplained drift can be a sign of compromise. |
| Hallucination | Output that sounds confident and is wrong, including package names that don't exist | Verification, dependency allow-lists |
| XAI | Explainable AI, meaning you can trace why the model made a decision | A requirement for auditability and accountability |
| NHI | Non-human identity: AI agents, bots and service accounts | Ownership, least privilege, short-lived credentials, access reviews |
For context only (not confirmed exam scope): NIST AI RMF (Govern, Map, Measure, Manage), ISO/IEC 42001 (AI management system), and the EU AI Act.
Think like the exam
Be the advisor, not the technician
Pick the answer a senior risk advisor would choose: policy and process before tools, and business goals before technical elegance.
People come first
Human life and safety always win. Choose evacuation before saving data, and fail-safe doors for people.
Read for the qualifier
Watch for FIRST, BEST, MOST and PRIMARY. Several answers can be true, but only one fits that word. "First" usually means assess, classify, or get management approval.
Management owns the risk
Senior management is ultimately accountable. Security advises, and the business decides.
Security & Risk Management
16% · biggest domainCore principles
| Goal | Opposite (DAD) | Example controls |
|---|---|---|
| Confidentiality | Disclosure | Encryption, access control, classification |
| Integrity | Alteration | Hashing, digital signatures, change control |
| Availability | Destruction / denial | Redundancy, backups, DDoS protection |
The triad is extended by authenticity (it's genuine), non-repudiation (you can't deny you did it, usually proven with a digital signature), and privacy.
Governance and the policy stack
| Document | Mandatory? | What it does |
|---|---|---|
| Policy | Yes | High-level management intent: the "why" and "what" |
| Standard | Yes | Specific required technologies or methods (e.g., AES-256 for data at rest) |
| Procedure | Yes | Step-by-step instructions |
| Baseline | Yes | The minimum security configuration for a system |
| Guideline | No | Recommendations and best practice |
Due diligence
Doing the research and planning: knowing your risks and what to do about them.
Due care
Actually doing it: carrying out and maintaining the controls a reasonable person would.
Risk management
Risk is a threat exploiting a vulnerability, weighted by likelihood and impact. An asset is anything of value. An exposure is a moment when an asset is open to loss.
ALE = SLE × Annualized Rate of Occurrence (ARO)
Safeguard value = ALE(before) − ALE(after) − annual cost of safeguard
Worked example: a $200,000 asset with an EF of 25% gives an SLE of $50,000. With an ARO of 0.2 (once every 5 years), the ALE is $10,000. A control that costs more than that each year doesn't pay for itself.
| Response | Meaning |
|---|---|
| Avoid | Stop doing the risky activity |
| Mitigate / reduce | Add controls to lower likelihood or impact |
| Transfer / share | Insurance or outsourcing. You can transfer the cost but never the accountability. |
| Accept | Formally sign off on the risk (management decision, documented) |
| Reject / ignore | Never an acceptable answer |
Residual risk is what's left after controls. Total risk is the risk before controls. Management decides whether the residual risk falls within risk appetite.
Control types
| By function | Example |
|---|---|
| Directive | Policy, signage |
| Deterrent | Warning banner, visible guard |
| Preventive | Firewall, lock, separation of duties |
| Detective | IDS, audit logs, CCTV review |
| Corrective | Patching, antivirus quarantine |
| Recovery | Backups, DR site |
| Compensating | An alternative control used when the primary one isn't feasible |
By category, controls are administrative (managerial), technical (logical), or physical.
Frameworks to recognize
- NIST CSF 2.0 (2024): Govern, Identify, Protect, Detect, Respond, Recover. Govern is the new function.
- NIST RMF (SP 800-37): Prepare → Categorize → Select → Implement → Assess → Authorize → Monitor.
- ISO/IEC 27001 is the certifiable management system (ISMS). 27002 is the control guidance.
- COBIT covers IT governance. ITIL covers IT service management. SABSA is business-driven security architecture. Zachman is an enterprise architecture matrix.
Threat modeling
| STRIDE threat | Violates |
|---|---|
| Spoofing | Authentication |
| Tampering | Integrity |
| Repudiation | Non-repudiation |
| Information disclosure | Confidentiality |
| Denial of service | Availability |
| Elevation of privilege | Authorization |
Other methods: PASTA (a seven-stage, risk-centric process) and DREAD (scores threats by damage, reproducibility, exploitability, affected users, and discoverability).
Law, IP and privacy
| Protection | Covers | Duration (U.S.) |
|---|---|---|
| Copyright | Expression of an idea (code, books) | Author's life + 70 years |
| Trademark | Brand names, logos | Renewable every 10 years |
| Patent | Novel inventions | 20 years from filing |
| Trade secret | Confidential business info | As long as it stays secret (protected by NDAs) |
- GDPR: notify the supervisory authority within 72 hours of a breach. The controller decides why and how data is processed. The processor handles it for them.
- HIPAA covers health data. SOX covers financial reporting. GLBA covers financial institutions. PCI DSS is a contractual industry standard, not a law.
- Kinds of law: criminal (prison, beyond reasonable doubt), civil (damages, preponderance of evidence), and administrative/regulatory.
Business continuity
- BIA (business impact analysis) comes first. It finds critical processes and sets MTD, RTO and RPO.
- BCP keeps the business running (strategic, organization-wide). DRP restores IT after a disaster (tactical, a subset of the BCP).
- Senior management must approve and sponsor the BCP.
People and the supply chain
- Personnel controls: separation of duties, job rotation, mandatory vacation (catches fraud), NDAs, background checks, formal offboarding.
- Awareness changes behavior for everyone. Training builds job skills. Education builds deep, long-term understanding.
- Supply chain: assess vendors, set SLAs, keep a right to audit, and ask for an SBOM.
ISC2 Code of Ethics: the canons, in priority order
- Protect society, the common good, necessary public trust and confidence, and the infrastructure.
- Act honorably, honestly, justly, responsibly, and legally.
- Provide diligent and competent service to principals.
- Advance and protect the profession.
When two canons conflict, the higher one wins.
- Due Diligence = Do Detect (research). Due Care = Do Correct (act).
- Ethics canons in order: "Society, Honor, Principals, Profession".
- Risk responses: "A MAT": Avoid, Mitigate, Accept, Transfer. Never Ignore.
Asset Security
10%Data roles
| Role | Responsibility |
|---|---|
| Data owner | Senior business person who is accountable. Sets the classification and approves access. |
| Data custodian | Usually IT. Carries out the owner's decisions: backups, controls, maintenance. |
| Data steward | Business-side data quality and proper use |
| Data controller | Decides why and how personal data is processed (GDPR) |
| Data processor | Processes data on the controller's behalf (often a vendor) |
| Data subject | The person the data describes |
Classification
Government (high → low)
Top Secret · Secret · Confidential · Unclassified
Commercial (typical)
Confidential/Proprietary · Private · Sensitive · Public
Classify according to the damage that disclosure would cause. Classification drives handling, labeling, storage and destruction rules.
Data lifecycle and states
Create → Store → Use → Share → Archive → Destroy
| State | Main protection |
|---|---|
| At rest | Full-disk, database or file encryption, plus access control |
| In transit | TLS, IPsec, VPN |
| In use | Memory protection, trusted execution environments (confidential computing) |
Removing data for good (NIST SP 800-88)
| Method | What it does | Notes |
|---|---|---|
| Clear | Overwrite through normal commands | Stops simple recovery. Fine for reuse inside the organization. |
| Purge | Lab-resistant removal: degaussing, crypto-erase, secure-erase commands | Degaussing does not work on SSDs or optical media |
| Destroy | Shred, pulverize, incinerate, disintegrate | The most secure option. Best for SSDs holding highly sensitive data. |
Data remanence is the data left behind after deletion. Crypto-erase (destroying the encryption key) works well in the cloud and on SSDs.
Protecting data in practice
- Scoping means picking the baseline controls that apply. Tailoring means adjusting them to fit your mission.
- DLP stops data leaving. DRM controls use after it's shared. A CASB gives visibility and control over cloud apps.
- De-identification methods: masking (hide parts), tokenization (swap the data for a token stored in a vault), pseudonymization (reversible with a key), and anonymization (irreversible).
- Retention: keep data only as long as law and business need require. Keeping it longer adds liability.
- Owner = accountable, Custodian = custody. The custodian holds the data but doesn't decide.
- "SSDs laugh at magnets." For SSDs, use crypto-erase or physical destruction.
Security Architecture & Engineering
13% · most technicalSecure design principles
Least privilege · Defense in depth · Secure defaults · Fail securely · Separation of duties · Keep it simple · Zero trust ("never trust, always verify") · Trust but verify · Privacy by design · Shared responsibility
Security models
| Model | Protects | Key rules |
|---|---|---|
| Bell-LaPadula | Confidentiality | No read up (simple security), no write down (* property). The strong * property limits read and write to your own level. |
| Biba | Integrity | No read down (simple integrity), no write up (* integrity). A subject can't invoke a higher-integrity subject. |
| Clark-Wilson | Integrity | Access triple: subject → program → object. Well-formed transactions (TPs), constrained data items (CDIs), separation of duties. |
| Brewer-Nash | Conflicts of interest | The "Chinese Wall." Access changes dynamically based on what you've already accessed. |
| Graham-Denning | Rights management | Eight rules for securely creating and deleting subjects and objects and granting rights |
| Take-Grant | Rights transfer | Directed graph with take, grant, create and remove rules |
| Harrison-Ruzzo-Ullman | Rights integrity | Access-matrix model. Asks whether a right can leak. |
Evaluating products: Common Criteria (ISO/IEC 15408)
A Protection Profile states what the customer needs. A Security Target states what the vendor claims. The TOE (target of evaluation) is the product being tested. Assurance runs from EAL1 (functionally tested) to EAL7 (formally verified design and tested). EAL4 (methodically designed, tested, and reviewed) is the common commercial target.
System weak points
- TOCTOU (time of check to time of use) is a race condition between checking a resource and using it.
- Covert channels are hidden communication paths. A storage channel writes to a shared resource. A timing channel modulates resource use over time.
- Aggregation combines low-sensitivity facts into something sensitive. Inference deduces hidden facts from what's visible.
- Emanations are electromagnetic leakage. TEMPEST shielding counters them.
- Maintenance hooks and backdoors: remove them before production.
Hardware roots of trust: a TPM (chip on the board that stores keys and supports secure and measured boot), an HSM (dedicated device for managing keys), and a TEE (isolated execution area on the processor). Protection rings: ring 0 is the kernel, ring 3 is user applications.
Cloud and virtualization
| Model | You manage | Provider manages |
|---|---|---|
| IaaS | OS, apps, data, identities | Hardware, network, hypervisor |
| PaaS | Apps, data, identities | Plus OS and runtime |
| SaaS | Data, identities, configuration | Nearly everything else |
You always own your data and its accountability. Type 1 hypervisors run on bare metal. Type 2 run on a host OS. VM escape (breaking out of a guest into the host) is the major virtualization risk. Also know ICS/SCADA (availability and safety come first), IoT, embedded systems, containers, and serverless.
Cryptography
Symmetric
One shared key. Fast, used for bulk data. AES (128-bit block, 128/192/256-bit keys), ChaCha20, 3DES (legacy), Twofish. DES (56-bit) is broken.
Keys needed = n(n−1)/2
Asymmetric
A public and private key pair. Slow, used for key exchange and signatures. RSA, ECC (same strength with smaller keys), Diffie-Hellman (key agreement only), ElGamal, DSA.
Keys needed = 2n
| Goal | Which key |
|---|---|
| Confidentiality | Encrypt with the recipient's public key. The recipient decrypts with their private key. |
| Signature (integrity + non-repudiation) | Hash the message, then sign the hash with the sender's private key. Anyone verifies with the sender's public key. |
- Hashing is one-way and fixed-length. Use SHA-2 or SHA-3. MD5 and SHA-1 are broken. Salting defeats rainbow tables.
- Modes: ECB leaks patterns (avoid it). CBC chains blocks. CTR turns a block cipher into a stream. GCM adds authentication (AEAD).
- PKI: the CA issues X.509 certificates, the RA verifies identity, and revocation is checked through a CRL or OCSP (OCSP stapling).
- Attacks: brute force, birthday (hash collisions), known- and chosen-plaintext, side-channel (timing, power), and meet-in-the-middle (why 2DES adds almost nothing).
- Post-quantum: NIST published FIPS 203 (ML-KEM), 204 (ML-DSA) and 205 (SLH-DSA) in 2024. Quantum computing mainly threatens RSA and ECC. "Harvest now, decrypt later" is the reason to migrate early.
Physical security
| Fire class (U.S.) | Fuel | Suppress with |
|---|---|---|
| A | Ordinary combustibles | Water, foam |
| B | Flammable liquids | CO₂, foam, dry chemical |
| C | Electrical | CO₂, clean agent (no water) |
| D | Combustible metals | Dry powder |
| K | Cooking oils | Wet chemical |
- Sprinklers: wet pipe (always full of water), dry pipe (for freezing areas), pre-action (best choice for data centers, because it needs two triggers), and deluge (all heads open at once).
- Fence height: 3–4 ft deters casual trespassers. 6–7 ft is hard to climb. 8 ft with barbed wire deters determined intruders.
- Power problems: fault (a short loss), blackout (a long loss), sag (short low voltage), brownout (long low voltage), spike (short high voltage), surge (long high voltage).
- CPTED (crime prevention through environmental design): natural surveillance, natural access control, territorial reinforcement.
- Bell protects secrets: "can't read up, can't write down." Biba does the opposite, and the I in Biba stands for Integrity.
- For confidentiality, use their public key. For a signature, use my private key.
- 100 users need 4,950 symmetric keys but only 200 asymmetric keys.
Communication & Network Security
13%OSI model: layers, attacks and controls
| # | Layer | Data unit | Examples | Typical attacks |
|---|---|---|---|---|
| 7 | Application | Data | HTTP, DNS, SMTP, SNMP, WAF | Injection, phishing payloads |
| 6 | Presentation | Data | Encoding, compression, encryption (TLS is often placed here on the exam) | Malformed-format exploits |
| 5 | Session | Data | RPC, NetBIOS, session setup | Session hijacking |
| 4 | Transport | Segment / datagram | TCP, UDP | SYN flood, port scans |
| 3 | Network | Packet | IP, ICMP, IPsec, routers | IP spoofing, smurf, route poisoning |
| 2 | Data Link | Frame | Ethernet, ARP, switches, 802.1X | ARP poisoning, MAC flooding, VLAN hopping |
| 1 | Physical | Bits | Cabling, hubs, radio | Wiretapping, jamming |
The TCP/IP model has four layers: Application (OSI 5–7), Transport (4), Internet (3), and Network Access (1–2). The TCP handshake is SYN → SYN-ACK → ACK.
Ports to know
| Port | Service | Port | Service |
|---|---|---|---|
| 20/21 | FTP | 143 | IMAP |
| 22 | SSH / SFTP | 161/162 | SNMP |
| 23 | Telnet (cleartext) | 389 / 636 | LDAP / LDAPS |
| 25 | SMTP | 443 | HTTPS |
| 49 | TACACS+ | 1812/1813 | RADIUS |
| 53 | DNS | 3389 | RDP |
| 80 / 88 | HTTP / Kerberos | 110 | POP3 |
Secure channels
- IPsec: AH provides integrity and authentication but no encryption. ESP adds confidentiality. Transport mode protects the payload only (host to host). Tunnel mode wraps the whole packet (gateway to gateway VPN). IKE negotiates the security associations (SAs).
- TLS 1.3 is the current standard. SSL and early TLS versions are deprecated.
- Wireless: WEP is broken. WPA2 uses AES-CCMP. WPA3 uses SAE, which resists offline dictionary attacks. Enterprise Wi-Fi uses 802.1X/EAP, and EAP-TLS (certificates on both sides) is the strongest.
- 802.1X roles: supplicant (the device), authenticator (the switch or access point), and authentication server (RADIUS).
Network architecture
| Firewall type | Works at | Notes |
|---|---|---|
| Packet filter | L3–4 | Stateless, fast, no context |
| Stateful inspection | L3–4 | Tracks connections |
| Application proxy | L7 | Deep inspection, slower |
| NGFW | L3–7 | Adds app awareness, IPS and user identity |
| WAF | L7 (HTTP) | Blocks web attacks like SQL injection and XSS |
- Segmentation: a screened subnet (DMZ) for public-facing servers, VLANs, and micro-segmentation for workload-to-workload traffic.
- Zero trust (NIST SP 800-207): no implicit trust based on location. A policy decision point (PDP) decides, and a policy enforcement point (PEP) enforces, on every request.
- SASE combines networking and security services in the cloud. SDN separates the control plane from the data plane. NAC checks a device's posture before it can join.
- Converged protocols: iSCSI and FCoE (storage over IP and Ethernet), VoIP, and MPLS.
- OSI layers from 1 to 7: "Please Do Not Throw Sausage Pizza Away".
- IPsec: AH = Authentication Header only. ESP = Encrypts Secret Payload.
Identity & Access Management
13%The access chain
Identification (claim an identity) → Authentication (prove it) → Authorization (what you may do) → Accountability (logs tie actions to you).
| Factor | Examples |
|---|---|
| Something you know | Password, PIN |
| Something you have | Smart card, hardware key, authenticator app |
| Something you are | Fingerprint, face, iris |
| Context signals | Somewhere you are (location), something you do (behavior) |
Multi-factor means factors of different types. A password plus a PIN is still just one factor.
Biometric accuracy
| Metric | Meaning |
|---|---|
| FRR (Type I) | False rejection: a legitimate user is turned away (annoying) |
| FAR (Type II) | False acceptance: an impostor gets in (dangerous) |
| CER / EER | The point where FRR equals FAR. Lower is better when comparing devices. |
Access control models
| Model | Who decides | Where you'll see it |
|---|---|---|
| DAC | The owner, at their discretion | File shares, ACLs |
| MAC | The system, by comparing labels to clearances | Military, government |
| RBAC | Job role | Most enterprises |
| Rule-based | Global rules applied to everyone | Firewalls |
| ABAC | Attributes of the user, resource and environment | Zero trust, cloud policy |
| Risk-based | A live risk score | Adaptive and conditional access |
Federation and SSO
| Protocol | Purpose | Notes |
|---|---|---|
| SAML 2.0 | Authentication (federated SSO) | XML assertions from the identity provider (IdP) to the service provider (SP). Common for enterprise web SSO. |
| OAuth 2.0 | Authorization (delegated access) | Access tokens. "Let this app read my calendar." |
| OpenID Connect | Authentication on top of OAuth | ID token (JWT). Modern consumer and mobile SSO. |
| Kerberos | Network SSO | KDC = Authentication Service + Ticket Granting Service. Symmetric keys, tickets, needs time sync (about 5 minutes of allowed skew). The KDC is a single point of failure. |
RADIUS
UDP. Encrypts only the password. Combines authentication and authorization. Common for network access.
TACACS+
TCP 49. Encrypts the entire payload. Separates the three AAA functions. Common for device administration.
Identity lifecycle
- Provision → Review → Revoke. Remove access promptly at termination, ideally before or at the moment the person is told.
- Privilege creep is access that piles up as people change roles. Regular access reviews fix it.
- PAM (privileged access management) adds just-in-time (JIT) elevation, password vaulting, and session recording.
- Passwords under NIST SP 800-63B: length beats complexity, check passwords against breach lists, and don't force periodic changes without a reason. FIDO2 / passkeys resist phishing.
- "OAuth authorizes, OIDC identifies."
- Type II error (FAR) is the worse one for security, because an impostor gets in.
- TACACS+ uses TCP and encrypts the Total packet.
Security Assessment & Testing
12%Assessment types
Vulnerability assessment
Finds and ranks weaknesses (scanning, CVSS scores). It doesn't exploit them.
Penetration test
Exploits weaknesses to prove impact. Needs written authorization and agreed rules of engagement before it starts.
Pen test phases: Planning → Discovery → Attack → Reporting. Knowledge levels: full knowledge (white box / known environment), partial (gray box), and zero knowledge (black box / unknown environment).
Testing software
| Method | How it works |
|---|---|
| SAST | Static analysis: reads source code without running it (white box, early in the lifecycle) |
| DAST | Dynamic analysis: tests the running app from the outside |
| IAST | Agents inside the running app watch execution |
| Fuzzing | Feeds in malformed input. Mutation fuzzing changes real inputs. Generation fuzzing builds inputs from a specification. |
| Misuse-case testing | Tests how an attacker would abuse a feature |
| Interface testing | Tests APIs, user interfaces and physical interfaces |
| Synthetic vs RUM | Scripted transactions vs real user monitoring of live traffic |
| Regression testing | Confirms a change didn't break something that used to work |
Audits and SOC reports
| Report | Covers | Audience |
|---|---|---|
| SOC 1 | Controls over financial reporting | Auditors (restricted) |
| SOC 2 | Trust Services Criteria: security, availability, processing integrity, confidentiality, privacy | Customers under NDA |
| SOC 3 | A summary of SOC 2 | The public |
Type I checks whether controls are designed correctly at one point in time. Type II checks whether they operated effectively over a period (usually 6–12 months), and it's the one you want from a vendor. Audits can be internal, external, or third-party (an independent firm).
Measuring and reporting
- KPIs look back at performance. KRIs look ahead to rising risk.
- SCAP standardizes the formats: CVE (vulnerability IDs), CVSS (severity scores), CCE (configurations), CPE (platforms).
- Log review, account-management reviews, and backup verification (test the restore, not just the backup).
- Write reports for the audience. Executives get risk in business terms. Technical teams get the details to fix.
- SOC 1 = $ (financial), SOC 2 = security, SOC 3 = shareable.
- Type I = Instant (a point in time). Type II = Interval (a period).
Security Operations
13%Incident response
| Step | What happens |
|---|---|
| 1 Detection | Spot it through alerts, logs or user reports, then triage |
| 2 Response | Activate the IR team and start documenting |
| 3 Mitigation | Contain it to stop the spread |
| 4 Reporting | Notify management, and regulators or customers if required |
| 5 Recovery | Restore systems to normal operation |
| 6 Remediation | Fix the root cause |
| 7 Lessons learned | Review and improve the process |
NIST SP 800-61 condenses this to Preparation → Detection & Analysis → Containment, Eradication & Recovery → Post-Incident Activity. Rev. 3 (2025) maps incident response to the CSF 2.0 functions.
Investigations and evidence
- Investigation types: administrative (internal), criminal, civil, and regulatory. Each has its own standard of proof.
- Chain of custody records who handled evidence, when, and why. Without it, evidence may not be accepted in court.
- Admissible evidence must be relevant, material and competent (legally obtained).
- Evidence types: real (physical), documentary, and testimonial. The best evidence rule prefers originals. The parol evidence rule says a written contract is the whole agreement. Hearsay is generally inadmissible.
- Order of volatility (collect first to last): CPU registers and cache → RAM → swap and page files → disk → remote logs → archives and backups.
- Work on a forensic copy (bit-for-bit image, verified with a hash), never on the original.
Monitoring and ongoing operations
- SIEM collects and correlates logs. SOAR automates the response. UEBA learns normal behavior and flags anomalies. Threat hunting assumes a breach and searches for it.
- Change management: request → review → approve → test → implement → document. Emergency changes still get documented afterward.
- Patch management: test before deploying, roll out in stages, and verify.
- Operational controls: need to know, least privilege, separation of duties, job rotation, two-person control.
Backups, resilience and recovery sites
| Backup | Backs up | Archive bit | Restore needs |
|---|---|---|---|
| Full | Everything | Clears | The last full backup |
| Incremental | Changes since the last backup of any kind | Clears | Full + every incremental since (fast backup, slow restore) |
| Differential | Changes since the last full | Leaves set | Full + the last differential |
| RAID | Method | Survives |
|---|---|---|
| 0 | Striping | No failures (performance only) |
| 1 | Mirroring | One disk |
| 5 | Striping with parity (3+ disks) | One disk |
| 6 | Double parity (4+ disks) | Two disks |
| 10 | Mirrored sets, then striped | One per mirror |
| Site | Ready in | Cost |
|---|---|---|
| Hot | Minutes to hours (fully equipped, data current) | Highest |
| Warm | Hours to days (equipment present, data restored on arrival) | Medium |
| Cold | Weeks (space and power only) | Lowest |
| Mobile / cloud / reciprocal | Varies | Reciprocal agreements are hard to enforce |
DR tests, from least to most disruptive: checklist (read-through) → tabletop (structured walk-through) → simulation → parallel → full interruption.
- IR steps: "Dirty Rats Make Rotten Restaurants Really Lousy". Detect, Respond, Mitigate, Report, Recover, Remediate, Lessons.
- Differential = Different from the full. Restore needs only two sets.
- A full interruption test is the last resort, because it can cause a real outage.
Software Development Security
10%Development approaches
| Method | Shape | Security angle |
|---|---|---|
| Waterfall | Sequential phases | Security gates at each phase; changes are hard |
| Spiral | Iterations driven by risk analysis | Risk is assessed every loop |
| Agile / Scrum | Short sprints | Security stories and abuse cases in the backlog |
| DevSecOps | CI/CD pipeline | "Shift left": automated SAST, SCA and secrets scanning on every build |
Security belongs in requirements, from the very first phase. Fixing a flaw costs more the later you find it.
Maturity models
| CMMI level | Name |
|---|---|
| 1 | Initial (chaotic, ad hoc) |
| 2 | Managed (repeatable) |
| 3 | Defined (standardized) |
| 4 | Quantitatively managed (measured) |
| 5 | Optimizing (continuous improvement) |
Also know OWASP SAMM (prescriptive: what you should do) and BSIMM (descriptive: what other organizations actually do).
Common flaws and their fixes
| Flaw | Best fix |
|---|---|
| SQL injection | Parameterized queries (prepared statements), input validation |
| Cross-site scripting (XSS) | Output encoding, input validation, Content Security Policy |
| CSRF | Anti-CSRF tokens, SameSite cookies |
| Buffer overflow | Bounds checking, memory-safe languages, ASLR/DEP |
| Race condition / TOCTOU | Locking, atomic operations |
| Broken access control | Server-side authorization checks on every request |
| Insecure deserialization | Don't deserialize untrusted data; check integrity first |
Validate input on the server side, since anything the client checks can be bypassed.
Databases
- ACID: Atomicity, Consistency, Isolation, Durability.
- Polyinstantiation keeps different versions of a record at different classification levels to block inference.
- Views limit what users see. Watch for aggregation and inference attacks.
Code you don't write yourself
- SCA (software composition analysis) finds vulnerable open-source components. An SBOM lists every ingredient.
- Code signing proves who wrote the code and that it hasn't been altered. Protect code repositories and pipeline secrets.
- For third-party software and APIs: assess the vendor, put security requirements in the contract, and test what you receive.
- CMMI: "I Manage Data Quite Openly". Initial, Managed, Defined, Quantitatively managed, Optimizing.
- Injection → parameterize. XSS → encode the output.
Numbers & formulas for the night before
| Item | Value | Domain |
|---|---|---|
| SLE | AV × EF | D1 |
| ALE | SLE × ARO | D1 |
| Safeguard value | ALE before − ALE after − annual cost | D1 |
| Continuity | MTD ≥ RTO + WRT | D1 |
| GDPR breach notice | 72 hours | D1 |
| Patent / Copyright | 20 years / life + 70 | D1 |
| Symmetric keys | n(n−1)/2 | D3 |
| Asymmetric keys | 2n | D3 |
| AES block / keys | 128-bit block; 128/192/256-bit keys | D3 |
| DES key | 56 bits (broken) | D3 |
| Common Criteria | EAL1 → EAL7 | D3 |
| Fence heights | 3–4 ft · 6–7 ft · 8 ft + barbed wire | D3 |
| OSI layers | 7 (TCP/IP model: 4) | D4 |
| Kerberos | Port 88; ~5 min time skew | D5 |
| TACACS+ / RADIUS | TCP 49 / UDP 1812–1813 | D5 |
| RAID 5 minimum | 3 disks | D7 |
| CMMI | 5 levels | D8 |
Flashcards
Tap a card to flip it. Use the arrow keys to move and the space bar to flip.