Wpegpt Analyzer logo

Wpegpt Analyzer

Community
WPeace-HcH
wpegpt-analyzer

驱动 IDA 配合 WPeGPT 插件对二进制可执行文件(PE/ELF)进行自动化逆向分析,输出包含程序用途、网络 IoC、可疑函数及漏洞评估的结构化报告。

Overview

PublisherWPeace-HcH
RepositoryWPeGPT-Analyzer
Skill namewpegpt-analyzer
Stars
109
Forks
19
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by WPeace-HcH on GitHub. Read the source before you install it.

Installation

Install the Wpegpt Analyzer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/WPeace-HcH/WPeGPT-Analyzer/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/WPeace-HcH/WPeGPT-Analyzer.git \
  .claude/skills/wpegpt-analyzer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Wpegpt Analyzer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Wpegpt Analyzer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Wpegpt Analyzer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

wpegpt-analyzer

驱动 IDA 配合 WPeGPT AI 插件,对二进制可执行文件进行自动化逆向分析。支持 PE 和 ELF 格式,提供三种分析模式:light(轻量分析)、full(深度分析)、vuln(漏洞评估)。

何时使用

当用户要求以下操作时使用此技能:

  • 分析二进制可执行文件(.exe、.dll、.elf 等)
  • 了解一个程序的功能和用途
  • 进行逆向工程或恶意软件分析
  • 从二进制文件中提取网络 IoC(入侵指标)
  • 检查二进制文件是否存在漏洞或安全问题

何时不使用

  • 静态文件查看(使用通用文件读取工具即可)
  • 非二进制可执行文件分析

分析模式

模式触发关键词适用场景
light(默认)分析、看一下、了解用途、有什么功能、逆向、analyze轻量分析:程序用途、网络地址、可疑函数(约 2-5 分钟)
full深度分析、全面分析、详细分析、deep analysis全量分析:所有函数的完整功能分析(约 10-30 分钟)
vuln漏洞、漏洞分析、找漏洞、安全检查、安全审计、vuln、exp漏洞评估:高危函数、漏洞类型、风险等级(约 5-20 分钟)

根据用户请求的语义自动选择模式。用户仅说"分析一下"或普通描述时,默认使用 light 模式。

操作步骤

1. 检查配置

读取 ./config/config.ini。如果文件不存在或 ida_dir 为空,询问用户 IDA 的安装路径,然后创建该文件:

ini
[paths]
ida_dir=<用户提供>
python_path=<可选,Python 已在系统 PATH 中时可留空>

在继续之前验证以下依赖:

  • <ida_dir>\ida.exe 必须存在
  • <ida_dir>\plugins\WPeGPT.py 必须存在
  • <ida_dir>\plugins\WPeGPT_Config\config.py 必须存在
  • <ida_dir>\plugins\WPeGPT_Config\wpe_ai_controller.py 必须存在
  • Python 可用(已在 ./config/config.ini 配置 python_path 路径或在系统 PATH 中)

任一依赖缺失时,停止分析并报告缺失项。

2. 确认文件路径

确认用户指定的待分析二进制文件存在。如果不存在,询问用户正确路径。

3. 执行分析

运行 PowerShell 分析脚本:

bash
powershell -NoProfile -File "./scripts/wpegpt_analyze.ps1" -BinaryPath "<binary_path>" -Mode "<mode>"

模式可选:light(默认)、full、vuln。

重要: 始终使用 powershell -NoProfile -File 调用 .ps1 脚本。不要使用 cmd.exe /c 调用 .bat 脚本,在该环境下输出会被截断。

脚本将自动完成以下步骤:

  1. 解析配置文件并验证所有依赖
  2. 检测 32 位或 64 位架构(PE 头 Machine Type 或 ELF class)
  3. 选择对应的 IDA 可执行文件(ida.exe 或 ida64.exe)
  4. 以无头模式(-A)启动 IDA,WPeGPT 插件自动加载
  5. 轮询等待 WPeServer TCP 端口文件就绪
  6. 运行 wpe_ai_controller.py 通过 TCP 驱动分析
  7. 分析完成后自动退出

4. 输出结果

报告保存在二进制文件同级目录下:<binary_dir>/<文件名>_WPeAI_Results/

读取生成的 Markdown 报告,向用户总结:

  • 程序用途:AI 综合判定的程序分类和行为特征
  • 网络 IoC:IP、域名、URL、端口(如有网络行为)
  • 可疑函数:数量及关键信息
  • 完整报告路径:.md 和 .json 报告的位置

vuln 模式下,重点突出发现的漏洞类型、风险等级和潜在利用点。

配置

./config/config.ini:

ini
[paths]
; IDA 安装目录(必填)
ida_dir=
; Python 可执行文件路径(可选,Python 已在 PATH 中时可留空)
python_path=

IDA 进行分析时使用的 AI 模型和 API 密钥在 <ida_dir>\plugins\WPeGPT_Config\config.py 中配置(不在本技能管理范围内)。

文件结构

wpegpt-analyzer/
├── SKILL.md                  # 本文件
├── config/
│   └── config.ini            # 技能配置文件
└── scripts/
    ├── wpegpt_analyze.ps1    # PowerShell 启动脚本(推荐)
    └── wpegpt_analyze.bat    # Batch 启动脚本(备用,仅本地终端使用)

外部依赖(位于 IDA 安装目录的 plugins 子目录):

<ida_dir>/plugins/
├── WPeGPT.py                 # IDA 插件(含 WPeServer TCP 服务)
└── WPeGPT_Config/
    ├── config.py             # WPeGPT 使用的 AI 模型 / API 配置文件
    └── wpe_ai_controller.py  # 外部 AI 控制器(驱动 IDA 进行自动化分析)

注意事项

  • 非交互模式:分析流程全自动运行,所有配置必须提前写入 config.ini。首次运行时由本技能的"步骤 1"负责交互式创建配置文件。
  • 无头模式:IDA 以最小化方式启动(-A 标志)。WPeGPT 插件自动启动 WPeServer,控制器通过 TCP 与其通信。
  • 耗时参考:light 模式约 2-5 分钟,full/vuln 模式约 5-30 分钟(取决于二进制文件大小)。
  • API 密钥:AI 分析依赖 WPeGPT_Config/config.py 中配置的有效 API 凭证。
  • 环境清理:每次运行前自动清理 %TEMP% 下的旧端口文件。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Wpegpt Analyzer AI skill do?

驱动 IDA 配合 WPeGPT 插件对二进制可执行文件(PE/ELF)进行自动化逆向分析,输出包含程序用途、网络 IoC、可疑函数及漏洞评估的结构化报告。

Why use Wpegpt Analyzer on TypingMind?

Because you install it once and use it with any model. Wpegpt Analyzer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Wpegpt Analyzer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/WPeace-HcH/WPeGPT-Analyzer/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Wpegpt Analyzer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Wpegpt Analyzer?

As many as you like. As long as a model supports skills, you can use Wpegpt Analyzer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Wpegpt Analyzer AI skill free?

It is published on GitHub by WPeace-HcH. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇