Within Lessons
Can Your Logs Survive the Intruder?
The case underlines that logs are only useful if they are centralised, protected and detailed enough to guide response during an incident.
On this page
- The incident questions logs must answer quickly
- Why local logs can fail after compromise
- How central retention and tamper protection improve response
Page outline Jump by section
Introduction
The Gary McKinnon case is often remembered because of its UFO-related motive, but one of its most durable cybersecurity lessons concerns evidence. When an attacker has already gained access to systems and administrative accounts, the most important question is often not how they entered but whether defenders can still see what happened. US prosecutors alleged that McKinnon accessed and damaged dozens of military and NASA systems between 2001 and 2002, creating a complex investigation that depended on reconstructing activity across many networks. [Department of Justice]justice.govDepartment of JusticeLondon, England Hacker Indicted Under Computer Fraud…One count charges McKinnon with accessing and damaging witho…
For incident responders, logs are only valuable if they survive the incident itself. A compromised machine may no longer be a trustworthy source of evidence. The practical lesson is straightforward: organisations need logging systems that remain available, intact and searchable even after an attacker has touched servers, workstations or privileged accounts. Modern guidance from NIST and CISA repeatedly emphasises centralised collection, protection against tampering and sufficient detail for investigation. NIST Publications+2NIST Computer Security Resource Center [nvlpubs.nist.gov]nvlpubs.nist.govIt describes several controls related to log management.Read more…
Can Your Logs Survive the Intruder?
An intrusion creates immediate pressure on responders. Within minutes they may need answers to questions such as:
- Which accounts were used? [isaca.org]isaca.orglog management as an enabler for data protection and automated threat detectionLog Management as an Enabler for Data Protection and…Jul 5, 2023 — A proposed framework can be used to fast-track a log management pro…
- Which systems were accessed?
- When did the activity begin?
- What administrative actions were performed?
- Did the attacker move laterally to other machines?
- What data or services were affected?
These questions cannot be answered reliably if the evidence has disappeared. Security logging is therefore not simply about recording events; it is about preserving a trustworthy record that remains available when systems are under attack. NIST’s guidance on log management stresses that logs support security monitoring, forensic analysis and incident response across the enterprise. [NIST Publications]nvlpubs.nist.govIt describes several controls related to log management.Read more…
The McKinnon case illustrates why this matters. Investigators dealing with alleged access to numerous military and NASA systems had to understand activity across multiple environments rather than examining a single compromised computer. Large-scale incidents quickly become difficult to reconstruct if records are fragmented or lost. [Department of Justice]justice.govDepartment of JusticeLondon, England Hacker Indicted Under Computer Fraud…One count charges McKinnon with accessing and damaging witho…
The Incident Questions Logs Must Answer Quickly
During an active intrusion, speed matters. A useful logging strategy prioritises the events most likely to reveal attacker behaviour.
Account and Privilege Activity
Compromised credentials are often involved in major breaches. Logs should clearly show successful and failed logins, privilege escalation, account creation, password changes and administrative actions. Without these records, responders may know that a system was compromised without understanding how control was maintained. CISA specifically highlights user activity and administrator actions as high-value logging categories. [CISA+2CISA]cisa.govUse Logging on Business SystemsLogging and monitoring empower your team to spot and respond to threats faster. Centralize your logs w…
System Changes
Attackers frequently modify systems after gaining access. They may install tools, alter configurations, disable security software or create persistence mechanisms. Detailed event records help responders determine whether suspicious changes occurred before, during or after a compromise. [NIST Publications]nvlpubs.nist.govIt describes several controls related to log management.Read more…
Movement Across the Environment
A single compromised machine is often only the starting point. Centralised logs make it possible to connect events across endpoints, servers, network devices and cloud services. This broader view helps investigators identify whether an incident is isolated or part of a wider campaign. [Industrial Cyber+2Huntress]industrialcyber.coIndustrial CyberTransnational cybersecurity agencies release guide on…Aug 26, 2024 — The document addresses that organizations impleme…
Why Local Logs Can Fail After Compromise
The most common logging mistake is assuming that a machine can safely store evidence about its own compromise.
If an attacker gains administrative control, local logs become vulnerable. Records may be deleted, altered, overwritten or disabled entirely. Even when an attacker makes no deliberate attempt to erase evidence, limited storage can cause older events to disappear before investigators arrive. NIST identifies protection and management of log data as a core requirement because security records themselves become targets during incidents. NIST Publications+2NIST Computer Security Resource Center [nvlpubs.nist.gov]nvlpubs.nist.govIt describes several controls related to log management.Read more…
There is also a trust problem. Once a system has been compromised, investigators must consider whether local evidence has been manipulated. A missing event may indicate either that the event never occurred or that someone removed the record. The uncertainty slows investigations and complicates recovery decisions.
Modern attackers increasingly use legitimate administrative tools and built-in operating system functions rather than obviously malicious software. Guidance on event logging and threat detection notes that these “living off the land” techniques can evade simple detection approaches, making comprehensive and well-preserved logs even more important. [The HIPAA Journal]hipaajournal.comguidance best practices for event logging threat detectionThe HIPAA JournalCISA & Partners Issue Guidance & Best Practices for Event…Aug 22, 2024 — The guidance can help network defenders defi…
How Central Retention and Tamper Protection Improve Response
The strongest defence against log loss is to move records away from the systems generating them.
Central Collection
Centralised logging sends events from servers, endpoints, network devices and applications to a separate repository. If one machine is compromised, its records already exist elsewhere. CISA recommends centralising logs because it improves both detection and investigation. [CISA]cisa.govUse Logging on Business SystemsLogging and monitoring empower your team to spot and respond to threats faster. Centralize your logs w…
Central collection also allows correlation. A suspicious login on one machine can be linked to network activity, authentication events and administrative actions elsewhere. Patterns that appear harmless in isolation become visible when viewed together. [Industrial Cyber+2Huntress]industrialcyber.coIndustrial CyberTransnational cybersecurity agencies release guide on…Aug 26, 2024 — The document addresses that organizations impleme…
Tamper Resistance
Good log management assumes attackers may try to remove evidence. Organisations therefore increasingly use controls such as:
- Restricted write access to logging systems.
- Separate administrative credentials for log platforms.
- Immutable or write-once storage for critical records.
- Cryptographic integrity checking.
- Automated forwarding that occurs immediately after events are generated.
The goal is not to make tampering impossible but to make it detectable and difficult. NIST guidance repeatedly stresses protecting log integrity and securing log information from unauthorised modification. [NIST Publications+2Obsidian]nvlpubs.nist.govIt describes several controls related to log management.Read more…
Out-of-Band Storage
Recent CISA incident-response guidance goes further by recommending aggregation of logs in a central, out-of-band location. The idea is simple: if attackers compromise production systems, defenders should still possess an independent source of evidence outside the affected environment. [CISA]cisa.govCISA Shares Lessons Learned from an Incident Response…Sep 23, 2025 — Prepare for incidents by implementing comprehensive and verbo…
The Practical Policy Lesson
The McKinnon case is frequently discussed in terms of passwords, access controls and vulnerable systems. An equally important lesson is that organisations must plan for the moment when prevention fails.
Usable logs are not merely records of past events. They are a resilience mechanism. They allow responders to reconstruct actions, measure impact, identify affected systems and make informed decisions during a crisis. When logs remain centralised, protected and sufficiently detailed, defenders retain visibility even after an attacker has gained a foothold. When logs exist only on compromised machines, the investigation may begin with missing evidence and unanswered questions. CISA+3NIST Publications+3NIST Computer Security Resource Center [nvlpubs.nist.gov]nvlpubs.nist.govIt describes several controls related to log management.Read more…
Amazon book picks
Further Reading
Books and field guides related to Can Your Logs Survive the Intruder?. Use these as the next step if you want deeper reading beyond the article.
The Practice of Network Security Monitoring
Directly relevant to logging, evidence, and incident response.
Blue Team Handbook: Incident Response Edition
Focused on investigation and response workflows.
The Cuckoo's Egg
Rating: 4.5/5 from 8 Google Books ratings
Shows the importance of evidence and tracking attacker activity.
Endnotes
-
Source: justice.gov
Link: https://www.justice.gov/archive/criminal/cybercrime/press-releases/2002/mckinnonIndict.htmSource snippet
Department of JusticeLondon, England Hacker Indicted Under Computer Fraud...One count charges McKinnon with accessing and damaging witho...
-
Source: justice.gov
Title: Department of Justice British National Charged with Hacking Into N.J
Link: https://www.justice.gov/archive/criminal/cybercrime/press-releases/2002/mckinnonIndict2.htmSource snippet
seven-count Virginia [Indictment]({{ 'indictment/' | relative_url }}) charges McKinnon for [intrusions]({{ 'intrusions/' | relative_url }}) into 92 computer systems belonging to the U.S. Army, Navy, A...
-
Source: nvlpubs.nist.gov
Link: https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-92.pdfSource snippet
It describes several controls related to log management.Read more...
-
Source: csrc.nist.gov
Link: https://csrc.nist.gov/pubs/sp/800/92/finalSource snippet
NIST Computer Security Resource CenterSP 800-92, Guide to Computer Security Log Managementby K Kent · 2006 · Cited by 515 — This publicat...
-
Source: cisa.gov
Link: https://www.cisa.gov/audiences/small-and-medium-businesses/secure-your-business/use-logging-on-business-systemsSource snippet
Use Logging on Business SystemsLogging and monitoring empower your team to spot and respond to threats faster. Centralize your logs w...
-
Source: cisa.gov
Title: It was developed by the Australian Signals Directorate.Read more
Link: https://www.cisa.gov/resources-tools/resources/best-practices-event-logging-and-threat-detectionSource snippet
Best Practices for Event Logging and Threat DetectionAug 21, 2024 — This publication defines a baseline for event logging best practi...
-
Source: huntress.com
Title: What Is Centralized Logging?
Link: https://www.huntress.com/cybersecurity-101/topic/centralized-loggingSource snippet
Benefits for Security TeamsOct 3, 2025 — Cybersecurity teams use centralized logging to: Respond faster: Detect and investigate threats a...
-
Source: publish.obsidian.md
Title: NIST Special Publication 800-92
Link: https://publish.obsidian.md/addielamarr/NIST%2BSpecial%2BPublication%2B800-92Source snippet
Special Publication 800-92 - addielamarrApr 14, 2024 — Secure log information: Ensure that logs are protected against unauthorized access...
-
Source: cisa.gov
Link: https://www.cisa.gov/resources-tools/services/logging-made-easySource snippet
Logging Made EasyCISA's Logging Made Easy (LME) is a centralized, no-cost log management and threat detection solution for small to mediu...
-
Source: csrc.nist.gov
Link: https://csrc.nist.gov/pubs/sp/800/92/r1/ipdSource snippet
NIST Computer Security Resource CenterCybersecurity Log Management Planning Guideby K Scarfone · 2023 · Cited by 9 — This document define...
-
Source: cisa.gov
Link: https://www.cisa.gov/news-events/cybersecurity-advisories/aa25-266aSource snippet
CISA Shares Lessons Learned from an Incident Response...Sep 23, 2025 — Prepare for incidents by implementing comprehensive and verbo...
-
Source: justice.gov
Link: https://www.justice.gov/archive/usao/nj/Press/files/pdffiles/Older/edva_mckinnon_indictment.pdfSource snippet
IndictmentDefendant GARY MCKINNON was an unemployed computer system administrator... conduct, intentionally caused damage without author...
-
Source: csrc.nist.gov
Title: log management
Link: https://csrc.nist.gov/projects/log-managementSource snippet
Management | CSRCApr 28, 2021 — The main content of the new SP 800-92 Revision 1 is a playbook for cybersecurity log management planning...
-
Source: nvlpubs.nist.gov
Title: SP.800 92r1.ipd
Link: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-92r1.ipd.pdfSource snippet
Log Management Planning GuideOct 11, 2023 — Note: The original NIST SP 800-92 [SP800-92] used the term “log archival” instead of “cold da...
-
Source: csrc.nist.rip
Title: SP800 92
Link: https://csrc.nist.rip/publications/nistpubs/800-92/SP800-92.pdfSource snippet
SP 800-92, Guide to Computer Security Log ManagementSP 800-92, Guide to Computer Security Log Management (September 2006), is available a...
Published: September 2006
-
Source: csrc.nist.rip
Title: rip Log Management
Link: https://csrc.nist.rip/Projects/log-managementSource snippet
Management - CSRCApr 28, 2021 — The revised SP 800-92 will focus on log management principles, processes, procedures, and planning for or...
-
Source: huntress.com
Title: log management
Link: https://www.huntress.com/cybersecurity-101/topic/log-managementSource snippet
What is Log Management in Cybersecurity3 Oct 2025 — Log management is the centralized process of collecting, storing, processing, and rev...
-
Source: industrialcyber.co
Link: https://industrialcyber.co/cisa/transnational-cybersecurity-agencies-release-guide-on-event-logging-best-practices/Source snippet
Industrial CyberTransnational cybersecurity agencies release guide on...Aug 26, 2024 — The document addresses that organizations impleme...
-
Source: hipaajournal.com
Title: guidance best practices for event logging threat detection
Link: https://www.hipaajournal.com/guidance-best-practices-for-event-logging-threat-detection/Source snippet
The HIPAA JournalCISA & Partners Issue Guidance & Best Practices for Event...Aug 22, 2024 — The guidance can help network defenders defi...
-
Source: Wikipedia
Title: Gary [Mc Kinnon]({{ ‘mc-kinnon/’ | relative_url }})
Link: https://en.wikipedia.org/wiki/Gary_McKinnonSource snippet
Gary McKinnonIn November 2002, McKinnon was indicted by a federal grand jury in the Eastern District of Virginia. The indictment conta...
Published: November 2002
-
Source: criminal.laws.com
Title: gary mckinnon
Link: https://criminal.laws.com/gary-mckinnonSource snippet
McKinnon - LAWS.com - Criminal22 Dec 2019 — He came to the attention of law enforcement authorities when he hacked into 97 computers betw...
-
Source: GOV.UK
Title: latest on gary mckinnon case
Link: https://www.gov.uk/government/news/latest-on-gary-mckinnon-caseSource snippet
on Gary McKinnon case4 Nov 2010 — Mr McKinnon is accused by US authorities of the unauthorised access of 97 government computers concerne...
Additional References
-
Source: guinnessworldrecords.de
Link: https://guinnessworldrecords.de/world-records/90133-biggest-military-computer-hackSource snippet
Biggest military computer hackGary McKinnon, a 42-year old Englishman, is accused of hacking into 97 US military computers (53 US Army, 2...
-
Source: slideshare.net
Link: https://www.slideshare.net/slideshow/nist-80092-log-management-guide-in-the-real-world/172260Source snippet
NIST 800-92 Log Management Guide in the Real World | PPTThe document outlines the NIST 800-92 Log Management Guide, focusing on effective...
-
Source: facebook.com
Title: over 3000 downloads and countingcisas logging made easy lme is a no cost logging
Link: https://www.facebook.com/CISA/videos/over-3000-downloads-and-countingcisas-logging-made-easy-lme-is-a-no-cost-logging/1206529520981869/Source snippet
OVER 3,000 DOWNLOADS AND COUNTING! CISA's Logging...CISA's Logging Made Easy (LME) is a no-cost logging solution that helps smaller orga...
-
Source: aha.org
Link: https://www.aha.org/news/headline/2024-09-06-cisa-releases-guidance-best-practices-event-logging-and-cyberthreat-detectionSource snippet
American Hospital AssociationCISA releases guidance on best practices for event logging...Sep 6, 2024 — This document provides guidance...
-
Source: researchgate.net
Link: https://www.researchgate.net/publication/329973435_NIST_Special_Publication_800-92_Guide_to_Computer_Security_Log_ManagementSource snippet
(PDF) NIST Special Publication 800-92, Guide to Computer...Dec 28, 2018 — NIST Special Publication 800-92, Guide to Computer Security Lo...
-
Source: isaca.org
Title: log management as an enabler for data protection and automated threat detection
Link: https://www.isaca.org/resources/isaca-journal/issues/2023/volume-4/log-management-as-an-enabler-for-data-protection-and-automated-threat-detectionSource snippet
Log Management as an Enabler for Data Protection and...Jul 5, 2023 — A proposed framework can be used to fast-track a log management pro...
-
Source: youtube.com
Link: https://www.youtube.com/watch?v=AZFV6ZOLg7sSource snippet
CISA's Logging Made Easy (LME)CISA's Logging Made Easy (LME) is a no-cost, centralized log management and threat detection solution desig...
-
Source: youtube.com
Link: https://www.youtube.com/watch?v=ND0zQX1rGdgSource snippet
The Man Who Hacked the U.S. GovernmentGary McKinnon faced 60 years behind bars for the greatest U.S. military hack of all time. Go to my...
-
Source: nextgov.com
Title: cisa tells agencies what prioritize meet cybersecurity log mandate
Link: https://www.nextgov.com/cybersecurity/2023/02/cisa-tells-agencies-what-prioritize-meet-cybersecurity-log-mandate/383333/Source snippet
CISA Tells Agencies What to Prioritize to Meet...Feb 27, 2023 — The guidance document also explains how CISA and the FBI will work with...
-
Source: itnews.com.au
Title: profile gary mckinnon mastermind behind us military hack 82789
Link: https://www.itnews.com.au/feature/profile-gary-mckinnon-mastermind-behind-us-military-hack-82789Source snippet
Profile: Gary McKinnon mastermind behind US military hack4 Jun 2007 — Gary McKinnon is accused of illegally accessing 98 computers, vario...
Topic Tree



