GithubHelp home page GithubHelp logo

tobey123 / yara Goto Github PK

View Code? Open in Web Editor NEW

This project forked from virustotal/yara

0.0 2.0 0.0 44.1 MB

The pattern matching swiss knife

Home Page: http://virustotal.github.io/yara/

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.11% C 84.31% Shell 0.01% M4 0.60% Yacc 2.51% Lex 1.21% C++ 11.11% Groff 0.15%

yara's Introduction

Join the chat at https://gitter.im/VirusTotal/yara Build Status

YARA in a nutshell

YARA is a tool aimed at (but not limited to) helping malware researchers to identify and classify malware samples. With YARA you can create descriptions of malware families (or whatever you want to describe) based on textual or binary patterns. Each description, a.k.a rule, consists of a set of strings and a boolean expression which determine its logic. Let's see an example:

rule silent_banker : banker
{
    meta:
        description = "This is just an example"
        thread_level = 3
        in_the_wild = true

    strings:
        $a = {6A 40 68 00 30 00 00 6A 14 8D 91}
        $b = {8D 4D B0 2B C1 83 C0 27 99 6A 4E 59 F7 F9}
        $c = "UVODFRYSIHLNWPEJXQZAKCBGMT"

    condition:
        $a or $b or $c
}

The above rule is telling YARA that any file containing one of the three strings must be reported as silent_banker. This is just a simple example, more complex and powerful rules can be created by using wild-cards, case-insensitive strings, regular expressions, special operators and many other features that you'll find explained in YARA's documentation.

YARA is multi-platform, running on Windows, Linux and Mac OS X, and can be used through its command-line interface or from your own Python scripts with the yara-python extension.

If you plan to use YARA to scan compressed files (.zip, .tar, etc) you should take a look at yextend, a very helpful extension to YARA developed and open-sourced by Bayshore Networks.

Who's using YARA

Are you using it? Want to see your site listed here?

yara's People

Contributors

axqd avatar cblichmann avatar ckane avatar corumir avatar ejectck avatar grrrrrrrrr avatar hillu avatar joachimmetz avatar kai5263499 avatar kallanreed avatar macourteau avatar maximelb avatar michalmalik avatar mikewiacek avatar moritzkroll avatar mrexodia avatar msuvajac avatar northern-lights avatar nyx0 avatar orangetoaster avatar ortizmj12 avatar plusvic avatar pozdnychev avatar scotmatson avatar scudette avatar shanehuntley avatar sroberts avatar swdunlop avatar tijko avatar wxsbsd avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.