acquiring-disk-image-w…
Create forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through
Systematically collects, categorizes, and distributes indicators of compromise (IOCs) during and after security
Claude Code
$ npx -y skills add Mikaru0Mystic/sectinel --skill collecting-indicators-of-compromise --agent claude-code
Codex
$ npx skills add Mikaru0Mystic/sectinel --skill collecting-indicators-of-compromise -a codex -y
Cursor
$ npx skills add Mikaru0Mystic/sectinel --skill collecting-indicators-of-compromise -a cursor -y
Gemini CLI
$ npx skills add Mikaru0Mystic/sectinel --skill collecting-indicators-of-compromise -a gemini-cli -y
GitHub Copilot
$ npx skills add Mikaru0Mystic/sectinel --skill collecting-indicators-of-compromise -a github-copilot -y
OpenCode
$ npx skills add Mikaru0Mystic/sectinel --skill collecting-indicators-of-compromise -a opencode -y
Windsurf
$ npx skills add Mikaru0Mystic/sectinel --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 - T1059 - T1547 - T1053 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-7890-abcd-ef1234567890",
"created": "2025Open-source security arsenal for AI coding agents: 784 cybersecurity skills, scanner integrations, and a security MCP for Claude Code, Cursor, opencode, Gemini CLI, Cline, and any agentskills.io agent. Mapped to OWASP, MITRE ATT&CK, NIST CSF, D3FEND, ATLAS.
Create forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through
Detect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and
Perform static analysis of Android APK malware samples using apktool for decompilation, jadx for Java source
Parses API Gateway access logs (AWS API Gateway, Kong, Nginx) to detect BOLA/IDOR attacks, rate limit bypass,
Analyze advanced persistent threat (APT) group techniques using MITRE ATT&CK Navigator to create layered heatmaps
Queries Azure Monitor activity logs and sign-in logs via azure-monitor-query to detect suspicious administrative
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…