CoachnestCoachnest
Sign InGet Started
Back to course

Complete Cybersecurity Bootcamp: Defend, Detect & Respond

…
—
Contents
1

What Is Cybersecurity & Why It Matters

Reading14mFree
2

The CIA Triad & Core Security Principles

Reading16mFree
3

Threat Actors, Motivations & the Attack Surface

Reading14m
4

Setting Up a Safe, Legal Practice Lab

Reading12m
5

Security Domains & Career Paths Overview

Video15m
6

Chapter 1 — Quiz

Quiz10m
7

TCP/IP, the OSI Model & How Data Travels

Reading18m
8

Common Protocols & Their Weaknesses

Reading16m
9

Firewalls, IDS/IPS & Network Segmentation

Reading16m
10

VPNs, TLS in Transit & Secure Remote Access

Reading14m
11

Reading Network Traffic with Wireshark

Video17m
12

Chapter 2 — Networking Quiz

Quiz12m
13

Symmetric vs Asymmetric Encryption

Reading16m
14

Hashing, Salting & Password Storage

Reading16m
15

Digital Signatures, Certificates & PKI

Reading16m
16

Crypto in Practice & Common Mistakes

Reading14m
17

How HTTPS & TLS Work — Visual Walkthrough

Video15m
18

Chapter 3 — Cryptography Quiz

Quiz12m

Linux Security Fundamentals & Hardening

Reading18m
20

Windows Security & Active Directory Basics

Reading16m
21

Endpoint Protection: Antivirus, EDR & Application Control

Reading14m
22

Data Protection, Backups & Ransomware Resilience

Reading14m
23

Hardening a Linux Server — Demo

Video16m
24

Chapter 4 — Endpoint Security Quiz

Quiz12m
25

How the Web Works & The HTTP Request Lifecycle

Reading16m
26

Injection Attacks: SQL Injection & Command Injection

Reading18m
27

Broken Access Control & Authentication Failures

Reading16m
28

Cross-Site Scripting (XSS), CSRF & Security Headers

Reading18m
29

Finding Web Vulnerabilities Safely — Demo

Video17m
30

Chapter 5 — Web Security Quiz

Quiz12m
31

Authentication Factors, MFA & Passwordless

Reading16m
32

OAuth 2.0, OpenID Connect, SAML & JWTs

Reading18m
33

Access Control Models: RBAC, ABAC & Least Privilege

Reading16m
34

Identity Threats: Phishing & Social Engineering

Reading14m
35

Setting Up MFA & SSO — Walkthrough

Video14m
36

Chapter 6 — Identity & Access Quiz

Quiz12m
37

Malware Taxonomy: Viruses, Worms, Trojans & Ransomware

Reading16m
38

The Cyber Kill Chain & MITRE ATT&CK

Reading16m
39

Network Attacks: DoS/DDoS, MITM & Sniffing

Reading14m
40

Vulnerability Management & Penetration Testing

Reading16m
41

Understanding the MITRE ATT&CK Framework — Overview

Video15m
42

Chapter 7 — Threats & Attacks Quiz

Quiz12m
43

The SOC, SIEM & Log Management

Reading16m
44

Detection, Threat Hunting & Threat Intelligence

Reading16m
45

The Incident Response Lifecycle

Reading18m
46

Digital Forensics Fundamentals

Reading14m
47

Inside a SOC: Analyst Workflow — Walkthrough

Video16m
48

Chapter 8 — SecOps & IR Quiz

Quiz12m
49

Cloud Security & the Shared Responsibility Model

Reading16m
50

Container & Kubernetes Security

Reading16m
51

DevSecOps: Shifting Security Left

Reading16m
52

Secure SDLC & Threat Modeling

Reading14m
53

Securing a CI/CD Pipeline — Demo

Video15m
54

Chapter 9 — Cloud & DevSecOps Quiz

Quiz12m
55

Risk Management Fundamentals

Reading16m
56

Security Frameworks, Standards & Compliance

Reading16m
57

Security Awareness, Policy & the Human Factor

Reading14m
58

Cybersecurity Careers, Certifications & Next Steps

Reading16m
59

Cybersecurity Career Roadmap — Overview

Video14m
60

Chapter 10 — GRC & Careers Quiz

Quiz12m
←→navigate lessons
Chapter 4 of 10·Chapter 4 — Operating System & Endpoint Security
Lesson 19 of 60Reading18 min

Linux Security Fundamentals & Hardening

Linux Security Fundamentals & Hardening¶

Most servers run Linux. Securing them is a core blue-team skill.

The Permission Model¶

Linux permissions are user / group / other, each with read (r) / write (w) / execute (x):

bash
4 lines
1$ ls -l secret.txt
2-rw-r----- 1 alice finance 1024 Jun 4 10:00 secret.txt
3#  └┬┘└┬┘└┬┘
4#  user grp other
  • chmod 640 secret.txt → owner rw, group r, others nothing.
  • chown alice:finance secret.txt → set owner/group.

The Danger of 777¶

chmod 777 grants everyone full control — a frequent and serious misconfiguration. Grant the least permission that works.

Users, sudo & Root¶

  • The root account (UID 0) is all-powerful — don't log in as root directly.
  • Use sudo for privilege escalation with an audit trail (/var/log/auth.log).
  • Follow least privilege: scope sudo rules in /etc/sudoers to specific commands.

Hardening Checklist¶

  1. 1.Patch regularly — apt upgrade / dnf update; automate security updates.
  2. 2.Disable unused services — systemctl disable --now <svc>; smaller attack surface.
  3. 3.SSH hardening:
    • Disable root login (PermitRootLogin no).
    • Key-based auth only (PasswordAuthentication no).
    • Change/limit access; use fail2ban to throttle brute force.
  4. 4.Host firewall — ufw / firewalld with default-deny inbound.
  5. 5.Mandatory Access Control — enable SELinux or AppArmor to confine processes beyond standard permissions.
  6. 6.File integrity monitoring — AIDE or Tripwire to detect unexpected changes.
  7. 7.Auditing — enable auditd to log security-relevant events.

Key Files to Know¶

FilePurpose
/etc/passwdUser accounts (no passwords here)
/etc/shadowHashed passwords (root-only)
/etc/sudoersWho can sudo what
/var/log/auth.logAuthentication events
~/.ssh/authorized_keysPermitted SSH public keys

SUID/SGID — A Privilege-Escalation Hotspot¶

Files with the SUID bit run with the file owner's privileges. A misconfigured SUID-root binary is a classic local privilege-escalation path. Audit them:

bash
1 line
1find / -perm -4000 -type f 2>/dev/null   # list SUID binaries

The Principle in Action¶

A hardened Linux box does the minimum: minimal packages, minimal open ports, minimal privileges, maximal logging. Every service you don't run is a vulnerability you don't have.

Previous

Chapter 3 — Cryptography Quiz

Next

Windows Security & Active Directory Basics

Use ← → arrow keys to navigate between lessons