mal — malware
chela — "crab hand"
A chela on a crab is the scientific term for a claw or pincer. It's a specialized appendage, typically found on the first pair of legs, used for grasping, defense, and manipulating things — just like these programs.
| Program | Function |
|---|---|
| Analyze | Auto-triages a file, folder, or .app bundle: classifies with File Miner, dispatches every tool it suggests, and produces a combined MalChela Summary rollup report |
| Combine YARA | Combines all .yara/.yar files in a directory into a single rule file |
| Extract Samples | Recursively extracts password-protected malware archives (ZIP/RAR) using common passwords |
| File Analyzer | Analyzes a file for hashes, entropy, PE structure, fuzzy hashes, YARA matches, NSRL lookup, and VirusTotal status |
| File Miner | Scans a folder for file type mismatches and metadata |
| Hash It | Generates MD5, SHA1, and SHA256 hashes for a single file |
| Hash Check | Checks if a given hash exists in a provided hash set file |
| Threat Intel Query | Multi-source hash, URL, and IP lookup. Hash sources: VirusTotal, MalwareBazaar, OTX, MetaDefender, Hybrid Analysis, Triage, FileScan.IO, Malshare, ObjectiveSee. URL sources: VirusTotal, Google Safe Browsing, plus urlscan.io and ScanMalware (opt-in). IP sources: VirusTotal, OTX, GreyNoise. Downloads samples from MalwareBazaar or Triage. GUI adds file-to-hash and QR code decode → URL lookup. |
| mStrings | Extracts strings from a file — including Mach-O binaries and .app bundles — applies regex and Sigma rules, maps to MITRE ATT&CK, identifies filesystem/network IOCs, and includes built-in MITRE Technique lookup |
| mzhash | Recursively hashes files with MZ headers using MD5 — ideal for gold build or known-bad corpus generation |
| mzcount | Recursively counts files by format (MZ, ZIP, PDF, etc.) using header/YARA detection |
| nsrlquery | Queries an MD5 hash against the NSRL database to determine if it's known-good |
| strings_to_yara | Prompts for metadata and a string list to generate a YARA rule |
| Unpack | Detects packers, protectors, installers, and bundlers in PE/ELF/Mach-O and statically recovers the payload — UPX (including tampered headers), PyInstaller, .NET/Costura resources, NSIS, Inno Setup, fat Mach-O, overlays, and embedded executables — recursing into each layer. Never executes the sample |
| xmzhash | Recursively hashes files that are not MZ, ZIP, or PDF — ideal for non-Windows malware corpus |
| YARA Scan | Scans a file or folder with YARA rules on the embedded YARA-X engine. Flags and output follow VirusTotal's yr scan |
Mac Analysis (v4.2+)
| Program | Function |
|---|---|
| Code Sign Check | Inspects macOS code signing: Developer-signed vs. ad-hoc vs. unsigned, Team ID, Bundle ID, entitlements, and get-task-allow flag |
| dpp Extract | Unwraps a .dmg or .pkg (UDIF → HFS+/APFS → XAR → PBZX/CPIO) to reach the real payload files inside |
| Mach-O Info | Parses Mach-O binaries: architecture, linked libraries, section entropy, symbol status, RPATH entries, and deprecated crypto library detection |
| mStrings | Extracts strings, IOCs, and MITRE ATT&CK matches from Mach-O binaries and .app bundles |
| Plist Analyzer | Parses .plist files and .app bundle Info.plist for malware indicators: hidden background agent, ATS disabled, custom URL schemes, env injection |
Code Sign Check, Mach-O Info, mStrings, and Plist Analyzer auto-resolve a .app bundle's main executable (via CFBundleExecutable, falling back to the sole binary in Contents/MacOS/) — point them at the bundle directly. Run those four together against a bundle or binary with ./mac_stack.sh. More Mac-specific detections are planned for upcoming releases.
Threat Intel Query supports optional API keys for VirusTotal, MalwareBazaar, OTX, and additional sources. Sources without configured keys are skipped automatically. Keyless sources that send lookups to a third party (urlscan.io, ScanMalware) stay off until you opt in. See Keyless sources.
MalChela's YARA engine is YARA-X, compiled in as a Rust crate, so there is no system YARA library to install or point the build at. Compression and other format support is pure Rust as well; the build only needs a C compiler for the TLS library.
Linux
sudo apt install build-essential pkg-config
Mac
xcode-select --install
Windows
The Visual Studio C++ build tools (rustup offers to install them) and Python 3 for the web interface. See Windows (native).
Third-party integrations (TShark, Volatility 3, the YARA-X CLI, and others in tools.yaml) are optional and installed separately.
Install Rust — https://rustup.rs/
For CLI only installations (WSL, Raspberry Pi, etc.):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Clone the repository and build:
git clone https://github.com/dwmetz/MalChela.git
cd MalChela
chmod +x release.sh
./release.sh # Builds all programs in release mode (recommended)
On Windows (native, PowerShell or cmd), use release.ps1 or release.cmd instead. See Windows.
If you cloned MalChela before 17-Apr-2026, you may see a diverging branches error when pulling. Run git fetch origin && git reset --hard origin/main to resync. This was a one-time history rewrite to remove a large file.
On first run, execute the setup script after building the binaries:
cd server
./setup_server.sh
Then start the server:
./start_server.sh
On Windows, run server\start_server.cmd (or .\server\start_server.ps1 in PowerShell). Setup is optional: the server finds the MalChela folder on its own.
The PWA will be accessible from any browser on the local network.
./target/release/malchela
The CLI is retained for scripting and automation use cases.
ℹ️ It is recommended to build and run MalChela in --release mode to ensure GUI and subtools function optimally.
⚠️ Important: MalChela binaries must be invoked from the project root directory. Always usecd /path/to/MalChela && ./target/release/<binary>rather than calling the binary directly from another path. This is required for correct resolution of API key files (vt-api.txt,mb-api.txt), YARA rules, and Sigma rules — all of which are resolved relative to the project root. API keys are read exclusively from these files; environment variables are not supported.
MalChela includes a full-featured case system:
- Cases no longer require starting with a file or folder — any tool result can be saved to a case
- Create a new case from within a running tool session
- Output saved under saved_output/cases//
- Integrated tagging, search, and status (open/closed)
- Seamless case loading and archiving
Point Analyze at a file, folder, or .app bundle and it classifies everything with File Miner, then automatically dispatches every tool File Miner suggests for each file it finds — no need to read the suggestions and run each tool by hand.
- Available in both the PWA and as an
analyzetool in the MCP server, so AI agents can run the same triage workflow directly. - Save to Case is opt-in, matching every other tool panel's checkbox-and-dropdown pattern.
- Concise Output (on by default) renders the rollup inline instead of the full expanded per-tool output.
- Every run produces a
malchela_summary_<timestamp>.mdrollup report, saved alongside the individual tool reports it summarizes. It follows the evidence sections of Lenny Zeltser's Malware Analysis Report template: a Sample Snapshot (threat intel families, VirusTotal verdicts, platform, packing), a Component Inventory of every recovered payload, Capabilities (ATT&CK techniques with the rules behind them), tiered Indicators of Compromise, every tool's full output per file, and the analysis environment.
MalChela exposes its full tool suite — including Analyze and the Mac Analysis stack — to AI agents like Claude through the Model Context Protocol (MCP).
See .claude-plugin/mcp/README.md for setup: installing via the Claude Code plugin marketplace, running on a remote Kali/Raspberry Pi host, and API key configuration. For agentic coding environments (OpenCode and similar), MalChela ships AGENTS.md, describing available tools and usage patterns for autonomous discovery.
For a detailed walkthrough of AI-assisted analysis approaches, see the blog post: MalChela Meets AI: Three Paths to Smarter Malware Analysis
You can extend MalChela by editing the tools.yaml file to add third-party or custom tools to the GUI. This flexible configuration supports binaries, Python scripts, and Rust-based programs.
Each entry defines the tool's name, category, execution type, how input is passed (file, folder, or hash), and any optional arguments. Here are a few sample entries:
- name: capa
description: "Detects capabilities in binaries via rules"
command: ["capa"]
input_type: "file"
category: "File Analysis"
exec_type: binary
file_position: "last"
optional_args: []
- name: strings
description: "Extracts printable strings from binaries"
command: ["strings"]
input_type: "file"
category: "Utilities"
exec_type: binary
file_position: "first"
optional_args: []
- name: pdf-parser
description: "Parses and analyzes suspicious PDF structures"
command: ["python3"]
input_type: "file"
category: "PDF Analysis"
exec_type: script
file_position: "last"
optional_args: ["tools/pdf-parser/pdf-parser.py"]When run on a REMnux system, MalChela can load a REMnux-specific tools.yaml file tailored for the built-in tools available in that distro. This ensures smoother setup with minimal configuration required.
📝 Notes:
- Tools must be in your system
PATHor include a full/relative path. exec_typemust be one of:cargo,binary, orscript.file_positionindicates where the input is placed in the command (firstorlast).- See the MalChela User Guide for detailed configuration examples and workflows.
MalChela includes improved integration with the following third-party tools:
- Volatility 3: Dynamic plugin builder, argument templating, and output directory selection.
- TShark: Visual reference panel and support for capturing filtered traffic with custom syntax.
- YARA-X: Smart rule matching with improved argument handling and REMnux-compatible default configuration.
These enhancements make working with memory images, PCAPs, and YARA rules more streamlined for forensic workflows.
Successfully tested on macOS (Apple Silicon), Ubuntu, Raspberry Pi, and Windows 11.
No system YARA install is required: as of v4.4, every tool uses the embedded YARA-X engine.
Windows: As of v4.5, MalChela builds and runs natively on Windows, CLI and web interface, with no WSL required. See Windows (native). WSL2 still works if you prefer a Linux environment.


