Lesson plan: Foundations: How a Computer Runs Programs

AP Cybersecurity · Unit 4 Securing Devices · Topic Foundations (background for 4.1 to 4.4) · Practice set

At a glance

Suggested time
1 class period (45 min)
Pacing
The unit's first set, before Device Types and the IoT Surface. The CED gives Unit 4 about 23 class periods: 6 for Topic 4.1, 5 for 4.2, 5 for 4.3 and 7 for 4.4. This Foundations background sits outside those content periods, and this plan suggests 1 extra day for it. The CED uses what this set teaches without teaching it. EK 4.1.C.3 has an adversary load an operating system from an external drive when the BIOS or UEFI has no password. EK 4.3.C.1 has vendors send operating system updates and patches, and EK 4.4.A.4 lists "Unexpected processes or services" among host-based indicators.
Before this set
None needed for the problems. The lesson's services box mentions that a web server listens on a port, which Foundations: Packets, Ports, and Protocols (Unit 3) taught. Students should know what a laptop, a window, and a password are. The mini-lesson explains firmware, the operating system, files, paths, executables, memory, processes, services, updates, the registry, logs, accounts, and privileges as it goes.
Skills
1.A Identify, with and without the support of AI, vulnerabilities, threats, and attack methods, and explain how they generate risk.

The one idea: The firmware starts the operating system, and the operating system runs every other program. A program waits on the drive as a file; running, it is a process in memory, and it can do only what the account it runs as is allowed to do.

Day by day

Day 1 · From the power button to the processes45 min

Differentiation

If students are struggling
Before the problems, have students copy the lesson's startup figure as five boxes and write one word in each: firmware, operating system, services, sign-in, programs. Then do Problem 9 🔒 as a class, deciding row by row whether the signed-in account could stop that process and saying why.
Extension
Where the school allows it, students open Task Manager (Windows; the Details tab's User name column) or Activity Monitor (Mac; the User column, where the system's account is root) and find one program running as several processes and one process that runs as the system's own account. Without computers, students write which of the lesson's five startup steps the McAfee update broke and why the fix used safe mode. (Step 3, the services, since they ran inside svchost.exe. On safe mode, a good answer works from the lesson: the computers had no network and many kept restarting, and safe mode loads only the most basic services, so staff fixed each one by hand from a USB drive.)
Vocabulary support
firmware, BIOS (basic input output system), UEFI (unified extensible firmware interface), operating system (OS), file, folder, path, executable, memory, process, service, update, patch, settings, registry, log, account, standard account, administrator account, SYSTEM, privileges, Task Manager, svchost.exe (service host), quarantine, safe mode.