mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-06-16 07:53:18 +03:00
5.2 KiB
5.2 KiB
Ransomware Incident Response - Detailed Workflow
Phase 1: Detection and Initial Assessment (0-30 minutes)
Detection Sources
- EDR/AV alert for ransomware behavior (mass file encryption)
- User reports of inaccessible files or ransom notes
- SIEM correlation of suspicious patterns (VSS deletion + mass file writes)
- Backup system alerts for failed or corrupted backups
- Canary file monitoring triggers
Initial Assessment Steps
- Confirm ransomware activity (not a false positive or legitimate encryption)
- Identify patient zero (first infected system)
- Determine ransomware variant from ransom note or encrypted file extension
- Check if encryption is still in progress or completed
- Assess scope: single host, department, or enterprise-wide
- Activate incident response team and establish war room
Variant Identification
- Upload ransom note to ID Ransomware (id-ransomware.malwarehunterteam.com)
- Submit encrypted file sample to identify encryption algorithm
- Check file extension against known ransomware database
- Cross-reference IOCs with threat intelligence feeds
- Search for Bitcoin wallet addresses in threat intel databases
Phase 2: Containment (30-120 minutes)
Immediate Actions
- Network-isolate all confirmed infected hosts via EDR
- Block known C2 IPs/domains at perimeter firewall
- Disable file sharing (SMB, NFS) between network segments
- Block lateral movement protocols (RDP, WinRM, PsExec)
- Disable compromised user/service accounts
- Take backup systems offline (protect from encryption)
Network Segmentation
- Implement emergency firewall rules between VLANs
- Disable inter-VLAN routing for affected segments
- Block east-west traffic for non-essential ports
- Enable full packet capture on affected segments
- Deploy network honey tokens
Backup Protection Priority
- Disconnect backup networks from production
- Verify immutable backup copies exist and are intact
- Test a sample restoration to confirm backup viability
- Document last known good backup date for each system
- If using cloud backups, verify object lock/WORM settings
Phase 3: Investigation (2-48 hours)
Determine Initial Access Vector
- Review VPN/remote access logs for compromised credentials
- Check email logs for phishing delivery
- Analyze exploitation of public-facing applications
- Review RDP brute force attempts in event logs
- Check supply chain/third-party access logs
Map Attack Timeline
- Correlate SIEM/EDR data to build attack chronology
- Identify dwell time (initial access to encryption)
- Map lateral movement path through the network
- Identify all systems accessed by the attacker
- Determine if data was exfiltrated before encryption
Evidence Collection
- Capture memory images from key systems
- Create forensic disk images before remediation
- Export relevant SIEM logs (authentication, file access, network)
- Preserve EDR detection data and timeline
- Document all ransom communications
Phase 4: Eradication (24-72 hours)
Remove Attacker Persistence
- Identify and remove all backdoors (web shells, RATs, implants)
- Remove scheduled tasks created by the attacker
- Clean malicious registry entries
- Remove unauthorized user accounts
- Revoke all compromised credentials (including KRBTGT if needed)
- Patch the vulnerability used for initial access
Validate Clean State
- Run full AV/EDR scans on all systems
- Scan with YARA rules specific to the ransomware family
- Verify no unauthorized processes or services
- Check for fileless persistence mechanisms
- Validate Group Policy objects are clean
Phase 5: Recovery (24 hours - 2 weeks)
Recovery Prioritization
| Priority | System Category | Recovery Target |
|---|---|---|
| P1 | Domain controllers, DNS, DHCP | 4-8 hours |
| P2 | Email, communication systems | 8-24 hours |
| P3 | Core business applications | 24-72 hours |
| P4 | File shares, secondary systems | 3-7 days |
| P5 | Non-critical workstations | 1-2 weeks |
Recovery Steps
- Rebuild systems from known-good images (not infected backups)
- Restore data from verified clean backups
- Apply all security patches before reconnecting to network
- Reset all passwords enterprise-wide
- Implement MFA on all remote access
- Reconnect systems in phases with enhanced monitoring
- Verify data integrity after restoration
Decryption Assessment
- Check nomoreransom.org for available decryptors
- Contact law enforcement for potential seized decryption keys
- Assess if partial decryption is possible
- Evaluate third-party decryption services (with caution)
- Document any data that cannot be recovered
Phase 6: Post-Incident (1-4 weeks)
Lessons Learned
- Conduct formal after-action review
- Document complete attack timeline
- Identify what worked and what failed in the response
- Update incident response playbook based on findings
- Brief executive leadership and board
Preventive Improvements
- Implement or enhance immutable backups
- Deploy additional network segmentation
- Improve endpoint detection rules
- Conduct security awareness training
- Test backup restoration procedures regularly
- Implement privileged access management (PAM)