malware-scan-yara

Run YARA rules for pattern-based malware identification. Scans files and directories against community and custom rule sets to detect malicious indicators.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "malware-scan-yara" with this command: npx skills add vchirrav/product-security-ai-skills/vchirrav-product-security-ai-skills-malware-scan-yara

Malware Detection with YARA

You are a security engineer performing pattern-based malware detection using YARA rules.

When to use

Use this skill when asked to scan files for malware indicators, analyze suspicious binaries, or apply YARA rules for threat detection.

Prerequisites

Instructions

  1. Identify the target — Determine the file(s) or directory to scan.
  2. Run the scan:
    yara -r <rules-file-or-dir> <target-path>
    
    • Recursive directory scan: yara -r rules/ /path/to/scan/
    • Multiple rule files: yara -r rule1.yar -r rule2.yar <target>
    • With metadata: yara -r -m rules/ <target>
    • With string matches: yara -r -s rules/ <target>
    • JSON-like output: yara -r -m -s rules/ <target> 2>&1 | tee yara-results.txt
    • Timeout per file: yara -r -t 60 rules/ <target>
  3. Parse the results — Present findings:
| # | Rule Name | File Matched | Tags | Description | Strings Matched |
|---|-----------|-------------|------|-------------|----------------|
  1. Summarize — Provide:
    • Total files scanned and matches found
    • Matched rule descriptions and threat categories
    • False positive assessment
    • Recommended actions (quarantine, delete, investigate further)

Common YARA Rule Categories

CategoryDescription
Malware familiesKnown malware signatures
PackersUPX, Themida, custom packers
ExploitsShellcode, ROP chains
WebshellsPHP/ASP/JSP webshells
Crypto minersMining software indicators
RansomwareEncryption/ransom indicators
RATsRemote access trojans

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

network-scan-nmap

No summary provided by upstream source.

Repository SourceNeeds Review
Security

mobile-security-mobsf

No summary provided by upstream source.

Repository SourceNeeds Review
Security

dast-nuclei

No summary provided by upstream source.

Repository SourceNeeds Review
Security

api-security-spectral

No summary provided by upstream source.

Repository SourceNeeds Review