kali-mcp-bridge
하는 일
이 스킬은 AI 에이전트가 통제된 방식으로 Kali Linux 테스트 도구를 실행할 수 있게 하는 브리지를 설정하고 사용하는 방법을 설명합니다. 허가를 받은 시스템에서만 작업하는 보안 테스터를 위한 스킬입니다.
사용하는 경우
- ✓허가된 작업에서 AI 에이전트가 구조화된 인터페이스로 Kali 도구를 실행해야 할 때.
- ✓테스터의 컴퓨터와 Kali 서버 사이에 안전한 터널을 설정해야 할 때.
- ✓Kali의 도구 출력이 AI에 보여지고, 안전한 처리 규칙이 필요한 경우.
스킬 링크
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/decepticon/kali-mcp-bridge/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“허가된 테스트를 위해 우리 AI 어시스턴트를 안전한 터널로 Kali 서버에 연결하는 것을 도와주시겠어요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 Kali 컴퓨터에 서버를 설정하고, 암호화된 터널로 연결한 뒤, 구조화된 결과를 돌려주는 표준 인터페이스로 도구 호출을 전달합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Kali MCP Bridge — Operator Playbook
Drive Kali Linux tools (nmap, gobuster, sqlmap, metasploit, hydra, john, nikto, enum4linux, raw commands) through a FastMCP bridge during authorized engagements. This skill covers server deployment, SSH tunnel hardening, tool-call interface, and the critical prompt-injection hygiene rules required when Kali output re-enters the AI context.
AUTHORIZED USE ONLY. This skill is for use exclusively on systems you own or have explicit written authorization to test. Unauthorized use is illegal.
1. Architecture
┌──────────────┐ MCP stdio ┌─────────────────┐ HTTP/REST ┌──────────────────┐
│ Decepticon │ ◄────────────► │ client.py (MCP) │ ◄────────────► │ server.py (Kali) │
│ (AI agent) │ │ on attacker host│ │ Flask API :5000 │
└──────────────┘ └─────────────────┘ └──────────────────┘
- server.py: Flask API on Kali, wraps each tool, exposes
/api/tools/<tool>and/api/command. - client.py: FastMCP server that registers tools and relays calls to server.py via HTTP.
- AI agent: Calls MCP tools; receives structured JSON output.
2. Deployment
2a. Kali server (on engagement jump box / VM)
# OS package (Kali 2024.1+)
sudo apt install mcp-kali-server
kali-server-mcp --ip 127.0.0.1 --port 5000 # localhost only — NEVER bind 0.0.0.0
# OR bleeding edge
git clone https://github.com/Wh0am123/MCP-Kali-Server.git
cd MCP-Kali-Server
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
./server.py --ip 127.0.0.1 --port 5000 --debug
Verify health:
curl -s http://127.0.0.1:5000/health | python3 -m json.tool
# Expected: {"status": "healthy", "all_essential_tools_available": true, "tools_status": {...}}
2b. SSH tunnel (when client and server are on different machines)
Always route through SSH — never expose server.py directly on a routable interface.
# On attacker/orchestrator host — forward local :5000 to Kali :5000
ssh -N -L 5000:localhost:5000 <user>@<KALI_IP>
# Keep tunnel alive for long engagements
ssh -N -o ServerAliveInterval=60 -o ServerAliveCountMax=3 \
-L 5000:localhost:5000 <user>@<KALI_IP>
2c. MCP client registration (Claude Desktop / Decepticon)
claude_desktop_config.json or equivalent:
{
"mcpServers": {
"kali": {
"command": "python3",
"args": ["/abs/path/to/client.py", "--server", "http://127.0.0.1:5000"],
"timeout": 300
}
}
}
3. Tool Call Reference
All tools return {"success": bool, "output": str, ...}. Check success before using output.
3.1 nmap_scan
target: str # IP, hostname, CIDR
scan_type: str # "-sV" (default), "-sS", "-sU", "-sC", "-A"
ports: str # "22,80,443" or "1-1024" (empty = default)
additional_args: str # "-T2 -oX /tmp/scan.xml"
3.2 gobuster_scan
url: str # "http://target.local"
mode: str # "dir" (default), "dns", "vhost", "fuzz"
wordlist: str # "/usr/share/wordlists/dirb/common.txt"
additional_args: str # "-x php,html -o /tmp/gobuster.txt"
3.3 dirb_scan
url: str
wordlist: str
additional_args: str # "-r -z 100" (-z = ms delay between requests)
3.4 nikto_scan
target: str # URL or IP
additional_args: str # "-Tuning 1234" (1=files, 2=misconfigs, 3=info, 4=inject)
3.5 sqlmap_scan
url: str # "http://target/page?id=1"
data: str # POST body: "user=foo&pass=bar" (empty for GET)
additional_args: str # "--level=3 --risk=2 --batch --dbs"
3.6 metasploit_run
module: str # "auxiliary/scanner/portscan/tcp"
options: dict # {"RHOSTS": "10.0.0.1", "PORTS": "22,80"}
Common module patterns:
# SMB version detection
module: "auxiliary/scanner/smb/smb_version"
options: {"RHOSTS": "<target>", "THREADS": "4"}
# EternalBlue check (scan only — do NOT exploit without explicit RoE auth)
module: "auxiliary/scanner/smb/smb_ms17_010"
options: {"RHOSTS": "<target>"}
3.7 hydra_attack
target: str # IP or hostname
service: str # "ssh", "ftp", "http-post-form", "smb"
username: str # single user (mutually exclusive with username_file)
username_file: str # path to userlist
password: str # single pass
password_file: str # "/usr/share/wordlists/rockyou.txt"
additional_args: str # "-t 4 -V" (
자주 묻는 질문
어떤 시스템에서나 쓸 수 있나요?
아닙니다. 스킬은 자신이 소유했거나 서면 허가를 받은 시스템에서만 쓰도록 되어 있습니다.
왜 터널 설정이 중요한가요?
Kali 서버를 localhost에 묶어 두고, 보호된 터널을 통해서만 접근하게 해야 한다고 스킬은 강조합니다.
프롬프트 인젝션 위생이란 무엇인가요?
스캔 결과 안의 텍스트가 AI를 조종하지 못하도록 도구 출력을 다루는 규칙입니다.
상세 정보
작성자의 원본 설명
Deploy and drive Kali Linux tools via MCP-Kali-Server — structured tool-call interface, SSH tunnel setup, prompt-injection hygiene for AI-assisted engagements.
인기도
- GitHub 스타
- 6.5k
- 순위
- #14016
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
detector-overview
6.5k에이전트가 스캐너가 표시한 코드를 읽고, 표시된 곳 중 어디가 실제 보안 버그이고 어디가 오탐인지 판단하도록 돕습니다.
exploiter-overview
6.5k에이전트가 확인된 여러 보안 약점을 하나의 테스트 체인으로 묶고, 그 체인이 어디까지 닿을 수 있는지 확인하도록 돕습니다.
llm-redteam-overview
6.5k에이전트가 프롬프트 인젝션부터 모델 악용까지 15개 전술 그룹 중 테스트에 맞는 AI 레드팀 가이드를 찾도록 돕습니다.
aatmf-t01-prompt-injection
6.5k숨겨진 지시가 AI 시스템을 덮어쓰려 하는 프롬프트 인젝션을 설명해, 보안 테스터가 이를 점검할 수 있게 합니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.