Skip to main content
Glama
Multi-Source Threat Intelligence MCP Server

Multi-Source Threat Intelligence MCP Server

by ugurrates

๐Ÿ›ก๏ธ Multi-Source Threat Intelligence MCP Server v2.2

Python 3.8+ License: MIT MCP Version

Threat intelligence platform for critical infrastructure with multi-platform detection rule generation, C2 infrastructure detection, sandbox analysis, normalized IOC scoring, and MITRE ATT&CK mapping.

๐Ÿš€ What's New in v2.2

๐Ÿ†• Multi-Platform Detection Rule Generation

Ready-to-Use Detection Rules for 5 Platforms:

  1. KQL (Microsoft Defender EDR) - Hunt queries for endpoints and network

  2. SPL (Splunk) - Search queries for SIEM analysis

  3. SIGMA (Universal SIEM) - Platform-agnostic detection rules

  4. XQL (Cortex XDR) - Palo Alto Cortex hunting queries

  5. YARA (Malware Detection) - File and memory scanning rules

Usage: Copy/paste generated rules directly into your security tools - no modification needed!

Related MCP server: Security Intelligence MCP Server

๐Ÿš€ What's New in v2.1

๐Ÿ†• C2 Infrastructure Detection

1. C2 Tracker Integration (3 Sources)

  • ๐Ÿ” Daily Dose of Malware - Real-time IOC tracking

  • ๐ŸŽฏ JMousqueton C2-Tracker - Active C2 server database

  • โšก C2Live - Live C2 IP tracking

  • Automatic cross-referencing with 3 major C2 tracker repositories

2. Malware/C2 Signature Detection (80+ Keywords)

  • C2 Frameworks (23): Cobalt Strike, Sliver, Metasploit, Covenant, Mythic, Brute Ratel C4, etc.

  • Malware Families (50+): Stealers, RATs, Trojans, Loaders

    • Stealers: Lumma, Vidar, Mystic, Gotham, Meduza, RisePro, etc.

    • RATs: AsyncRAT, Quasar, njRAT, VenomRAT, DcRat, etc.

  • Attack Tools: XMRig, GoPhish, BeEF, EvilGinx, etc.

  • Botnets: 7777, Mozi, Kaiji, BlackNET, etc.

3. Enhanced Shodan C2 Detection

  • Automatic keyword matching in Shodan banners

  • Pattern-based C2 framework identification

  • Confidence scoring (high/medium/low)

  • Identifies 23+ C2 frameworks in infrastructure

4. Advanced C2 Scoring

  • Confirmed C2 infrastructure: +30 threat score, +20 impact score

  • High confidence detection: +25 threat score, +15 impact score

  • Automatic severity escalation for C2 indicators

โœจ Previous Features (v2.0)

1. Normalized IOC Scoring (0-100)

  • Industry-standard scoring framework

  • Multi-factor analysis: Threat (40%) + Confidence (30%) + Impact (20%) + Freshness (10%)

  • Automated severity classification: CRITICAL / HIGH / MEDIUM / LOW / MINIMAL

2. Sandbox Integration (5 Platforms)

  • ๐Ÿ”ฌ Hybrid Analysis - Comprehensive malware analysis

  • ๐ŸŽฎ ANY.RUN - Interactive sandbox

  • ๐Ÿ” Tria.ge - Automated malware detection

  • โšก Threat.Zone - Behavioral analysis + IOC extraction

  • ๐Ÿ“ค VirusTotal - File upload support (NEW!)

3. MITRE ATT&CK Mapping

  • Automatic tactic/technique extraction from sandbox results

  • Maps behaviors to ATT&CK framework

  • Identifies attack patterns

4. Network IOC Extraction

  • Extracts IPs, domains, URLs from sandbox analysis

  • Generates additional hunting queries for related IOCs

  • Comprehensive network behavior analysis

๐Ÿ“Š Intelligence Sources (15+)

Source

Type

Free Tier

Coverage

C2-Trackers (3)

C2 Infrastructure

โœ… Unlimited

Active C2 servers, IOCs

VirusTotal

Multi-AV + Sandbox

โœ… 500/day

Files, URLs, domains, IPs

Hybrid Analysis

Sandbox

โœ… 100/month

Windows/Linux/Android malware

ANY.RUN

Interactive Sandbox

โœ… Public submissions

Real-time analysis

Tria.ge

Automated Sandbox

โœ… 20/day

Family detection, config extraction

Threat.Zone

Behavioral Analysis

โœ… Available

IOC extraction, YARA matching

AbuseIPDB

IP Reputation

โœ… 1000/day

Abuse reports, confidence scoring

Shodan

Infrastructure + C2

โœ… 100/month

Ports, vulns, C2 detection

AlienVault OTX

Threat Intel

โœ… Unlimited

Pulses, indicators, APT tracking

URLhaus

Malicious URLs

โœ… Unlimited

Malware distribution sites

MalwareBazaar

Malware Samples

โœ… Unlimited

Hash-based malware intel

ThreatFox

IOC Database

โœ… Unlimited

Fresh IOCs

FeodoTracker

Botnet C2

โœ… Unlimited

Feodo/Emotet infrastructure

๐ŸŽฏ Key Capabilities

Supported IOC Types

  • โœ… File Hashes: MD5, SHA1, SHA256

  • โœ… IP Addresses: IPv4 with geolocation, reputation, vulnerabilities

  • โœ… Domains: DNS, WHOIS, SSL certificate analysis

  • โœ… URLs: Link reputation, phishing detection

Analysis Output

1. Normalized IOC Score

{
  "final_score": 87.5,
  "severity": "HIGH",
  "priority": "P2",
  "breakdown": {
    "threat_score": 35.2,
    "confidence_score": 30.0,
    "impact_score": 15.3,
    "freshness_score": 10.0
  }
}

2. MITRE ATT&CK Mapping

  • Automatic tactic/technique identification

  • Maps to ATT&CK framework (TA####, T####)

  • Source attribution

3. Network IOCs

  • Extracted IPs, domains, URLs from sandbox

  • Total IOC count

  • Ready for additional hunting

4. KQL Hunting Queries

  • Microsoft Defender EDR queries

  • Automated based on IOC type

  • Severity-adjusted complexity

  • Includes queries for related IOCs

5. Actionable Recommendations

  • Severity-based response playbook

  • Immediate actions for CRITICAL/HIGH

  • Investigation steps

  • Containment strategies

๐Ÿ“ฆ Installation

Prerequisites

  • Python 3.8+

  • API keys for threat intelligence sources

Quick Start

# Clone repository
git clone https://github.com/ugurrates/MCP-For-SOC.git
cd MCP-For-SOC

# Install dependencies
pip install -r requirements.txt

# Configure API keys (see Configuration section)
cp config.yaml.example config.yaml
# Edit config.yaml with your API keys

# Run server
python server.py

โš™๏ธ Configuration

API Keys Setup

Create .env file or set environment variables:

# Core Sources
export VIRUSTOTAL_API_KEY="your_key"
export ABUSEIPDB_API_KEY="your_key"
export SHODAN_API_KEY="your_key"
export ALIENVAULT_OTX_API_KEY="your_key"

# Sandbox Platforms (v2.0)
export HYBRID_ANALYSIS_API_KEY="your_key"
export ANYRUN_API_KEY="your_key"
export TRIAGE_API_KEY="your_key"
export THREAT_ZONE_API_KEY="your_key"

Getting Free API Keys

Service

Signup Link

Free Tier

VirusTotal

virustotal.com/gui/join-us

500 requests/day

AbuseIPDB

abuseipdb.com

1,000/day

Shodan

account.shodan.io

100/month

AlienVault OTX

otx.alienvault.com

Unlimited

Hybrid Analysis

hybrid-analysis.com/apikeys/info

100/month

ANY.RUN

any.run/api-documentation

Public submissions

Tria.ge

tria.ge/account

20/day

Threat.Zone

app.threat.zone

Free tier available

๐ŸŽฎ Usage

Open Source Or Claude etc. Integration

Add to *****_config.json:

{
  "mcpServers": {
    "threat-intelligence-v2": {
      "command": "python",
      "args": ["/path/to/MCP-For-SOC/server.py"],
      "env": {
        "VIRUSTOTAL_API_KEY": "your_key",
        "HYBRID_ANALYSIS_API_KEY": "your_key",
        "ANYRUN_API_KEY": "your_key",
        "TRIAGE_API_KEY": "your_key",
        "THREAT_ZONE_API_KEY": "your_key"
      }
    }
  }
}

Example Queries

Analyze a suspicious file hash:

Analyze this hash for threats: 44d88612fea8a8f36de82e1278abb02f

Check a potentially malicious IP:

Is 192.0.2.1 malicious? Run full threat intelligence.

Investigate a phishing domain:

Analyze suspicious-domain.com for threats

๐Ÿ“ˆ Sample Output

{
  "ioc": "44d88612fea8a8f36de82e1278abb02f",
  "ioc_type": "hash_md5",
  "normalized_score": {
    "final_score": 92.3,
    "severity": "CRITICAL",
    "priority": "P1",
    "breakdown": {
      "threat_score": 38.5,
      "confidence_score": 30.0,
      "impact_score": 18.8,
      "freshness_score": 10.0
    },
    "contributing_factors": [
      "VirusTotal: 45/70 engines detected malware (64%)",
      "Hybrid Analysis: Threat score 95/100",
      "Strong consensus across multiple sources",
      "MITRE ATT&CK: 8 tactics identified"
    ]
  },
  "intelligence_sources": {
    "VirusTotal": { "malicious": 45, "total_vendors": 70 },
    "Hybrid-Analysis": { "threat_score": 95, "verdict": "malicious" },
    "ANY.RUN": { "verdict": "malicious", "malware_families": ["emotet"] },
    "Tria.ge": { "score": 9, "family": "Emotet" }
  },
  "network_iocs": {
    "ips": ["198.51.100.1", "203.0.113.5"],
    "domains": ["malicious-c2.com"],
    "total_iocs": 3
  },
  "mitre_attck": [
    {
      "tactic": "execution",
      "technique": "PowerShell",
      "technique_id": "T1059.001",
      "source": "Hybrid Analysis"
    }
  ],
  "kql_hunting_queries": [
    "// Hunt for file by hash\nDeviceFileEvents\n| where MD5 == \"44d88612fea8a8f36de82e1278abb02f\"",
    "// Hunt for related malicious IPs\nDeviceNetworkEvents\n| where RemoteIP in (\"198.51.100.1\", \"203.0.113.5\")"
  ],
  "recommendations": [
    "๐Ÿšจ CRITICAL THREAT DETECTED - Immediate action required",
    "1. BLOCK hash across all security controls",
    "2. HUNT for existing activity using KQL queries",
    "3. ISOLATE affected systems immediately"
  ]
}

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         Claude Desktop / API Client         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                   โ”‚ MCP Protocol
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚    Threat Intelligence MCP Server v2.0      โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚   IOC Detection & Validation        โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                    โ”‚                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚   Multi-Source Query Orchestrator   โ”‚   โ”‚
โ”‚  โ”‚   12+ Sources (Concurrent Async)    โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                    โ”‚                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚   Sandbox Analysis Integration      โ”‚   โ”‚ NEW!
โ”‚  โ”‚   (Hybrid, ANY.RUN, Triage, etc.)   โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                    โ”‚                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚   Network IOC Extraction            โ”‚   โ”‚ NEW!
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                    โ”‚                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚   MITRE ATT&CK Mapping              โ”‚   โ”‚ NEW!
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                    โ”‚                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚   Normalized IOC Scoring Engine     โ”‚   โ”‚ NEW!
โ”‚  โ”‚   (0-100 Industry Standard)         โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ”‚                    โ”‚                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚   KQL Query + Recommendations       โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿค Contributing

Contributions welcome! Please:

  1. Fork the repository

  2. Create feature branch (git checkout -b feature/AmazingFeature)

  3. Commit changes (git commit -m 'Add AmazingFeature')

  4. Push to branch (git push origin feature/AmazingFeature)

  5. Open Pull Request

๐Ÿ“ Changelog

v2.2 (Current)

  • โœ… Multi-Platform Detection Rules

    • KQL (Microsoft Defender EDR)

    • SPL (Splunk)

    • SIGMA (Universal SIEM)

    • XQL (Cortex XDR)

    • YARA (Malware Detection)

  • โœ… USOM Integration (Turkish National Threat Intel)

  • โœ… VirusTotal Community Intelligence (Researcher comments & votes)

  • โœ… Domain Entropy Analysis (DNS Tunneling/DGA Detection)

  • โœ… Malware Family Identification (Auto-extraction from sandbox)

  • โœ… JARM/JA3 Known C2 Database (Cobalt Strike, Metasploit, Sliver, etc.)

  • โœ… Enhanced threat scoring with USOM, community insights, and entropy analysis

v2.1

  • โœ… C2 Infrastructure Detection

    • 3 C2 tracker repositories integration

    • 80+ C2/Malware/Botnet keyword signatures

    • Enhanced Shodan C2 detection

    • Automatic C2 scoring escalation

  • โœ… Malware family identification from Shodan banners

  • โœ… Confidence-based C2 detection (high/medium/low)

v2.0

  • โœ… Normalized IOC scoring system (0-100)

  • โœ… 5 sandbox platform integrations

  • โœ… MITRE ATT&CK mapping

  • โœ… Network IOC extraction

  • โœ… Enhanced KQL query generation

  • โœ… Severity-based recommendations

v1.0

  • Initial release

  • 9 threat intelligence sources

  • Basic risk assessment

  • KQL query generation

๐Ÿ“„ License

MIT License - see LICENSE file

๐Ÿ‘ค Author

Ugur Ates

โš ๏ธ Disclaimer

For legitimate security research and defense purposes only. Users are responsible for complying with all applicable laws and ToS of intelligence platforms.


Made with โค๏ธ for Critical Infrastructure Security

MCP For SOC Teams | Empowering security operations with automated threat intelligence

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables comprehensive threat analysis for Indicators of Compromise (IoCs) including IP addresses, file hashes, domains, and URLs. It provides detailed reputation scores, security vendor evaluations, and network metadata to facilitate security assessments and risk detection.
      4
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides a unified interface for security analysts to gather threat intelligence from multiple sources including VirusTotal, Shodan, NVD, AnyRun, AlienVault OTX, and GitHub.
      -
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI-driven SOC investigations by providing automated Splunk querying, threat intelligence enrichment, and response actions through natural language. Includes tools for IP pivoting, lateral movement detection, and label harvesting.
      31
      1
      Apache 2.0