Getting Data In

Splunk ingesting Yara Rules

davidlambertgps
New Member

Can Splunk natively ingest Yara rules? Our goal is to possibly have Splunk grab Yara rules from a directory, and have a Dashboard look for those rules in the environment. Any suggestions would be great. Thanks for your time.

0 Karma

Richfez
SplunkTrust
SplunkTrust

I know little about Yara (in fact, nothing until a few minutes ago); it seems it is some sort of a malware identification mechanism operating on files and filesystems (at least primarily).

If that's the case, I'm not sure Splunk can do much with Yara rules directly. First, I doubt you are indexing malware samples or the files malware might be in against which you would run the Yara rules. Second, If you actually were ingesting malware directly into Splunk, or something like that, then I'm not sure how you'd get Splunk to read the Yara rules and apply them.

But all is not lost!

It seems Yara has an executable. I can't quite determine what output it creates, but that hopefully means it just dumps output to standard out. In that case, you could redirect it to a file and read that file into Splunk and possibly do wonderful things with it. This should certainly be easy enough to test.

It also can be run from python, which means it might be possible to run it as a scripted intput. Quite a bit more work would probably be involved in this, though the payoff may be great if you can figure it all out well enough.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...