Neo23x0 / signature-base

YARA signature and IOC database for my scanners and tools
Other
2.47k stars 604 forks source link

Update RegEx Patterns for YARA-X Compatibility #321

Closed ForensicITGuy closed 5 months ago

ForensicITGuy commented 5 months ago

This PR updates regular expression strings in 3 YAR files for YARA-X compatibility. Fixing these rules also makes the YARAForge Full package compatible with YARA-X with only warnings during compilation.

ForensicITGuy commented 5 months ago

Should have mentioned, I tested out the rule changes to make sure they still work, and verified they all work with traditional YARA and YARA-X

Test files:

For the Exaramel Plaintext config rule I couldn't find a test case, so I made one:

{"Hosts":["randomdomain.local],"Proxy":"proxy.local","Version":"32","Guid":"stuff"}
Neo23x0 commented 5 months ago

Hi Tony, thanks a lot for the PR. Since the YARA Forge release workflow runs very early Sunday mornings. I'll delete todays release, merge this PR and re-run the workflow so that the release for the coming week is already compatible with YARA-X.