MCP cover image
See in Github
2025-04-04

保护MCP服务器,用于分析使用Oletools的Excel文件

1

Github Watches

0

Github Forks

0

Github Stars

OLETools Secure MCP Server

This project provides a secure microservice using FastMCP to analyze Microsoft Office documents (Excel, Word, PowerPoint) and related file types (like XLL add-ins) for potential malicious content using static analysis techniques. It leverages external tools like oletools, XLMMacroDeobfuscator, and pefile.

Features

  • Analyzes VBA Macros (olevba)
  • Detects XLM Macros (XLMMacroDeobfuscator, olevba)
  • Checks for DDE Links (msodde)
  • Extracts embedded OLE Objects (oleobj)
  • Analyzes XLL file exports for suspicious functions (pefile)
  • Extracts IOCs (URLs, IPs, Hashes, Emails) using iocextract
  • Provides basic MIME type and file size validation (python-magic)
  • Uses a configurable scoring system for basic risk classification
  • Designed for integration with systems supporting the MCP protocol (like compatible versions of Claude Desktop).

Prerequisites

  • Python 3.6+
  • OLETools: Install via pip install oletools
  • XLMMacroDeobfuscator: Install via pip install XLMMacroDeobfuscator
  • python-magic: Install via pip install python-magic-bin (Windows)
  • iocextract (optional): Install via pip install iocextract for advanced IOC extraction
  • Claude Desktop application

Installation

  1. Clone the Repository:
    git clone https://github.com/pradeep895/oletools-mcp-server.git
    cd oletools-mcp-server
    
  2. Install Dependencies:
pip install -r requirements.txt
  1. Download the "Claude Desktop" application go to the Developer settings and Edit the "claude_desktop_config.json" file and paste content in the configuration.json file.Restart the application.
  2. Run the config file:
python config.py
  1. Run the server:
python mcp_service.py
  1. Go to "Claude Desktop" application and check for the "hammer symbol" it appeared means MCP tools are available.
  2. type "analyze_vba_macros in <filepath\example.xlsm>" this will help you to analyze the excel file statically and gave you the findings.
analyze_vba_macros file_path:"C:\path\to\your\example.xlsm"

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • open-webui
  • 用户友好的AI接口(支持Ollama,OpenAi API,...)

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • metorial
  • 数百个MCP服务器的容器化版本📡📡

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

    Reviews

    4 (1)
    Avatar
    user_KtUtdwV3
    2025-04-17

    The oletools-mcp-server by pradeep895 is a fantastic tool for anyone dealing with OLE files. Its seamless integration and efficient functionality make it a must-have in the toolkit. The user-friendly interface and comprehensive documentation available on the GitHub link make it accessible even for beginners. Highly recommended for all developers and analysts!