Giter Site home page Giter Site logo

binacle's Introduction

Binacle

Indexation "full-bin" of binary files

Originally presented at SSTIC 2017

Warning

This is a beta version, use at your own risk!

Technical aspects

Please read the SSTIC 2017 white paper.

Description

Binacle is a database written in Rust designed to index the full content of binary files. It splits hexadecimal sequences into 4-grams and inserts them in a hashtable file that is mapped in-memory.

Compilation

  • Install Cargo, the Rust package manager

    On Ubuntu, Install Cargo with rustup:

    curl https://sh.rustup.rs -sSf >> rust_install.sh
    chmod +x rust_install.sh
    ./rust_install.sh
    

    Add ~/.cargo/bin to PATH

  • Launch cargo build --release

Documentation

  • Create a new database: ./binacle -c <db_name> [map] <max_size> <alignment> <ngram_size> ex:

    ./binacle -c testdb map 30000000000 6 28
    
  • Insert a file in a database:

    ./binacle <db_name> -f <id> <file_path>
    
  • Insert all files from a directory and the subdirectories: ./binacle <db_name> --rec <dir_path> ex:

    ./binacle testdb --rec Windows_dir
    
  • Search in the database: ./binacle <db_name> -s [hex] <string>

    • ex1: ./binacle testdb -s GetProcAddress
    • ex2: ./binacle testdb -s hex 28347654

binacle's People

Contributors

0xdeva avatar ant1 avatar bobsaintcool avatar

Watchers

 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.