The official Todd Michael collectionIndependent mind · original work

2026-10-31 · By the The White Hat Bible editorial team

Write the Lab Plan Before You Open the Toolbox

A short, bounded plan keeps a home study lab honest: it names what you own, what you will observe, what you will not claim, and how you will clean up.

The White Hat Bible, Volume 2: Core Security: Security+, CySA+, PenTest+ and the Defender Mindset — book cover
Explore The White Hat Bible, Volume 2

Why the plan comes first

Many beginners start a security study session by opening a tool and clicking until something interesting appears. That habit makes it hard to tell later what was actually learned, what was only noticed, and what was a mistake. A written plan turns a vague session into a bounded experiment with a clear question, a clear scope, and a clear end. The plan does not need to be long. It needs to answer a handful of questions before any command runs.

The Linux permissions documentation is a useful anchor for this kind of work. It explains that file access permissions distinguish the owner, the group, and others, and that read, write, and execute bits mean different things for regular files and for directories. Those definitions are the kind of thing you should be able to state in your own words before you test anything. The NIST technical testing guide from 2008 makes a similar point from a different angle: planning, scope, recorded findings, and cleanup belong to the process, and the guide itself notes the limits of any single assessment technique.

A worked example

Imagine a reader named Ana who wants to understand why a file she created can still be read by a second account on her own laptop. She writes a one-page plan before she opens a terminal. Her scope line says: one disposable directory called permtest inside her home folder, owned by her, on her personal machine. Her question says: what do the owner, group, and other permission bits on a regular file and on a directory actually change? Her observations column will record the mode string, the owner, and the group, and whether a second test account can list or read the file. Her limitations line says: this tests only the local filesystem on one machine, and says nothing about network shares, backups, or other systems. Her cleanup line says: delete permtest and its contents, then confirm the directory is gone.

Notice what Ana's plan does not include. It does not name any system she does not own, any account she has no authorization to use, or any goal beyond understanding the permission bits. If she later wants to try something on a different machine, the plan forces her to write a new scope line first. This is a hypothetical example, not a recommended workflow, and Ana's exact steps are only one way to structure the thinking.

A small reader exercise

Pick a disposable folder you own and write the plan for it on paper before you touch the folder. Fill in four lines: scope, question, the three observations you will record, and one limitation. Then do the inspection, write what you saw in plain sentences, and remove the folder. Afterward, compare what you wrote in advance with what actually happened. The gap between your prediction and the result is often the most useful part of the session. Keep the note short; a note you will reread beats an elaborate one you never open.

Checklist before any session

Before you run anything, confirm that the target is a system or folder you own or are explicitly authorized to test, and write that down. Name one question you want answered, and keep it narrow. Decide in advance which observations you will record and in what form. State at least one limitation of the test, such as the single machine, the single account, or the single time window. Plan the cleanup, including what you will delete and how you will confirm it is gone. Afterward, read your observations against your question and note anything you could not check. A plan that you follow and then honestly revise is worth more than an impressive session with no record.

This article is general study guidance and offers no guarantee of security outcomes. The related reading, The White Hat Bible, Volume 2, is an optional reference for the broader topic; this article does not claim anything about its chapter contents.