Reading width
Wide uses the full column for everything, text, diagrams, code, and exercises. Narrow keeps the standard reading width.
Text size
Scales the body text. Headings and code blocks keep their size.
In this section
0.8 Practical: Build Your First Evidence and Decision Record
Introduction
The seven lessons before this one each taught a way of reading an operator's action: what it was for, what it relied on, whether it worked, what it left, how sure you can be, and where it sits in the whole intrusion. This lesson joins them into one written product, the evidence and decision record, which you'll produce at the end of every exercise in the course.
The record is six questions, always the same and always in the same order. It's short by design. Operators work in steps, and each step is a decision made with the access they hold at that moment.
A defender who can write six honest answers about one step understands that step. A defender who can't has usually skipped a question, and the skipped one is nearly always the third or the sixth.
The six questions. Three about what the operator did, three about what the defender had and has left.
You'll build two records here. The lesson works through the first with you, on an attempt that a control stopped. The Practice gives you the second, on an attempt that nothing stopped, and you write that one yourself.
Why Every Exercise Ends in the Same Six Questions
What the record is for, and what each question takes from the lessons before itAn investigation produces a great deal of material: search results, timelines, notes, screenshots. Very little of it is in a form someone else can act on. The record exists to force the material into a shape with a use. Its reader is the person who has to decide something: whether to isolate a machine, reset an account, change a policy or keep looking.
1 Objective What was the operator trying to achieve with this step?
2 Made possible What access, weakness or condition did the step depend on?
3 Happened What outcome do records support: attempted, ran, or had effect?
4 Observable Which records show it, and was anyone positioned to see them?
5 Interrupts What stopped it, or would have, and where does that control sit?
6 Remains What can the operator still do, and what is still unknown?
The order carries meaning. Questions 1 and 2 describe the step from the operator's side: the goal, and what had to be true for the step to be tried at all. Question 3 is the hinge, and it's deliberately worded as an outcome supported by records. Questions 4 to 6 turn to the defender: what could be seen, what stops this kind of step, and what's left open.
Each question applies one lesson from this module. The objective, and what made the step possible, come from lesson 0.2: a step serves an objective, and access is what the operator holds before it. What happened is lesson 0.4's three claims.
What was observable and what interrupts both come from lesson 0.3: a record shows a procedure, and controls act on behavior. What remains draws on lessons 0.5 and 0.6: state what is unknown, and remember that an intrusion has branches.
Three properties make a record good, and you can check your own work against them.
It's about one step. A record that tries to cover an entire intrusion becomes a narrative, and narratives hide gaps. When a case has ten steps, it has ten records, and the sixth answer of each one points at the next.
Every answer cites a record or admits it has none. "No record" is a legitimate answer, and often the most useful one on the page, because it tells the reader where the organization can't see.
It separates what happened from what was intended. An operator's objective is an inference, as lesson 0.5 defined the word. The outcome is a fact or it's nothing. A record that blurs the two will report an attempt as a compromise, or a compromise as an attempt, and both mistakes are expensive.
Keep each answer to a sentence or two. The length limit isn't about tidiness. If an answer needs a paragraph, it usually contains a second step that deserves its own record, or an inference that hasn't been separated from the fact beneath it. Long answers are where both of those hide.
The sections that follow take the questions in turn, on a single event from the first morning of the intrusion this course investigates.
Questions 1 and 2: The Objective and What Made It Possible
Six messages from one sender in under a minute, and what they needed in order to workStart with what arrived. Over the nine days the mail records cover, inbound mail came from six sender domains. Five of them sent on most days. The other sent on one day only, and its name sits one hyphenated word away from the company's own.
Sender billing@brennick-freight.example
Subject Updated freight invoice INV-20471 - action required
Timestamp Recipient Attachments Delivery
08:52:10 j.okafor 1 Delivered, Inbox
08:52:17 k.osei 1 Delivered, Inbox
08:52:24 s.bajwa 1 Delivered, Inbox
08:52:31 m.harlow 1 Delivered, Inbox
08:52:38 t.nowak 1 Delivered, Inbox
08:52:45 o.lindqvist 1 Delivered, Inbox
Six messages, one sender, one subject, delivered between 08:52:10 and 08:52:45 on 5 October. Each carried one attachment and no link, and each reached an inbox.
Question 1, the objective. What was the operator trying to achieve with this step? Be precise about which step. Sending mail isn't the objective. The mail is a means of getting something run inside the organization by a person who already has access. The objective of this step is code execution in a staff member's session. Stealing data or reaching a server may be the objective of the operation, and nothing in six mail records tells you that yet.
Notice the constraint, as lesson 0.2 taught you to. The operator is outside and holds no account. They can't run anything themselves. Every route in from that position needs either a service exposed to the internet or a person inside who acts for them. This step chose the person.
Question 2, what made it possible. List the conditions the step depended on, because each one is a place a defender could have stood. The messages were accepted for delivery from a domain the organization had never received mail from. They were placed in the inbox with an attachment. The recipients' addresses were known or guessable. And the step still needed someone to open what arrived.
Write these as conditions, never as blame. "The user opened the attachment" is a condition the operator planned for by sending six copies. They needed one person out of six.
A common error at this point is to answer question 2 with the vulnerability you expected to find. Nothing was exploited here. No software flaw appears in any record. What made the step possible was ordinary mail delivery working as configured, and the answer should say exactly that.
Question 3: What Actually Happened
A process start and a block in the same second, and the three claims they do and do not supportThe first recipient to act did so 39 minutes after delivery. Sysmon on an operations desktop recorded a process being created.
UtcTime 2026-10-05 09:31:44
Computer WS-OPS-04
User BRENNICK\k.osei
ParentImage C:\Windows\explorer.exe
CommandLine powershell.exe -nop -w hidden -ep bypass
-f C:\Users\k.osei\Downloads\INV-20471\INV-20471.ps1
Read it the way lesson 0.3 taught: procedure first. Explorer, the Windows desktop shell, started PowerShell in k.osei's session. A parent of Explorer means the user double-clicked something. The command line passes four switches and a script path inside the user's Downloads folder. Microsoft's reference for powershell.exe gives the full name and behavior of each switch.
-nop is NoProfile: the PowerShell profile isn't loaded. -w hidden is WindowStyle, for which Hidden is a valid value. -ep bypass is ExecutionPolicy: it sets the policy for this session only, and the policy set in the registry isn't changed. -f is File: it runs the script, and it must be the last parameter. The short forms come from the PowerShell 7 reference, which lists them; the Windows PowerShell page lists full names only. Taken together, the switches run a script with no visible window and without the session's execution policy interfering.
Now the second record, from the same machine in the same second.
One record from the operations desktop. It names the event, the rule collection and the file, and nothing about what the file contained.
Microsoft's AppLocker reference describes event 8007 as an Error whose message says the file was prevented from running. It's logged only when the script rules are in enforce mode. The path in the record is the path on the command line.
So what happened? Lesson 0.4 gave you three separate claims, and this is where they earn their keep.
Attempted: yes. The script host was started, and Sysmon event 1 records it. Ran: no record shows any action by the script itself. Blocked: yes. AppLocker's event 8007 reports preventing it. Had effect: nothing the operator could use is recorded.
The answer to question 3 is "attempted and blocked." It isn't "PowerShell ran a malicious script," though a process record with that command line would tempt many analysts to write it. The process record shows the host program starting. Whether the script inside it executed is a different claim, and the only record that speaks to it says it was prevented.
Check the negative properly, as lesson 0.5 requires. PowerShell on that desktop left exactly one Sysmon record that day: the process start. It made no DNS query and no network connection that Sysmon recorded. Sysmon on this machine does record both for other programs, so the search could have shown them. That makes the absence meaningful.
Question 4: What the Defender Could Observe
Three records in three places, and the difference between recorded and noticedQuestion 4 asks two things, and analysts routinely answer only the first. Which records show the step? And was anyone positioned to see them at the time?
For this attempt the first answer is generous. The mail system recorded the delivery of all six messages, with sender, recipient, subject and attachment count. Sysmon on the desktop recorded the process start with its full command line and its parent. AppLocker recorded the block with the script's path. Three independent sources agree on one event, which is as good as evidence gets for a single step.
The second answer is different. In this organization no alert was configured on AppLocker event 8007. The record was written to a log on the desktop and forwarded to the central store, where it sat among the rest of the day's records. Nobody was told. The mail records were likewise available and unread.
Three records, none of them watched.
Put the two answers side by side. Every source has a record, and none raised an alert. An operator planning the next attempt can't see that, and still benefits from it: a failed lure that nobody investigates costs them nothing and teaches the defenders nothing.
If the block had raised an alert at the moment it happened, an analyst would have been reading the mail records within the hour, with every other recipient's name in front of them.
This distinction between recorded and noticed deserves its own line in the answer, because the two call for different fixes. If a step wasn't recorded, you need a new data source or an audit setting. If it was recorded and nobody looked, you need an alert, a report or a review, and those are usually cheaper and faster to add.
Be exact about what each record can and can't show. The mail record shows delivery. It doesn't show that a message was opened. The process record shows the script host starting and what it was told to run. It doesn't show the script's contents.
The AppLocker record shows the block and the file's path. Its description on Microsoft's page lists the file, whether it was allowed or blocked, and the rule details. It says nothing about what the script would have done.
Note what's missing as well. No record here contains the attachment itself or the script. If the file is still in the user's Downloads folder, it can be collected from the machine, and it's the only source for what the operator intended to run. Central logs won't supply it. That's a question for the tools later modules use to reach into a machine directly.
When you write the answer, name the sources and say plainly which were watched. "Mail delivery, process creation and the AppLocker block were all recorded. None raised an alert." A reader can act on that.
Question 5: What Would Interrupt It
The control that acted, the places where others could have, and why you name the placeQuestion 5 is where the record turns from description to decision. It asks what stopped the step, or what would have, and where that control sits.
Here something did stop it. A script rule, enforced on this desktop, prevented the file from running. Give the control credit in specific terms: which control, on which machine, acting on which behavior. "AppLocker script rules in enforce mode on the operations desktop blocked a script launched from the user's Downloads folder."
The switch -ep bypass didn't help the operator, and it's worth seeing why. Microsoft's reference says that parameter sets the execution policy for the session and leaves the policy in the registry alone.
The two records in section 3 show what followed on this machine: the switch was on the command line, and the script was still prevented from running. Whatever the execution policy was, the control that made the decision here was a different one.
A step can be interrupted at more than one place, and a good answer lists them in the order the step passed through.
Places this step could have been interrupted, in the order it passed through them.
Only the third acted. The two before it had their opportunity and did nothing, either because no control exists there or because the control had no reason to object. The two after it were never reached on this machine, so this attempt says nothing about whether they would have acted.
A lookalike sender domain that has never sent before is something a mail filter can be asked about. Whether this organization's filter can do that isn't shown by these records, so the answer names it as a place to examine and stops there.
Lesson 0.3 explained why you name behavior. A block on the file name INV-20471.ps1 would stop this one file and nothing else. The rule that acted here didn't know the file's name. It applied to scripts run from a location users can write to, which is a property the operator's next lure will share.
Finally, question 5 has a scope, and you must state it. The control acted on this machine. Whether the same rule applies to every other machine is a fact about the policy's deployment, and the single 8007 record can't tell you. Hold that thought for the last question.
Question 6: What Remains Possible
One block, five other mailboxes, and the entry most records leave outThe last question is the one that separates a record from a closed ticket. It asks what the operator can still do, and what you still don't know.
It's easy to see why it gets skipped. The attempt failed. A control worked. The natural feeling is relief, and the natural action is to close the item. Lesson 0.6 warned against exactly this: an intrusion isn't a single line that ends when one step fails. The operator sent six messages. You've accounted for one.
What the first record establishes is short: six mailboxes received the lure, one machine blocked the script, and the block was logged as an error. Everything else is open, and each open item is a search or a question for someone.
What did the other five recipients do? Their machines' process records will show whether the same command line appears anywhere else. Does every machine have the script rule? The policy's owner knows, and the logs can test it: a machine where the same script started and no 8007 followed is a machine outside the rule.
There's a second kind of entry for question 6: what the operator still holds. In this case they hold a working lure, a list of addresses that accept mail, and the knowledge that at least one person will open an attachment from that sender. A failed attempt costs them one message. Nothing prevents another round tomorrow from a new domain.
And there's the unknown that only the file can settle: what the script does. Until someone retrieves it, you don't know what a successful run looks like on a machine, which makes it harder to search for one.
With all six answered, the first record is complete.
Objective Run a script in a staff member's session
Made possible The lure was delivered to the inbox, and the user opened it
Happened Attempted and blocked. No record that the script ran
Observable Mail delivery, Sysmon event 1, AppLocker 8007. Nothing alerted
Interrupts A script rule on this machine; earlier, mail filtering
Remains Five other recipients. The same lure can be sent again
Look at what the last line does. It turns a blocked attempt into two pieces of work: find out what five other people did, and find out what the script is. An assistant is useful for the second kind of question, reading a command line or an unfamiliar record, provided you verify what it tells you.
Explain each switch in this Windows PowerShell command line and say which ones change what a user would see: powershell.exe -nop -w hidden -ep bypass -f C:\Users\k.osei\Downloads\INV-20471\INV-20471.ps1
| Switch | Meaning | Effect for the user |
|---|---|---|
| -nop | NoProfile: skip the profile script | None visible |
| -w hidden | WindowStyle Hidden | No console window appears |
| -ep bypass | ExecutionPolicy Bypass for this session | No policy prompt or refusal |
| -f <path> | File: run the script at that path | None visible |
Together these start a script with no window and without the execution policy getting in the way. That combination is common in malicious shortcuts, and some administrative tools use it too, so it isn't proof of intent.
Execution policy is not a security boundary, and this switch doesn't affect application control. If a product such as AppLocker governs scripts on the machine, it makes its own decision. Confirm the switch names against Microsoft's reference for powershell.exe, since I'm expanding abbreviations.
You check
An illustrative exchange, written for this lesson: run the prompt yourself and expect different wording. Check the four expansions against Microsoft's about_PowerShell_exe and about_pwsh pages. The statement about application control is the assistant's own, so test it against the two records in section 3, which is what this lesson does.
The assistant expanded the switches correctly and added a claim of its own about application control. Section 3 gave you the records to test that claim on one machine. The habit is the same as with any source: take the explanation, then find the record.
The Second Machine
The same command line on a finance laptop 16 minutes later, and what followed itQuestion 6 told you where to look next. This search asks every machine's process records for the lure's script name:
Sysmon
| where EventID == 1 and CommandLine has "INV-20471"
| project TimeGenerated, Computer, User, ParentImage, CommandLine
| order by TimeGenerated asc
It returns two rows. The first is the operations desktop at 09:31:44, which you've read. The second is a finance laptop, WS-FIN-07, at 09:47:03, 16 minutes later: the same four switches, the same parent, the same script name, in j.okafor's Downloads folder.
One lure, two machines. The first attempt ends at the block. The second has no block record.
No AppLocker record exists for the laptop. The only 8007 in the whole period is the one from the desktop. So read what Sysmon recorded on the laptop around that process start:
09:47:01 11 File created C:\Users\j.okafor\Downloads\INV-20471\INV-20471.lnk
09:47:03 1 Process created powershell.exe -nop -w hidden -ep bypass
-f C:\Users\j.okafor\Downloads\INV-20471\INV-20471.ps1
09:47:04 22 DNS query cdn.assetsync-delivery.example
09:47:04 3 Network connect 10.20.10.57 to 203.0.113.80:443
09:47:05 1 Process created powershell.exe -nop -w hidden -enc SQBFAFgAIAAo...
parent: the PowerShell process started at 09:47:03
Two of those five records are processes starting, and each names its parent. Drawn by parentage, with the shell that started them, they look like this:
Each process was started by the one above it. The desktop shell started PowerShell, and that PowerShell started another.
Five records inside four seconds. Explorer wrote a shortcut file named like the lure into a folder under Downloads. Explorer then started PowerShell with the command line you know. That PowerShell process looked up a host name, connected to the address it was given on port 443, and started a second PowerShell with a different switch, -enc, followed by a long string.
The form -enc appears on neither of Microsoft's two reference pages, so don't take its meaning on trust. Test it. The reference for the full parameter, EncodedCommand, says the value is a base64 string of text in UTF-16LE. Decode the string that way and it reads:
The encoded argument on the left is base64 of UTF-16LE text. Decoded, it is the command on the right.
That's a command to download data from the host the first process had just looked up and to run it as PowerShell without writing it to disk. The process record establishes that PowerShell was started with this command. What was downloaded isn't in any record you hold.
One more fact, from the network sensor. Between 09:47 and 16:55 that day it recorded 90 TLS connections to that host name, all from the laptop's address.
Step back to the six messages that arrived that morning, and account for all of them.
Six delivered. On two machines a script host started with the lure, and one of those was blocked. Four have no such record.
Three outcomes from one lure. The four with no record aren't four safe mailboxes. They're four recipients whose machines show no script host starting with that file, which is as far as these records go.
For the one in red, you now hold the evidence for a second record, and its third answer won't be the same as the first one's. Everything from question 3 onward will differ, and the reason is a single control that was present on one machine and absent on the other.
Practice
Practice
Build the record for the finance laptop the campaign recordsThe lesson built the record for the attempt that was blocked. Build the one for the attempt that wasn't.
- Run the search. Run the search in section 7 and confirm the two process starts and their times.
- Read the laptop. Replace the first condition with
Computer startswith "WS-FIN-07" and EventID in (1, 3, 11, 22), keep 5 October, and find the records shown in section 7. - Answer questions 1 to 3. Write the objective, what made the step possible, and what happened. For question 3, state which of attempted, ran and had effect the records support, and cite one record for each claim you make.
- Answer questions 4 and 5. List the records that show the step and say whether anything alerted. Then name each place the step could have been interrupted and what was different on this machine.
- Answer question 6. Write what the operator now holds, what you don't yet know, and the first record you would look for next.
Compare your two records when you finish. Questions 1 and 2 should read almost the same, because the operator did the same thing twice. Everything from question 3 onward should differ, and the reason for the difference is your answer to question 5.
In your own environment, pick one blocked event from the last month, from any control you run, and write the six answers for it. Pay attention to the sixth. Then find out whether a block by that control raises an alert or only writes a record, and whether the same control covers every machine of that type.
That completes Module 0. The modules that follow take the intrusion one stage at a time, beginning before the first message was sent, with what the operator could learn about the organization from outside it.