yara-generator: add validator, bump version & rules#272
Open
Conversation
Add a new validate-malicious-rules.py tool to run YARA scans against repo samples and produce JSON/text summaries; expand bin/yara-generator/README.md with pyenv/venv setup, usage, defaults, troubleshooting and validation guidance. Update yara-generator.py: bump version to 0.5.0, introduce SCRIPT_DIR/DEFAULT_* paths, add -f log-file support, harden YAML parsing and logging, fix filename/tag handling, adjust filename-matching expression, and other small cleanups. Regenerate/modify several YARA rule files (meta, hashes, names, dates, string content and filesize thresholds) to reflect updated rule output.
Collaborator
|
Nice work @Neo23x0 thank you! A few things before merge:
I was thinking of making
what do you think, worth it? Might help keep a regression prevention system for the generated yara rules. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new validate-malicious-rules.py tool to run YARA scans against repo samples and produce JSON/text summaries; expand bin/yara-generator/README.md with pyenv/venv setup, usage, defaults, troubleshooting and validation guidance.
Update yara-generator.py: bump version to 0.5.0, introduce SCRIPT_DIR/DEFAULT_* paths, add -f log-file support, harden YAML parsing and logging, fix filename/tag handling, adjust filename-matching expression, and other small cleanups. Regenerate/modify several YARA rule files (meta, hashes, names, dates, string content and filesize thresholds) to reflect updated rule output.