NetForensicMCP

NetForensicMCP

netforensicmcp•bykylecui

An MCP server built on Wireshark's tshark that gives LLMs offline PCAP analysis and threat intelligence tools for network forensics and incident response.

License: MIT License•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Provides protocol hierarchy statistics and TCP/UDP conversation analysis over PCAP files.
  • •Extracts stream payloads with pagination and chunking to avoid token overflow on large captures.
  • •Performs batch IP threat scanning via URLhaus and extracts plaintext credentials across protocols.
  • •Identifies top communicating IPs for proactive threat hunting.

BEST FOR

  • •Threat hunters identifying APT activities and C2 communications in captured traffic.
  • •Incident responders performing rapid forensic analysis of network evidence.
  • •Compliance auditing involving credential leak detection.

ABOUT NETFORENSICMCP

NetForensicMCP is cataloged as an MCP server attributed to kylecui. An MCP server built on Wireshark's tshark that gives LLMs offline PCAP analysis and threat intelligence tools for network forensics and incident response. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for NetForensicMCP are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What tool does NetForensicMCP rely on for packet analysis?

It is built on Wireshark's tshark and auto-detects it, falling back to common installation paths.

How does it handle large PCAP streams without hitting token limits?

It chunks and paginates stream content and estimates content size before extraction.

上游原版 README

在 GitHub 查看同一版本原文

README.md · f4d86acc6f2f · 采集于 2026-11-13 12:04:04 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

NetForensicMCP Logo

🔍 Advanced Network Forensics & Threat Intelligence Platform 🛡️

Version License Node.js Wireshark

NetForensicMCP v2.1

(Formerly WireMCP, Now Focused on Offline Forensic Analysis)

English | 中文

NetForensicMCP (formerly WireMCP) is a Model Context Protocol (MCP) server designed to empower Large Language Models (LLMs) with advanced offline network traffic analysis and threat intelligence capabilities. Built on top of Wireshark's tshark, NetForensicMCP provides comprehensive PCAP analysis tools for cybersecurity professionals, threat hunters, and network forensics investigators.

🚀 Key Features

Core Analysis Engine

  • Smart Stream Analysis: Intelligent content chunking to handle large PCAP files without token overflow
  • Threat Intelligence Integration: Built-in URLhaus blacklist checking with stream correlation
  • Credential Extraction: Automated detection of plaintext credentials across multiple protocols
  • High-Frequency IP Analysis: Proactive threat hunting through top communicator identification

Advanced Tools

  • get_summary_stats: Protocol hierarchy statistics for traffic composition overview
  • get_conversations: TCP/UDP conversation analysis with stream indexing
  • extract_stream_content: Precise payload extraction with pagination support
  • get_stream_info: Content size estimation to prevent token overflow
  • extract_stream_chunks: Automated large stream segmentation
  • get_top_ips: High-frequency communicator identification for proactive analysis
  • check_threats: Batch IP threat scanning with stream correlation
  • extract_credentials: Multi-protocol credential detection with context
  • capture_packets: Legacy live traffic capture (preserved for compatibility)

🔍 How It Empowers LLMs

NetForensicMCP transforms complex network forensics into LLM-accessible intelligence by:

  • 🎯 Threat-Driven Analysis: Prioritizes high-risk indicators over raw data processing
  • 📊 Structured Intelligence: Converts PCAP data into actionable threat intelligence
  • ⚡ Efficient Investigation: Optimized workflow prevents token exhaustion
  • 🔗 Correlation Engine: Links disparate network events into coherent attack narratives
  • 📝 Automated Reporting: Generates comprehensive security reports with IOCs and recommendations

🛡️ Cybersecurity Use Cases

  • 🕵️ Threat Hunting: Proactive identification of APT activities and C2 communications
  • 🔍 Incident Response: Rapid forensic analysis of network evidence
  • 📋 Compliance Auditing: Credential leak detection and security gap identification
  • 🚨 IOC Extraction: Automated indicator of compromise discovery
  • 📖 Attack Reconstruction: Timeline analysis and attack path visualization

📋 Installation

Prerequisites

  • Operating System: Windows, macOS, or Linux
  • Wireshark: Download here (tshark must be in PATH)
  • Node.js: v16+ recommended
  • npm: For dependency management

Setup

  1. Clone the repository:

    git clone https://github.com/kylecui/NetForensicMCP.git
    cd NetForensicMCP
    
  2. Install dependencies:

    npm install
    
  3. Launch the MCP server:

    node index.js
    

Note: NetForensicMCP auto-detects tshark or falls back to common installation paths on all platforms.

⚙️ MCP Client Configuration

Cursor IDE

Edit mcp.json in Cursor → Settings → MCP:

{
  "mcpServers": {
    "netforensicmcp": {
      "command": "node",
      "args": [
        "/ABSOLUTE_PATH_TO/NetForensicMCP/index.js"
      ]
    }
  }
}

Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "wiremcp": {
      "command": "node",
      "args": ["C:\\path\\to\\NetForensicMCP\\index.js"]
    }
  }
}

🔬 Example Analysis Workflows

Threat Intelligence Analysis

# Batch threat scanning with stream correlation
check_threats → extract_credentials → get_top_ips
↓
ip_reputation (parallel) → ioc_detection → domain_analysis
↓
extract_stream_content (targeted) → comprehensive_report

Advanced Forensics

# Large PCAP investigation
get_summary_stats → get_conversations → get_stream_info
↓
extract_stream_chunks → extract_stream_content (paginated)
↓
correlation_analysis → timeline_reconstruction

📊 Sample Output

Threat Analysis Report

⚠️  THREATS DETECTED (2):
🚨 192.168.1.100 - Streams: [tcp:0, tcp:2, udp:1]
🚨 10.0.0.50 - Streams: [tcp:5]

📋 RECOMMENDED NEXT STEPS:
1. Use threat intelligence tools to analyze these IPs
2. Extract stream content for streams containing these IPs  
3. Focus investigation on: 192.168.1.100, 10.0.0.50

Stream Content Analysis

Content of tcp stream 0 (chars 0-15000 of 45230):
POST /api/upload HTTP/1.1
Host: suspicious-domain.com
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...

[TRUNCATED - More content available. Use offset=15000 to get the next chunk.]

🎯 Advanced Features

Smart Token Management

  • Intelligent Chunking: Automatic content segmentation prevents API limits
  • Pagination Support: Seamless navigation through large datasets
  • Size Estimation: Proactive content size assessment
  • Parallel Processing: Efficient batch operations

Threat Intelligence Integration

  • URLhaus Integration: Comprehensive malware URL database checking
  • Stream Correlation: Links threats to specific communication flows
  • IOC Extraction: Automated indicator discovery and validation
  • Proactive Scanning: Top communicator threat assessment

🛠️ Architecture

NetForensicMCP v2.1 implements an optimized investigation workflow:

  1. 📡 Reconnaissance Phase: Low-token traffic overview
  2. 🔍 Batch Scanning Phase: Parallel threat detection
  3. 🧠 Intelligence Phase: Deep threat correlation
  4. 📋 Planning Phase: Strategic analysis targeting
  5. 🎯 Payload Phase: Precision content extraction
  6. 📊 Reporting Phase: Comprehensive findings synthesis

🚀 Roadmap

  • 🔌 Extended IOC Sources: Integration with VirusTotal, AlienVault OTX
  • 🤖 ML-Powered Analysis: Behavioral pattern recognition
  • 📈 Timeline Visualization: Interactive attack reconstruction
  • 🔄 Enhanced Automation: Advanced workflow automation capabilities
  • 📱 Web Dashboard: Browser-based analysis interface

🤝 Contributing

We welcome contributions! Please see our contribution guidelines for details.

Areas for Contribution:

  • Threat Intelligence Sources: Additional IOC providers
  • Protocol Analyzers: New credential extraction methods
  • Performance Optimization: Large PCAP handling improvements
  • Documentation: Use cases and tutorials

📋 Documentation

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

📋 Changelog

See CHANGELOG.md for detailed version history and release notes.

Original Attribution

Based on the original WireMCP project by 0xkoda with significant enhancements for offline analysis and threat intelligence integration. We extend our gratitude to the original author for providing the foundational MCP framework and live capture capabilities that made this advanced forensics platform possible.

🙏 Acknowledgments

  • 0xkoda: Original WireMCP creator - thank you for the foundational live capture framework
  • Wireshark Team: For the excellent tshark packet analysis engine
  • Model Context Protocol Community: For the MCP framework and specifications
  • URLhaus (abuse.ch): For providing comprehensive threat intelligence data
  • Cybersecurity Community: For continuous feedback and improvement suggestions

⚡ Ready to revolutionize your network forensics? Get started with NetForensicMCP v2.1 today!

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for NetForensicMCP from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/netforensicmcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related auth security MCP Servers

Alternative and complementary servers in the same category

View all in auth security →

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Repository stats unavailable
Security & Secrets
Keycloak MCP Server
keycloak-mcp-server•sshaaf

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

Repository stats unavailable
Security & Secrets

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.

Repository stats unavailable
Security & Secrets