跳到正文
cccskills
免费在 GitHub 公开

incident-response

Security incident handling: triage, containment, forensic capture, report. Use when the user asks about security incidents, breach response, forensic analysis, incident containment, or security reporting.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation星标 5(GitHub 5 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md6.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Incident Response

Incident Severity Levels

LevelDescriptionResponse TimeExamples
SEV-1Active data breach, system compromise15 minRansomware, credential leak
SEV-2Potential breach, no confirmed impact1 hourSuspicious login, anomalous traffic
SEV-3Policy violation, low risk4 hoursMisconfigured bucket, weak auth
SEV-4Informational, no risk24 hoursFailed attack attempt, phishing test

Phase 1: Preparation

# Required tools
# Forensic: dd, binwalk, volatility, strings
# Network: tcpdump, wireshark, tshark
# Analysis: grep, awk, jq, sqlite3
# Documentation: ticket system, timeline template

# Contact tree
TEAM_LEAD="security-lead@company.com"
INCIDENT_CHANNEL="#incident-response"
ESCALATION_CONTACT="ciso@company.com"

Phase 2: Identification

Triage Checklist

1. What is the incident type?
   [ ] Unauthorized access
   [ ] Malware/Ransomware
   [ ] Data exfiltration
   [ ] DDoS
   [ ] Insider threat
   [ ] Phishing/Social engineering
   [ ] Vulnerability exploitation

2. What systems are affected?
   - List all affected hosts/services
   - Determine scope of blast radius

3. What data is at risk?
   [ ] PII/Personal data
   [ ] Financial data
   [ ] Intellectual property
   [ ] Credentials/secrets
   [ ] System integrity

4. When did it start?
   - First indicator time
   - Last known good state

Log Sources to Preserve

# Authentication logs
journalctl -u ssh --since "2024-01-01" > /forensics/auth.log
sudo last -a > /forensics/last.log
sudo pamctl status > /forensics/pam.log

# System logs
sudo journalctl --no-pager > /forensics/journal.log
sudo lslogins > /forensics/users.log

# Network logs
sudo tcpdump -w /forensics/packet-capture.pcap -G 3600 -W 24
# Rotate hourly, max 24 files

# Process audit
sudo ps auxf > /forensics/processes.txt
sudo lsof > /forensics/open-files.txt

Phase 3: Containment

Short-Term Containment

# Network isolation
iptables -A INPUT -s <attacker_ip> -j DROP
# or
az network nsg rule create --name block-attacker --nsg-name main-nsg \
    --priority 100 --source-address-prefixes "$attacker_ip" --action Deny

# Disable compromised accounts
aws iam update-user --user-name compromised-user --max-session-duration 0
# or
ldapmodify -x -D "cn=admin" -w secret <<EOF
dn: uid=compromised,dc=example,dc=com
changetype: modify
replace: userPassword
userPassword: {SSHA}impossibleto_guess
EOF

# Isolate affected host
virsh destroy <vm-name>
# Preserve RAM state before power off
vmstat -a > /forensics/mem-state.txt

Long-Term Containment

- [ ] Firewall rules blocking attacker C2
- [ ] Compromised credentials rotated
- [ ] Affected systems patched
- [ ] Monitoring enhanced on related systems
- [ ] Backup verified and available

Phase 4: Eradication

# Remove malware
sudo find / -name "*malware*" -type f 2>/dev/null
sudo rm -rf /tmp/.hidden_backdoor

# Kill malicious processes
sudo kill -9 <pid>
sudo pkill -f "suspicious_script.py"

# Remove persistence mechanisms
sudo crontab -l | grep -v "suspicious" | sudo crontab -
sudo systemctl disable suspicious-service
sudo rm /etc/systemd/system/suspicious.service

# Patch vulnerability
sudo apt update && sudo apt upgrade -y
# or
yum update -y

Phase 5: Recovery

# Restore from clean backup
rsync -avz /backup/clean/ /app/data/
chmod -R 750 /app/data
chown -R appuser:appgroup /app/data

# Verify system integrity
sudo debsums -c  # Debian/Ubuntu package verification
sudo rpm -Va     # RHEL/CentOS package verification
sudo fsck /dev/sda1

# Validate application
python manage.py migrate --check
npm test
pytest tests/ -v

Phase 6: Lessons Learned

Incident Report Template

# Incident Report: [TITLE]

## Summary
[1-2 sentence description of what happened]

## Timeline
| Time (UTC) | Event | Source |
|------------|-------|--------|
| 2024-01-15 03:14 | Initial compromise detected | SIEM alert |
| 2024-01-15 03:17 | First responder notified | PagerDuty |
| 2024-01-15 03:45 | Containment initiated | IR team |
| 2024-01-15 05:00 | Eradication complete | IR team |
| 2024-01-15 06:30 | Recovery verified | IR team |

## Impact
- Systems affected: [list]
- Data exposed: [type and volume]
- Downtime: [duration]
- Financial impact: [estimate]

## Root Cause
[Technical explanation of how the incident occurred]

## Actions Taken
1. [Containment action]
2. [Eradication action]
3. [Recovery action]

## Recommendations
1. [Preventive measure]
2. [Detection improvement]
3. [Process improvement]

## Evidence Preserved
- /forensics/auth.log
- /forensics/packet-capture.pcap
- /forensics/mem-state.txt
- Volatility profile: /forensics/volatility-profile.bin

Communication Templates

Internal Notification

Subject: [SEV-1] Security Incident - [Brief Description]

Team,

A security incident has been identified affecting [systems].
Incident commander: [name]
Status: [active/contained/resolved]
Next update: [time]

Action required: [if any]
Full details: [incident channel/ticket]

External Notification (if required)

Subject: Security Incident Notification

We are writing to inform you of a security incident that may
affect your data. We discovered [brief description] on [date].

We have [contained the incident / are working to contain it].
Affected systems: [list]

Recommended actions:
- Change your password
- Enable multi-factor authentication
- Monitor accounts for suspicious activity

Contact: [security email/phone]

Evidence Chain of Custody

# Record all evidence handling
echo "Evidence: $(basename $file)" >> /forensics/chain-of-custody.log
echo "Date: $(date -u)" >> /forensics/chain-of-custody.log
echo "Handler: $(whoami)" >> /forensics/chain-of-custody.log
echo "Hash: $(sha256sum $file)" >> /forensics/chain-of-custody.log
echo "---" >> /forensics/chain-of-custody.log

# Preserve original hashes
sha256sum /forensics/* > /forensics/evidence-hashes.sha256

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

ace-music

免费

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

查看 ProjectZeroDays 的全部技能

报告此技能的问题