analyzing-threat-landscape-with-misp
Query a MISP (Malware Information Sharing Platform) instance via PyMISP to compute event statistics, IOC type breakdowns, threat actor galaxy clusters, and tag trends, and generate threat landscape reports with temporal trends. Use when asked to a...
Cybersecurity
MITRE ATT&CK
OWASP
By Anthropic Cybersecurity Skills (mukul975)
Target File: .cursor/rules/analyzing-threat-landscape-with-misp.mdc
Type @rule-name in Cursor Chat
--- description: Query a MISP (Malware Information Sharing Platform) instance via PyMISP to compute event statistics, IOC type breakdowns, threat actor galaxy clusters, and tag trends, and generate threat landscape reports with temporal trends. Use when asked to a... globs: * alwaysApply: true --- # analyzing-threat-landscape-with-misp # Analyzing Threat Landscape with MISP ## When to Use - When investigating security incidents that require analyzing threat landscape with misp - When building detection rules or threat hunting queries for this domain - When SOC analysts need structured procedures for this analysis type - When validating security monitoring coverage for related attack techniques ## Prerequisites - Familiarity with threat intelligence concepts and tools - Access to a test or lab environment for safe execution - Python 3.8+ with required dependencies installed - Appropriate authorization for any testing activities ## Instructions 1. Install dependencies: `pip install pymisp` 2. Configure MISP URL and API key. 3. Run the agent to generate threat landscape analysis: - Pull event statistics by threat level and date range - Analyze attribute type distributions (IP, domain, hash, URL) - Identify top MITRE ATT&CK techniques from event tags - Track threat actor activity via galaxy clusters - Generate temporal trend analysis of IOC submissions ```bash python scripts/agent.py --misp-url https://misp.local --api-key YOUR_KEY --days 90 --output landscape_report.json ``` ## Examples ### Threat Landscape Summary ``` Period: Last 90 days Events analyzed: 1,247 Top threat level: High (43%) Top attribute type: ip-dst (31%), domain (22%), sha256 (18%) Top MITRE technique: T1566 Phishing (89 events) Top threat actor: APT28 (34 events) ```
How to use this skill
- • Cursor (Modern): Download as analyzing-threat-landscape-with-misp.mdc and place it inside your project's .cursor/rules/ folder.
- • Claude Code: Append the instructions to your project's root CLAUDE.md file.
- • Cline / Roo Code: Save or append to .clinerules in your project root.
- • Windsurf: Save or append to .windsurfrules.
- • CLI Quick Add:
npx awesome-ai-tools add analyzing-threat-landscape-with-misp