Yamato-Security / hayabusa

Hayabusa (隼) is a sigma-based threat hunting and fast forensics timeline generator for Windows event logs.
GNU Affero General Public License v3.0
2.26k stars 200 forks source link

[bug] --start-timeline and --end-timeline do not work #546

Closed YamatoSecurity closed 2 years ago

YamatoSecurity commented 2 years ago

Describe the bug --start-timeline と --end-timeline が使えない

Step to Reproduce

./target/release/hayabusa -d ../hayabusa-sample-evtx --start-timeline "2014-11-28 21:00:09 +09:00"
./target/release/hayabusa -d ../hayabusa-sample-evtx --end-timeline "2014-11-28 21:00:09 +09:00"

Environment (please complete the following information):

Additional: --start-timeline "2021-11-228 21:0dfd0:09d +09:00"などの間違っている日付や時間を指定してもエラーが出ないので、形式が間違っている場合はエラーが出した方が良さそうです。

hitenkoku commented 2 years ago

対象の処理内容を確認しましたが、ご指摘いただいた間違っている日時や時間を指定した場合はエラーが出力されるように作成しています。頂いたデータをもとにデバッグを実施します。

hitenkoku commented 2 years ago

確認しましたが、実装はされていますが、mainでの読み込みが行われていないようでした。 組み込んで実行できるかどうか確認します。