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 Intermediate • I2: Linux Basics for Security • Lesson 8 of 8
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.
Files and directories
Paths, ownership, permissions, symbolic links, timestamps, classifications, and service mappings.
Users and groups
Account type, owner, status, expiration, group membership, activity, and role records.
Processes and services
PID, user, executable, package, startup state, ports, dependencies, failures, and logs.
Logs and timelines
Authentication, service, application, package, audit, firewall, and monitoring events.
Packages and updates
Installed versions, approved repositories, advisories, dependencies, tests, restarts, and validation.
Integrated Workflow
Complete the Review in Six Stages
Define scope
Identify the fictional host, owner, system role, time window, approved evidence, and stopping conditions.
Preserve evidence
Record original inventories, paths, metadata, permissions, process state, logs, packages, and change records.
Correlate sources
Connect users, groups, files, services, packages, ports, timestamps, owners, and changes.
Classify findings
Separate confirmed facts, likely explanations, alternate causes, missing evidence, and unsupported claims.
Prioritize risk
Consider exposure, sensitivity, business impact, confidence, dependency, owner, and available controls.
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.
HighInternal deployment note in public document root
Internal classification, public path, broad read permission, successful web access.
Internal operational information is exposed to unintended users.
HighLegacy 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.
MediumRelevant web package update pending
Affected version, active feature, approved fixed version, test and rollback in progress.
Known weakness remains relevant until safely updated.
HighSymbolic link points to private user directory
Public path link, private target, internal notes, broad web reachability.
Indirect exposure bypasses intended data-location boundaries.
HighFake 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
Fake Log Panel
Fake Integrated Linux Evidence Timeline
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?
What is the strongest coordinated response?
Common Mistakes
Mistakes That Weaken Integrated Linux Reviews
Safe Capstone Lab
Complete the Fictional Linux Security Review
Deliverable A: Evidence Workbook
- System role, owner, environment, sensitivity, and support status.
- Filesystem and symbolic-link map.
- User, group, ownership, and permission review.
- Process and service inventory.
- Normalized multi-source timeline.
- Package and update readiness table.
- Evidence gaps and confidence notes.
Deliverable B: Action Plan
- Rank findings by risk and confidence.
- Assign an owner to every finding.
- Define the exact authorized change.
- List dependencies and stopping conditions.
- Include backup and rollback.
- Define validation and monitoring.
- 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.
Key Takeaways
What You Should Remember
Navigation