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
Tier Role Key Tasks Tier 1 Alert Triage / First Response Monitor SIEM, triage alerts (true/false positive), create tickets, escalate to T2, basic containment Tier 2 Investigation / Deeper Analysis Deep-dive investigation, correlate across sources, determine scope, perform containment actions Tier 3 Threat Hunting / Advanced IR Proactive threat hunting, advanced incident response, tuning detection rules, malware analysis SOC Manager Operations Lead Shift scheduling, metrics, process improvement, reporting to CISO CISO Executive Strategic 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
Log collection β Gather from endpoints, firewalls, servers, apps
Normalisation β Convert different log formats to standard format
Parsing β Extract fields (IP, username, timestamp, event type)
Correlation β Connect related events across sources
Alerting β Trigger alerts when rules match
Dashboard β Visual overview of security posture
SIEM Use Cases
Use Case Detection Logic Alert Brute Force >10 failed logins from same IP in 5 min High Privilege Escalation User added to admin group Critical Data Exfiltration Large outbound transfer to unknown IP High Account Creation New account created outside business hours Medium Service Installed New service installed on server Medium
Log Analysis
Windows Event Logs
Event ID Meaning Security Significance 4624 Successful logon Track whoβs logging in 4625 Failed logon Brute force detection 4720 User account created Insider threat / persistence 4732 User added to security group Privilege escalation 7045 New service installed Malware persistence 4688 Process creation Track program execution 1102 Audit log cleared Anti-forensics attempt
Logon Types (with Event 4624/4625)
Logon Type Meaning Example 2 Interactive (keyboard) Local login 3 Network SMB share, remote service 7 Unlock Workstation unlock 10 RemoteInteractive RDP session
Linux Logs
Log File Contents /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
New β Alert generated, ticket created
Assigned β Analyst takes ownership
In Progress β Investigation underway
Escalated β Handed to T2/T3 if needed
Resolved β Incident contained and remediated
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 Type Example Use IP Address 185.220.101.1 Block at firewall, search in SIEM Domain evil-c2-server.com Block in DNS/proxy File Hash d41d8cd98f00b204e9800998ecf8427e Search on endpoints User Agent Mozilla/5.0 (custom bot) Detect in web logs Email Address phisher@fake-domain.com Block 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
Alert fires on suspicious IP
Check IP against threat feeds β Known C2 server
Context helps determine: True Positive (high confidence)
Escalate with enriched context to Tier 2