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.

Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...