abusing-dpapi-for-cred…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Systematically collects, categorizes, and distributes indicators of
Claude Code
$ npx -y skills add mukul975/Anthropic-Cybersecurity-Skills --skill collecting-indicators-of-compromise --agent claude-code
Codex
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill collecting-indicators-of-compromise -a codex -y
Cursor
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill collecting-indicators-of-compromise -a cursor -y
Gemini CLI
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill collecting-indicators-of-compromise -a gemini-cli -y
GitHub Copilot
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill collecting-indicators-of-compromise -a github-copilot -y
OpenCode
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill collecting-indicators-of-compromise -a opencode -y
Windsurf
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill collecting-indicators-of-compromise -a windsurf -y
name: collecting-indicators-of-compromise description: 'Systematically collects, categorizes, and distributes indicators of compromise (IOCs) during and after security incidents to enable detection, blocking, and threat intelligence sharing. Covers network, host, email, and behavioral indicators using STIX/TAXII formats and threat intelligence platforms. Activates for requests involving IOC collection, indicator extraction, threat indicator sharing, compromise indicators, STIX export, or IOC enrichment. ' domain: cybersecurity subdomain: incident-response tags: - IOC-collection - threat-indicators - STIX-TAXII - MISP - threat-intelligence-sharing mitre_attack: - T1071.001 - T1071.004 - T1053.005 - T1547.001 - T1059.001 - T1041 version: 1.0.0 author: mahipal license: Apache-2.0 nist_csf: - RS.MA-01 - RS.MA-02 - RS.AN-03 - RC.RP-01
**Do not use** for behavioral TTP analysis without accompanying technical indicators; use MITRE ATT&CK mapping for behavioral characterization.
Collect indicators across all categories from incident evidence:
**Network Indicators:**
**Host Indicators:**
**Email Indicators:**
Systematically extract indicators from each evidence source:
**From SIEM/Log Analysis:**
# Extract unique destination IPs from firewall logs index=firewall action=blocked | stats count by dest_ip | where count > 100 # Extract domains from DNS query logs index=dns query=*evil* OR query=*c2* | stats count by query
**From Memory Forensics:**
# Extract network connections vol -f memory.raw windows.netscan | grep ESTABLISHED # Extract strings from suspicious process memory vol -f memory.raw windows.memmap --pid 3847 --dump strings -n 8 pid.3847.dmp | grep -E "(http|https)://"
**From Malware Analysis:**
Sandbox Report IOC Extraction: - Dropped files: 3 (hashes extracted) - DNS queries: update.evil[.]com, cdn.malware[.]net - HTTP connections: POST to https://185.220.101[.]42/gate.php - Registry modified: HKCU\Software\Microsoft\Windows\CurrentVersion\Run\svcupdate - Mutex created: Global\MTX_0x1234ABCD - Named pipe: \\.\pipe\MSSE-1234-server
Add threat intelligence context to each indicator:
IOC Enrichment Report: ━━━━━━━━━━━━━━━━━━━━━ IP: 185.220.101.42 VirusTotal: 12/89 vendors flag as malicious Shodan: Open ports: 443, 8443, 80 Geolocation: Netherlands, AS208476 First Seen: 2025-10-01 Threat Intel: Associated with Qakbot C2 infrastructure Confidence: High TLP: AMBER Domain: update.evil[.]com Registration: 2025-10-28 (recently registered) Registrar: Namecheap WHOIS Privacy: Yes VirusTotal: 8/89 vendors flag as malicious DNS History: Resolved to 185.220.101.42, 91.215.85.17 Confidence: High TLP: AMBER
Assign confidence and risk scores to each indicator:
| Score | Confidence Level | Criteria | |-------|-----------------|----------| | 90-100 | Confirmed Malicious | Multiple TI sources confirm, observed in active attack | | 70-89 | Highly Suspicious | Single TI source confirms, behavioral analysis supports | | 50-69 | Suspicious | Limited TI data, contextually suspicious | | 30-49 | Unconfirmed | No TI matches, but anomalous in environment | | 0-29 | Likely Benign | False positive indicators or legitimate infrastructure |
Push IOCs to defensive systems for immediate protection:
Package IOCs in STIX 2.1 format for sharing:
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--a1b2c3d4-e5f6-789817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Take over Active Directory accounts by writing attacker-controlled public keys to msDS-KeyCredentialLink (Shadow Credentials)…
Prepare a defense-contractor environment for CMMC Level 2 certification: scope CUI and FCI, implement the 110 NIST SP 800-171 Rev…
Create forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence…
Detect dangerous ACL misconfigurations in Active Directory using ldap3
Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…
Vercel AI SDK patterns for the installed major (ui/package.json: `ai` 6.x, `@ai-sdk/react` 3.x). The skill name is historical;…