High School IntermediateModule I2Lesson 8 of 8

I2.8 Linux Security Basics Lab

Combine Linux roles, files, users, groups, permissions, processes, services, safe terminal evidence, logs, packages, updates, ownership, and change records into one defensive review.

Lesson Progress

Linux Security Basics Lab

High School IntermediateI2: Linux Basics for Security • Lesson 8 of 8

100% complete

Readiness Check

Before You Start

0/5 ready

Professional Hook

Real Defensive Work Connects Multiple Small Clues

A stale account, broad permission, legacy service, exposed file, missing owner, failed update, and suspicious-looking log line may all appear in the same environment. The defender's job is not to react to each item separately. The job is to connect evidence, identify root causes, prioritize risk, and recommend safe, authorized change.

Weak response

“Disable everything unusual and update everything immediately.”

Strong response

“Preserve evidence, correlate sources, classify confidence, prioritize risk, assign owners, and make controlled changes with validation and rollback.”

Objective 1

Integrate Linux system role, paths, users, groups, permissions, processes, services, logs, packages, and update evidence.

Objective 2

Build a multi-source timeline from fictional inventory, metadata, service, authentication, package, network, and change records.

Objective 3

Separate confirmed facts, reasonable conclusions, missing evidence, alternate explanations, and unsupported claims.

Objective 4

Prioritize findings by exposure, sensitivity, business impact, confidence, owner, and ease of safe correction.

Objective 5

Create a professional Linux security review report with evidence, risk, ownership, validation, rollback, and monitoring.

Case Overview

Fictional Training System: training-web-09

System role

training-web-09 is documented as an internal learning portal owned by the Learning Applications team.

Filesystem

The public document root contains one internal deployment note and a symbolic link to a private user directory.

Accounts

A temporary support account remains enabled after expiration and still belongs to the web-content group.

Permissions

The public-content directory grants group write access, and one sensitive file is readable by others.

Processes and services

The approved web service is healthy, but a legacy file-sharing service is enabled with no current owner.

Logs

Authentication and service records show normal portal activity, one expired-account login, and no recent legacy-service use.

Packages

The web package needs a relevant security update, while the legacy file-sharing package is unsupported.

Change management

A maintenance window, backup, test plan, and rollback exist for the web update but not for legacy-service removal.

Evidence Domains

Review the System from Six Connected Angles

Inventory and ownership

Host role, owner, environment, sensitivity, support status, and lifecycle records.

Does the observed system still match its approved purpose and ownership?

Files and directories

Paths, ownership, permissions, symbolic links, timestamps, classifications, and service mappings.

Are files stored, protected, and exposed according to their purpose and sensitivity?

Users and groups

Account type, owner, status, expiration, group membership, activity, and role records.

Does each identity still need its current access and duration?

Processes and services

PID, user, executable, package, startup state, ports, dependencies, failures, and logs.

Is each running or enabled service required, owned, healthy, and appropriately exposed?

Logs and timelines

Authentication, service, application, package, audit, firewall, and monitoring events.

What happened, when, with which identity or service, and what gaps remain?

Packages and updates

Installed versions, approved repositories, advisories, dependencies, tests, restarts, and validation.

Which updates or removals are relevant, urgent, safe, and ready?

Integrated Workflow

Complete the Review in Six Stages

1

Define scope

Identify the fictional host, owner, system role, time window, approved evidence, and stopping conditions.

2

Preserve evidence

Record original inventories, paths, metadata, permissions, process state, logs, packages, and change records.

3

Correlate sources

Connect users, groups, files, services, packages, ports, timestamps, owners, and changes.

4

Classify findings

Separate confirmed facts, likely explanations, alternate causes, missing evidence, and unsupported claims.

5

Prioritize risk

Consider exposure, sensitivity, business impact, confidence, dependency, owner, and available controls.

6

Plan corrections

Define authorization, owner, exact change, test, backup, rollback, validation, monitoring, and documentation.

Finding Matrix

Prioritize Confirmed Linux Security Findings

Expired support account retains web-content write access

Expired lifecycle, enabled status, group membership, write permission, no active owner need.

Stale access can alter production content and weakens accountability.

High

Internal deployment note in public document root

Internal classification, public path, broad read permission, successful web access.

Internal operational information is exposed to unintended users.

High

Legacy file-sharing service remains enabled

Service and package active, no owner, no recent connections, project ended.

Unnecessary service exposure and unsupported software increase attack surface.

Medium

Relevant web package update pending

Affected version, active feature, approved fixed version, test and rollback in progress.

Known weakness remains relevant until safely updated.

High

Symbolic link points to private user directory

Public path link, private target, internal notes, broad web reachability.

Indirect exposure bypasses intended data-location boundaries.

High

Fake Dashboard

Fake Linux Security Review Dashboard

Integrated training dashboard for the fictional Northstar Learning Portal.

Confirmed findings

5

Four high-priority findings and one medium-priority stale-service finding.

Evidence sources

9

Inventory, filesystem, identity, process, service, package, authentication, network, and change evidence are available.

Open evidence gaps

3

Legacy-service dependency, symbolic-link creation history, and account-owner review date remain incomplete.

Fake SOC Alert

Multiple Linux Baseline Deviations Require Coordinated Review

Source: Fake Integrated Linux Defense Monitor • Time: 09:48 AM

High Severity
The fictional host training-web-09 has an expired support account with write access, an internal file in the public document root, a symbolic link to a private directory, an unowned legacy service, and a relevant pending web-package update.
Defensive recommendation: Preserve all evidence, assign finding owners, restrict active exposure first, complete dependency review, apply one controlled change at a time, and validate services, permissions, logs, packages, and monitoring after each action.

Fake Log Panel

Fake Integrated Linux Evidence Timeline

training-log-viewer.log
08:41:00 INVENTORY host='training-web-09' role='internal-learning-portal' owner='learning-apps'
08:44:12 ACCOUNT user='temp-support' status='enabled' expiration='10_days_ago'
08:45:03 GROUP user='temp-support' membership='web-content'
08:46:27 PATH path='/srv/training-web/public/internal-deployment-notes.txt' classification='internal'
08:47:14 LINK path='/srv/training-web/public/support-docs' target='/home/deploy-user/private-notes'
08:49:32 SERVICE name='legacy-file-share' state='running' owner='unknown'
08:51:10 NETWORK service='legacy-file-share' exposure='staff-zone' recent_connections='0'
08:53:44 PACKAGE name='training-web-library' installed='4.8.1' fixed='4.8.3' feature='active'
08:56:19 CHANGE update_window='tomorrow_22:00' backup='ready' rollback='ready'
09:02:07 AUTH user='temp-support' result='success' source='approved-admin-host'
09:15:33 OWNER temp_account_required='false' legacy_service_required='unknown'
09:48:05 CORRELATION finding='coordinated_linux_baseline_deviation' confidence='high'

Training note: this is fake data for defensive analysis practice only.

Analyze the Evidence

Which Integrated Conclusion Is Best Supported?

The temporary support account is expired, enabled, and still has write access.
An internal file is directly served from the public content directory.
A symbolic link exposes a private user directory through the public path.
The legacy service is enabled, unowned, and has no recent use.
The web package is affected by a relevant issue and has an approved fixed version.
Backup, rollback, and a maintenance window exist for the web update.
The legacy service dependency is still uncertain.

What is the strongest coordinated response?

Common Mistakes

Mistakes That Weaken Integrated Linux Reviews

Fixing the first visible issue before understanding dependencies and evidence relationships.
Treating every finding as malicious activity rather than a configuration, lifecycle, ownership, or maintenance problem.
Making multiple unrelated changes at once and losing the ability to validate cause and effect.
Ignoring evidence gaps because several sources appear to agree.
Prioritizing by alert color alone instead of exposure, sensitivity, business impact, and confidence.
Removing services or accounts without confirming owners, dependencies, jobs, files, and rollback.
Reporting only technical details without stating ownership, impact, next action, and validation.
Publishing real usernames, hostnames, paths, addresses, package versions, logs, or credentials in a portfolio.

Safe Capstone Lab

Complete the Fictional Linux Security Review

Deliverable A: Evidence Workbook

  1. System role, owner, environment, sensitivity, and support status.
  2. Filesystem and symbolic-link map.
  3. User, group, ownership, and permission review.
  4. Process and service inventory.
  5. Normalized multi-source timeline.
  6. Package and update readiness table.
  7. Evidence gaps and confidence notes.

Deliverable B: Action Plan

  1. Rank findings by risk and confidence.
  2. Assign an owner to every finding.
  3. Define the exact authorized change.
  4. List dependencies and stopping conditions.
  5. Include backup and rollback.
  6. Define validation and monitoring.
  7. Update the baseline and review date.

This lab is entirely fictional and read-only. Do not inspect, access, modify, scan, test, or reconfigure any real Linux device, server, cloud system, website, account, or school computer.

Scenario Decision Lab

The Team Wants to Fix All Five Findings in One Window

The fictional team proposes disabling the expired account, moving files, removing the symbolic link, stopping the legacy service, and updating the web package at the same time.

Scenario Decision Lab

The Legacy Service Owner Cannot Be Identified

The fictional file-sharing service appears stale and unused, but one application dependency record is incomplete and no current owner responds.

Defender Habits

Integrated Linux Security Review Checklist

Check Your Understanding

I2.8 Mini Quiz: Linux Security Basics Lab

Choose your answers first. Explanations appear only after submission.

1. What is the strongest first step in a Linux security review?

2. Why should multiple evidence sources be correlated?

3. Which finding should usually receive higher priority?

4. What makes a finding professionally defensible?

5. Why should corrections be applied one controlled change at a time?

6. An expired account, public file exposure, and pending update all exist. What is the best approach?

7. What should the final report include?

Portfolio Prompt

Portfolio Prompt

Create a complete fictional Linux Security Review Report for training-web-09. Include executive summary, scope, system role, evidence inventory, filesystem map, account and permission matrix, process and service inventory, normalized timeline, package update plan, prioritized findings, confidence, evidence gaps, owner, action, validation, rollback, monitoring, and final baseline.

Use only fictional systems, users, groups, paths, services, packages, logs, addresses, and organizations.
Include at least five findings with different evidence sources and priorities.
Separate confirmed facts, likely conclusions, missing evidence, and unsupported claims.
Do not include real hostnames, usernames, paths, IP addresses, package versions, logs, credentials, or internal details.

Key Takeaways

What You Should Remember

1.Linux defense requires connecting system role, files, identities, permissions, processes, services, logs, packages, and changes.
2.Strong findings rely on multiple evidence sources and clearly stated limitations.
3.Confirmed exposure should be prioritized, but dependencies and availability still matter.
4.One controlled change at a time improves validation, rollback, and accountability.
5.Professional reports include scope, evidence, confidence, risk, owner, action, validation, monitoring, and gaps.
6.Safe defensive work stays authorized, fictional, evidence-based, and reversible.

Navigation

Finish Module I2