yara-sigs
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "yara-sigs" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0f71a9da37b63e8ea116f50d3f50e54da861f2f70ad445f36a596ca50af8d7b1. Verify the upstream source and version against https://github.com/dariushoule/x64dbg-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Scan memory-dump snapshots with YARA rules to detect packers, encrypted constants, malware, and similar artifacts.
Introduction source: third_party · dariushoule · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Scan a state snapshot's memory dumps with YARA signatures to detect packers, crypto constants, malware, and more
- Software, accounts and paid services
- Run `pip show yara-python` via Bash. If not installed, tell the user to run `pip install yara-python` and stop. Run `git --version` via Bash. If not installed, tell the user to install Git and stop.
- Testing
- Not tested
Browse files
Frontmatter
name: yara-sigs
description: Scan a state snapshot's memory dumps with YARA signatures to detect packers, crypto constants, malware, and more
allowed-tools: mcp__x64dbg__get_debugger_status, mcp__x64dbg__pause, mcp__x64dbg__disconnect, mcp__x64dbg__connect_to_session, Bash, Read, AskUserQuestion, Skillyara-sigs
Scan debuggee memory (via a state snapshot) against a large YARA signature database to identify packers, crypto constants, anti-debug tricks, malware families, and more.
Instructions
Follow these steps exactly:
1. Check prerequisites
Run pip show yara-python via Bash. If not installed, tell the user to run pip install yara-python and stop.
Run git --version via Bash. If not installed, tell the user to install Git and stop.
2. Ensure the YARA signature database is available
Check if the directory ${CLAUDE_PLUGIN_ROOT}\yarasigs exists (use dir). If it does not exist, clone it:
git clone --recurse-submodules https://github.com/x64dbg/yarasigs "${CLAUDE_PLUGIN_ROOT}\yarasigs"
If the directory exists but looks incomplete (missing Yara-Rules or citizenlab subdirectories), update submodules:
git -C "${CLAUDE_PLUGIN_ROOT}\yarasigs" submodule update --init --recursive
3. Determine what to scan for
The YARA database contains many rule categories. If the user specified what they want to scan for in their invocation, use that. Otherwise, ask the user what they want to scan for using AskUserQuestion with these options:
- Packers & compilers — Detect packers (UPX, Themida, etc.) and compiler signatures
- Crypto constants — Find cryptographic algorithm constants (AES S-boxes, RSA, MD5, etc.)
- Anti-debug / anti-VM — Detect anti-debugging and anti-virtualization techniques
- All signatures — Scan with every available rule (slower, more noise)
Map the selection to rule category paths:
| Selection | Rule paths (relative to yarasigs/) |
|---|---|
| Packers & compilers | packer.yara, packer_compiler_signatures.yara, Yara-Rules/packers/ |
| Crypto constants | crypto_signatures.yara, Yara-Rules/crypto/ |
| Anti-debug / anti-VM | Yara-Rules/antidebug_antivm/ |
| All signatures | All .yar and .yara files recursively |
4. Obtain a snapshot to scan
Check if a recent snapshot exists in ${CLAUDE_PLUGIN_ROOT}\snapshots (use dir).
- If snapshots exist, ask the user whether to use an existing snapshot or take a fresh one.
- If no snapshots exist, tell the user you need to take a snapshot first.
To take a fresh snapshot, invoke the state-snapshot skill via Skill("state-snapshot"). After it completes, note the snapshot directory path.
5. Run the YARA scan
Execute the scan script:
python "${CLAUDE_PLUGIN_ROOT}\skills\yara-sigs\yara_scan.py" --snapshot-dir <snapshot_path> --yarasigs-dir "${CLAUDE_PLUGIN_ROOT}\yarasigs" --categories <category> [--module-filter <module_name>]
Where <category> is one of: packers, crypto, antidebug, or all.
Module filtering: If the user asks to focus on a specific module (e.g. the main executable), pass --module-filter <name> where <name> is a substring of the module name as shown in the memory map (e.g. secret_encryptor). This merges all of the module's sections into a single buffer before scanning, which is critical for YARA rules whose patterns span multiple PE sections (e.g. MD5 init constants in .text + T-table in .rdata). Always prefer using --module-filter when scanning a specific module rather than relying on per-region scanning.
The script writes results to <snapshot_path>/yara_results.json and prints a summary to stdout.
6. Report results
Read <snapshot_path>/yara_results.json if it exists and the stdout summary is not sufficient.
Present findings organized by:
- Match summary — How many rules matched across how many memory regions
- Matches by rule — Each matched rule name, its description/metadata, and which memory regions it hit (with base addresses and region info from
memory_map.json) - Notable findings — Call out anything especially interesting (known packers, specific crypto algorithms, anti-debug patterns)
If no matches were found, tell the user and suggest trying a broader category (e.g., "all").
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供专业级恶意软件分析和加壳检测能力
- 面向逆向工程和安全分析人员的明确高价值场景
Highlights
- description 清晰准确描述核心功能
- 触发边界定义明确,不易与其他技能混淆
Areas to improve
-
缺少显式 When to Use 章节 Reported severity: Minor
文档结构优秀但缺少显式的 When to Use 章节标题
Recommendation: 建议在 Instructions 前添加 When to Use 章节以增强可读性
Highlights
- Phase 划分清晰,步骤完整
- 包含详细的参数说明和最佳实践指导
- frontmatter 完整且规范
Areas to improve
-
跨平台兼容性考虑不足 Reported severity: Minor
文档中使用 Windows 路径分隔符 (\),可能影响 Linux/macOS 用户使用
Recommendation: 建议使用正斜杠 (/) 或说明跨平台路径处理方式
Highlights
- 依赖检查和错误处理机制完善
- 提供模块过滤的最佳实践指导
- 不可逆操作有用户确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 17
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Run `pip show yara-python` via Bash. If not installed, tell the user to run `pip install yara-python` and stop. Run `git --version` via Bash. If not installed, tell the user to install Git and stop.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.