Skip to main content
Glama

Claude, C2 및 MCP를 활용한 AI 기반 레드팀

Claude, Model Context Protocol(MCP), C2(Command & Control) Mythic의 통합을 탐구하여 레드팀 운영을 위한 AI 기반 코파일럿을 구축하는 프로젝트입니다.

이 프로젝트의 목표는 Claude가 MCP를 통해 C2 기능과 상호작용하고, 진행 중인 운영의 맥락과 결과를 이해하며, 작전 중 수집된 정보를 바탕으로 맥락에 맞는 추천, 공격 경로, 다음 단계 조치를 제공할 수 있도록 하는 것입니다.

통합 다이어그램

alt text

Related MCP server: BloodyAD MCP

요구 사항

  1. uv

  2. python

  3. Claude Desktop

  4. Mythic C2(Docker로 서비스 실행)

  5. VMware의 Windows 피해자 머신

사전 준비 단계

  1. Mythic C2 서버를 설치하고 실행합니다. 공식 저장소를 사용하여 Docker에서 실행해야 합니다. 저장소 링크: Mythic Repository

  2. 에이전트(Apollo, Apfell, Poseidon)와 프로필(HTTP, WebSocket)을 설치합니다.

  3. 일부 페이로드를 사용하여 피해자 머신으로 보낼 페이로드를 생성합니다.

  4. 피해자 머신에서 페이로드를 실행하여 Mythic C2 서버에서 세션을 획득합니다.

Claude Desktop에서의 사용법

Claude Desktop에서 MCP 서버를 배포하려면 개발자 옵션을 사용해야 합니다. claude_desktop_config.json 파일을 편집하여 MCP 서버를 구성해야 합니다. 구성 형식은 다음과 같습니다:

{
    "mcpServers": {
        "mythic_mcp": {
            "command": "/snap/bin/uv",
            "args": [
                "--directory",
                "/path/to/mythic_mcp/",
                "run",
                "main.py",
                "mythic_admin",
                "mythic_admin_password",
                "localhost",
                "7443"
            ]
        }
    }
}

Mythic 배포 후 mythic_adminmythic_admin_password 자격 증명을 찾으려면 다음 명령을 사용할 수 있습니다:

sudo ./mythic-cli config get admin_user
sudo ./mythic-cli config get admin_password

사용 방법

C2에서 활성 세션을 확보하고 구성 파일을 Claude에 업로드한 후에는 any prompt를 사용할 수 있습니다. 그러나 C2, Claude, MCP 서버 간의 연결이 올바르게 작동하는지 확인하기 위해 먼저 몇 가지 검증 프롬프트를 실행하는 것이 좋습니다.

사용 가능한 세션 확인

How many sessions are currently available?

사용 가능한 명령 확인

Which commands are available?
Install Server
F
license - not found
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Active Directory enumeration and abuse operations through the bloodyAD tool. Supports LDAP queries, user/group management, DNS operations, and security testing directly from AI assistants.
    16
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Enables LLMs to perform Active Directory penetration testing using tools like NetExec, Bloodhound, Nmap, Certipy, and John the Ripper. Automates vulnerability discovery, attack path analysis, and documentation generation for security assessments.
    26
    6
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to autonomously execute over 200 open-source penetration testing tools via MCP, including reconnaissance, web exploitation, and brute-forcing, through a unified server architecture with Docker sandboxing for safe execution.
    51
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.

  • MEOK MCP Hardening MCP — automated security red-team for any MCP server. Maps OWASP LLM Top 10

  • Offline methodology engine for authorized penetration testing, CTF, and security research.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/johanrobbenites/MCP-IA-for-Offensive-Security'

If you have feedback or need assistance with the MCP directory API, please join our Discord server