Frida MCP

MIT License
2
  • Linux
  • Apple

Integrations

  • Enables execution of JavaScript code in real-time through an interactive REPL, allowing for function hooking, call interception, and script injection in target applications.

  • Offers platform-specific support for analyzing Linux applications, with configuration instructions for Claude Desktop integration on Linux systems.

  • Provides platform-specific support for analyzing macOS applications, with configuration instructions for Claude Desktop integration on macOS systems.

프리다 MCP

Frida 동적 계측 툴킷을 위한 모델 컨텍스트 프로토콜(MCP) 구현.

개요

이 패키지는 Frida용 MCP 호환 서버를 제공하여 AI 시스템이 Frida의 동적 계측 기능을 통해 모바일 및 데스크톱 애플리케이션과 상호 작용할 수 있도록 지원합니다. 공식 MCP Python SDK를 사용하여 AI 애플리케이션과의 원활한 통합을 지원합니다.

데모

https://github.com/user-attachments/assets/5dc0e8f5-5011-4cf2-be77-6a77ec960501

특징

  • 공식 MCP Python SDK로 구축됨
  • MCP를 통해 공개된 포괄적인 Frida 도구:
    • 프로세스 관리(목록, 첨부, 생성, 재개, 종료)
    • 장치 관리(USB, 원격 장치)
    • 실시간 실행이 가능한 대화형 JavaScript REPL
    • 진행 상황 추적을 통한 스크립트 주입
    • 프로세스 및 장치 모니터링
  • 모델에 Frida 데이터를 제공하기 위한 리소스
  • 가이드 Frida 분석 워크플로에 대한 프롬프트
  • 장기 실행 작업에 대한 진행 상황 추적
  • 모든 MCP 전송 방법에 대한 완벽한 지원

설치

필수 조건

  • 파이썬 3.8 이상
  • pip 패키지 관리자
  • Frida 16.0.0 이상

빠른 설치

지엑스피1

개발 설치

# Clone the repository git clone https://github.com/yourusername/frida-mcp.git cd frida-mcp # Install in development mode with extra tools pip install -e ".[dev]"

Claude 데스크톱 통합

Claude Desktop과 함께 Frida MCP를 사용하려면 Claude 구성 파일을 업데이트해야 합니다.

  1. Claude Desktop 구성 파일을 찾으세요.
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • 리눅스: ~/.config/Claude/claude_desktop_config.json
  2. 구성 파일에 다음을 추가하세요.
{ "mcpServers": { "frida": { "command": "frida-mcp" } } }

용법

설치가 완료되면 Claude Desktop에서 Frida MCP를 바로 사용할 수 있습니다. 이 서버는 다음과 같은 기능을 제공합니다.

프로세스 관리

  • 실행 중인 모든 프로세스 나열
  • 특정 프로세스에 연결
  • 새로운 프로세스 생성
  • 중단된 프로세스 재개
  • 프로세스 종료

장치 관리

  • 연결된 모든 장치(USB, 원격) 나열
  • 기기 정보 가져오기
  • 특정 장치에 연결

대화형 JavaScript REPL

  • 프로세스와 상호 작용 세션을 만듭니다.
  • 실시간으로 JavaScript 코드 실행
  • 프로세스 상태 및 메모리 모니터링
  • 후크 함수 및 인터셉트 호출
  • console.log 출력 캡처
  • 오류 및 예외를 우아하게 처리하세요

스크립트 주입

  • 사용자 정의 JavaScript 스크립트 삽입
  • 주입 진행 상황 추적
  • 스크립트 오류 및 예외 처리

자원

  • Frida 버전 정보 받기
  • 사람이 읽을 수 있는 형식으로 프로세스 목록에 액세스합니다.
  • 사람이 읽을 수 있는 형식으로 장치 목록에 액세스

개발

# Clone repository git clone https://github.com/yourusername/frida-mcp.git cd frida-mcp # Install development dependencies pip install -e ".[dev]"

특허

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

Frida의 동적 계측 기능을 통해 AI 시스템이 모바일 및 데스크톱 애플리케이션과 상호 작용할 수 있도록 하는 MCP 호환 서버로, 프로세스 관리, 장치 제어, JavaScript 실행 및 스크립트 삽입이 가능합니다.

  1. Overview
    1. Demo
      1. Features
        1. Installation
          1. Prerequisites
          2. Quick Install
          3. Development Install
        2. Claude Desktop Integration
          1. Usage
            1. Process Management
            2. Device Management
            3. Interactive JavaScript REPL
            4. Script Injection
            5. Resources
          2. Development
            1. License
              ID: ie7s1zkmge