mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-06-11 21:54:56 +03:00
4.6 KiB
4.6 KiB
Containing an Active Security Breach - Detailed Workflow
Pre-Containment Decision Framework
Containment Strategy Selection Matrix
| Factor | Low Impact | Medium Impact | High Impact |
|---|---|---|---|
| Data sensitivity | Monitor and assess | Partial isolation | Full network isolation |
| Active exfiltration | Block egress IPs | Block + isolate segment | Air-gap + full isolation |
| Lateral movement | Enhanced monitoring | Segment isolation | Domain-wide lockdown |
| Business criticality | Targeted containment | Phased containment | Emergency containment with DR |
| Ransomware deployment | Isolate patient zero | Segment + block C2 | Enterprise-wide isolation |
Step-by-Step Procedure
Phase 1: Incident Validation (0-15 minutes)
- Receive alert from SIEM/EDR/SOC analyst
- Verify alert is true positive by correlating multiple data sources
- Classify incident severity using organization's severity matrix
- Activate incident response team based on severity level
- Establish incident communication channel (war room or Slack/Teams channel)
- Assign Incident Commander and document in ticketing system
Phase 2: Scope Assessment (15-45 minutes)
- Query SIEM for all related alerts in the past 72 hours
- Identify all compromised hosts using EDR telemetry
- Map network connections from compromised hosts to identify lateral movement
- Check authentication logs for compromised account usage across systems
- Identify affected data repositories and assess data classification
- Document the attack timeline and current threat actor position
- Determine the attack vector (how did they get in)
Phase 3: Short-Term Containment (30-60 minutes)
-
Network Level:
- Block attacker external IPs at perimeter firewall
- Sinkhole C2 domains at DNS level
- Apply ACLs to isolate compromised network segments
- Enable enhanced packet capture on affected segments
-
Endpoint Level:
- Network-contain compromised hosts via EDR
- Disable compromised user accounts in Active Directory
- Revoke OAuth tokens and API keys
- Kill malicious processes identified by EDR
-
Identity Level:
- Force password reset on compromised accounts
- Disable MFA bypass methods used by attacker
- Revoke VPN certificates for compromised users
- Block compromised service account authentication
Phase 4: Evidence Preservation (During Containment)
- Capture live memory from key compromised systems before full isolation
- Export relevant SIEM logs to secure evidence storage
- Take forensic disk images of critical compromised systems
- Preserve network capture data (PCAP) from affected segments
- Screenshot active sessions and running process trees
- Hash all evidence files and create chain of custody documentation
Phase 5: Long-Term Containment (1-24 hours)
- Implement network microsegmentation around affected areas
- Deploy additional monitoring sensors in compromised zones
- Set up honeypots to detect continued attacker activity
- Apply temporary firewall rules with logging for affected segments
- Enable enhanced audit logging on systems adjacent to compromise
- Implement file integrity monitoring on critical systems
- Set up network traffic baseline comparison
Phase 6: Containment Verification (Ongoing)
- Monitor for new alerts from previously compromised systems
- Verify no new C2 communications from any internal host
- Check for new account creation or privilege escalation attempts
- Validate that isolated systems cannot reach external networks
- Test that critical business services remain functional
- Brief stakeholders on containment status and next steps
Escalation Criteria
- Containment fails (attacker regains access): Escalate to CISO, consider external IR firm
- Business-critical systems affected: Engage business continuity team
- Data exfiltration confirmed: Engage legal and compliance teams
- Nation-state indicators: Engage FBI/CISA
- Ransomware spreading despite containment: Consider full network shutdown
Communication Templates
Internal Escalation (Initial)
SUBJECT: [SEVERITY-CRITICAL] Active Security Breach - Containment in Progress
INCIDENT ID: IR-YYYY-NNN
TIME DETECTED: YYYY-MM-DD HH:MM UTC
CURRENT STATUS: Containment in progress
AFFECTED SYSTEMS: [count] hosts, [count] accounts
INCIDENT COMMANDER: [Name]
NEXT UPDATE: [time]
Status Update (During Containment)
SUBJECT: [UPDATE] IR-YYYY-NNN - Containment Status
CONTAINMENT STATUS: [Partial/Complete/Pending]
SYSTEMS ISOLATED: [count]
ACCOUNTS DISABLED: [count]
C2 COMMUNICATIONS: [Blocked/Active/Unknown]
BUSINESS IMPACT: [Description]
NEXT STEPS: [Actions]
NEXT UPDATE: [time]