Token导航 LogoToken导航TokenDH.com
IVR MCP logo
安全风控stdio官方级别未说明来源级核验

IVR MCP

MCP Server

一个基于AI的交互式语音应答(IVR)系统渗透测试框架,用于自主发现、映射和测试IVR系统的安全漏洞。

工具数

5

提示词数

0

GitHub Stars

0

资源数

0
渗透测试安全PythonCursorCursorVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

gglessner

提供方

gglessner

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install -r MCPs/asterisk-mcp/requirements.txt

详细介绍

IVR-MCP

基于模型上下文协议(MCP)的交互式语音应答(IVR)系统的人工智能渗透测试框架。AI代理协调5台MCP服务器,自主发现、映射和测试IVR系统的安全漏洞,包括CallerID/ANI/P-Asserted-Identity欺骗、DTMF注入、身份验证绕过和语音生物识别攻击。

核心方法是 迭代探测 --人工智能呼叫目标,记录呼叫,挂断电话,下载录音,用时间戳转录,分析提示和计时,然后用从转录中计时的DTMF输入再次呼叫。每次呼叫都会深入IVR树的一层。

版本

1.3.0

作者

加兰德·格莱斯纳gglessner@gmail.com

许可证

GNU通用公共许可证v3.0--请参阅 许可证

运作原理

┌─────────────────────────────────────────────────────────────────┐
│                    ITERATIVE IVR PROBING                        │
│                                                                 │
│  Probe 1: Call → Record → Hang up → Download → Transcribe       │
│           "Welcome. Press 1 for English..." [0.0s-4.5s]         │
│                                                                 │
│  Probe 2: Call → Record → DTMF 1 at 5.5s → Hang up → Transcr.   │
│           "For billing press 1, support press 2..." [5.8s-11s]  │
│                                                                 │
│  Probe 3: Call → Record → DTMF 1 at 5.5s → DTMF 2 at 12s → …    │
│           Third-level menu discovered...                        │
│                                                                 │
│  Each probe builds on the timestamps from the previous one.     │
└─────────────────────────────────────────────────────────────────┘

建筑

                    AI Agent (Cursor / MCP Client)
                   /     |        |        \        \
          Asterisk-MCP  ElevenLabs Deepgram Audio  VoiceFuzz
              |          -MCP       -MCP    -MCP    -MCP
              |           |          |       |        |
          Asterisk PBX  ElevenLabs Deepgram ffmpeg  ffmpeg
              |          API        API    /pydub   /pydub
          SIP Trunk                /
              \                   /
               Target IVR System
                      |
          data/ <-- engagement logs + artifacts

MCP服务器

所有MCP服务器都位于 MCPs/ 目录。

电话控制

服务器描述
小行星MCP通过ARI/AMI实现完全PBX控制——呼叫发起、DTMF、MixMonitor记录、CallerID/ANI/PAI欺骗、音频播放、通过SFTP进行文件传输

语音和音频

服务器描述
ElevenLabs MCP语音合成——用于社会工程音频、语音克隆、会话人工智能代理的TTS
音频MCP音频处理——格式转换(ulaw/wav/mp3)、静音检测、分割、级联、DTMF音调生成
VoiceFuzz MCP声纹生物特征模糊——分形音频分块,在保持可理解性的同时击败录音检测。基于 gglessner/SoxFuzz

转录

服务器描述
Deepgram MCP初级STT——Nova-3模型、说话者日记化、话语时间戳

IVR最重要的方法

阶段描述主要MCP
1.侦察迭代探测——呼叫、记录、转录、映射整个IVR树,一次一层Asterisk、Deepgram
2.输入验证Fuzz DTMF输入——溢出、无效字符、快速射击、超时操作星号、Deepgram
3.身份验证强制PIN、测试锁定策略、定时分析、默认凭据Asterisk、Deepgram
4.ANI/PAI欺骗四呼叫头隔离测试——CallerID/P-Asserted-Identity认证旁路星号
5.呼叫流程传输操作、代理绕过、DoSAsterisk
6.信息披露提取敏感数据,探测详细错误,查找隐藏菜单星号,Deepgram
7.社会工程学语音合成以测试代理验证,语音生物识别旁路ElevenLabs、VoiceFuzz、Asterisk

先决条件

  • Python 3.10+
  • FFmpeg 关于PATH(适用于音频MCP和VoiceFuzz MCP)
  • 授权书 适用于所有测试目标
  • 启用ARI/AMI和SIP中继的Asterisk PBX(v18+)
  • ElevenLabs API密钥(用于语音合成)
  • Deepcram API密钥(用于转录)

快速开始

1.克隆并安装

git clone https://github.com/gglessner/IVR-MCP.git
cd IVR-MCP

# Install all MCP servers
pip install -r MCPs/asterisk-mcp/requirements.txt
pip install -r MCPs/deepgram-mcp/requirements.txt
pip install -r MCPs/elevenlabs-mcp/requirements.txt
pip install -r MCPs/audio-mcp/requirements.txt
pip install -r MCPs/voicefuzz-mcp/requirements.txt

2.配置API密钥

光标 --编辑 .cursor/mcp.json 直接使用您的API密钥和凭据。

VS Code --无需手动编辑。 .vscode/mcp.json 用途 ${input:...} 变量——VS Code将在首次启动时提示您输入每个秘密。

两者都需要凭据:

  • ARI_USERNAME / ARI_PASSWORD --Asterisk ARI证书
  • AMI_USERNAME / AMI_PASSWORD --Asterisk AMI凭据
  • SSH_HOST / SSH_USER / SSH_KEY --SSH访问Asterisk服务器
  • DEEPGRAM_API_KEY -Deegram API密钥
  • ELEVENLABS_API_KEY -ElevenLabs API密钥

3.在IDE中打开

打开 IVR-MCP 目录作为您的项目。两个IDE都是预先配置的:

光标:

  • .cursor/mcp.json --自动注册所有5台MCP服务器
  • .cursor/skills/ivr-pentest/SKILL.md --从加载完整技能的存根 skills/

VS代码(副本):

  • .vscode/mcp.json --使用安全输入提示自动注册所有5台MCP服务器
  • skills/ivr-pentest/ --Copilot代理可以访问的全技能文档

无需手动启动服务器。这两个IDE都按需启动MCP服务器。看 文档/MCP_SETUP.md 用于高级配置。

入门指南——示例提示

配置后,只需告诉AI该做什么。以下是提示:

设置和连接

Connect to Asterisk and verify the connection is working.
List available ElevenLabs voices.

启动IVR互动

Start a new IVR pentest engagement against +18005551234. Use +14155551234 as my ANI.
Don't brute force anything, just map out what is available.
Read skills/ivr-pentest/SKILL.md and begin an IVR mapping engagement
for the target at +18005551234. Spoof my caller ID as +14155551234.

侦察与测绘

Make 3 baseline calls to the target and transcribe each one.
Explore DTMF option 2 from the main menu.
Work your way through all menu items 1 through 9 and map the full IVR tree.

认证测试

Here are the test credentials — ANI: +14155551234, last 4 SSN: 1234, PIN: 5678.
Log in and map the authenticated menu.
Test the ANI spoofing bypass — does the IVR trust CallerID for authentication?

语音和音频

Generate audio using the "Rachel" voice saying "I need to verify my account"
and save it to the engagement artifacts.
Take the baseline recording and fuzz it with VoiceFuzz fractal mode at 3 stages.
Then transcribe the fuzzed version to verify it's still intelligible.

分析和报告

Create an analysis of the current engagement.
Update the engagement log and analysis with your latest findings.

高级

Test the account takeover chain — can someone change the PIN, change the address,
and order a new card in a single call without re-authenticating?
Run a CallerID/PAI isolation test — make 4 calls with different header combinations
to determine which header the IVR trusts for identity.

项目结构

IVR-MCP/
├── .cursor/
│   ├── mcp.json                       # MCP server config (Cursor)
│   └── skills/ivr-pentest/
│       └── SKILL.md                   # Stub → loads full skill from skills/
├── .vscode/
│   └── mcp.json                       # MCP server config (VS Code) with secure input prompts
├── skills/
│   └── ivr-pentest/                   # Shared skill files (both IDEs)
│       ├── SKILL.md                   # Core skill index, engagement workflow
│       ├── asterisk-mcp.md            # Asterisk tools, iterative probing, ANI/PAI spoofing
│       ├── elevenlabs-mcp.md          # Voice synthesis tools
│       ├── audio-voicefuzz.md         # Audio processing + VoiceFuzz biometric fuzzing
│       ├── methodology.md            # Testing phases 1-7
│       └── vulnerabilities.md         # Vuln classification (IVR-001 to IVR-025), test cases
├── MCPs/
│   ├── asterisk-mcp/                  # Asterisk MCP server (ARI + AMI)
│   ├── elevenlabs-mcp/                # ElevenLabs voice synthesis MCP server
│   ├── deepgram-mcp/                  # Deepgram STT MCP server
│   ├── audio-mcp/                     # Audio processing MCP (pydub/ffmpeg)
│   └── voicefuzz-mcp/                 # Voiceprint biometric fuzzing MCP
├── data/                              # Engagement data (gitignored)
│   └── YYYYMMDD_HHMMSS_target/        #   Per-engagement directory
│       ├── log.md                     #     Timestamped engagement log
│       └── artifacts/                 #     Recordings, TTS audio, fuzzed audio
├── LICENSE                            # GNU GPL v3.0
└── README.md

技能参考

AI技能文档存在于 skills/ivr-pentest/ (在两个IDE中共享),并拆分为重点文件:

文件内容
SKILL.md索引、核心迭代探测工作流程、MCP服务器摘要
asterisk-mcp.mdAsterisk工具、迭代探测示例、CallerID/ANI/PAI欺骗深入研究
elevenlabs-mcp.md语音合成工具、模型、社会工程集成
audio-voicefuzz.md音频处理、格式转换、VoiceFuzz生物识别模糊
methodology.md使用迭代探测工作流程和攻击向量测试第1-7阶段
vulnerabilities.md漏洞分类(IVR-001至IVR-025)、测试用例模板、法律要求

游标通过存根自动加载这些文件 .cursor/skills/ivr-pentest/SKILL.md.VS Code Copilot代理可以参考 skills/ 直接目录。

法律声明

所有IVR渗透测试必须在系统所有者的明确书面授权下进行。 未经授权测试IVR系统是非法的,可能违反联邦电信法,包括《计算机欺诈和滥用法案》(CFAA)和窃听法规。根据《呼叫者身份真实法案》,呼叫者ID欺骗被允许用于授权的安全测试,但如果是为了欺诈而进行的,则是非法的。

目录标签

目录标签

渗透测试安全PythonCursor本地部署IVR系统AI安全语音识别安全漏洞

支持客户端

CursorVS Code

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

5

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP