← → navigate · ESC index · Back to quit
SCIA 120 · Week 04
cover · 01/30
Introduction to Secure Computing and Information Assurance

Operating System Security Fundamentals

Author: Dr. Zhijiang Chen (Frostburg State University)

Tech darkAI line artReading-based content
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where operating system security fundamentals affects users, data, or operations.
InstructorHow would you recognize operating system security fundamentals in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: An operating system is not a monolithic block of code.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 01PROTECT - DETECT - RESPONDOperating...An operating...ControlEvidence
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
agenda · 02/30
Overall Page

Overall roadmap

The week moves from core definitions to practical security decisions.

Operating System Security Architecture

Core reading concept for Week 04.

Kernel Space vs. User Space

Core reading concept for Week 04.

The System Call Interface as Attack Surface

Core reading concept for Week 04.

The Principle of Least Privilege

Core reading concept for Week 04.

Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where overall roadmap affects users, data, or operations.
InstructorHow would you recognize overall roadmap in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Operating System Security Architecture
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 02PROTECT - DETECT - RESPONDOverall roadmapOperating...Kernel Space vsThe System Call...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
objectives · 03/30
03 objectives

Learning objectives

Students should explain, apply, and evaluate the week’s main security ideas.

Explain Operating System Security Architecture.
Explain Kernel Space vs. User Space.
Explain The System Call Interface as Attack Surface.
Explain The Principle of Least Privilege.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where learning objectives affects users, data, or operations.
InstructorHow would you recognize learning objectives in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Explain Operating System Security Architecture.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 03POLICY - TOOL - TEST - EVIDENCELearning...Explain...Explain Kernel...Explain The...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
application · 04/30
04 application

Opening scenario

Use a realistic scenario to anchor Operating System Security Fundamentals in operational decision-making.

An operating system is not a monolithic block of code.
Modern OS design separates the software into distinct layers with carefully defined trust boundaries.
Operating System Security Fundamentals
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where opening scenario affects users, data, or operations.
InstructorIf this issue appeared in a campus or business system, what evidence would you collect first?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: An operating system is not a monolithic block of code.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 04POLICY - TOOL - TEST - EVIDENCEOpening scenarioAn operating...Modern OS...Operating...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
definition · 05/30
05 definition

Operating System Security Architecture

An operating system is not a monolithic block of code.

An operating system is not a monolithic block of code.
Modern OS design separates the software into distinct layers with carefully defined trust boundaries.
Operating System Security Architecture connects to risk, controls, and evidence.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where operating system security architecture affects users, data, or operations.
InstructorWhat problem does operating system security architecture help us understand?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: An operating system is not a monolithic block of code.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 05POLICY - TOOL - TEST - EVIDENCEOperating...An operating...Modern OS...Evidence
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
concept · 06/30
06 concept

Kernel Space vs. User Space

The most fundamental architectural distinction in OS security is between kernel space and user space .

The most fundamental architectural distinction in OS security is between kernel space and user space .
The kernel is the core of the operating system — the privileged software that directly manages hardware, memory, processes, and input/output.
Code running in kernel space operates with full, unrestricted access to all system resources.
The kernel is the crown jewel of system security: if an attacker achieves kernel-level code execution, they effectively own the machine entirely.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where kernel space vs. user space affects users, data, or operations.
InstructorHow would you recognize kernel space vs. user space in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: The most fundamental architectural distinction in OS security is…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 06POLICY - TOOL - TEST - EVIDENCEKernel Space...The most...The kernel is...Code running in...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
application · 07/30
07 application

The System Call Interface as Attack Surface

Every time a user-space application needs to do something privileged — read a file, open a network connection, allocate memory — it must issue a system call (syscall).

Every time a user-space application needs to do something privileged — read a file, open a network connection, allocate memory — it must issue a system call (syscall).
The syscall interface is a carefully managed boundary between unprivileged code and the kernel.
It is also a significant attack surface: flaws in how the kernel handles syscalls can allow user-space attackers to escalate privileges to kernel level, a class of vulnerability…
The set of all entry points, data inputs, and interfaces that an attacker could potentially exploit is called the attack surface of a system.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where the system call interface as attack surface affects users, data, or operations.
InstructorIf this issue appeared in a campus or business system, what evidence would you collect first?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Every time a user-space application needs to do something privileged…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 07POLICY - TOOL - TEST - EVIDENCEThe System Call...Every time a...The syscall...It is also a...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
evidence · 08/30
08 evidence

The Principle of Least Privilege

The Principle of Least Privilege (PoLP) states that any user, process, or system component should operate with only the minimum permissions necessary to perform its legitimate…

The Principle of Least Privilege (PoLP) states that any user, process, or system component should operate with only the minimum permissions necessary to perform its legitimate…
The principle has profound implications for system design and administration: - A web server process should not run as root (or SYSTEM on Windows) — it needs only to read web…
- A database application user should not have administrative access to the database — it needs only to perform the specific queries required.
- An employee in the finance department should not have access to HR records — only to the financial systems their job requires.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where the principle of least privilege affects users, data, or operations.
InstructorHow would you recognize the principle of least privilege in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: The Principle of Least Privilege (PoLP) states that any user,…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 08POLICY - TOOL - TEST - EVIDENCEThe Principle...The principle...- A database...- An employee...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
definition · 09/30
09 definition

User Accounts and Permissions

Modern operating systems are multi-user environments.

Modern operating systems are multi-user environments.
Each user has an account with an associated set of permissions that determines what they can do on the system.
Access control for files and resources is implemented through several models:
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where user accounts and permissions affects users, data, or operations.
InstructorWhat problem does user accounts and permissions help us understand?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Modern operating systems are multi-user environments.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 09CONFIDENTIALITYINTEGRITYAVAILABILITYCIAUser Accounts...Modern...Each user has...Access control...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
concept · 10/30
10 concept

Discretionary Access Control (DAC)

Discretionary Access Control allows the owner of a resource to control who can access it.

Discretionary Access Control allows the owner of a resource to control who can access it.
On a DAC system (the default model for most commercial operating systems), the creator of a file can grant or deny access to other users at their own discretion.
Unix/Linux file permissions and Windows ACLs are both DAC implementations.
DAC is flexible but has weaknesses: it relies on users making good access control decisions, and malware running as a user inherits all of that user's permissions.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where discretionary access control (dac) affects users, data, or operations.
InstructorHow would you recognize discretionary access control (dac) in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Discretionary Access Control allows the owner of a resource to…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 10CONFIDENTIALITYINTEGRITYAVAILABILITYCIADiscretionary...On a DAC system...Unix/Linux file...DAC is flexible...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
application · 11/30
11 application

Mandatory Access Control (MAC)

Mandatory Access Control removes discretion from resource owners.

Mandatory Access Control removes discretion from resource owners.
Instead, a central security policy (enforced by the OS or a security module) determines access based on labels assigned to both subjects (users, processes) and objects (files,…
A process cannot access a resource unless the security policy explicitly permits it, regardless of what the resource owner wants.
MAC systems are common in high-security environments (government, military).
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where mandatory access control (mac) affects users, data, or operations.
InstructorIf this issue appeared in a campus or business system, what evidence would you collect first?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Mandatory Access Control removes discretion from resource owners.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 11POLICY - TOOL - TEST - EVIDENCEMandatory...Instead a...A process...MAC systems are...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
evidence · 12/30
12 evidence

Role-Based Access Control (RBAC)

Role-Based Access Control assigns permissions to roles rather than directly to individuals.

Role-Based Access Control assigns permissions to roles rather than directly to individuals.
Users are assigned to roles, and inherit that role's permissions.
An organization might have roles such as "Database Administrator," "Read-Only Analyst," and "HR Manager," each with different permission sets.
RBAC simplifies administration (especially in large organizations) and makes it easier to enforce least privilege.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where role-based access control (rbac) affects users, data, or operations.
InstructorHow would you recognize role-based access control (rbac) in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Role-Based Access Control assigns permissions to roles rather than…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 12POLICY - TOOL - TEST - EVIDENCERole-Based...Users are...An organization...RBAC simplifies...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
definition · 13/30
13 definition

Process Isolation and Memory Protection

Modern operating systems implement process isolation to prevent one process from interfering with another.

Modern operating systems implement process isolation to prevent one process from interfering with another.
Each process runs in its own virtual address space — the OS provides each process with the illusion that it has the machine's entire memory to itself, mapped through a Memory…
In reality, the physical memory is shared, but the mapping ensures that process A cannot read or write process B's memory.
- Address Space Layout Randomization (ASLR): Randomizes the memory addresses at which system components (stack, heap, libraries) are loaded, making it harder for an attacker to…
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where process isolation and memory protection affects users, data, or operations.
InstructorWhat problem does process isolation and memory protection help us understand?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Modern operating systems implement process isolation to prevent one…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 13POLICY - TOOL - TEST - EVIDENCEProcess...Modern...Each process...In reality the...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
concept · 14/30
14 concept

The Windows Security Model

Microsoft Windows is the dominant desktop operating system and a frequent target of attackers.

Microsoft Windows is the dominant desktop operating system and a frequent target of attackers.
Understanding its security model is essential for any security professional.
The Windows Security Model connects to risk, controls, and evidence.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where the windows security model affects users, data, or operations.
InstructorHow would you recognize the windows security model in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Microsoft Windows is the dominant desktop operating system and a…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 14POLICY - TOOL - TEST - EVIDENCEThe Windows...Microsoft...Understanding...Evidence
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
application · 15/30
15 application

The Security Account Manager (SAM)

The Security Account Manager (SAM) is a database stored in the Windows registry that holds user account credentials.

The Security Account Manager (SAM) is a database stored in the Windows registry that holds user account credentials.
Passwords are stored as hashed values (historically using NTLM hashing).
The SAM database is locked from access while Windows is running, but attackers have developed various techniques (pass-the-hash, SAM dumping via tools like Mimikatz) to extract…
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where the security account manager (sam) affects users, data, or operations.
InstructorIf this issue appeared in a campus or business system, what evidence would you collect first?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: The Security Account Manager (SAM) is a database stored in the…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 15POLICY - TOOL - TEST - EVIDENCEThe Security...Passwords are...The SAM...Evidence
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
evidence · 16/30
16 evidence

Access Control Lists (ACLs)

Windows uses Access Control Lists to implement DAC.

Windows uses Access Control Lists to implement DAC.
- A SACL (System Access Control List): Controls which access events are audited (logged).
Windows permissions are highly granular — you can separately control Read, Write, Execute, Modify, Take Ownership, and many other permission types on any object.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where access control lists (acls) affects users, data, or operations.
InstructorHow would you recognize access control lists (acls) in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Windows uses Access Control Lists to implement DAC.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 16VERIFY - MONITOR - IMPROVEAccess Control...Windows uses...- A SACL System...Windows...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
definition · 17/30
17 definition

User Account Control (UAC)

User Account Control was introduced in Windows Vista as a mechanism to limit the damage that can be done by malware or by users making mistakes.

User Account Control was introduced in Windows Vista as a mechanism to limit the damage that can be done by malware or by users making mistakes.
Even an administrator account does not run with full administrative privileges by default — when an action requiring elevated privileges is attempted, UAC prompts the user for…
Standard users are prompted for administrator credentials; administrators are asked to confirm.
UAC is not a security boundary — it is a consent mechanism.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where user account control (uac) affects users, data, or operations.
InstructorWhat problem does user account control (uac) help us understand?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: User Account Control was introduced in Windows Vista as a mechanism…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 17POLICY - TOOL - TEST - EVIDENCEUser Account...Even an...Standard users...UAC is not a...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
concept · 18/30
18 concept

Windows Defender and Microsoft Security Center

Windows ships with built-in antivirus and antimalware capabilities through Windows Defender Antivirus (now part of the broader Microsoft Defender platform).

Windows ships with built-in antivirus and antimalware capabilities through Windows Defender Antivirus (now part of the broader Microsoft Defender platform).
Modern versions provide real-time protection, cloud-based threat intelligence, exploit protection, and endpoint detection and response (EDR) capabilities.
Windows Security Center provides a centralized dashboard for monitoring the health of various security components.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where windows defender and microsoft security center affects users, data, or operations.
InstructorHow would you recognize windows defender and microsoft security center in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Windows ships with built-in antivirus and antimalware capabilities…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 18POLICY - TOOL - TEST - EVIDENCEWindows...Windows ships...Modern versions...Evidence
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
application · 19/30
19 application

BitLocker

BitLocker is Windows' full-disk encryption feature, available in Pro and Enterprise editions.

BitLocker is Windows' full-disk encryption feature, available in Pro and Enterprise editions.
It encrypts entire volumes using AES encryption, protecting data at rest from attackers who gain physical access to the drive.
BitLocker can be configured to require a PIN at boot, rely on a Trusted Platform Module (TPM) chip, or use a USB recovery key.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where bitlocker affects users, data, or operations.
InstructorIf this issue appeared in a campus or business system, what evidence would you collect first?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: BitLocker is Windows' full-disk encryption feature, available in Pro…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 19POLICY - TOOL - TEST - EVIDENCEBitLockerBitLocker is...It encrypts...BitLocker can...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
evidence · 20/30
20 evidence

The Linux Security Model

Linux powers the majority of the world's servers, cloud infrastructure, network devices, and embedded systems.

Linux powers the majority of the world's servers, cloud infrastructure, network devices, and embedded systems.
Its security model is foundational knowledge for any security professional.
The Linux Security Model connects to risk, controls, and evidence.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where the linux security model affects users, data, or operations.
InstructorHow would you recognize the linux security model in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Linux powers the majority of the world's servers, cloud…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 20POLICY - TOOL - TEST - EVIDENCEThe Linux...Linux powers...Its security...Evidence
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
definition · 21/30
21 definition

The Root Account

Linux's traditional privilege model centers on the root account — the superuser with unrestricted access to everything on the system.

Linux's traditional privilege model centers on the root account — the superuser with unrestricted access to everything on the system.
Running services as root is extremely dangerous: if any root-owned process is compromised, the attacker inherits root privileges.
Best practice is to run services as dedicated unprivileged users.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where the root account affects users, data, or operations.
InstructorWhat problem does the root account help us understand?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Linux's traditional privilege model centers on the root account — the…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 21POLICY - TOOL - TEST - EVIDENCEThe Root AccountLinuxs...Running...Best practice...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
concept · 22/30
22 concept

sudo

The sudo utility allows specific users to execute commands as root (or as another user) on a per-command basis, based on a policy defined in /etc/sudoers.

The sudo utility allows specific users to execute commands as root (or as another user) on a per-command basis, based on a policy defined in /etc/sudoers.
Properly configured, sudo allows administrators to perform privileged tasks without needing to log in directly as root, and creates an audit trail of privileged actions.
The principle of least privilege is enforced by granting sudo access only to specific commands, not to a shell.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where sudo affects users, data, or operations.
InstructorHow would you recognize sudo in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: The sudo utility allows specific users to execute commands as root…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 22VERIFY - MONITOR - IMPROVEsudoThe sudo...Properly...The principle...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
application · 23/30
23 application

File System Permissions (chmod/chown)

Linux file permissions follow the classic Unix model: each file has an owner (a user), a group, and permissions assigned to three categories — owner, group, and other.

Linux file permissions follow the classic Unix model: each file has an owner (a user), a group, and permissions assigned to three categories — owner, group, and other.
Permissions include read (r), write (w), and execute (x).
These are represented as octal values (e.g., chmod 644 sets owner read/write, group read, others read) or symbolic notation (e.g., chmod u+x).
Understanding and correctly configuring file permissions is a fundamental Linux security skill — misconfigured permissions are a common source of vulnerabilities.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where file system permissions (chmod/chown) affects users, data, or operations.
InstructorIf this issue appeared in a campus or business system, what evidence would you collect first?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Linux file permissions follow the classic Unix model: each file has…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 23POLICY - TOOL - TEST - EVIDENCEFile System...Linux file...Permissions...These are...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
evidence · 24/30
24 evidence

SELinux and AppArmor

SELinux (Security-Enhanced Linux) is a kernel security module that implements Mandatory Access Control on Linux.

SELinux (Security-Enhanced Linux) is a kernel security module that implements Mandatory Access Control on Linux.
Originally developed by the NSA, SELinux enforces a detailed policy that defines exactly what each process is allowed to do — which files it can read, which network ports it can…
A compromised web server running under SELinux policy is constrained to the specific file paths and resources it legitimately needs, dramatically limiting an attacker's ability to…
AppArmor is an alternative MAC system, used by default on Ubuntu and SUSE.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where selinux and apparmor affects users, data, or operations.
InstructorHow would you recognize selinux and apparmor in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: SELinux (Security-Enhanced Linux) is a kernel security module that…
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 24POLICY - TOOL - TEST - EVIDENCESELinux and...SELinux...Originally...A compromised...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
vocabulary · 25/30
25 vocabulary

Key terms to keep

Vocabulary becomes useful when students can connect terms to scenarios and evidence.

Operating System Security Architecture
Kernel Space vs. User Space
The System Call Interface as Attack Surface
The Principle of Least Privilege
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where key terms to keep affects users, data, or operations.
InstructorHow would you recognize key terms to keep in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Operating System Security Architecture
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 25POLICY - TOOL - TEST - EVIDENCEKey terms to...Operating...Kernel Space vsThe System Call...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
comparison · 26/30
26 comparison

Compare: Operating System Security Architecture vs. Kernel Space vs. User Space

Comparing related ideas helps students avoid shallow memorization.

Where Operating System Security Architecture applies.
Where Kernel Space vs. User Space applies.
How the difference changes the security decision.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where compare: operating system security architecture vs. kernel space vs. user space affects users, data, or operations.
InstructorHow would you recognize compare: operating system security architecture vs. kernel space vs. user space in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Where Operating System Security Architecture applies.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 26POLICY - TOOL - TEST - EVIDENCECompare:...Where Operating...Where Kernel...How the...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
application · 27/30
27 application

Applied decision checkpoint

Students should translate concepts into a defensible security decision.

Identify the asset or process at risk.
Choose a preventive, detective, or corrective control.
Explain what evidence would prove the control is working.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where applied decision checkpoint affects users, data, or operations.
InstructorIf this issue appeared in a campus or business system, what evidence would you collect first?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Identify the asset or process at risk.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 27RISK = ASSET x THREAT x IMPACTApplied...Identify the...Choose a...Explain what...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
review · 28/30
28 review

Review questions

Retrieval practice should ask students to define, compare, apply, and evaluate.

Define one core concept in plain language.
Compare two controls or threats from the week.
Apply one idea to a campus or business system.
Evaluate why a solution might fail in practice.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where review questions affects users, data, or operations.
InstructorWhat is the one sentence takeaway for review questions?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Define one core concept in plain language.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 28POLICY - TOOL - TEST - EVIDENCEReview questionsDefine one core...Compare two...Apply one idea...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
bridge · 29/30
29 bridge

Bridge to lab and assessment

The reading should transfer into evidence-based lab work and written explanations.

Collect evidence, not just screenshots.
Explain what the artifact proves.
Connect the proof back to risk and control selection.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where bridge to lab and assessment affects users, data, or operations.
InstructorHow would you recognize bridge to lab and assessment in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Collect evidence, not just screenshots.
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 29VERIFY - MONITOR - IMPROVEBridge to lab...Collect...Explain what...Connect the...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck
SCIA 120 · Week 04
closing · 30/30
30 closing

Takeaway

The central takeaway from Week 4 is to reason from risk to evidence to action.

Operating System Security Fundamentals
Security is a decision process, not just a tool list.
Use the reading to justify practical choices.
Classroom Dialog
ScenarioA campus technology team is reviewing a realistic Week 4 incident where takeaway affects users, data, or operations.
InstructorHow would you recognize takeaway in a real organization?
StudentThis concept helps us decide what is at risk, what evidence to check, and which control would reduce harm. For this slide, the key clue is: Operating System Security Fundamentals
Teaching point: Push the answer beyond a definition: name the asset, identify the risk, choose evidence, and justify a practical control.
GAMMA-STYLE VISUAL - SLIDE 30POLICY - TOOL - TEST - EVIDENCETakeawayOperating...Security is a...Use the reading...
Dr. Zhijiang Chen · Frostburg State University
Week 04 deck