Developed and demonstrated an AI-assisted malware reverse engineering workflow integrating Ghidra, Ghidra MCP, FLARE-VM, and LM Studio with a locally hosted Qwen 3.5 9B language model.
The objective was to investigate how a local AI model can assist security analysts in examining malicious executables, understanding disassembled code, interpreting Windows API functions, and accelerating static malware analysis.
For the practical demonstration, I examined a WannaCry malware sample in an isolated forensic laboratory.
Technical Implementation
1. Reverse Engineering Environment
Configured Ghidra and its Model Context Protocol (MCP) integration inside a Windows FLARE-VM environment, allowing a local language model to request reverse engineering information through authorized analysis tools.
2. Local AI Integration
Connected Ghidra MCP to LM Studio running Qwen 3.5 9B. This enabled AI-assisted examination of functions, imported APIs, strings, and decompiled code while keeping the analysis workflow under analyst control.
3. Malware Examination
Performed static examination of a WannaCry executable, including:
Cryptographic hash calculation for sample identification.
Windows Portable Executable (PE) structure inspection.
Entry-point identification and function enumeration.
Analysis of imported Windows API functions.
Examination of disassembled and decompiled code.
Interpretation of suspicious functionality and potential malware capabilities.
4. AI-Assisted Analysis and Validation
Evaluated the language model's ability to explain reverse engineering findings and distinguish observable evidence from assumptions.
Particular attention was given to ensuring that imported API functions were not incorrectly treated as proof of malicious execution or specific attack behaviors.
Project Outcome
Established and demonstrated a working AI-assisted static malware analysis workflow using Ghidra MCP and a local LLM.
The project illustrates how AI can support malware analysts by making complex reverse engineering information easier to investigate while maintaining the importance of manual verification, evidence-based conclusions, and controlled laboratory practices.
Technologies: Ghidra, Ghidra MCP, FLARE-VM, LM Studio, Qwen 3.5 9B, VirtualBox.
The malware was examined through static analysis in a controlled laboratory and was not executed as part of the demonstrated workflow.
0 likes · 0 views · Nov 22, 2026
Designed and demonstrated an AI-assisted malware reverse engineering workflow using Ghidra MCP, FLARE-VM, and a locally hosted Qwen model