Helpful first: A hardened baseline, and proof it held · Logs, alerts, and evidence
Thirty days to Halcyon · Case 14: The field laptop · Episode 2 of 5
Monday morning, Station South. Kael Cho, Staff Infrastructure Engineer, plugs the re-imaged field- into the station network at 08:05. Its EDR agent reports for the first time in 41 days.
At 08:54 Nyx, the Threat Hunter, calls from headquarters. "Your laptop just raised its first alert. A chain of processes started from a USB drive and reached a station address."
Kael looks at the drive in the side port. It holds three of his tools. What did the chain do, and what should happen to the laptop now?
By the end you can
- Say what endpoint detection and response records and what it can do on a host
- Read a process tree and tell an expected chain from an unusual one
- Explain the blind spots: a missing agent, a tampered agent, an offline host
What the agent records
Endpoint detection and response (EDR) is software in two parts. An agent runs on each laptop or server. A console collects what the agents send, lets analysts search it, and sends back actions.
The agent records behavior, not just files. Each time a process starts, it notes the program, the process that started it, the command line, the user, and who signed the program. It also records files written, network connections, and, on Windows, registry changes. These records are called telemetry.
Antivirus asks one question: is this file known to be bad? A script that nobody has seen before passes that test. EDR asks a different question: what did this process do? A new script that starts a shell and connects out is worth a look, whatever its hash.
Two related labels are easy to mix up. Extended detection and response (XDR) is a product category that joins endpoint data with other sources, such as email and identity. Managed detection and response (MDR) is a service, in which people outside the company watch and investigate. Neither label proves what is actually covered.
| Label | The question it asks | What it acts on |
|---|---|---|
| Antivirus | Is this file known to be bad? | The file: block it or quarantine it |
| EDR | What did this process do? | The host: kill, quarantine, isolate, collect |
| XDR | What happened across endpoints, email, identity and more? | Whatever its connected sources and licenses allow |
| MDR | Who watches and investigates, and at what hours? | Only what the contract authorizes the provider to do |
Read a process tree from parent to child
Every process has a parent: the process that started it. Chained together, parents and children form a process tree. Reading one is the core skill of EDR triage.
Most chains are dull and expected. A user double-clicks a document, so the file explorer starts the document editor. A system service starts an update program. The parent and the child make sense together.
Some pairings are unusual. A document editor that starts a command shell is a classic sign of a malicious macro. A script interpreter launched from a removable drive deserves a question. So does a shell that opens a network connection.
A tree tells you what ran, in what order, and as whom. It does not tell you why, or whether it was allowed. Unusual is not the same as malicious. The tree tells you which question to ask, and whom.
WORKED EXAMPLE
The 08:53 chain on field-07, from parent to child
explorer., as Kael. Someone opened the USB drive in the file explorer, in Kael's session. This proves the session was used. It does not prove Kael was at the keyboard.exe python.. A script interpreter ran a script from driveexe E:\calib\run. py E:, the USB drive. The agent notes thatrun.carries no signature. It does not know what the script is for.py powershell.. The script started PowerShell, a command shell. This is the unusual pairing. A calibration tool might do it. So might malware.exe - Connection to
10., port40. 6. 12 5020. PowerShell connected to a station address. The agent records the address and port, not the content of the traffic.
Result: Four nodes and one question: who wrote run., and should it start a shell that talks to the station? The tree narrows the investigation. It does not close it.
SPOT THE PROBLEM
Nyx pastes parent and child pairs from other Station South laptops this week. Flag the pairs that deserve a question.
Show the answers
- winword.exe started powershell.exe A document editor starting a shell is the classic sign of a malicious macro. Ask what the document was.
- pass-loader.exe started cmd.exe, which ran whoami A plan loader has no reason to ask the system who the user is. Attackers run whoami to learn where they landed.
- rundll32.exe with no command line connected to an address outside Meridian rundll32 normally runs with arguments naming what to load. With none, and talking to the internet, it is often a cover for injected code.
Act on the host, and keep the evidence
EDR can act as well as watch. Four actions are common. Kill a process, which stops it at once. Quarantine a file, which moves it where it cannot run. Isolate the host, which cuts it off from the network. Collect a package of evidence, such as running processes, network connections and recent files.
Isolation is the one to understand. Most EDR products cut every connection except the agent's own channel to the console. The laptop can no longer reach the station network. The analyst can still see it, question it, and collect from it. Isolation can also be undone. The analyst releases the host when the question is answered.
Order matters. Killing a process loses whatever it held in memory. Wiping a disk loses everything. Isolating first stops any harm and keeps the evidence, so the choice about what to destroy can wait for facts.
SORT IT OUT
Nyx lists the actions she could take on field-07. Which can be undone if the script turns out to be harmless?
Show the answers
- Can be undone. Releasing it from isolation restores the network. Nothing on the laptop is lost.
- Can be undone. A quarantined file can be restored if it proves legitimate.
- Cannot be undone. The process and whatever it held in memory are gone.
- Cannot be undone. A deleted file may not come back, and the evidence goes with it.
- Cannot be undone. Everything on the disk is gone, including anything that explained the alert.
YOUR CALL
After the tree is collected
field-07 is isolated, and its process tree is collected. The script on the USB drive is unsigned, and nobody has said who wrote it yet. The pass plans load tomorrow afternoon.
What happens to field-07 now?
Kael calls back. "That's my calibration tool. I never signed it." What closes the alert?
Strong calls contain first and destroy last. They close an alert with evidence a stranger could check, not with someone's word.
Show the strong calls
- Keep it isolated while you find out who wrote the script. The laptop can harm nothing while it waits, and the evidence on it stays as it was.
- Match the script's hash to the copy in Kael's repository, sign the tool, then release the laptop. The hashes match. The tool is signed, and the alert closes with the tree, the hash and the signature attached.
What EDR cannot see
EDR sees only hosts where its agent is installed, running, and reporting. Everything else is a blind spot, and the console does not announce it. A quiet console can mean a quiet network or a deaf one.
Three gaps matter most. A missing agent: a new or rebuilt host that never got one. An offline host: field- had an agent for all 41 days and sent nothing, because it was in a cupboard. A tampered agent: an attacker with administrator rights tries to stop or remove it. Tamper protection makes that harder, and an agent that falls silent should raise an alert of its own.
Some devices cannot run an agent at all. The antenna controller ant- runs its vendor's firmware, not a general operating system. Something other than EDR has to watch it.
So ask for a coverage report, not a product name. It lists every host, whether its agent is healthy, and when it last reported. A host that last reported 41 days ago is not covered, whatever the license says.
CHECK YOUR JUDGMENT
Nyx's coverage report for Station South lists 40 laptops with the EDR agent installed. Three last reported more than 30 days ago. Kael says all 40 are covered. What is the accurate statement?
CASE FILE · CASE 14 · ENTRY 2 OF 5
Answer the closing question correctly to add this entry to your case file.
Isolated, but still talking to Nyx
Isolation cut field- off from the station but kept the agent's own channel open, so Nyx collected the process tree before anything was wiped or deleted.
Next episode: The laptop is clean. Nyx is still reading the USB drive, and one file on it is called .env.
Review sheet: exam notes and quick reference
Identity The record an organization uses for a person, device, or workload that can be authenticated.
Alert A notification that a rule or model wants a human to look at one or more records.
Evidence A record you are willing to cite in a decision, with enough provenance to explain what it can prove.
EDR Telemetry and response capability on laptops and servers for process, file, and similar host activity.
XDR A vendor category for stitching multiple telemetry sources; it is not automatic coverage of every outcome.
MDR A service that combines tooling with people who triage and investigate on a customer’s behalf.
Triage A short, time-boxed judgment of severity, uncertainty, and next action when an alert arrives.
Coverage An explicit statement of which sources, time windows, and rows were actually collected, including truncation.