CISSP Domain 3: Trusted Computing Base & Hardware Architecture — Mindmap Review Study Guide
═══════════════════════════════════
PART 1: MERMAID MINDMAP
═══════════════════════════════════
mindmap
root((Trusted Computing Base))
TCB Definition
TCB Totality
Protection Mechanisms
Collection Assembly Taxonomy
Reference Monitor Concept
RMC Concept
Active Subject
Passive Object
Mediation Control
Physical Locks and Prompts
Rules Functional Aspect
Logging Monitoring Assurance
Security Kernel
Security Kernel Implementation
Completeness Principle
Isolation Principle
Verifiability Principle
Hardware Components
Central Processing Unit
Multi-Tasking
Primary Storage
Cache and Registers
Random Access Memory
Secondary Storage
Hard Drives and SSDs
Optical Media and Tapes
Virtual Memory Management
Paging Technique
Volatile and Non-Volatile
Blue Screen of Death
Software Components
Operating System
System Kernel
Firmware
Read Only Memory
Middleware Translator
Protection Mechanisms
Process Isolation
Memory Segmentation
Time Division Multiplexing
Problem State
Supervisor State
User Mode
Kernel Mode
Ring Protection Model
Ring Zero System Kernel
Ring Three User Programs
Rings One and Two
Secure Memory Management
Buffer Overflows Prevention
Memory Exhaustion Prevention
Data Hiding
Bell-LaPadula Confidentiality
Defense in Depth
Preventive Detective Corrective
═══════════════════════════════════
PART 2: TECHNICAL DEFINITIONS & CONCEPTS
═══════════════════════════════════
TCB Definition
Trusted Computing Base (TCB) — The totality (sum/whole) of protection mechanisms within a system or architecture that work together to enforce a security policy. It comprises all protection mechanisms (people, processes, and technology) responsible for protecting a system.
- Synonyms/Watch out for: Collection, assembly, taxonomy (anything that means all the protection mechanisms).
⚠️ EXAM TIP: This topic is prevalent on the exam, even though it is rarely discussed in day-to-day life. Watch out for synonyms like collection, assembly, or taxonomy.
Reference Monitor Concept
Reference Monitor Concept (RMC) — A concept stating that to have security, you must control what subjects are allowed to access what objects, and what specifically the subject can do with the object.
Subject — An active entity (such as people and processes) that wants to access objects.
Object — A passive entity that is whatever is being accessed by the subject (e.g., databases, word files, buildings, and even other processes).
Mediation — The act of controlling a subject’s access to an object (e.g., a physical lock on a door, the Windows login prompt, or the system kernel controlling network card access).
Rules — The set of rules that mediation uses to make decisions on what subjects can access what objects; this represents the functional aspect of the control.
Logging & Monitoring — The assurance aspect of the control, used to know if the mediation is working correctly on an ongoing basis.
Security Kernel
Security Kernel — The implementation of the Reference Monitor Concept. It is used everywhere to control a subject’s access to an object and can be found in hardware, firmware, and software.
⚠️ EXAM TIP: Make sure you do not confuse the security kernel (implementation of the RMC) with the system kernel (core of the operating system).
Security Kernel Principles — To have security, the RMC and its implementation (the Security Kernel) must satisfy 3 important principles:
- Completeness: A subject is never able to bypass the mediation (e.g., there are no backdoors).
- Isolation: The rules used to control the mediation are tamperproof and can only be changed by someone authorized to do so.
- ⚠️ EXAM TIP: Just remember isolation means the rules are tamperproof.
- Verifiability: Logging and monitoring are used to verify that the mediation is working correctly (the assurance aspect).
Hardware Components
Central Processing Unit (CPU) — The brains of the computer that runs millions of times per second to allow multi-tasking. The CPU follows these exact steps:
- Fetches instructions.
- Decodes them.
- Executes them.
- Stores the results.
Primary vs Secondary Storage
| Feature | Primary Storage | Secondary Storage |
|---|---|---|
| Speed | Super fast | Much slower |
| Capacity | Relatively little space | Much more storage space |
| Volatility | Volatile (data disappears into the ether when power is off) | Non-volatile |
| Examples | Cache, registers (built into CPU), Random Access Memory (RAM) | Magnetic hard drives, Solid-State Drives (SSDs), optical media (CDs & DVDs), tapes |
Virtual Memory — A memory management technique (not an actual type of memory) where the operating system temporarily transfers less frequently used data from RAM back onto the hard drive. This process is called paging, and it simulates having more memory to prevent running out of RAM and getting a blue-screen of death.
Software Components
Operating System — The system of software that controls all computer hardware and allows multiple programs to run (e.g., Windows, Mac OS, Linux, Unix, iOS, Android).
System Kernel — The core, central part of the operating system that controls everything.
Firmware — Software that provides low-level control of the underlying hardware, typically stored on the hardware in non-volatile memory such as Read Only Memory (ROM).
Middleware — Software glue that acts as a translator between different incompatible applications, enabling interoperability by passing messages between them.
Protection Mechanisms
Protection Mechanisms — The concepts and software techniques used to secure systems and enforce security policies.
Process Isolation — Ensuring that multiple applications running at the same time (multi-tasking) are isolated so that one application cannot interfere with another. There are two major methods to achieve this:
- Memory Segmentation: Each process is given its own memory space and is only allowed to access data in its own space.
- Time Division Multiplexing: Each process is given access to a resource (like the CPU or network card) for a small slice of time, then control is taken away and given to the next process, isolating them by allowing access one at a time.
Processor States vs Operating System Modes
| Concept | Lower Privilege Level | Higher Privilege Level |
|---|---|---|
| Processor States (CPU) | Problem State: Normal operating level for most applications; refers to the CPU’s normal privilege level meant to solve problems. | Supervisor State: System kernel typically runs here; gives full access to all CPU capabilities. |
| OS Modes | User Mode: Most applications run here; restricts system resource access, prevents direct hardware access, and limits the percentage of resources consumed. | Kernel Mode: System kernel runs here; provides unrestricted access to the underlying hardware. |
Ring Protection Model — A model defining different levels of trust or privilege, where the centermost ring has the greatest privilege and requires the greatest protection.
- Ring 0 (Innermost): Most privilege granted. This is where the system kernel and firmware reside.
- Ring 3 (Outermost): Least privilege granted. This is where most applications run.
- Rings 1 & 2: No consensus between different operating systems for exactly what these rings are used for.
- ⚠️ EXAM TIP: Don’t worry about rings 1 & 2; there is no consensus on their use and you won’t get questions on them.
Secure Memory Management — The idea of implementing a security kernel that mediates applications’ access to shared memory to ensure memory segmentation and prevent problems like buffer overflows and memory exhaustion.
Data Hiding — The idea that if an application is running at a lower privilege level, data at a higher privilege level is simply hidden from it, preventing it from trying to access higher security data it doesn’t know is there.
- ⚠️ EXAM TIP: This sounds like the implementation of the Bell-LaPadula Confidentiality model.
Defense in Depth — Implementing multiple layers of security controls, with a complete control at each layer (a combination of preventive, detective, and corrective controls), such that a single failure at one layer does not expose or compromise the security of the asset.