DustInDark
|
bb1f5f619d
|
Fix/fix clippy warn (#434)
- Fixed following Clippy Warnings(previous warning count: 671 -> after: 4)
- clippy::needless_return
- clippy::println_empty_string
- clippy::redundant_field_names
- clippy::single_char_pattern
- clippy::len_zero
- clippy::iter_nth_zero
- clippy::bool_comparison
- clippy::question_mark
- clippy::needless_collect
- clippy::unnecessary_unwrap
- clippy::ptr_arg
- clippy::needless_collect
- clippy::needless_borrow
- clippy::new_without_default
- clippy::assign_op_pattern
- clippy::bool_assert_comparison
- clippy::into_iter_on_ref
- clippy::deref_addrof
- clippy::while_let_on_iterator
- clippy::match_like_matches_macro
- clippy::or_fun_call
- clippy::useless_conversion
- clippy::let_and_return
- clippy::redundant_clone
- clippy::redundant_closure
- clippy::cmp_owned
- clippy::upper_case_acronyms
- clippy::map_identity
- clippy::unused_io_amount
- clippy::assertions_on_constants
- clippy::op_ref
- clippy::useless_vec
- clippy::vec_init_then_push
- clippy::useless_format
- clippy::bind_instead_of_map
- clippy::bool_comparison
- clippy::clone_on_copy
- clippy::too_many_arguments
- clippy::module_inception
- fixed clippy::needless_lifetimes
- fixed clippy::borrowed_box (Thanks for helping by hach1yon!)
|
2022-03-07 08:38:05 +09:00 |
|
Alan Smithee
|
0fdabf0d70
|
added process of remove submodule cache #432
|
2022-03-01 03:17:55 +09:00 |
|
Alan Smithee
|
6e5b24282f
|
cargo fmt
|
2022-02-28 18:27:06 +09:00 |
|
Alan Smithee
|
c3c9423b74
|
fixed clippy warn
|
2022-02-28 18:25:54 +09:00 |
|
Alan Smithee
|
28ded269de
|
fixed process case of not exist hayabusa .git folder #432
|
2022-02-28 18:24:49 +09:00 |
|
Alan Smithee
|
b22798fddd
|
added merge process when submodule update option #422
|
2022-02-27 21:04:33 +09:00 |
|
Alan Smithee
|
d1553e3ab1
|
changed crate load together
|
2022-02-27 21:02:43 +09:00 |
|
Yamato Security
|
fb007ee3a6
|
Small edits on help screen. (#417)
|
2022-02-27 09:04:30 +09:00 |
|
DustInDark
|
02b1d7f07c
|
added update command #391 (#392)
* add git2 crate #391
* added Update option #391
* updated readme #391
* fixed cargo.lock
* fixed option if-statement #391
* changed utc short option and rule-update short option #391
* updated readme
* updated readme
* fixed -u long option & version number update #391
* added fast-forwarding rules repository #391
* updated command line option #391
* moved output logo prev update rule
* fixed readme #391
* removed recursive option in readme
* English message update.
* cargo fmt
* Added update command#391 submodule ver (#401)
* changed rules update from clone and pull to submodule update #391
* fixed document
* changed unnecessary clone recursively to clone only
* English message update. ( 4657c35e5c cherry-pick)
* added create rules folder when rules folder is not exist
* fixed gitmodules github-rules url from ssh to https
Co-authored-by: Tanaka Zakku <71482215+YamatoSecurity@users.noreply.github.com>
* added caution case of update failed in readme #391
* fixed document
* added output error in case of loaded rule count is 0 #391 #392
https://github.com/Yamato-Security/hayabusa/pull/392#issuecomment-1050276570
* --update-rules typo
* removed unused library call
Co-authored-by: Tanaka Zakku <71482215+YamatoSecurity@users.noreply.github.com>
|
2022-02-26 18:18:03 +09:00 |
|
DustInDark
|
0dc5de4b73
|
Bug/ Fixed error when target environment is not installed vcc redistribute package (#408)
* fixed error when target environment has not installed vcc redistribute package
* added cfg to static_vcruntime when target os is windows.
|
2022-02-25 10:07:12 +09:00 |
|
DustInDark
|
df86958850
|
added live analysys feature (#398)
* added windows live analysis option #125
* added live analysis option #125
* fixed live analysys condition #125
* changed live analysis option #125
* added live-analysis option in readme #125
* fixed live-analysis check condition #125
* is_elevated crate is only windows #125
* fixed is_elevated build error #125
* fixed is_elevated library crate load
* fixed call way os dependencies crate #125
* fix build error on linux and removed unnecessary create #125
* fixed lack of load crate when build at windows #125
* Update error message
Co-authored-by: Tanaka Zakku <71482215+YamatoSecurity@users.noreply.github.com>
|
2022-02-15 02:12:45 +09:00 |
|
DustInDark
|
9c7353a2e9
|
Feature/except hidden file#335 (#339)
* added except hidden file load #335
* fixed except hidden file in collect evtx #335
|
2022-01-13 22:19:59 +09:00 |
|
DustInDark
|
207fcb312c
|
fixed output error if config directory is not found #347
|
2021-12-24 13:27:51 +09:00 |
|
Tanaka Zakku
|
8f9ff165ec
|
small format fix
|
2021-12-23 17:52:19 +09:00 |
|
DustInDark
|
b4a66a8e6f
|
inserted usage newline
|
2021-12-23 17:16:48 +09:00 |
|
DustInDark
|
7813fd6ac6
|
reduced statistics start output each file #341
|
2021-12-23 11:42:58 +09:00 |
|
DustInDark
|
9b382df001
|
fixed output flag process #341
|
2021-12-23 11:39:52 +09:00 |
|
DustInDark
|
09782f02a9
|
added newline
|
2021-12-23 11:35:34 +09:00 |
|
DustInDark
|
6b5283b28b
|
added no detection when statistics option enabled. #341
|
2021-12-23 11:33:10 +09:00 |
|
Yamato Security
|
67f0ee007b
|
Merge pull request #316 from Yamato-Security/feature/output_error_log_file_and_options#301
fixed #301 #303 #309
|
2021-12-22 16:08:13 +09:00 |
|
DustInDark
|
3412434d99
|
fixed error
|
2021-12-22 14:56:10 +09:00 |
|
James Takai / hach1yon
|
ea685fb75a
|
Feature/fix count() (#327)
|
2021-12-22 09:10:28 +09:00 |
|
DustInDark
|
bccdd8fef9
|
fixed error
- changed writer from stderr to bufwriter
- changed alert,warn function arg fro String to borrow-String
|
2021-12-21 14:44:26 +09:00 |
|
DustInDark
|
20c8b2b073
|
added create_error_log
|
2021-12-21 01:26:46 +09:00 |
|
DustInDark
|
46211711d6
|
fixed #301 #303 #309
Squashed commit of the following:
commit 617f12177fbf5066e141b5c1adf969b25c03fa3c
Author: DustInDark <nextsasasa@gmail.com>
Date: Tue Dec 21 00:57:13 2021 +0900
fix test typo and merge #301
commit 78926ebf55ae48566152c4097990ca1b1b536b53
Merge: c492ba1 83d891b
Author: DustInDark <nextsasasa@gmail.com>
Date: Tue Dec 21 00:22:55 2021 +0900
Merge branch 'main' into feature/output_errorlog_file#301
commit c492ba120a0d977d909b714c2506bd198200853b
Author: DustInDark <nextsasasa@gmail.com>
Date: Tue Dec 21 00:18:52 2021 +0900
renamed hayabusa-logs to logs
commit ac018917300e535c2bfc62b6a9df081d4beb1568
Author: DustInDark <nextsasasa@gmail.com>
Date: Mon Dec 20 23:48:48 2021 +0900
changed output file path deprecated #303
commit dcef677117555f2fac929b6d3b24ac18b5fb08fc
Author: DustInDark <nextsasasa@gmail.com>
Date: Mon Dec 20 23:47:42 2021 +0900
removed error file delete logic
commit b09dec2e4a5c679c3b3c242a655f01cb3b49d490
Author: DustInDark <nextsasasa@gmail.com>
Date: Mon Dec 20 23:46:49 2021 +0900
fixed -Q option flag #309
|
2021-12-21 01:03:33 +09:00 |
|
DustInDark
|
1aebdca160
|
Revert "Feature/output errorlog#301" (#314)
|
2021-12-20 20:59:30 +09:00 |
|
DustInDark
|
422c0eacdf
|
added error output feature when output file path already exist #303
|
2021-12-20 01:44:15 +09:00 |
|
DustInDark
|
807b438009
|
moved output_error_log_exist due to emit_csv test #301
|
2021-12-20 01:25:47 +09:00 |
|
DustInDark
|
300242099b
|
Merge branch 'main' into feature/output_errorlog#301
|
2021-12-20 01:05:48 +09:00 |
|
DustInDark
|
37575ed0bb
|
removed unused crate
|
2021-12-20 00:48:06 +09:00 |
|
DustInDark
|
0e0ceff861
|
created error log output feature #301
|
2021-12-20 00:46:04 +09:00 |
|
DustInDark
|
dbba49b815
|
Hotfix/not work count#278 (#281)
* fixed countup structure #278
* fixed countup structure and count up field logic #278
* fixed tests #278
* added no output aggregation detect message when output exist in rule yaml #232
* moved get_agg_condtion to rulenode function #278
* added field_values to output count fields data #232 #278
- fixed count logic #278
- fixed count test to adjust field_values add
- added count test
* fixed count output format #232
* fixed compile error
* fixed count output #232
- moved output check to create_count_output
- fixed yaml condition reference
- adjust top and tail multi space
* added create count output test #232
* removed count by file #278
- commented by @YamatoSecurity
* changed sort function to sort_unstable_by
* fixed typo
* adjust to comment #281
ref: https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767283508
* adjust comment #281
refs
-
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767285993
-
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767286713
* adjust coment #281
ref:
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767287831
* omitted code #281
* adjust comment #281
ref:
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767302595
* adjust comment #281
ref:
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767303168
* adjust comment
ref:
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767307535
* omitted unnecessary code #281
* adjust comment #281
ref:
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767288428
* adjust commnet #281
ref:
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767286731
* adjust comment #281
ref:
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767285716
* adjust comment #281
ref:
159191ec36 (r767288428)
* adjust test result #281
* removed debug print statement in testfunction
* adjust comment #281
ref
https://github.com/Yamato-Security/hayabusa/pull/281#discussion_r767286731
* fixed output by level #278 #284
- fixed result counting process when rule has no aggregation condition #278
- added total output by level #284
* removed unnecessary crate
* fixed output #284
* removed unnecessary total/unique sum process #284
* add testcase and fix testcase bug
* add testcase, add check to check_cout()
* fixed count logic #278
* fixed test parameter
* add testcase
* fmt
* fixed count field check process #278
* fix testcase #281
* fixed comment typo
* removed one time used variable in test case #281
* fixed count field check process #278
* changed insert position #278
* changed contributor list
* fixed contributors list`
* passed with timeframe case #278
* passed all count test #278
* removed debug print
* removed debug print
* removed debug print
* cargo fmt
* changed by0level output format #284
* reduce clone() #278 #281
* changed for loop to map #278 #281
* fixed compile error
* changed priority from output in yml to aggregation output case aggregation condition exist in rule. #232
* fixed testcase #232
* changed if-let to generics #278 #281
* fixed error when test to sample_evtx#278 #281
* changed if-let to generic #278 #281
* adjust unwrap none error #278 #281
* fixed compile error and test case failed #278
Co-authored-by: ichiichi11 <takai.wa.hajime@gmail.com>
|
2021-12-19 20:48:29 +09:00 |
|
Yamato Security
|
a023ba46a6
|
Usage menu update (#302)
* Usage menu update
* usage menuの微調整
* fixed options #302
- changed show-deprecated to enable-deprecated-rules
- changed csv-timeline to output
- change show-noisyalerts to enable-noisy-rules
* fixed option #302
- changed starttimeline to start-timeline
* fixed option #302
- changed q to quiet option
* fixed options #302
- changed endtimeline to end-timeline option
- changed threadnum to thread-number option
Co-authored-by: DustInDark <nextsasasa@gmail.com>
|
2021-12-19 20:03:39 +09:00 |
|
DustInDark
|
a1c3bd0596
|
Merge branch 'main' into feature/output_errorlog#301
|
2021-12-19 16:46:54 +09:00 |
|
DustInDark
|
97b12fc068
|
fixed logic #301
|
2021-12-19 16:43:35 +09:00 |
|
DustInDark
|
692fdae9a0
|
RevertedMerge: Feature/remove process speed#289 (#299)
* removed process-speed view in progress bar #289
* insert changed code after resolve conflict #289
|
2021-12-19 15:36:24 +09:00 |
|
DustInDark
|
55c05c6d38
|
adjusted alert function arg add #301
|
2021-12-19 13:56:34 +09:00 |
|
DustInDark
|
7e00ab00fe
|
added output alert message to error file #391
|
2021-12-19 13:55:03 +09:00 |
|
James Takai / hach1yon
|
cbbcb4c068
|
Feature/re tuning and bugfix for regexes keyword (#293)
* re-tuning
* not effective
* re-tuning
* set key
* fix bug and fix testcase.
* fmt
|
2021-12-18 11:13:51 +09:00 |
|
DustInDark
|
17b6b97aa3
|
Revert "removed process-speed view in progress bar #289 (#292)" (#298)
This reverts commit 2626ef8e49.
|
2021-12-18 11:12:28 +09:00 |
|
DustInDark
|
2626ef8e49
|
removed process-speed view in progress bar #289 (#292)
|
2021-12-18 11:06:45 +09:00 |
|
itiB
|
05076e4fec
|
Merge branch 'main' into feature/start_finish_time
|
2021-12-16 20:12:01 +09:00 |
|
James Takai / hach1yon
|
fd200c54b0
|
tuning (#280)
* remove unnecessary to_string
* remove unnecessary RWLock
* change hashmap crate
* remove unneccesarry to_string
* fmt
* remove rustc warning
* remove unnecessary to_string
* remove unnecessary comment
* remove unused functions
* remove unneccesary code.
* change compile option
* fmt
* remove unneccesarry split
* fmt
* remove unneccesary Option
|
2021-12-14 16:57:49 +09:00 |
|
DustInDark
|
3fae98934b
|
Feature/change level option#250 (#259)
* fixed level option #250
* changed output
|
2021-12-13 01:52:21 +09:00 |
|
itiB
|
906319bae5
|
Merge branch 'main' into feature/start_finish_time
|
2021-12-11 15:30:22 +09:00 |
|
James Takai / hach1yon
|
d3574134f7
|
fix max record number (#279)
|
2021-12-11 01:45:47 +09:00 |
|
kazuminn
|
a00a114101
|
refactor : rename variables and fix typo and add test (#270)
|
2021-12-10 23:01:47 +09:00 |
|
Yamato Security
|
5da9dc748f
|
Merge pull request #248 from Yamato-Security/feature/fill_no_use_rules
feature : exclude rules by their ID in case of duplicates, etc...
|
2021-12-09 06:41:15 +09:00 |
|
kazuminn
|
b9831ca38a
|
add test for exclude rules
|
2021-12-09 00:57:40 +09:00 |
|
DustInDark
|
493c5ddec1
|
Trivia/eastereggs#212 (#266)
* add ninja arts #212
* add takoyakiday eggs #212
* add christmas eggs #212
* add happy newyear eggs #212
* changed encode from UTF-8 BOM to UTF-8
* add output easteregg #212
- changed analysis datetime from Utc to Local
- added output easteregg #213
* changed happynewyear arts #212
* fix ninja day #212
* fix christmas #212
|
2021-12-07 01:52:27 +09:00 |
|