Skip to content

Add sample hash list and scan results against yara-rules-full.yar#1

Open
wessorh wants to merge 4 commits into
VirusTotal:mainfrom
wessorh:main
Open

Add sample hash list and scan results against yara-rules-full.yar#1
wessorh wants to merge 4 commits into
VirusTotal:mainfrom
wessorh:main

Conversation

@wessorh

@wessorh wessorh commented Jun 17, 2026

Copy link
Copy Markdown

Summary

Results from scanning 1,107 malware samples (yara-g/samples) against yara-rules-full.yar (11,679 rules).

Files added

  • sample_hashes.txt — list of 1,107 sample file hashes (one per line)
  • file_match_counts.txt — per-file match counts from yr scan --count
  • rule_match_counts.txt — per-rule match counts: 986 unique rules matched

Key results

  • 832 files matched (75%), 275 unmatched
  • 2,255 total matches across all files
  • Top rule: GODMODERULES_IDDQD_God_Mode_Rule (104 matches)
  • 571 rules matched only a single file

Tooling

Scan performed with yara-x (VirusTotal/yara-x) at commit tracking main.

- sample_hashes.txt: 1,107 file hashes from yara-g/samples
- file_match_counts.txt: per-file match counts (832 files matched, 275 unmatched)
- rule_match_counts.txt: per-rule match counts (986 unique rules matched out of 11,679)
- Total: 2,255 matches across 1,107 samples
@google-cla

google-cla Bot commented Jun 17, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

wessorh added 3 commits June 17, 2026 13:42
- holloman3-rules.yar: 1,090 holloman clusterid rules (157 KB)
  Generated from 1,107 yara-g/samples via holloman-mcp server
  17 files skipped (below 1,024 byte minimum for order 5)
  854 unique clusterids — 236 files share fingerprints with peers

- holloman3_file_match_counts.txt: per-file scan results
  1,090 files matched (98.5%), 17 unmatched
  833 files have unique fingerprints (1:1)
  257 files in content-identical clusters (2-202 matches each)

- holloman3_coverage_stats.txt: detailed coverage analysis
  Comparison with traditional yara-rules-full.yar (11,679 rules)
  Engine scaling notes (O(1) fingerprinting vs O(n) string matching)
- Removed 236 duplicate rules (same clusterid, different filename)
- Single import "holloman" at top (was 1,091 duplicate imports)
- 854 unique rules, 110 KB (was 1,090 rules, 157 KB)
- Sorted by clusterid for deterministic output
- 854 unique rules, 1:1 fingerprint-to-rule mapping
- 1,090 files matched (98.5%), 17 unmatched, 0 multi-match
- Rule file: 110 KB vs 18.4 MB yara-rules-full (167x smaller)
- Confirmed: every file matches at most one rule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant