keepcalculator

06 Numbers and Powers

Security Observability: Tracing Attack Paths

Card No. 06·43931 · Updated · Standard formula, shown below

Security observability lets teams trace attack paths by correlating telemetry from across the stack—logs, metrics, traces, and raw events—into a unified timeline of an attacker’s actions. You feed it data from endpoints, network flows, identity providers, and cloud APIs, and it reconstructs the sequence from initial access to lateral movement to impact. This article explains the core concepts, the practical steps for tracing an attack path, and the common pitfalls to avoid.

What Is Security Observability?

Observability in security is the ability to ask arbitrary questions about your system’s state without knowing the question in advance. Traditional monitoring checks known indicators (a specific malware hash, a failed login threshold). Observability retains rich, contextual data—every process spawn, every network connection, every authentication event—so you can investigate the unknown: a novel attack, a subtle privilege escalation, or a slow-moving data exfiltration.

The key difference is the data model. Security information and event management (SIEM) systems typically index logs and search them. Observability platforms often use event-driven data lakes with high-cardinality fields (user IDs, IPs, process names) and support traces that follow a single request or action across services. For attack path tracing, this means you can follow a single attacker session from a phishing email to a cloud console, rather than correlating separate log entries by hand.

How Attack Path Tracing Works

Tracing an attack path is a three-step process: collect, correlate, and reconstruct. Each step has specific techniques and pitfalls.

1. Collect the Right Telemetry

You need data from every layer an attacker might touch. At minimum, collect:

  • Endpoint telemetry: process creation, file system changes, registry or configuration changes, network connections, and loaded modules (Sysmon on Windows, eBPF on Linux).
  • Identity and access: authentication success/failure, MFA challenges, token issuance, password changes, and group membership modifications (from Active Directory, Okta, or Entra ID).
  • Network flow logs: connections between internal hosts, including source/destination IP, port, protocol, and bytes transferred (from firewalls, routers, or cloud VPC flow logs).
  • Cloud control plane logs: API calls that create, modify, or delete resources (AWS CloudTrail, Azure Activity Log, GCP Audit Logs).
  • Application traces: distributed traces of user requests, especially for web applications, to spot injection or broken access control.

Without endpoint telemetry, you cannot see what a process actually did. Without identity logs, you cannot link a network connection to a user. The most common gap is missing one of these layers, leaving a blind spot in the middle of the attack chain.

2. Correlate Events into a Timeline

Correlation is the heart of attack path tracing. You need to join events that share a common entity—an IP address, a username, a process ID, a session ID. For example:

  1. An authentication log shows a successful login for user jsmith from IP 203.0.113.5 at 14:03:22.
  2. A network flow log shows a connection from 203.0.113.5 to internal host 10.0.1.50 on port 445 at 14:04:01.
  3. An endpoint log on 10.0.1.50 shows a new process powershell.exe spawned by svchost.exe at 14:04:10.

These three events, joined by IP and time, form the beginning of an attack path. Modern observability platforms can do this automatically using entity resolution and time-windowed joins. The key is to store the raw events with high cardinality—do not pre-aggregate away the IP addresses or process IDs.

3. Reconstruct the Path

Once you have a correlated timeline, you can visualize the attack path as a graph: nodes are entities (users, hosts, processes), edges are events (authenticated, connected, executed). The goal is to identify the entry point, the lateral movement steps, and the final objective (data exfiltration, ransomware deployment, persistence).

For example, a common attack path might be:

  • Phishing email → user clicks link → browser downloads payload → payload executes → establishes C2 connection → attacker uses stolen credentials → logs into VPN → RDP to database server → dumps data.

Each arrow is an event that should be visible in your telemetry. If any arrow is missing, you have a detection gap.

Choosing an Observability Platform

Not all tools are equal for attack path tracing. Look for these capabilities:

  • High-cardinality storage: The platform must handle millions of unique values (IPs, usernames, process names) without performance degradation.
  • Entity resolution: It should automatically link events that share the same host, user, or session, even if the field names differ.
  • Graph visualization: A node-and-edge view of the attack path is far more useful than a flat list of logs.
  • Retention and replay: You need to keep raw data for weeks or months to trace slow attacks; the platform should allow you to replay a time window.
  • Open data model: Proprietary schemas lock you in; look for tools that accept standard formats like OpenTelemetry, Syslog, and JSON.

Open-source options like Grafana Loki and Tempo, or the Elastic stack, can work if you build the correlation logic yourself. Commercial platforms like Splunk, Datadog, and New Relic offer more out-of-the-box. The right choice depends on your team’s skill and budget, not on vendor hype.

Common Problems and Misconceptions

A frequent misconception is that security observability is the same as endpoint detection and response (EDR). EDR focuses on endpoint events and often uses machine learning to flag anomalies. Observability is broader—it includes network, cloud, and identity—and is designed for post-incident investigation, not just real-time alerting.

Another problem is data silos. If your endpoint logs go to one tool, network logs to another, and cloud logs to a third, you cannot trace a path across all three. You need a single data store or a well-integrated pipeline.

A third issue is alert fatigue. If you alert on every suspicious event, analysts will ignore them. Observability should be used for hunting and investigation, not just alerting. Reserve alerts for high-confidence indicators, and use the observability platform to manually explore when something feels off.

Finally, many teams forget to collect the context that makes events meaningful. A login event without the user’s normal behavior, or a process spawn without the parent process, is nearly useless. Enrich your telemetry with asset inventory, user roles, and baseline behavior.

Practical Steps to Start Tracing Today

If you are new to this, start small and expand:

  1. Inventory your data sources. List what logs you already collect and where they go. Identify critical gaps (e.g., no endpoint telemetry on servers).
  2. Pick a pilot scenario. Choose a common attack path you want to detect, such as credential theft followed by lateral movement. Write down the exact events that would occur.
  3. Collect the missing telemetry. Enable Sysmon on Windows, auditd on Linux, and turn on cloud API logging. Ensure logs are sent to a central store with sufficient retention.
  4. Build a correlation query. Start with a simple join: all events for a specific user in a 24-hour window. Then expand to include network connections and process executions.
  5. Test with a tabletop exercise. Simulate an attack (using a red team or a safe lab) and see if your tools can trace it. Fix the gaps you find.
  6. Document your playbook. Write down how to trace a path from a suspicious login to a data exfiltration, and train your team on it.

Comparison with Traditional SIEM

SIEMs have been the standard for security logging for two decades. They collect logs, normalize them, and allow searching. However, they often lack the high-cardinality performance and graph capabilities of modern observability tools. A SIEM might tell you that user X logged in from IP Y, but it won’t automatically show you that IP Y also connected to host Z, which then spawned a suspicious process. You would have to write multiple queries and manually correlate.

Observability platforms, on the other hand, are built for this kind of exploration. They use columnar storage that handles high-cardinality fields efficiently, and they support graph queries that traverse relationships. Some modern SIEMs are adding these features, but many legacy systems are still log-search tools at heart.

That said, SIEMs are still useful for compliance reporting and long-term log retention. A common architecture is to use an observability platform for investigation and a SIEM for archival and compliance queries.

Frequently Asked Questions

What is the difference between security observability and security monitoring?

Monitoring checks known metrics and alerts when they cross thresholds (e.g., CPU usage, failed login count). Observability is about exploring unknown unknowns—you can ask any question about the data, even ones you didn’t anticipate. For attack tracing, you need observability because attacks are often novel and don’t match predefined rules.

Can I trace an attack path with just network logs?

You can see the network connections, but you won’t know what processes were involved or which user was behind them. Network logs alone give you a skeleton of the path. You need endpoint and identity data to fill in the details and confirm the attack.

How long should I retain telemetry for attack tracing?

It depends on your threat model. Some advanced persistent threats (APTs) dwell for months. A common recommendation is 90 days for endpoint and network logs, and longer (up to a year) for authentication and cloud logs that are smaller. Balance retention cost with the risk of missing a slow attack.

Is there a risk of privacy violations from collecting this data?

Yes, especially if you collect detailed user activity. You should minimize data to what is necessary, anonymize where possible, and comply with regulations like GDPR or CCPA. Be transparent with users about what you collect and why.

What is the biggest mistake teams make when starting security observability?

Collecting everything without a plan. You end up with a data lake that no one queries. Start with a specific attack scenario, collect only the telemetry needed to trace it, and expand iteratively.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →