Add folder anatomy (scripts/agent.py + references/api-reference.md) for 648 cybersecurity skills

Complete skill folder anatomy across all cybersecurity skills:
- scripts/agent.py: 80-150 line Python agents using real libraries (impacket,
  boto3, azure-mgmt-*, kubernetes, pefile, yara, scapy, shodan, stix2, etc.)
- references/api-reference.md: real API documentation with method signatures
- LICENSE: MIT license for all skill folders
This commit is contained in:
mukul975
2026-03-10 21:02:12 +01:00
parent c74d52fa30
commit 27c6414ca5
1390 changed files with 106806 additions and 0 deletions
@@ -0,0 +1,38 @@
---
name: implementing-threat-intelligence-platform
description: >-
Build a MISP-backed threat intelligence platform that ingests IOCs from multiple feeds,
correlates events with galaxy clusters, and enriches indicators via VirusTotal and AbuseIPDB.
Uses PyMISP to create events, add attributes with IDS flags, tag with MITRE ATT&CK techniques,
and export STIX 2.1 bundles for downstream SIEM consumption.
---
## Instructions
1. Install dependencies: `pip install pymisp requests stix2`
2. Deploy MISP instance and generate an API key from Administration > Auth Keys.
3. Use PyMISP to connect and create threat intelligence events:
- Create events with threat level, distribution, and analysis status
- Add attributes (ip-dst, domain, sha256, url) with to_ids flags
- Tag events with MITRE ATT&CK technique identifiers
- Correlate events across organizations
4. Ingest from external feeds: URLhaus, Feodo Tracker, MalwareBazaar.
5. Enrich IOCs via VirusTotal and AbuseIPDB APIs.
6. Export correlated events as STIX 2.1 bundles.
```bash
python scripts/agent.py --misp-url https://misp.local --misp-key <api_key> --ingest-feeds --output misp_report.json
```
## Examples
### Create MISP Event with IOCs
```python
from pymisp import PyMISP, MISPEvent, MISPAttribute
misp = PyMISP("https://misp.local", "api_key")
event = MISPEvent()
event.info = "Phishing Campaign - 2024-Q1"
event.threat_level_id = 2
event.add_attribute("ip-dst", "185.143.223.47", to_ids=True)
misp.add_event(event)
```