====== Sleep Wake Events ====== ===== Definition ===== Sleep Wake Events are a log or timeline concept used to organize events, test sequence, and decide how much confidence a chronology deserves. In a forensic report, sleep wake events should be treated as a source of evidence and uncertainty, not as a shortcut to intent. The useful question is what the record supports, what it does not support, and what another source says when asked the same question. ===== Background ===== Timelines are useful until someone treats them like prophecy. Logs can be late, clocks can drift, and duplicate timestamps can stand in a row looking innocent. Good analysis keeps the artifact in its lane: useful, limited, and not allowed to perform intent for the room. Timestamps have alibis. Some are good. Some were written by clocks that should not be allowed near evidence. ===== Technical Description ===== Analysis compares event sources, record IDs, clock settings, timezone handling, collection timing, retention behavior, and independent artifact support. The analyst should identify which fields are observed directly, which are parsed, and which are inferred from nearby records. ===== Forensic Relevance ===== * **Timeline reconstruction:** Sleep Wake Events helps test sequence, event order, and whether timestamps agree with the surrounding record. * **Gap analysis:** It can distinguish suspicious gaps from retention, rollover, disabled logging, or collection limits. * **Contradiction testing:** It is useful when logs, metadata, endpoint telemetry, and account activity tell different stories. * **Attribution limits:** It can support account or host context without proving who was at the keyboard. * **Reporting decisions:** It helps keep conclusions about sleep wake events proportional to the number and quality of sources. ===== Evidence Sources ===== ^ Evidence source ^ What it may show ^ Reliability limits ^ What it cannot prove alone ^ | Event records | Show discrete actions, status changes, failures, or detections. | Provider behavior and configuration define what gets logged. | Do not prove the whole event sequence. | | Clock and timezone settings | Help normalize times across systems. | Manual changes, drift, and daylight saving rules can distort comparison. | Do not make all timestamps equally reliable. | | Retention and rotation settings | Explain missing or truncated logs. | Can look suspicious even when policy caused the gap. | Do not prove tampering by themselves. | | Cross-source timelines | Show whether independent systems agree. | Different systems record different parts of the event. | Do not remove interpretation limits. | ===== Interpretation Limits ===== The most common error is treating sleep wake events as proof of motive. It may support a technical event, a sequence, or a contradiction, but motive needs stronger ground. Another bad leap is treating absence as intent. Missing data can come from retention, configuration, collection scope, sync behavior, overwriting, media behavior, or ordinary use. A tool result should be described as a parsed or recovered record, not as the tool's opinion about what happened. Tools surface evidence; they do not understand it. Timestamps have alibis. Some are good. Some were written by clocks that should not be allowed near evidence. ===== Common Misinterpretations ===== * Treating sleep wake events as proof that a specific user acted, when the artifact only supports system or account context. * Treating a timestamp as exact truth without checking timezone, clock drift, and source semantics. * Ignoring benign explanations because the suspicious explanation is easier to write. * Treating a timeline as a verdict instead of a comparison tool. * Treating log gaps as malicious before testing rollover, retention, and collection delay. ===== Example Scenario ===== A responder notices event records that appear to line up with a disputed timeline. The finding may support activity in the relevant time window, but it does not prove who caused it or why. The analyst preserves the source, exports the relevant records, checks clock and timezone settings, and documents what remains unresolved. ===== Analysis Workflow ===== - Define the question before opening another parser: what should Sleep Wake Events help answer? - Preserve the source evidence and document how the event records were collected. - Record tool versions, input paths, output paths, time settings, and errors. - Identify observed facts before writing any interpretation. - Normalize time sources and document timezone, clock drift, and collection-time effects. - Compare at least two independent artifact families before raising confidence. - Consider benign explanations, automated behavior, retention, sync, and storage-device behavior. - Write conclusions proportionally: observed fact first, inference second, uncertainty always visible. ===== Reporting Guidance ===== Reporting on sleep wake events should be precise enough that another analyst can retrace the claim without inheriting the original examiner's confidence. Avoid wording that converts possibility into intent. The report should not say a user deliberately deleted, hid, wiped, or tampered with evidence unless the evidence actually supports that conclusion. Report-ready wording: * The available event records are consistent with activity related to sleep wake events, but they do not independently establish motive or user intent. * Recovery was limited under the examined conditions; additional corroboration would be required before concluding deliberate destruction. * The finding should be read with the collection scope, time-source limits, and alternate explanations described in this report. ===== Confidence and Reliability ===== ^ Confidence level ^ What it looks like for this topic ^ How to report it ^ | Low | Event records exist, but collection scope, time source, or surrounding context is limited. | State the observation and keep interpretation narrow. | | Moderate | Event records align with Clock and timezone settings, but attribution or intent remains unresolved. | Say the artifacts support the finding, not that they prove it. | | High | Multiple independent sources agree on sequence, source system, account context, and collection conditions. | Use stronger language, but still separate observed facts from inference. | ===== Related Concepts ===== * [[wiki:digital_forensics:logs_timelines:account_logon_events|Account Logon Events]] - Often appears nearby in reviews of the same system or behavior. * [[wiki:digital_forensics:logs_timelines:shutdown_events|Shutdown Events]] - Compare this concept when testing sequence and corroboration. * [[wiki:digital_forensics:logs_timelines:siem_events|SIEM Events]] - Useful when checking whether another artifact supports the same interpretation. * [[wiki:digital_forensics:logs_timelines:authentication_logs|Authentication Logs]] - Often appears nearby in reviews of the same system or behavior. * [[wiki:digital_forensics:logs_timelines:boot_time_artifacts|Boot Time Artifacts]] - Often appears nearby in reviews of the same system or behavior. * [[wiki:digital_forensics:logs_timelines:clock_drift|Clock Drift]] - Useful when checking whether another artifact supports the same interpretation. ===== Tools ===== * [[https://github.com/log2timeline/plaso|Plaso]] - Timeline extraction and normalization across many artifact types. * [[https://github.com/google/timesketch|Timesketch]] - Collaborative timeline analysis and event tagging. * [[https://github.com/log2timeline/dfdatetime|dfDateTime]] - Timestamp conversion and interpretation support. * [[https://gchq.github.io/CyberChef/|CyberChef]] - Timestamp conversion, decoding, and quick data transformations. * [[https://jqlang.org/|jq]] - JSON parsing for logs, exports, and cloud evidence. * [[https://github.com/Yamato-Security/hayabusa|Hayabusa]] - Windows event log hunting and timeline support. * [[https://github.com/mikefarah/yq|yq]] - YAML, JSON, XML, and properties parsing during evidence review. * [[https://learn.microsoft.com/en-us/powershell/|PowerShell]] - Native Windows automation and log review context. * [[https://github.com/williballenthin/EVTXtract|EVTXtract]] - Carving and recovering EVTX event log fragments. * [[https://learn.microsoft.com/en-us/sysinternals/downloads/procdump|ProcDump]] - Process dump collection for troubleshooting and memory review. * [[wiki:tools:start|Forensic Tools]] - Full tool directory for the wiki. ===== Limitations of Tools ===== Tools parse, surface, and organize evidence. They do not create conclusions. Parser output can be affected by version differences, unsupported formats, corrupted records, timezone handling, partial collection, and storage behavior outside the tool's view. When a tool produces a strong-looking result, validate it against another tool or source where the stakes justify it. A parser can recover a fragment; it cannot tell you whether the fragment deserves a paragraph in the report. ===== References and Further Reading ===== * [[https://plaso.readthedocs.io/|Plaso documentation]] - Timeline generation documentation. * [[https://learn.microsoft.com/en-us/windows/win32/eventlog/event-logging|Microsoft Windows Event Log]] - Event logging reference. * [[https://csrc.nist.gov/publications/detail/sp/800-92/final|NIST SP 800-92]] - Guide to computer security log management. * [[https://csrc.nist.gov/publications/detail/sp/800-86/final|NIST SP 800-86]] - Guide to integrating forensic techniques into incident response. * [[https://www.nist.gov/itl/ssd/software-quality-group/computer-forensics-tool-testing-program-cftt|NIST CFTT]] - Computer Forensics Tool Testing program. ===== See Also ===== * [[wiki:digital_forensics:logs_timelines:start|Logs Timelines]] * [[wiki:digital_forensics:logs_timelines:account_logon_events|Account Logon Events]] * [[wiki:digital_forensics:logs_timelines:shutdown_events|Shutdown Events]] * [[wiki:digital_forensics:logs_timelines:siem_events|SIEM Events]] * [[wiki:digital_forensics:logs_timelines:authentication_logs|Authentication Logs]] * [[wiki:digital_forensics:logs_timelines:boot_time_artifacts|Boot Time Artifacts]] * [[wiki:digital_forensics:logs_timelines:clock_drift|Clock Drift]] * [[wiki:digital_forensics:logs_timelines:cloud_audit_timelines|Cloud Audit Timelines]] * [[wiki:digital_forensics:logs_timelines:collection_time_effects|Collection Time Effects]] * [[wiki:digital_forensics:logs_timelines:cross_host_correlation|Cross-Host Correlation]] * [[wiki:digital_forensics:logs_timelines:dns_logs|DNS Logs]] * [[wiki:tools:start|Forensic Tools]] * [[wiki:resources:start|Project Resources]] ===== Reader Takeaway ===== Sleep Wake Events are useful when it helps explain what the evidence can support and where the limits begin. Treat sleep wake events as one part of a corroborated record, not a shortcut to intent. A timeline is a map, not a verdict. Maps still need scale, legend, and someone awake at the wheel. ===== Use Notes ===== This article is for defensive education and technical reference. It should not be treated as legal, forensic, investigative, compliance, or operational advice without qualified professional judgment.