本文へ移動
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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 のスキルをすべて見る

このスキルの問題を報告する