› Module 10: Protection and Security › 10.2 System Security Threats
M O D U L E

Module 10: Protection and Security

Protection goals, access matrix, security threats, and multi-layered defenses

10.1 Goals of Protection & The Access Matrix

Protection refers to an internal mechanism for controlling the access of processes, programs, or users to the resources defined by a computer system. The core design principle is the Principle of Least Privilege — every program and user should operate using only the minimal set of privileges necessary to complete their task.

Figure 10.1: The Access Matrix Model (Domains vs. Objects) Domain File F1 File F2 Laser Printer Process P2 Domain 1 read read, write — — Domain 2 — read print terminate Domain 3 execute — — read, write Access Control Lists (ACLs): Stored per Object Capability Lists: Stored per Domain / Process

Figure 10.1: An Access Matrix model maps protection domains (rows) against objects (columns), where each matrix cell enumerates allowed operations.

ACLs vs. Capabilities

  • Access Control Lists (ACLs): Column-centric decomposition. Attached directly to each object (e.g., File F1 has ACL: Domain 1 → read). Fast when answering: "Who is permitted to read this file?"
  • Capability Lists: Row-centric decomposition. Associated with each process or domain (a list of unforgeable tickets). Fast when answering: "What resources can this process access?"

10.2 System Security Threats

While protection safeguards internal system resources among authorized users, Security extends defense against external cyber-attacks and malicious insiders, ensuring information Confidentiality, Integrity, and Availability (the CIA Triad).

Figure 10.2: Six Major Categories of Computer System Security Threats Virus Attaches to a host program; replicates when host runs Worm Self-replicating; spreads across networks without host program Trojan Horse Disguised as legitimate software; executes hidden payload Denial of Service (DoS / DDoS) Floods system with requests; exhausts CPU/bandwidth Man-in-the-Middle (MitM) Intercepts and alters communication between two endpoints Buffer Overflow Writes beyond stack boundaries to overwrite return address

Figure 10.2: Modern operating systems face diverse cyber threats, requiring multi-layered defense-in-depth security architectures.

Multi-Layered Security Defenses

  • Authentication: Passwords, cryptographic tokens, public keys, and Multi-Factor Authentication (MFA).
  • Encryption: Symmetric (AES) and Asymmetric (RSA/ECC) cryptography safeguarding data at rest and data in transit (TLS/HTTPS).
  • Intrusion Detection Systems (IDS): Behavioral anomaly detection and signature scanning monitoring for unauthorized access patterns.
  • Address Space Layout Randomization (ASLR): Randomizes memory segment locations at runtime, making buffer overflow return-oriented programming attacks extremely difficult.
MODULE COMPREHENSIVE QUIZ

Module 10 Final Quiz

Test your understanding across all 2 topics of this module with interview-grade questions, tricky edge cases, and code output predictions.

Take Module 10 Final Quiz →
Yukti Mascot