Is your SIEM storing logs or detecting threats?

Centralizing logs and detecting threats are different jobs. When one platform tries to do both, cost goes up and detection loses clarity.

ORAEX · Blog · Information Security

EM

Enio Machado de Oliveira, Platforms Tech Leader ·

The most common mistake

When a SIEM project starts, the first decision is usually the simplest and, in the long run, the most expensive: send every log to it. It sounds prudent. If everything is there, nothing slips through. In practice the effect is different: the same data ends up stored twice, searches get heavier, and the team loses clarity about what really matters.

The problem is not the tool. It is asking one platform to do two different jobs.

Two jobs, two layers

Centralizing logs and detecting threats answer different needs:

  • Centralizing means gathering, indexing and retaining the raw record from servers, firewalls and applications, so it can be queried and proven when needed. The need here is audit and traceability.
  • Detecting means analyzing events, correlating them and raising an alert when something requires a decision. The need here is investigation and response.

A more efficient architecture separates the roles. The centralization layer receives everything and retains the raw log for as long as audit requires. The SIEM receives only what has security value: it analyzes, correlates, raises the alert and keeps what serves the investigation. Instead of duplicating volume, each layer keeps what its function needs.

Where the cut-off sits

The question that organizes the design is: which data needs to be stored, and which data needs to trigger a decision?

There is no single answer. The cut-off between the two layers varies with the environment and with each client’s requirements: what counts as relevant to security, regulatory and contractual obligations, the risk profile and the team’s capacity to handle alerts. A source may exist only for audit, only for detection, or for both. What matters is that this classification is made source by source, explicitly, and not by omission.

Different retention for different needs

Separating the layers also lets you separate the retention periods:

  • The raw log is kept for as long as audit and applicable obligations require.
  • Alerts and the events that support an investigation are kept for as long as the investigation requires.

When everything lives on the same platform, retention tends to be a single value, set by the longest requirement, which makes it costlier to keep what did not need to be kept for that long. Good log management practice is precisely about defining what to collect, where to store it and for how long, according to the purpose of each record.

The detail few teams get right: the source host

When a log moves from one tool to another, there is a simple precaution that is often left out: preserve the source host in the message header. The syslog message format, for example, reserves a field in the header for the name of the host that originated the event.

If an intermediary replaces that field with its own name or address, the SIEM starts seeing every event as coming from a single source. Without the correct source it cannot interpret the event properly: it cannot tie the record to the right asset, it applies the wrong parsing rules and it loses the basis for correlation. The result is detection that appears to work but has lost context exactly where it needs it most.

It is a small detail, easy to validate at the hand-off between layers and hard to notice once the environment is in production.

Questions to review your own setup

  • Is every log going to the SIEM, or only what has security value?
  • Were the retention periods for the raw log and for alerts defined separately?
  • Does the source host stay intact when a log passes from one tool to another?
  • Does the team know, for each source, whether it exists for audit, for detection or for both?
  • Who decides what goes into the SIEM and what stays only in centralization?

If any answer is “we don’t know”, the first step is to design before adding another tool. Reliable detection starts with the design of the log architecture.

References

Next step

Bring your next challenge to ORAEX

Talk to our specialists about your environment, your operation or your next technology decision.

Talk about my environment

[email protected] · +55 (11) 4118-2455