🛡️Cyber Security
Core skills · Lesson 8/9

SOC Analysis — Defending in Real Time

30 min 1 exercise 1 quiz

What you'll learn

  • What a SOC (Security Operations Center) is and does
  • SIEM, alerts, and log analysis
  • The incident response lifecycle
  • This is the #1 entry-level security job — and you'll do a mini triage

The security control room 🖥️

Imagine a building's security office: screens everywhere, guards watching camera feeds, ready to act the moment something looks wrong. A SOC is that, but for a company's computers — a team watching for attacks 24/7.

Their main tool is a SIEM (Security Information and Event Management). It's a giant funnel: every server, firewall, and laptop sends its logs to the SIEM, which correlates them and raises alerts when patterns look malicious.

A SOC Analyst (the entry role, often called Tier 1) spends the day doing triage: an alert fires → is it a real threat or a false alarm? For example:

  • 1 failed login → normal, someone fat-fingered a password.
  • 500 failed logins on one account in 2 minutes → brute force attack — escalate!

The incident response lifecycle (memorize the order):

  1. Preparation — tools, plans, and training ready before anything happens.
  2. Identification — detect and confirm: is this a real incident?
  3. Containment — stop the bleeding: isolate the infected machine from the network.
  4. Eradication — remove the malware / close the hole.
  5. Recovery — restore systems, verify they're clean, bring them back online.
  6. Lessons Learned — write it up so it can't happen the same way twice.

Tier-1 analysts mostly live in steps 2–3. It's pattern-recognition work, and it's the most common way people break into security.

Alert severity and the alert-fatigue trap ⚠️

Not every alert deserves the same reaction. Most SOCs bucket alerts by severity:

  • Low — a handful of failed logins, a blocked port scan. Log it, move on.
  • Medium — unusual login location, a policy violation. Worth a quick look.
  • High — signs of active compromise (malware signature match, mass failed logins). Investigate now.
  • Critical — confirmed breach in progress. Drop everything.

There's also a crucial distinction: a false positive is an alert that looks bad but isn't (harmless), while a false negative is a real attack that didn't trigger an alert (the dangerous one — it's invisible until the damage is done).

Here's the trap: SIEMs can generate thousands of alerts a day. If most turn out to be false positives, analysts start tuning them out — this is alert fatigue. The real danger isn't a missing tool; it's a real high-severity alert getting lost in a sea of noise because everyone's stopped paying attention.

Exercise 1

Build an alert severity classifier. Write classifySeverity(failedAttempts) that returns "low" for fewer than 5 attempts, "medium" for 5–49, "high" for 50 or more. This is exactly the first triage decision a Tier-1 analyst makes on a login-attempt alert.

Real-world case study: Target (2013) 🔍

In late 2013, Target's own security tools — built by FireEye and monitored by a SOC team — did detect the malware installed on Target's payment systems. Alerts fired. But Target's team, swamped with alert volume, didn't escalate them in time.

The result: attackers stole ~40 million credit and debit card numbers, plus personal data on ~70 million customers, during the holiday shopping season. It became one of the largest retail breaches in history — not because the SOC lacked tools, but because a real alert got buried under noise.

The lesson for every future analyst: tuning out low-value alerts is necessary, but the goal is separating signal from noise — not tuning out everything.

Quick quiz

Question 1 of 6

What does a SIEM do?

Question 2 of 6

500 failed logins on one account in 2 minutes suggests…

Question 3 of 6

In incident response, what comes right after Identification?

Question 4 of 6

Why is 'containment' before 'eradication'?

Question 5 of 6

What is a 'false negative'?

Question 6 of 6

What actually went wrong in the 2013 Target breach?

Summary

  • A SOC watches for attacks 24/7 using a SIEM that aggregates logs and alerts
  • Tier-1 analysts do triage: real threat or false alarm?
  • Alerts are bucketed by severity (low/medium/high/critical); false positives waste time, false negatives are dangerous
  • You built a real classifySeverity triage function
  • Target (2013) shows how alert fatigue can bury a real, already-detected attack
  • IR lifecycle: Prepare → Identify → Contain → Eradicate → Recover → Learn

Career: SOC Analyst is the most common entry-level security role. Practice on free platforms like TryHackMe and Blue Team Labs (Resources). Next: Penetration Testing — the offensive side.

Practice

Reading is not learning until you run something. Pick one.

Open an example in Code Lab