Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
mcp-attack-detection-sentinel — Sentinel detection lab for MCP attack chains: CVE-2026-26118 SSRF token theft, tool poisoning, cross-server exfiltration, identity post-exploitation. Maps to OWASP Agentic Top 10. 5 analytics rules, 7 hunting queries, workbook. Companion to nineliveszerotrust.com. | Kitploit
工具/GitHubGitHub/j-dahl7/mcp-attack-detection-sentinel
Cloud SecurityThreat IntelligenceIntrusion DetectionPapers & ResearchLearning & EducationAI SecurityLog AnalysisLabs & Practice

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
GitHub
j-dahl7/mcp-attack-detection-sentinel

mcp-attack-detection-sentinel

Sentinel detection lab for MCP attack chains: CVE-2026-26118 SSRF token theft, tool poisoning, cross-server exfiltration, identity post-exploitation. Maps to OWASP Agentic Top 10. 5 analytics rules, 7 hunting queries, workbook. Companion to nineliveszerotrust.com.

查看仓库
2124天前尚未审核
内容在请求的语言中不可用。显示英文版本。

MCP Attack Detection — Sentinel Research Lab

Sentinel detection research for MCP (Model Context Protocol) attack patterns: unusual identity access after an MCP-related event, tool-definition mutation, cross-resource access, and possible post-exploitation behavior. The rules map to the OWASP Top 10 for Agentic Applications (2026).

Publication status: this repository does not currently have a published Nine Lives companion article and is intentionally not listed in the website's Labs catalog. It remains a standalone research fixture.

The CVE-2026-26118 rule is a behavior-based heuristic informed by the Azure MCP Server SSRF disclosure. It does not prove that the CVE was exploited or that a token was stolen. Microsoft describes the issue as SSRF that can let an authorized network attacker elevate privilege; affected package ranges and the vendor advisory are recorded by NIST NVD.

What Gets Deployed

ResourceTypeOWASP Agentic
LAB - MCP SSRF-Informed Identity Access Anomaly (CVE-2026-26118)Behavioral analytics rule (High)ASI03
LAB - MCP Tool Definition Mutation (Rug Pull Detection)Analytics Rule (High)ASI01, ASI04
LAB - MCP Cross-Server Data Exfiltration PatternAnalytics Rule (Medium)ASI02, ASI03
LAB - Anomalous MCP Tool Invocation SpikeAnalytics Rule (Medium)ASI02
LAB - MCP Identity Post-Exploitation ChainAnalytics Rule (High)ASI03
MCP Attack Detection — Security PostureWorkbookAll
7 hunting queriesKQL (manual)ASI01–ASI07

MITRE ATT&CK Coverage

Quick Start

root@kitploit:~
# Review the exact plan. This performs no mutations.
./scripts/Deploy-Lab.ps1 `
    -ResourceGroup "rg-sentinel-lab" `
    -WorkspaceName "law-sentinel-lab" `
    -WhatIf

# Deploy analytics rules (disabled), hunting queries, and workbook.
./scripts/Deploy-Lab.ps1 `
    -ResourceGroup "rg-sentinel-lab" `
    -WorkspaceName "law-sentinel-lab"

# After reviewing the queries, opt in to enabling the rules.
./scripts/Deploy-Lab.ps1 `
    -ResourceGroup "rg-sentinel-lab" `
    -WorkspaceName "law-sentinel-lab" `
    -EnableRules

# Validate the exact manifest-owned deployment.
./scripts/Test-MCPDetections.ps1 `
    -ResourceGroup "rg-sentinel-lab" `
    -WorkspaceName "law-sentinel-lab"

Prerequisites

  • Azure subscription with Microsoft Sentinel enabled
  • Entra ID diagnostic settings: AuditLogs, ServicePrincipalSignInLogs, ManagedIdentitySignInLogs
  • Azure Activity Log connector enabled in Sentinel
  • PowerShell 7.0+ with Azure CLI
  • Roles sufficient to manage Sentinel analytics rules, Log Analytics saved searches, and workbooks in the target resource group. Use the narrowest tenant-specific role assignments that satisfy those operations.

Safety and ownership model

  • All rule and workbook IDs are deterministic and scoped to the exact workspace.
  • Deployment writes an owner-only .mcp-attack-detection-state.json manifest before the first cloud mutation.
  • Existing resources are preflighted before any write. The script refuses same-ID resources without the expected provenance and never adopts them without its manifest.
  • Analytics rules are deployed disabled unless -EnableRules is explicitly supplied.
  • -WhatIf performs the same reads and collision checks with zero writes.
  • Cleanup uses only exact IDs from the manifest, validates provenance again, and never searches by display-name prefix, category, or substring.
  • Deployments made with an older version of this repository are not automatically adopted or deleted. Inventory those resources manually before using this version.

Data Sources

TablePurpose
AADManagedIdentitySignInLogsResearch unusual MCP-named managed-identity access patterns
AADServicePrincipalSignInLogsMonitor MCP service principal authentication patterns
AzureActivityTrack MCP resource operations, deployments, configuration changes

Cleanup

root@kitploit:~
./scripts/Deploy-Lab.ps1 `
    -ResourceGroup "rg-sentinel-lab" `
    -WorkspaceName "law-sentinel-lab" `
    -Destroy

Run the same command with -WhatIf first to preview the exact deletions. Cleanup fails closed if the manifest is absent, points to another subscription/workspace, or any resource no longer carries this lab's provenance.

Evidence boundary

These queries are research starting points. They rely on naming heuristics and on tenant-specific Entra and Azure Activity schemas. Validate table availability, field names, baselines, allowlists, query cost, and false-positive behavior in a non-production workspace before enabling them. They provide suspicious-behavior evidence, not exploit attribution.

References

  • CVE-2026-26118 — Microsoft vendor advisory
  • CVE-2026-26118 — NIST NVD record and affected versions
  • OWASP Top 10 for Agentic Applications 2026

License

MIT

下载工具
TechniqueIDRule / Query
Valid Accounts: CloudT1078.004Identity Access Anomaly, Post-Exploitation Chain
Adversary-in-the-MiddleT1557Context for Inter-Agent Communications hunt; the query itself detects conditional-access gaps, not interception
Supply Chain CompromiseT1195.002Tool Definition Mutation, Supply Chain
Data from Cloud StorageT1530Cross-Server Exfiltration
Unsecured CredentialsT1552Cross-Server Exfiltration, Post-Exploitation
Cloud APIT1059.009Invocation Spike, Code Execution
Serverless ExecutionT1648Code Execution
Stored Data ManipulationT1565.001Memory & Context Poisoning