Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip loading detection rules when running search #1263

Closed
YamatoSecurity opened this issue Feb 3, 2024 · 0 comments · Fixed by #1267
Closed

Skip loading detection rules when running search #1263

YamatoSecurity opened this issue Feb 3, 2024 · 0 comments · Fixed by #1267
Assignees
Labels
invalid This doesn't seem right
Milestone

Comments

@YamatoSecurity
Copy link
Collaborator

When running the search command, Hayabusa displays that it is loading detection rules but as it does not use any detections rules when searching this does not make sense and seems to delay loading. (Is it actually loading the rules?)
Example:

./hayabusa-2.13.-dev   search -r ".*" -d ../hayabusa-sample-evtx -F EventID:6009

╔╗ ╔╦═══╦╗  ╔╦═══╦══╗╔╗ ╔╦═══╦═══╗
║║ ║║╔═╗║╚╗╔╝║╔═╗║╔╗║║║ ║║╔═╗║╔═╗║
║╚═╝║║ ║╠╗╚╝╔╣║ ║║╚╝╚╣║ ║║╚══╣║ ║║
║╔═╗║╚═╝║╚╗╔╝║╚═╝║╔═╗║║ ║╠══╗║╚═╝║
║║ ║║╔═╗║ ║║ ║╔═╗║╚═╝║╚═╝║╚═╝║╔═╗║
╚╝ ╚╩╝ ╚╝ ╚╝ ╚╝ ╚╩═══╩═══╩═══╩╝ ╚╝
   by Yamato Security

Searching...

Start time: 2024/02/03 09:15

Total event log files: 1170
Total file size: 274.4 MB

Loading detection rules. Please wait.

[00:00:02] 636 / 1,170 ⠴ [=====================>                  ] 54%

I would like to skip the loading rules part and change the message to Currently searching. Please wait.:

./hayabusa-2.13.-dev   search -r ".*" -d ../hayabusa-sample-evtx -F EventID:6009

╔╗ ╔╦═══╦╗  ╔╦═══╦══╗╔╗ ╔╦═══╦═══╗
║║ ║║╔═╗║╚╗╔╝║╔═╗║╔╗║║║ ║║╔═╗║╔═╗║
║╚═╝║║ ║╠╗╚╝╔╣║ ║║╚╝╚╣║ ║║╚══╣║ ║║
║╔═╗║╚═╝║╚╗╔╝║╚═╝║╔═╗║║ ║╠══╗║╚═╝║
║║ ║║╔═╗║ ║║ ║╔═╗║╚═╝║╚═╝║╚═╝║╔═╗║
╚╝ ╚╩╝ ╚╝ ╚╝ ╚╝ ╚╩═══╩═══╩═══╩╝ ╚╝
   by Yamato Security

Searching...

Start time: 2024/02/03 09:15

Total event log files: 1170
Total file size: 274.4 MB

Currently searching. Please wait.

[00:00:02] 636 / 1,170 ⠴ [=====================>                  ] 54%
@YamatoSecurity YamatoSecurity added the invalid This doesn't seem right label Feb 3, 2024
@YamatoSecurity YamatoSecurity added this to the v2.13.0 milestone Feb 3, 2024
@hitenkoku hitenkoku self-assigned this Feb 3, 2024
hitenkoku added a commit that referenced this issue Feb 3, 2024
hitenkoku added a commit that referenced this issue Feb 3, 2024
hitenkoku added a commit that referenced this issue Feb 3, 2024
hitenkoku added a commit that referenced this issue Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
2 participants