본문으로 건너뛰기
Skillpedia
커넥터 (MCP)6.5k · #14016

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/decepticon/kali-mcp-bridge/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#14016
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬