dtour-stack/detour/yara-authoring
Claude Code and agent skill by dtour-stack/detour
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Write and test YARA rules for malware detection and threat hunting. Use when creating YARA signatures, detecting malware families, scanning files or memory for indicators of compromise, or building detection rules for threat intelligence.
Install
npx vskill@latest install dtour-stack/detour/yara-authoringSKILL.md
The same SKILL.md was published earlier as dtour-stack/detour/yara-authoring.
YARA Rule Authoring
When to Use
- Writing YARA rules to detect malware samples or families
- Creating detection signatures for indicators of compromise (IOCs)
- Scanning files or directories for known threat patterns
- Building threat hunting rules from intelligence reports
- Classifying unknown samples based on behavioral or structural patterns
When NOT to Use
- Dynamic malware analysis (use sandbox environments)
- Network traffic analysis (use Suricata/Snort rules)
- Static analysis of source code (use Semgrep/CodeQL)
Rule Template
String Types
| Type | Syntax | Use Case | |
|---|---|---|---|
| Text | "string" | ASCII strings | |
| Hex | { AA BB CC } | Byte patterns, shellcode | |
| Regex | /pattern/ | Flexible text matching |
Modifiers
ascii/wide— encodingnocase— case insensitivefullword— word boundary matchingxor— XOR-encoded stringsbase64— base64-encoded strings
Condition Operators
Scanning
Best Practices
- Always include
metawith author, description, date, and reference - Use
filesizeand magic byte checks to limit scope - Prefer multiple weak indicators over one strong indicator
- Test against known samples AND clean files for false positives
- Use
privaterules for helper conditions - Avoid overly broad regex patterns that cause performance issues
- Version control your rules and track detection rates
Resources
- YARA Documentation — https://yara.readthedocs.io/
- YARA Rules Repository — https://github.com/Yara-Rules/rules
- VirusTotal YARA — https://docs.virustotal.com/docs/yara
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingeliza/packages/skills/skills/yara-authoring/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dtour-stack/detour/yara-authoring)