Table of Contents

← Return to the Personal Security Course

Start a desktop review with updates, disk encryption, and tested backups. Updates close known flaws. Encryption protects data after powered-off device theft. Backups support recovery after loss, failure, or destructive malware. The remaining controls reduce exposure and limit damage.

This module covers those three first, then least privilege, endpoint integrity, attack surface reduction, and the isolation techniques which matter for readers who run untrusted software.

Budget about 45 minutes. Encryption and the backup check are the two items to finish today.

What You Will Learn

  • Sequence desktop controls by consequence rather than by popularity
  • Enable full disk encryption on Windows, macOS, or Linux
  • Apply least privilege to daily work rather than only to servers
  • Reduce the listening attack surface by closing services and ports
  • Isolate risky activity with virtual machines and separate accounts
  • Produce a computer record listing encryption, backup, and privilege configuration
TermMeaning
Full disk encryptionProtecting data at rest when the device is powered off and keys remain unavailable
Least privilegeOperating with the minimum rights needed for the task at hand
Attack surfaceThe set of services, ports, and interfaces reachable by an attacker
Keystroke injectionA device which presents itself as a keyboard and types commands
Mandatory access controlA policy layer which restricts programs beyond file permissions
Canary tokenA decoy file or credential which alerts you when it is touched

Three Starting Controls

1. Automatic Updates

Supported updates close known flaws and reduce exposure time. They do not repair stolen credentials, unsafe configuration, or unsupported hardware.

  • Enable automatic updates for the operating system and restart when prompted
  • Update applications separately. Browsers, document readers, and media players are common targets
  • Include firmware and drivers where the vendor supports automatic delivery

A restart prompt might complete an update, driver change, or maintenance task. Read the update status and finish security updates promptly.

2. Full Disk Encryption

Full-disk encryption reduces data exposure after powered-off device theft when keys and recovery methods remain protected. Without effective encryption, storage might expose files or application data, subject to separate application encryption and account controls.

PlatformFeatureWhere to Check
WindowsBitLocker or Device EncryptionSettings, Privacy and Security, Device encryption
macOSFileVaultSystem Settings, Privacy and Security, FileVault
LinuxLUKSConfirm root and home volumes at install time

Verify your recovery key is stored somewhere other than the encrypted disk. A recovery key only on the encrypted volume is not a recovery key.

Turning the device fully off rather than leaving it in standby matters once encryption is enabled. A suspended machine often holds keys in memory.

3. Backups

A tested backup supports recovery from ransomware, theft, and hardware failure. Account security, encryption, and incident response address different parts of those events.

  • Keep one local copy for fast restores
  • Keep one encrypted offsite copy for fire and theft
  • Keep one offline or write-only copy for ransomware which reaches your synced storage

Test a restore. A backup never restored is an assumption.

Least Privilege on a Desktop

Daily administrator use gives launched processes broad rights. A standard daily account reduces the authority available to routine applications and mistakes.

PracticeWhy It Matters
Use a standard account for daily workRoutine processes start with fewer rights, while privilege escalation remains a separate risk
Elevate only for administrative tasksLimits what runs with full rights
Review local and cloud account trade-offsCloud accounts add sync and recovery features plus provider dependency. Local accounts reduce selected sharing but need separate recovery
Review installed applicationsFewer applications means fewer update obligations and fewer targets
Lock the screen on idleReduces casual access while the machine is unattended. Active sessions and unlocked data still need protection

Separate accounts provide one useful compartment boundary. Use a standard account for daily work and an administrative account for elevation. Windows, macOS, and Linux support separate local accounts, while some platforms also support provider-linked accounts with different sync and recovery behavior.

The measurement for this module is not how many controls you enabled. It is how much an attacker gains from compromising one account.

Endpoint Integrity

These controls answer a different question: is the machine currently trustworthy?

ControlWhat It Addresses
Built-in platform protectionsDefender, Gatekeeper, and distribution security controls provide a supported baseline
Additional endpoint softwareEvaluate support, detection evidence, privacy terms, accessibility, and compatibility before installation
Targeted integrity checksUse platform logs, security tools, or specialist help after a concrete warning. A periodic scanner result alone does not prove trust
Watch for hardware keyloggersInspect the connection between keyboard and machine after the device has been unattended
Guard against keystroke injectionA device presenting as a keyboard types commands instantly. USB filtering tools address it
Use physical camera covers or microphone disconnects where suitableA camera cover blocks the lens. Microphone protection requires a hardware disconnect, trusted mute design, or device without a microphone
# Linux: check what is listening on external interfaces
ss -tulpn

# Inventory attached USB devices for comparison with your own baseline
lsusb

Physical access threatens a running or unlocked computer. Full-disk encryption protects powered-off storage when keys stay unavailable. A firmware password adds friction but does not replace encryption or a strong device lock.

Canary tokens are worth knowing about. A decoy file or credential which alerts you when opened gives early warning something has access it should not. Self-hosted canary services and file-integrity monitoring both implement the idea.

Attack Surface Reduction

A listening service adds reachable code and configuration. Keep services with a documented purpose, supported version, and suitable access policy.

TargetAction
Listening portsIdentify what listens, then disable what you do not use
SSHValidate key login, then disable password authentication where recovery access exists. Restrict exposure and source addresses
File and print sharingDisable protocols you do not use, especially legacy SMB versions
Remote access featuresDisable remote desktop and remote assistance unless actively used
Voice assistantsDisable or limit always-listening features
Vendor telemetryReduce usage data and diagnostic reporting to the minimum offered
Secure BootKeep it enabled, which complicates bootloader tampering
# Linux: ask sshd for the effective policy, including defaults and included files
# This read-only command often needs root privileges to access host keys and configuration.
sudo sshd -T | grep -E '^(passwordauthentication|permitrootlogin) '

# List enabled services to decide what deserves to stay
systemctl list-unit-files --state=enabled

On Windows, the equivalent exercise is reviewing startup items and optional features. Disabling unused services reduces both collection and attack surface, at the cost of some convenience.

Our organizational counterpart covers the server-side version of this exercise: Patch Management Checklist .

Isolation for Risky Activity

When you must run something untrusted, isolation limits what a compromise reaches. These techniques cost convenience, so reserve them for the cases which justify it.

TechniqueIsolation LevelBest For
Separate user accountLow, shares the kernelKeeping work and personal data apart
ContainerModerate, shares the kernelRunning a service in a defined environment
Virtual machineHigh, separate kernelTesting unknown software and browsing risky sites
Dedicated hardwareStrong device boundaryWork which needs separation from daily files and accounts. Network, payment, behavior, and identity links still allow correlation
Mandatory access controlOrthogonal, restricts programsConfining applications even after compromise

A virtual machine adds a boundary for controlled testing. Disable shared folders, clipboard, host integration, and unneeded networking. Take a clean snapshot and delete the test VM afterward. VM escapes and user mistakes still expose the host. A dedicated spare device gives a stronger boundary for high-risk files.

Mandatory access control is worth knowing on Linux. An enforced AppArmor or SELinux policy limits a process according to defined rules. Coverage, policy quality, kernel security, privileged access, and escape paths bound the protection.

Compartmentalization is the underlying principle for all five rows. Ask what a compromise of this account or this virtual machine would reach, then reduce it until the answer is acceptable.

Diagram ranking desktop security controls by consequence, with updates, disk encryption, and tested backups at the top and isolation techniques such as virtual machines and compartmentalization at the bottom

The Computer Record

COMPUTER RECORD
Device:                  ______________________
OS and version:          ______________________  auto-update: on / off

The three controls:
  Disk encryption:       enabled / disabled   recovery key stored at: __________
  Backup local:          ______________________  last restore test: __________
  Backup offsite:        ______________________  encrypted: yes / no
  Backup offline:        ______________________

Privilege:
  Daily account type:    standard / administrator
  Separate admin account: yes / no
  Cloud account linked:  yes / no

Attack surface:
  Listening ports reviewed: yes / no
  SSH password auth:     disabled / not applicable / not reviewed
  Sharing services off:  file / print / both / none
  Remote desktop:        disabled / enabled
  Secure Boot:           enabled / disabled / unavailable

Integrity:
  Platform protections:  enabled / disabled
  Security warnings:     reviewed / unresolved
  Camera cover:          yes / no

Practice and Verify

Work from a standard user account. Keep the encryption recovery key and backup outside the computer.

  1. Install supported operating-system and application updates.
  2. Confirm full-disk encryption status through the operating-system settings.
  3. Locate the recovery-key record without displaying or copying the key into this worksheet.
  4. Restore one harmless file from backup to a new folder and compare its contents.
  5. List listening services. Identify the owner and purpose of each externally reachable entry.
  6. If SSH is enabled, prove key login in a second session before changing password authentication. Keep the first session open until validation ends.

Expected Result: updates complete, encryption reports active, recovery material is reachable away from the device, the restored file opens correctly, and each listening service has a reason.

If the recovery key is missing, do not trigger a recovery prompt. Follow the vendor backup process first. If an update or service change breaks a needed function, revert the one change through the operating-system history or saved configuration. Never restart SSH after a syntax or key-login failure.

REDACTED EXAMPLE
Platform:              Windows 11
Updates:               current on 2026-10-10
Disk encryption:       on
Recovery key:          verified in separate account
Restore test:          one document opened and matched
Listening services:    4 reviewed, 4 explained
Daily account:         standard

Pass checklist

  • Encryption status and separate recovery-key access are verified
  • One file restore succeeded
  • Daily work uses the intended account privilege
  • Every reachable service has an owner and purpose
  • Isolation settings and cleanup match the risk of the tested file

Primary references, checked 2026-10-10: Microsoft BitLocker recovery-key backup , Apple FileVault guidance , and CISA ransomware backup guidance .

Next Steps

  1. Continue to Module 9 and decide what earns a place on your network: Smart Home and IoT
  2. Confirm disk encryption is on and the recovery key is stored off the device
  3. Restore one file from your backup to prove the backup works
  4. Review what listens on external interfaces and disable anything you do not recognize
  5. Read the container boundary analysis before treating a container as isolation: Containers Are No Longer a Security Boundary
  6. Read the organizational counterpart: Patch Management Checklist