SOC Operations & Incident Lifecycle

πŸ“ Concept Note β€” CSF & NS Unit V | Source: MCA Sem III Syllabus


The Problem It Solves

Every organisation generates millions of log events daily. Without a structured team and process, attacks go undetected, alerts pile up, and incidents escalate into disasters. The SOC provides 24/7 monitoring, detection, and response.


SOC Structure

What is a SOC?

A Security Operations Center is a centralised team that continuously monitors, detects, analyses, and responds to cybersecurity incidents using technology, people, and processes.

Tier Structure

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              CISO                         β”‚
β”‚    Chief Information Security Officer     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          SOC Manager                      β”‚
β”‚   Oversees operations, metrics, staffing  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β–Ό            β–Ό            β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Tier 3 β”‚ β”‚ Tier 2 β”‚ β”‚ Tier 1 β”‚
β”‚Threat  β”‚ β”‚Deep    β”‚ β”‚Alert   β”‚
β”‚Hunting β”‚ β”‚Analysisβ”‚ β”‚Triage  β”‚
β”‚Advancedβ”‚ β”‚Incidentβ”‚ β”‚First   β”‚
β”‚   IR   β”‚ β”‚Invest. β”‚ β”‚Responseβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Tier Responsibilities

TierRoleKey Tasks
Tier 1Alert Triage / First ResponseMonitor SIEM, triage alerts (true/false positive), create tickets, escalate to T2, basic containment
Tier 2Investigation / Deeper AnalysisDeep-dive investigation, correlate across sources, determine scope, perform containment actions
Tier 3Threat Hunting / Advanced IRProactive threat hunting, advanced incident response, tuning detection rules, malware analysis
SOC ManagerOperations LeadShift scheduling, metrics, process improvement, reporting to CISO
CISOExecutiveStrategic security decisions, board reporting, risk management

SOC Playbook

Pre-defined procedures for common incident types:

  • Phishing playbook β€” Steps to investigate a reported phishing email
  • Brute force playbook β€” Steps when SIEM alerts on multiple failed logins
  • Malware playbook β€” Steps when endpoint detects malicious file
  • Each playbook defines: triggers, investigation steps, containment, escalation criteria, documentation

SIEM in the SOC

Log Collection Flow

Endpoints β†’ ┐
Firewalls β†’ β”œβ”€β”€β†’ Log Collectors β†’ SIEM β†’ Dashboard/Alerts
Servers   β†’ ─                              ↓
IDS/IPS   β†’ β”˜                        SOC Analyst

Key SIEM Functions

  1. Log collection β€” Gather from endpoints, firewalls, servers, apps
  2. Normalisation β€” Convert different log formats to standard format
  3. Parsing β€” Extract fields (IP, username, timestamp, event type)
  4. Correlation β€” Connect related events across sources
  5. Alerting β€” Trigger alerts when rules match
  6. Dashboard β€” Visual overview of security posture

SIEM Use Cases

Use CaseDetection LogicAlert
Brute Force>10 failed logins from same IP in 5 minHigh
Privilege EscalationUser added to admin groupCritical
Data ExfiltrationLarge outbound transfer to unknown IPHigh
Account CreationNew account created outside business hoursMedium
Service InstalledNew service installed on serverMedium

Log Analysis

Windows Event Logs

Event IDMeaningSecurity Significance
4624Successful logonTrack who’s logging in
4625Failed logonBrute force detection
4720User account createdInsider threat / persistence
4732User added to security groupPrivilege escalation
7045New service installedMalware persistence
4688Process creationTrack program execution
1102Audit log clearedAnti-forensics attempt

Logon Types (with Event 4624/4625)

Logon TypeMeaningExample
2Interactive (keyboard)Local login
3NetworkSMB share, remote service
7UnlockWorkstation unlock
10RemoteInteractiveRDP session

Linux Logs

Log FileContents
/var/log/auth.logAuthentication events (SSH, sudo)
/var/log/syslogSystem messages
/var/log/kern.logKernel messages
/var/log/apache2/access.logWeb server access

What Analysts Look For

  • Patterns β€” Multiple failed logins followed by success = compromised account
  • Anomalies β€” Login at 3 AM from unusual location
  • Correlation β€” Failed login on VPN + successful login on server = lateral movement
  • Volume β€” Spike in outbound DNS queries = possible data exfiltration

Alert Handling Process

Alert in SIEM
    β”‚
    β–Ό
1. RECEIVE alert β€” Tier 1 sees alert in queue
    β”‚
    β–Ό
2. TRIAGE β€” Is this a True Positive, False Positive, or needs escalation?
    β”‚
    β”œβ”€β”€ False Positive β†’ Document, close ticket, tune rule
    β”‚
    β”œβ”€β”€ True Positive β†’ Investigate + contain
    β”‚
    └── Uncertain β†’ Escalate to Tier 2
    β”‚
    β–Ό
3. INVESTIGATE β€” Gather context, check logs, correlate
    β”‚
    β–Ό
4. CONTAIN β€” Block IP, disable account, isolate host
    β”‚
    β–Ό
5. DOCUMENT β€” Record findings, actions, evidence
    β”‚
    β–Ό
6. CLOSE β€” Update ticket, lessons learned

Ticket Lifecycle

  1. New β€” Alert generated, ticket created
  2. Assigned β€” Analyst takes ownership
  3. In Progress β€” Investigation underway
  4. Escalated β€” Handed to T2/T3 if needed
  5. Resolved β€” Incident contained and remediated
  6. Closed β€” Post-incident review complete

Incident Lifecycle β€” NIST SP 800-61

The 4 Phases (6 Steps)

1. Preparation β†’ 2. Detection & Analysis β†’ 3. Containment, Eradication, Recovery β†’ 4. Post-Incident Activity

Phase 1: Preparation

  • Build the SOC team, deploy tools (SIEM, IDS, EDR)
  • Create playbooks and procedures
  • Train staff, run tabletop exercises
  • Maintain incident response plan

Phase 2: Detection & Analysis

  • Monitor alerts from SIEM, IDS, endpoints
  • Triage and validate alerts
  • Determine scope and impact
  • Classify incident severity

Phase 3: Containment, Eradication, Recovery

  • Containment β€” Stop the bleeding (isolate infected host, block attacker IP)
  • Eradication β€” Remove the threat (delete malware, patch vulnerability)
  • Recovery β€” Restore to normal operations (rebuild system, restore from backup)

Phase 4: Post-Incident Activity

  • Lessons learned meeting β€” What happened? What worked? What didn’t?
  • Update playbooks and detection rules
  • Document everything for future reference
  • Improve defences based on findings

How Tiers Work Together

Tier 1: Detects alert β†’ Triages β†’ Escalates to Tier 2
Tier 2: Investigates β†’ Determines scope β†’ Escalates to Tier 3 if advanced
Tier 3: Advanced analysis β†’ Threat hunting β†’ Malware reverse engineering

Threat Intelligence Basics

Indicators of Compromise (IoCs)

IoC TypeExampleUse
IP Address185.220.101.1Block at firewall, search in SIEM
Domainevil-c2-server.comBlock in DNS/proxy
File Hashd41d8cd98f00b204e9800998ecf8427eSearch on endpoints
User AgentMozilla/5.0 (custom bot)Detect in web logs
Email Addressphisher@fake-domain.comBlock in email gateway

Threat Feeds

External sources of IoCs that SOC teams subscribe to:

  • Open-source: AlienVault OTX, Abuse.ch
  • Commercial: Recorded Future, CrowdStrike
  • Government: CERT-In (India), US-CERT

How Tier 1 Uses Threat Intelligence

  1. Alert fires on suspicious IP
  2. Check IP against threat feeds β†’ Known C2 server
  3. Context helps determine: True Positive (high confidence)
  4. Escalate with enriched context to Tier 2