GithubHelp home page GithubHelp logo

autoyara4flirt's Introduction

AutoYara4FLIRT

GitHub release (latest by date) GitHub top language GitHub repo size

AutoYara4FLIRT is a very simple IDA plugin that automatically generates yara rules from files. The yara rules generated from ELF files can be used to create FLIRT signatures for the technique. For more information, see our blog post in More Details link.

HOW TO INSTALL

  • Move AutoYara4FLIRT.py to IDA's plugin folder
    • Ex) c:\Program files\IDA Pro 8.2\plugins\AutoYara4FLIRT.py

USAGE

  • Select AutoYara4FLIRT on IDA
    • Ex) Edit -> Plugins -> AutoYara4FLIRT

DEMO


CLI_AutoYara

CLI_AutoYara is a simple CLI tool that automates yara rule creation and the creation of sig files from hunted ELF binaries. In Addition, this tool can target multiple malware at once. It is also easy to use, requiring no external modules other than IDA related. Sample files are also available on this github for you to try out right away!

HOW TO INSTALL

$ git clone https://github.com/JPCERTCC/AutoYara4FLIRT.git
$ cd AutoYara4FLIRT\CLI_AutoYara
  • Edit CLI_AutoYara.py
class ConfigVar:
    """
    ===================== Filepath ===========================
    """
    SIGMAKE_DIR = "C:\\sigmake.exe"                            # <<<--- the path of `sigmake.exe` !!!
    IDA_INSTAll_PATH = "C:\\\"Program Files\"\\\"IDA Pro 8.2\""
    IDA_SIG_PATH      = r"C:\Program Files\IDA Pro 8.2\sig"
    """
    ==========================================================
    """

USAGE

  • Targeted ELF -> .yara
$ python CLI_AutoYara.py --autoyara [BITS-of-Arch-in-ELFfile]
# Example
$ python CLI_AutoYara.py --autoyara 32
  • Hunted ELF -> .sig
$ python CLI_AutoYara.py --elf2sig [BITS-of-Arch-in-ELFfile] [Sig-Name] [Sig-Directory]
# Example
$ python CLI_AutoYara.py --elf2sig 32 SigName pc

DEMO (About 3 minutes)


Scope of tools

More Details


Reference

LICENSE

Please read the LICENSE page.

autoyara4flirt's People

Contributors

cakeoomoo avatar shu-tom 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.