mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-06-16 07:53:18 +03:00
c21af3347e
- Add scripts/agent.py and references/api-reference.md to all remaining skills - Update all 648 LICENSE files: copyright now reads 'Mahipal' - Add implementing-security-monitoring-with-datadog (new skill with full anatomy) - All 649 skills now have: SKILL.md, LICENSE, scripts/agent.py, references/api-reference.md
1.8 KiB
1.8 KiB
Ransomware Incident Response - API Reference
File System Scanning
Ransomware Extensions
Common encrypted file extensions: .encrypted, .locked, .crypt, .locky, .cerber, .zepto, .wncry, .wnry, .wcry, .onion, .micro, .r5a
Ransom Note Filenames
Common patterns: readme.txt, how_to_decrypt.txt, decrypt_instructions.html, restore_files.txt, _readme.txt, how_to_recover.txt
IOC Collection
hashlib (Python stdlib)
sha = hashlib.sha256()
with open(path, "rb") as f:
for chunk in iter(lambda: f.read(8192), b""):
sha.update(chunk)
sha.hexdigest()
ID Ransomware Identification
Upload ransom note or encrypted file sample to id-ransomware.malwarehunterteam.com for variant identification.
Shadow Copy Detection (Windows)
vssadmin list shadows
Ransomware commonly deletes shadow copies via:
vssadmin delete shadows /all /quiet
wmic shadowcopy delete
Containment Checklist
- Network isolation - Disable NICs or move to quarantine VLAN
- Evidence preservation - Disk image before remediation
- Credential reset - krbtgt (twice), DA accounts, service accounts
- Scope assessment - Enumerate affected hosts and shares
- Variant identification - Submit IOCs to threat intel platforms
- Recovery - Restore from clean backups after root cause confirmed
Output Schema
{
"report": "ransomware_incident_response",
"encrypted_files_found": 342,
"ransom_notes_found": 5,
"shadow_copy_status": {"intact": false, "shadow_copies": 0},
"containment_actions": [{"priority": 1, "action": "Isolate affected hosts"}],
"file_hashes": [{"path": "/data/file.encrypted", "sha256": "abc123..."}]
}
CLI Usage
python agent.py --target /mnt/affected_share --max-files 5000 --output report.json