01 / 21

SIEM
Security Information & Event Management

Learn how modern security operations centers use log collection, event correlation, and real-time alerts to detect and respond to cyber threats.

Cyber Security

What is SIEM?

A Security Information and Event Management (SIEM) system is a centralized platform that collects, stores, analyzes, and correlates security data from across an entire IT environment. It provides security teams with a single pane of glass to detect threats, investigate incidents, and maintain compliance.

Why Does SIEM Matter?

Visibility
Aggregates logs from firewalls, servers, endpoints, and applications into one place.
Speed
Detects threats in near real-time rather than days or weeks after a breach.
Compliance
Helps organizations meet regulatory requirements like HIPAA, PCI-DSS, and GDPR.

The Three Pillars of SIEM

Collection Firewalls Servers Endpoints Applications Cloud Services IDS / IPS Correlation Normalization Pattern Matching Rule Engine Behavioral Analysis Threat Intelligence Baseline Comparison Alerts Dashboard Notifications Tickets Escalation Response SIEM DATA PIPELINE

Log Collection: Gathering the Evidence

Every device on a network generates log events: records of actions, errors, connections, and changes. A SIEM collects these logs using two main methods:

Agent-Based
Small software agents installed on endpoints forward logs directly to the SIEM. Gives deeper visibility and works even when devices are off-network.
Agentless
The SIEM pulls logs via protocols like Syslog, SNMP, or API integrations. Simpler to deploy but may miss events if connectivity drops.

From Raw Logs to Normalized Data

Different devices produce logs in different formats. Normalization is the process of translating all logs into a common schema so they can be compared and correlated.

Firewall Log Windows Event Web Server Log Normalizer Common Schema Unified Events Timestamp Source IP Event Type LOG NORMALIZATION PIPELINE

Event Correlation: Connecting the Dots

Correlation is the SIEM's core intelligence. It examines normalized events against rules, patterns, and baselines to identify suspicious activity that no single log entry would reveal on its own.

1
Rule-Based Correlation: Predefined "if-then" rules, e.g., "if 5 failed logins from the same IP within 60 seconds, flag as brute force."
2
Statistical Correlation: Compares current behavior to historical baselines. A sudden spike in outbound traffic at 3 AM is abnormal.
3
Threat Intelligence Matching: Cross-references events against known indicators of compromise (IOCs) such as malicious IP addresses or file hashes.

Alerts: From Detection to Action

When correlation identifies a potential threat, the SIEM generates an alert. Alerts are typically classified by severity so analysts can prioritize their response.

Critical
Active data exfiltration or ransomware detected. Immediate response required: isolate affected systems.
High
Multiple failed logins followed by a success from a foreign IP. Investigate the account within minutes.
Medium
Unusual port scanning from an internal host. Review within the hour to determine intent.
Low
Policy violation: employee accessed blocked website. Log for review during daily triage.

SIEM vs. IDS vs. SOAR

SIEM IDS / IPS SOAR
Primary Role Aggregate, correlate, alert Detect / block intrusions Automate response actions
Data Scope All log sources Network traffic only SIEM alerts + tickets
Correlation ✓ Multi-source Single-source signatures Relies on SIEM
Automated Response Limited (alerting) IPS can block traffic ✓ Playbook automation
Compliance Reporting ✓ Built-in Minimal Via integration

How to Implement a SIEM

1
Identify Critical Assets: Determine which systems, data stores, and applications are most valuable and need monitoring first.
2
Connect Log Sources: Integrate firewalls, servers, endpoints, and cloud platforms using agents or syslog forwarding.
3
Define Correlation Rules: Write rules that match your organization's threat model: brute force, lateral movement, data exfiltration, etc.
4
Tune and Reduce Noise: Adjust thresholds and whitelist known-good activity to minimize false positives.
5
Build Dashboards and Playbooks: Create visualizations for daily monitoring and runbooks for incident response.

Example: Detecting a Brute Force Attack

Attacker IP 203.0.113.42 Login Server Fail x47 Success x1 Window: 90 sec SIEM Engine
Rule: \( > 5 \) fails in 60s
followed by success ALERT: Critical Brute Force + Breach

Example: Detecting Lateral Movement

Workstation A Compromised File Server RDP attempt Database SMB access Domain Controller Admin login SIEM Correlates 3 hops Alert: Lateral Move

Example: Data Exfiltration Detection

OUTBOUND TRAFFIC VOLUME (24h) 0 2 GB 4 GB 6 GB 8 GB 00:00 06:00 12:00 18:00 23:59 Normal Anomaly: 8.2 GB Threshold

Anatomy of a Correlation Rule

A correlation rule defines conditions, a time window, and an action. Here is the structure of a typical brute-force detection rule:

1
Event Filter: Look for events of type "Authentication Failure" from any source.
2
Aggregation: Group by source IP address and target account.
3
Threshold: Count \( > 5 \) events within 60 seconds from the same group.
4
Enrichment: Lookup the source IP against threat intelligence feeds and geolocation data.
5
Action: Generate a "High" severity alert and notify the on-call analyst via email and dashboard.

Common SIEM Mistakes

✕ Alert Fatigue
Too many low-quality alerts overwhelm analysts. Tune rules aggressively and suppress known false positives.
✕ Incomplete Coverage
Failing to connect all critical log sources leaves blind spots. An attacker will exploit the one system you are not monitoring.
✕ "Set and Forget"
SIEM rules must evolve with the threat landscape. Regularly update correlation rules and threat intelligence feeds.

SIEM Concepts Summary

Concept What It Does Key Example
Collection Ingests logs from all sources Syslog from firewall
Normalization Translates to common format Timestamp + source IP + event
Correlation Connects events across sources 5 failures + 1 success = brute force
Alerting Notifies analysts of threats Critical: ransomware detected
Dashboards Visualizes security posture Real-time threat map
Compliance Generates audit reports PCI-DSS access log retention

Question 1 of 5

What is the primary purpose of a SIEM system?

Question 2 of 5

A SIEM detects 10 failed login attempts from the same IP in 30 seconds, followed by one successful login. Which correlation technique is most directly responsible for identifying this pattern?

Question 3 of 5

What is normalization in the context of SIEM?

Question 4 of 5

An analyst notices their SIEM generates hundreds of alerts daily, most of which turn out to be false positives. What is this problem called, and what is the best solution?

Question 5 of 5

How does a SIEM differ from a SOAR platform?