CYBER LIBRARY
Explore the bootcamp
Detection & responseIntermediate

Log correlation

Join events using trustworthy identifiers, time, and semantics.

3 min readUpdated 12 Oct 202613 connections
Markdown

Connect events without inventing a connection

Log correlation relates records from different sources to answer an investigation question. A sign-in event, an application request, and an endpoint process may describe parts of one activity. Joining them reliably requires compatible identifiers, time interpretation, and an understanding of what each source actually records.

A shared timestamp or address is a starting clue, not a complete relationship. Many people can share an address through a gateway. One person can use several devices and sessions. A process identifier can be reused after the original process exits. Investigators should choose relationships that fit the systems involved.

Follow a document export

In a fictional portal, an application event records an export request with an interaction identifier. A background worker records completion using the same identifier. An identity event identifies the session used to submit the request. Together, these records can connect a requesting identity with a completed business action more strongly than timing alone.

An endpoint upload event occurring shortly afterward is relevant, but it may not share the same identifier. The analyst needs another supported relationship, such as a file path and hash, to link that upload to the export. If that relationship cannot be established, the conclusion should preserve the distinction.

Normalize carefully

Record event time and ingestion time separately when they differ. A delayed source can arrive after later events, making an ingestion-ordered display look like the activity happened in the wrong sequence. Time-zone conversion and clock error can also change apparent ordering.

Normalization makes fields easier to query, but it can erase useful meaning if different source fields are treated as equivalent. A field named “user” might mean the requester in one source and the service executing a job in another. Preserve raw events and document important mappings so analysts can check the original semantics.

Account identifiers should include the relevant tenant, domain, or source context. Two unrelated systems can both contain an account named “admin.” Joining them without a shared identity relationship creates a false narrative.

Test the join

Use a known authorized action to verify the correlation path. Identify which fields should match, acceptable time differences, and how retries or duplicates appear. A query returning several plausible matches may need additional constraints rather than an arbitrary choice of the first result.

For practice, build a small event table for one sign-in, two export requests, and one completed worker job. Give each export a distinct interaction identifier. First correlate using timestamps alone, then use the identifiers and compare the ambiguity.

Explain which facts can be stated confidently and which depend on assumptions. Application security logging supplies meaningful identifiers, while Incident timelines turns the supported relationships into a readable sequence. Security information and event management can help perform the queries, but the analyst remains responsible for interpreting the join.

GO TO THE SOURCE

References & further reading

Original explanations, with primary references for deeper study.

NIST: Incident Response Recommendations, SP 800-61 Rev. 3
EXPLORE THIS IDEA’S CONNECTIONS

A small part of a bigger picture.

10 notes · 17 connections
100%
Log correlation · depth 1
Drag to pan · Pinch or use +/− to zoom · Click to preview · Double-click to read
Browse notes as a list (10)
FOLLOW ANOTHER THREADExplore the rest of the library
Start with a concept. Follow its connections.
Detection & responseAbuse Elevation Control MechanismElevation-control abuse bypasses or misuses mechanisms governing privileged execution.Making change happenAcceptance criteriaDefine observable conditions for a deliverable to be accepted.Security essentialsAccess controlUnderstand subjects, resources, permissions, and enforcement through a shared-drive example, including how access changes over time.Detection & responseAccess Token ManipulationAccess token manipulation changes or adopts operating-system security contexts.Risk & resilienceAccount Access RemovalAccount access removal disrupts legitimate users by changing, deleting, or restricting their identities.Evidence & investigationAccount DiscoveryAccount discovery enumerates identities available in a system or environment.Detection & responseAccount ManipulationAccount manipulation changes identity settings to preserve or expand access.Adversarial thinkingAcquire InfrastructureInfrastructure acquisition obtains domains, servers, or other resources used to support operations.Adversarial thinkingActive ScanningActive scanning probes target infrastructure to learn reachable services or weaknesses.Security essentialsAdversary in the middleAn intermediary may observe or alter a communication path.Security essentialsAESA symmetric block cipher whose safe use depends on its mode and implementation.Making change happenAgile deliveryUse short feedback cycles to adapt toward a useful outcome.