Skip to content
/ FARA Public

Repository that contains a set of purposefully erroneous Yara rules.

License

Notifications You must be signed in to change notification settings

bartblaze/FARA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FARA

What is FARA?

FARA, or Faux YARA, is a simple repository that contains a set of purposefully erroneous Yara rules. It is meant as a training vehicle for new security analysts, those that are new to Yara and even Yara veterans that want to keep their rule writing (and debugging) sharp.

If you're here, you already know what Yara is, but if not, do visit Yara's Github repository: https://github.com/VirusTotal/yara.

How do I use FARA?

Very simple, download or clone the repo and start figuring out what is wrong with each and every Yara rule! Errors may have been created on the following levels:

  • Syntax
  • Logical
  • Runtime
  • Semantic
  • Efficiency or effectiveness
  • Others...

How do I actually test these rules?

There's a few methods:

  • Go hardcore and just look at them in your favourite text editor. Don't use syntax highlighting as additional challenge.
  • The easiest and best way: try to run them with Yara (use the latest available stable version) and make way from there.
  • You can use / try Florian Roth's yaraQA: https://github.com/Neo23x0/yaraQA
  • In addition, you can also clone this repo, then run YARA-CI on it: https://yara-ci.cloud.virustotal.com/.

If you want an example of how Yara-CI can help, have a look at my own Yara rules repository: https://github.com/bartblaze/Yara-rules

Do you accept Pull Requests (PRs)?

Yes, but only if you contribute a new faux rule 😉. PRs to make the faux rules actually work with Yara will be closed - you can of course submit a PR for feedback or to submit your solution(s) - but they will not be accepted to merge in this repository.

I want the solution to a faux rule!

Post a new Git issue.

About

Repository that contains a set of purposefully erroneous Yara rules.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages