ND-0016 / LINUX OPERATIONS
The First 15 Minutes of a Linux Incident
A monitor fires during handoff. One host is unhealthy and the team is discussing a reboot. First give everyone a shared record of what is known, what is changing, and who owns the next decision. This is a suggested checklist for a Linux host you administer, not a substitute for your incident runbook. If there […]
A monitor fires during handoff. One host is unhealthy and the team is discussing a reboot. First give everyone a shared record of what is known, what is changing, and who owns the next decision. This is a suggested checklist for a Linux host you administer, not a substitute for your incident runbook. If there is ongoing harm, follow the approved containment procedure immediately; do not wait for a timer or a perfect evidence bundle.
Minutes 0–3: Record and escalate
Open the incident channel and ticket through approved systems. Mark an incident lead, record UTC time and source of the alert, and name the affected service and the observed symptom. Keep facts separate from hypotheses. Confirm the host identity through a trusted console or inventory. If your regular access or communication path may be affected, use the approved alternate path. NIST SP 800-61 Rev. 3
Minutes 3–8: Capture only what is useful and approved
If safe and consistent with your runbook, preserve a small snapshot of live state before restarting anything: time and boot identifier, relevant service state, current sockets, and logs for the incident window. Avoid indiscriminate collection. Keep output in approved restricted storage; command output can reveal users, hostnames, addresses, and secrets. A suspected host may be wrong about its own clock or logs, so corroborate with trusted central logs where available. Record operator, capture time, command, and any errors.
For a synthetic rehearsal on a systemd lab host, the two lines below illustrate selecting a UTC window and exporting its retained records. Replace the sample times; choose a scope that matches your policy. The export is not a disk image or a complete history.
date -u '+%Y-%m-%dT%H:%M:%SZ'
sudo journalctl --since '2026-11-01 12:00:00 UTC' --until '2026-11-01 12:10:00 UTC' -o export > ./journal.export
Run the example only from an approved restricted directory with a restrictive umask; the shell opens the output file. Confirm the command succeeded and the result matches the intended window before treating it as an artifact. journalctl reference
Minutes 8–15: Decide, document, hand off
Ask the incident lead to choose an authorized containment step based on current impact and dependencies. If the host is isolated, record the decision, time, who acted, what access remains for recovery, and what could break. Do not reboot, clear logs, or run cleanup merely to see whether the alert disappears. If restoration is urgent, record what could not be preserved and why.
The handoff should fit in six lines: observed symptom and time; affected service and scope; facts versus unknowns; containment status and who approved it; restricted evidence location and integrity manifest; next decision, owner, and deadline. For sensitive material, transfer only through the incident process and share a trusted copy of the manifest separately where required.
A small handoff exercise
Place a fictional notes.txt in a lab directory. Create a manifest there and verify it from the directory containing the received copy and manifest. Then add a line to the copy and rerun the check.
sha256sum notes.txt > SHA256SUMS
# In the receiving directory, after copying the file and the trusted manifest:
sha256sum -c SHA256SUMS
A match establishes that the bytes match the trusted manifest. It cannot show who collected the file, whether the underlying log is accurate, or whether someone replaced both the file and the manifest. GNU Coreutils reference
What we verified
With GNU Coreutils 9.7 on Debian 13, the unchanged synthetic copy passed and a copy with an extra line failed. We did not collect live incident logs or rehearse a containment decision. The minute ranges are suggested checkpoints, not required waits.