剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 防护思路 threat-hunting-mcp-server - …
防护思路
作者:admin 发布:2026-10-06

threat-hunting-mcp-server - A minimal, modular MCP server that equips your AI

项目说明Threat Hunting MCP ServerA next-generation Model Context Protocol (MCP) server that hunts for behaviors, not indicators. Built on the philosophy t…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
211浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-06
人工审核发布
评论区答疑

项目说明

Threat Hunting MCP Server

A next-generation Model Context Protocol (MCP) server that hunts for behaviors, not indicators. Built on the philosophy that effecti hunting focuses on ad Tactics, Techniques, and Procedures (TTPs) at the top of the Pyramid of Pain—the behaviors that are hardest for attackers to change.

Philosophy: Hunt Behaviors, Not Indicators

This MCP server is designed around a core principle from the Pyramid of Pain:

Why beha hunting?

  • Hash → Ad change in seconds

  • IP addresses → Ad change in minutes

  • Domain names → Ad change in hours

  • Network/Host artifacts → Ad change in days

  • Tools → Ad change in weeks

  • TTPs (Behaviors) → Ad change in months/years ✅ Hunt for these!
  • When you hunt for *how* ad beha than *what* specific indicators they use, you create durable detections that survi rotation and force ad to fundamentally change their operations.

    Features

    Beha Hunting Focus


  • TTP-First Approach: All hunts prioritize beha patterns o indicators

  • MITRE ATT&CK Integration: Deep integration with technique-le analytics

  • Behavior Pattern Library: Pre-built detection logic for common ad behaviors

  • Anti-E Design: Hunt for behaviors that persist across tool/infrastructure changes
  • Core Hunting Frameworks


  • PEAK Methodology: Prepare, Execute, Act with Knowledge - state-of-the-art framework

  • SQRRL Framework: Hunting Maturity Model (HMM0-HMM4) progression

  • TaHiTI Framework ⭐ NEW: Targeted Hunting integrating Threat Intelligence (3 phases, 6 steps)

  • Intelligence-Driven: Hypothesis-dri using beha threat intelligence
  • Ad Cogniti ⭐ NEW


  • Bias Awareness Checks: Heuristic prompts for confirmation, anchoring, and a biases (rule-based, not ML — intended as analyst checklists, not automated judgment)

  • Competing Hypotheses Generator: Generates benign / insider / external / supply-chain alternatives so ACH (Analysis of Competing Hypotheses) is forced before commitment

  • Pyramid-of-Pain-weighted Confidence: TTP-le anchors the score; lower-pyramid indicators (hashes, IPs) only add supplemental context and cannot dilute it

  • Hunt Stopping Criteria: Co / diminishing-returns / time / confidence thresholds to prevent tunnel

  • In Question Generator: Standard skeptical prompts ("what would disprove this?", "what's missing?") to ensure thorough analysis
  • Graph-Based Threat Detection ⭐ NEW


  • Attack Path Analysis: Identifies critical paths from initial compromise to crown jewels (domain controllers, databases, admin accounts)

  • Li Detection: Beha detection of LOLBin abuse relationships and command-line patterns

  • Pi Identification: Brandes betweenness centrality () over the attack graph; falls back to BFS shortest-path scoring if NetworkX is una

  • Pro Tracking: Data lineage and ancestry chains for forensic context

  • Lateral-Mo & Credential-Access Edge Tagging: SMB/RDP/WinRM connections and lsass-targeted process access are tagged at graph-build time so MITRE TTP extraction (T1021, T1003) works on real path tra
  • Deception Technology Integration ⭐ NEW


  • Honeytoken Generation: Fake AWS keys, passwords, SSH keys, API tokens with embedded callback markers

  • Strategic Placement Helpers: Suggested locations — browser history, .en, config files, memory dumps

  • Decoy System Templates: Configurable fake servers, workstations, databases

  • Canary File Generation: Executi, credentials, source code with embedded beacons

  • Trigger-Based Detection: Designed for high-signal, low-noise alerting — actual signal-to-noise ratio depends on telemetry wiring in your en
  • Community Knowledge Base ⭐ NEW


  • HEARTH Integration: Access 50+ community-curated threat hunting hypotheses

  • Hypothesis-Dri (Flames): Real-world attack scenarios from practitioners

  • Baseline Hunts (Embers): En baselining and exploratory analysis

  • Model-Assisted Hunts (Alchemy): ML and algorithmic detection approaches

  • AI-Powered Recommendations: Personalized hunt suggestions for your en

  • Tactic Co Analysis: Identify gaps across MITRE ATT&CK tactics

  • Incident-Based Suggestions: Get relevant hunts based on incident descriptions
  • Traditional Capabilities


  • Natural Language Processing: Convert beha hunt requests into executable queries (requires spacy — gracefully disabled if absent)

  • Atlassian Integration: Confluence and Jira for knowledge management (optional)

  • Splunk Integration: TTP-focused hunting queries via the Splunk SDK; connection is lazy (ser even if Splunk is unreachable) and the entire integration is gated so the module imports without splunk-sdk/numpy/pandas/sklearn installed

  • MITRE ATT&CK Framework: Technique and sub-technique mapping with beha hunt queries (Sysmon EID 10 for T1003, beha cmd.exe/PowerShell discovery for T1083, etc.)

  • Security Controls: JWT auth, encryption, audit logging, rate limiting

  • Caching & Performance: Redis-based caching (optional)
  • Beha Hunting Examples

    What We Hunt For (Top of Pyramid)

    ✅ Good: Beha Patterns (TTPs)

  • Process injection techniques (T1055.*) - behavior persists across tools

  • LSASS memory access patterns - fundamental credential theft behavior

  • Lateral mo services - core post-compromise behavior

  • Li binaries (LOLBins) - detection-e behavior

  • Parent-child process anomalies - execution pattern behaviors

  • Kerberoasting patterns - Acti attack behaviors
  • ❌ Avoid: Atomic Indicators (Easy to Change)

  • Specific malware hashes - trivial to modify

  • Known-bad IP addresses - ad rotate rapidly

  • C2 domain names - disposable infrastructure

  • Specific file paths - easily changed
  • Beha Hunt Examples

    Example 1: Credential Access Behavior

    Example 2: Lateral Mo Behavior

    Example 3: Defense E Behavior

    Getting Started with Beha Hunting

    New to beha hunting? Start with these resources:

    1. Quick Reference Card - One-page beha hunting cheat sheet
    2. Beha Hunting Guide - Complete guide to hunting behaviors
    3. PEAK Hunt Example - Complete example hunt report using PEAK Framework
    4. HEARTH Community Hunts - 50+ real-world beha hunt hypotheses
    5. PEAK Template - Official PEAK Framework template from THOR Collective

    Quick Beha Hunt Examples

    Try these natural language queries focused on behaviors:

    Notice: These focus on ad behaviors that persist across tool/infrastructure changes, not specific IOCs that change hourly.

    ---

    Architecture

    Core Components

    1. Hunt Frameworks
    - PEAK/SQRRL (src/frameworks/hunt_framework.py)
    - PEAK methodology implementation
    - SQRRL framework components
    - Intelligence-dri approach
    - TaHiTI (src/frameworks/tahiti.py) ⭐ NEW
    - 3-phase methodology (Initialize, Hunt, Finalize)
    - 6-step process with continuous threat intelligence integration
    - Hunt backlog management and prioritization
    - Automated handover to security processes

    2. Cogniti (src/cogniti.py) ⭐ NEW
    - Heuristic checks for confirmation, anchoring, and a biases (rule-based; not an LLM judge)
    - Competing hypotheses generator — synthesizes benign / insider / external / supply-chain alternatives for ACH
    - Pyramid-of-Pain-anchored confidence scoring (high-pyramid e dominates; low-pyramid e cannot dilute)
    - Hunt stopping criteria (co, diminishing returns, time, confidence)
    - In question generator

    3. Graph Correlation Engine (src/correlation/graph_engine.py) ⭐ NEW
    - Attack graph construction with role promotion (hosts → domain_controller / database, users → admin_account) so high-value targets are actually identifiable
    - Li (LOLBin) detection anomalies, suspicious command lines, and chained execution
    - Attack path identification with configurable high-value target types
    - Pi detection betweenness centrality (NetworkX); BFS shortest-path fallback when NetworkX is missing
    - Pro tracking and ancestry analysis
    - Lateral-mo / credential-access edge tagging based on ports, services, and lsass-targeted ProcessAccess

    4. Deception Manager (src/deception/honeytokens.py) ⭐ NEW
    - Honeytoken generation and deployment
    - Decoy system management
    - Canary file deployment
    - High-confidence threat detection
    - Deception trigger monitoring and response

    5. Integrations
    - Atlassian (src/integrations/atlassian.py): Confluence/Jira integration (optional)
    - Splunk (src/integrations/splunk.py): Query execution and optional ML analysis (Isolation Forest, DBSCAN, time-series anomaly). Connection is lazy and the entire integration imports cleanly without splunk-sdk / numpy / pandas / sklearn — features are gated and self-report una when deps are missing.

    6. Intelligence Engine
    - MITRE ATT&CK (src/intelligence/threat_intel.py)
    - MITRE ATT&CK framework
    - Pyramid of Pain implementation
    - Diamond Model analysis
    - Cyber Kill Chain mapping
    - HEARTH Integration (src/intelligence/hearth_integration.py) ⭐ NEW
    - Community hunt repository access
    - Hunt search and recommendation engine
    - Tactic co analysis
    - Incident-based hunt suggestions
    - 50+ curated threat hunting hypotheses
    - THOR Collective (src/intelligence/thor_collective.py)
    - Community threat hunting knowledge
    - THRF (Threat Hunting Relevancy Factors)
    - Thrunting philosophy integration

    7. NLP Processing (src/nlp/hunt_nlp.py)
    - Natural language query processing
    - Intent classification
    - Entity extraction
    - Query generation
    - Integration with cogniti

    8. Security Manager (src/security/security_manager.py)
    - JWT authentication
    - Data encryption
    - Audit logging
    - Rate limiting

    Quick Start (HEARTH Integration Only)

    The fastest way to get started with community hunt knowledge:

    1. Clone repositories:

    2. Install dependencies:

    3. Configure en (minimal setup):

    4. Connect to Claude Code:

    Add to your Claude Code settings (.claude/config.json or settings UI):

    5. Start using it:

    Open Claude Code and try natural language queries:
    - "Show me HEARTH hunts for credential access"
    - "Recommend threat hunts for my Windows AD en"
    - "What's the tactic co in HEARTH?"

    Production Deployment

    For production deployment features including health monitoring, testing, optimization, and structured logging, see PRODUCTION.md.

    Production Features:

  • 🏥 Health monitoring with get_ser() MCP tool

  • 🛡️ Input and security (Pydantic models)

  • ⚡ Token optimization (40-50% reduction)

  • ✅ Automated testing (63 tests, 100% pass rate — covers , HEARTH integration, ser, splunk query content, graph correlation, and pyramid-of-pain weighting)

  • 📊 Structured JSON logging to stderr

  • 🔄 Graceful degradation for optional features (Splunk SDK, NumPy/Pandas/scikit-learn, NetworkX, spaCy, Redis are all gated — ser and degrades cleanly when any are absent)
  • Full Installation

    For complete functionality including Splunk, Atlassian, and ML features:

    1. Clone the repository:

    2. Install base dependencies:

    3. Install optional components as needed (all are gated — the server runs without them and reports una via get_ser()):

    4. Configure en:

    > Python : tested on 3.11–3.13. The optional ML stack pins are kept out of the default requirements.txt so a fresh install on Python 3.13 doesn't fail on transient compatibility issues — uncomment those lines in requirements.txt (or install manually as above) when you need them.

    Configuration

    Copy .en to .env and configure required integrations: Atlassian (URL, username, API token) • Splunk (host, port, auth token) • Security (JWT secret, encryption key) • Redis (connection details, optional).

    See PRODUCTION.md for detailed configuration examples, security hardening, and deployment best practices.

    Usage

    Starting the Server

    Key MCP Tools

    Core Hunting Tools:

  • hunt_threats(query, framework) - Natural language threat hunting interface

  • get_ser() - Ser and feature a

  • analyze_ad(ad) - Threat actor analysis (e.g., G0016 for APT29)
  • HEARTH Community Tools:

  • search_community_hunts(tactic, tags, keyword) - Search 50+ community hunt hypotheses

  • recommend_hunts(tactics, keywords, en) - AI-powered hunt recommendations

  • suggest_hunts_for_incident(description) - Incident-driven hunt suggestions
  • PEAK Framework Tools:

  • create_beha(technique_id, hypothesis, ...) - Create PEAK hunt reports

  • suggest_beha(ioc, ioc_type) - Pivot IOCs to beha hunts

  • list_peak_hunts() - List created hunt reports
  • 20+ additional tools a - see full API documentation for complete tool reference with examples.

    Example: Search Community Hunts

    Example: Create Beha Hunt

    Hunting Methodologies

    TaHiTI Framework ⭐ NEW

    De by the Dutch Payments Association, TaHiTI (Targeted Hunting integrating Threat Intelligence) provides a standardized methodology combining threat intelligence with hunting practices. The framework features three phases: Initialize (trigger and abstract), Hunt (hypothesis and in), and Finalize ( and handover). Built on intelligence-dri with continuous enrichment, risk-based prioritization, and collaborati sharing.

    PEAK Framework

    Simple, practical framework with three phases: Prepare (research and hypotheses), Execute (analyze and in), Act with Knowledge (document and detect). Supports three hunt types: Hypothesis-Driven, Baseline, and Model-Assisted (M-ATH).

    SQRRL Framework

    Features a Hunting Maturity Model (HMM0-HMM4), Hunt Loop (Hypothesis → In → Patterns → Analytics), and Hunt Matrix mapping acti to maturity levels.

    See FRAMEWORKS.md for detailed framework documentation, examples, and implementation guidance.

    HEARTH Community Integration ⭐ NEW

    Integrates with HEARTH (Hunting Exchange and Research Threat Hub), an open-source repository of 50+ professionally-curated threat hunting hypotheses. HEARTH uses PEAK framework categories: 🔥 Flames (hypothesis-driven), 🪵 Embers (baseline), 🔮 Alchemy (model-assisted).

    Key Features: Search by tactic/technique/tags • AI-powered hunt recommendations • Tactic co analysis • Incident-driven hunt suggestions • Real-time community updates

    Quick Example:

    Resources: Li • GitHub Repo • Submit Hunts

    Security

    Enterprise-grade security features including JWT authentication, AES encryption, comprehensi logging, and rate limiting. See SECURITY.md for complete security documentation, hardening guidelines, and responsible disclosure policy.

    Key Features: JWT auth • AES encryption • Audit logging • Rate limiting • Input • SIEM integration

    Contributing

    Contributions are welcome! See CONTRIBUTING.md for de guidelines, project structure, and how to add new features.

    License

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

    Responsible Use

    This is a defensi tool designed for:

  • Threat hunting and detection

  • Security monitoring and analysis

  • Incident response and in

  • Security research and education
  • By using this software, you agree to use it only for lawful and authorized security purposes. Always obtain proper authorization before conducting security acti in any en.

    Support

    For support and questions:

  • Create GitHub issues for bugs

  • Check documentation first

  • Follow security disclosure policy

  • Provide detailed reproduction steps
  • ---

    Note: This is a defensi tool designed for threat hunting and detection. Use responsibly and in accordance with your organization's security policies.

    项目信息

    开发语言:Python

    Star 数:20

    技术要点

    该项目属于防护思路方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕A minimal, modular MCP server that equips your AI with practical capabilities for real-world threat hunting workflows.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题threat-hunting-mcp-server - A minimal, modular MCP server that equips your AI
    所属分类防护思路
    发布作者admin
    发布时间2026-10-06 00:10:35
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数211
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册