Skip to content
/ yarust Public

C-FFIのlibyara使用サンプル から進化したバイナリファイル・ログファイル精査ツール的な何か

License

Notifications You must be signed in to change notification settings

segfo/yarust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

これはなに?

libyaraを使ってバイナリGrepできるツール
対応OSはWindowsのみ。(将来的にはLinuxもやりたい予定)

(祝)マルチスレッド対応

ルールを定義して使ってみたQiita

使い方

yarust.exe --rule rule.yr --path ./

こうすると、rule.yrに従ってディレクトリまたはファイルをスキャンして、一致した箇所を出してくれる
バイナリ、ログファイルやDBファイルの調査に使えるかも。

スクリーンショット

スクリーンショット

日本語ヘルプ

yarust 2.2.0
segfo <k.segfo@gmail.com>


USAGE:
    yarust.exe [OPTIONS] --rule <rule_file> --path <search_path>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -l, --logfile <redirect_file_path>    ログ出力ファイルのパスを指定する
    -r, --rule <rule_file>       YARAルールのファイルパスを指定する
    -w, --width <scope_width>    一致箇所から表示する前後任意のバイト数を指定(デフォルト20バイト)
    -p, --path <search_path>     探索対象のファイルかディレクトリのパスを指定する
    -t, --threads <threads_count>         スキャンスレッド数(同時にスキャンするファイル数)を指定する

Google翻訳した英語ヘルプ

yarust 2.2.0
segfo <k.segfo@gmail.com>


USAGE:
    yarust.exe [OPTIONS] --rule <rule_file> --path <search_path>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -l, --logfile <redirect_file_path>    Specify log file path
    -r, --rule <rule_file>                Specify file path of YARA rule
    -w, --width <scope_width>             Specify an arbitrary number of bytes before and after display from the
                                          matching part (default 20 bytes)
    -p, --path <search_path>              Specify the path of the search target file or directory
    -t, --threads <threads_count>         Specify the count of threads

About

C-FFIのlibyara使用サンプル から進化したバイナリファイル・ログファイル精査ツール的な何か

Resources

License

Stars

Watchers

Forks

Packages