Module 1 · Computer Fundamentals · Lesson 3 of 75
Operating systems, processes and your home lab
What an operating system does, how a computer boots, processes and permissions, and how virtual machines give you a safe place to practise.
In this lesson · about 35 minutes
- Explain kernel, user space, processes and services
- Describe the boot sequence and where attackers hide in it
- Plan a safe home lab with virtual machines and snapshots
What the operating system does
- Manages processes: every running program is a process with an ID (PID), an owner and its own slice of memory.
- Manages memory: each process sees its own private address space, so one program cannot read another's memory.
- Manages files: through a file system (NTFS on Windows, ext4 on Linux, APFS on macOS) with owners and permissions.
- Manages devices: through drivers, which run with high privilege. A vulnerable driver is a favourite way for attackers to reach the kernel.
- Enforces security: user accounts, permissions, and the split between kernel mode (full control) and user mode (restricted). Programs ask the kernel for help with system calls.
Services and daemons
Programs that run in the background without a window are called services on Windows and daemons on Linux (their names often end in "d", such as sshd). Web servers, databases and remote-login services are all daemons. Each one that listens on the network is a door an attacker might knock on, which is why hardening starts with turning off services you do not need.
The boot sequence
- Power on: the firmware (UEFI) tests the hardware.
- Secure Boot checks that the boot loader is signed by a trusted vendor.
- The boot loader (Windows Boot Manager, GRUB) loads the kernel.
- The kernel starts drivers and the first process (
systemdon most Linux systems,wininit/services.exeon Windows). - Services start, then the login screen.
Malware that wants to survive reboots (called persistence) hides in this chain: startup folders, scheduled tasks, services, registry "Run" keys, or, rarely, the firmware itself. You will hunt for these in Modules 17 and 18.
Privilege: why "admin" matters
Ordinary users can change their own files. Administrators (Windows) and root (Linux) can change anything. Attackers who get in as a normal user almost always try to escalate privileges next. The defence is least privilege: give each person and program only the access it needs, and use admin rights only when you have to (with sudo or "Run as administrator").
Sorting drill
Kernel or user space?
Where does each one run?
- A network card driver
- Your web browser
- The memory manager
- A spreadsheet app
- The file-system code that enforces permissions
- A Python script you wrote
0 of 6 sorted
Your home lab: virtual machines
A virtual machine (VM) is a whole computer simulated inside your real computer (the host). A hypervisor such as VirtualBox (free), VMware Workstation Pro (free for personal use) or Hyper-V runs it. VMs are perfect for security practice:
- Isolation: malware or a broken experiment stays inside the VM.
- Snapshots: save the machine's exact state, break it, and roll back in seconds.
- Private networks: a "host-only" or "internal" network lets your VMs talk to each other but not to the internet or your home network.
A good starter lab, which later modules assume you have:
| VM | Role | Suggested resources |
|---|---|---|
| Kali Linux | Your attacker and toolbox machine (Module 8) | 2 CPUs, 4 GB RAM, 40 GB disk |
| Ubuntu Server | A Linux server to administer and defend | 1–2 CPUs, 2 GB RAM |
| Windows 10/11 or Server evaluation | Windows administration and Active Directory (Modules 3 and 21) | 2 CPUs, 4 GB RAM |
| A deliberately vulnerable target (such as Metasploitable or OWASP Juice Shop) | Something you are allowed to attack | 1 CPU, 1–2 GB RAM |
16 GB of RAM on the host is comfortable; with 8 GB, run two VMs at a time. Containers (Docker) are a lighter cousin: they share the host's kernel instead of simulating a whole computer. You will use them in Module 23.
Decision scenario
Set up the lab network safely
You have just installed Kali and a deliberately vulnerable VM on your laptop.
The vulnerable VM is full of known security holes on purpose. You want Kali to reach it, and you want to keep your home network and the internet safe. Which network setting do you choose for the vulnerable VM?
What do you recommend?
0 of 3 options explored. Try the others to see how each would play out.
Flashcards
Module 1 flashcards
0 of 10 known
Say the answer out loud, flip the card, then be honest: cards you miss come back at the end.
Practice exam
Module 1 checkpoint
8 questions, 10 minutes. Aim for 7 or more before moving on.
- 8 questions · 10 minutes
- No feedback until you submit. Flag questions to come back to them.
- Aim for 85% or better before you move on. The real exam's 750 out of 900 is roughly 80–83%.
Written by Noviq Academy in its own words. All labs are simulations: no real systems are touched, and every name, address, password and hash is made up. The offensive techniques taught here are for defending systems and for authorised testing only; never scan, access or test a system without the owner's written permission. Tool and product names belong to their owners, and command output may differ slightly from yours. Read-aloud uses your device's built-in voices.