Commit Graph

36 Commits

Author SHA1 Message Date
Tanaka Zakku
efbffd7ac1 Changed rule output field to details 2021-12-22 20:22:18 +09:00
Tanaka Zakku
7755c54a3a newrules/add-count-rules 2021-12-22 08:13:34 +09:00
itiB
83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00
itiB
0bce3800b7 separate rules to submodule (#304)
* rm: rules

* Add: hayabusa-rules to submodule
2021-12-19 20:50:20 +09:00
DustInDark
ee80e6bc1e Hotfix/regex filename replace lack#296 (#297)
* fixed lacked replacement #286

* fixed typo #296
2021-12-18 11:06:08 +09:00
Yamato Security
d668fc9241 Regex filename change (#291)
* update rule config files and art

* regexサンプルファイルの名前変更

* fixed test error due to filename change #291

Co-authored-by: DustInDark <nextsasasa@gmail.com>
2021-12-17 21:25:55 +09:00
kazuminn
db3616b56d add test rule files 2021-12-09 01:29:23 +09:00
Yamato Security
e0936ab2d1 rule update (#249) 2021-12-03 15:52:43 +09:00
DustInDark
0cfa806baf Feature/addruletype to sigma rule#230 (#235)
* added ruletype to SIGMA rule #230

* added ruletype to SIGMA rule converter tool #231
2021-11-28 18:14:51 +09:00
Yamato Security
df0279c4d1 rule updates-2021-11-26 (#233)
* rule updates-2021-11-26

* adjust trivial change in pull request issue coment

Co-authored-by: DustInDark <nextsasasa@gmail.com>
2021-11-26 15:34:16 +09:00
Yamato Security
015899bc51 ルール更新 (#224) 2021-11-23 15:04:03 +09:00
itiB
034f9c0957 Add: sigma rules (#175) 2021-11-22 08:45:44 +09:00
Tanaka Zakku
bad4429ad0 Rule tuning 2021-11-18 10:31:28 +09:00
Tanaka Zakku
771c86edbf change rules dir structure. addlogon timeline. 2021-11-18 08:43:13 +09:00
Tanaka Zakku
b2eab00604 removed noisy rules 2021-11-15 08:56:09 +09:00
Tanaka Zakku
50aebce32e Added Sigma Rules 2021-11-14 11:00:56 +09:00
James
7d49b0b521 Feature/#187 change allowlist regexes filenames (#189)
* add risk level filter arguments #45

* fix default level in help #45

* add test yaml files #45

* refactoring and fix level argument usage.

* cargo fmt --all

* add risk level filter arguments #45

* fix default level in help #45

* add test yaml files #45

* refactoring and fix level argument usage.

* cargo fmt --all

* update

* change filename

* fix regexe and allowlist filename in document #187

Co-authored-by: DustInDark <nextsasasa@gmail.com>
2021-11-12 13:53:09 +09:00
James
c5d5d25817 change from black to allow. (#164) 2021-11-09 00:41:21 +09:00
Tanaka Zakku
f29b7d2d1a Updated rules 2021-11-06 09:51:38 +09:00
Tanaka Zakku
240c9474b8 Updated 1102 log cleared rule 2021-11-05 12:23:40 +09:00
Tanaka Zakku
12f0b6d422 not needed because of generic clear event 2021-11-05 12:22:35 +09:00
James
4a1e46e47e Feature/#140 document (#144)
* update

* fix regexes and whitelist

* underconstructing

* fix

* update

* add pic

* update

* update

* update

* fix
2021-10-22 00:43:40 +09:00
James
403844ae45 finish (#136) 2021-09-13 23:26:15 +09:00
DustInDark
166ba28775 Feature/bits job#130 (#131)
* Feature/call error message struct#66 (#69)

* change  way to use write trait #66

* change call error message struct #66

* erase finished TODO #66

* erase comment in error message format test #66

* resolve conflict #66

* Feature/call error message struct#66 (#71)

* change ERROR writeln struct #66

* under constructing

* add statistics template

* fix

* add comment

* add condition impl #93

* fix erased get_descendants and remove unnecessaly struct #93

* erased finished TODO comment

* erased finished TODO comment

* Revert "fix erased get_descendants and remove unnecessaly struct #93"

This reverts commit 82e905e045.

Revert "add condition impl #93"

This reverts commit 19ecc87377.

* add doc comment to rule function

* fix and add test doc commet

* add doc to AggregaationParseInfo

* add struct count in aggregation condition. #93

* add evaluate aggregation condition func provisional architecture. #93

* add countup function #93

* fix key to count hashmap #93

* add judge aggregation condition function #93

* fix  error #93

* fix test #93

* share compile error ver

* fix detection.rs compile error

* fix timeframe parse

* add countup process in select

* fix select argument

* add test countup

* add test count judge #93

* add SIGMA windows count field and by keyword #93

* fix reference record in countup/judgecount #93

* add timedata in countup schema #93

* Refact: split code for matcher from rule.rs

* Reafact: combine multiple declared functions

* Refact: split code for SelectionNode from rule.rs

* Refact: mv test code for SelectionNode from rule.rs

* Refact: mv condition's code from rule.rs

* add count to detection #93

* fix compile error

* fix source to test ng. #93

* erase unused variable #93

* fix count architecture #93

* fix comment and compile error

* erase dust (response  to review)

* erase dust (response to review)

* reduce calling Rulenode function (response to review)

* add aggregation output func

* erase dust(response to review) and add agg condition String func

* change error output

* reduce call RuleNode function(response to review)

* To reduce call RuleNode function

* fix test name

* fix coflicted resolve miss

* add code comment in timeframe count.

* add sort record timedata in timeframe(response to review)

* fix unnecesasry result in ArgResult

* add no field and by value count test

* create count test no field and by with timeframe

* erase duplicated timeframe data in RuleNode

* fix test error no field and no by count with timeframe

* fix test name

* add test case of exist field and by count.

* fix by count test and add test count othervalue in timeframe

* add test

* fix judge_timeframe logic when indexout

* fix test name and add count test field and by with timeframe

* adjust #120

* move associated count function from rulenode

* fix error when resolve conflict

* adjust T1197_bitsjob_started

* fix no output bug if exist output

* add rule to bitsjob #130

Co-authored-by: HajimeTakai <takai.wa.hajime@gmail.com>
Co-authored-by: itiB <is0312vx@ed.ritsumei.ac.jp>
2021-07-21 08:57:22 +09:00
James
c13e6da932 Feature/sigmarule wildcard regex caseinsensitive#119 (#123)
* under constructing

* underconstructing

* fix rule file for SIGMA rule.

* wildcard case insensetive.

* refactor

* Update src/detections/rule.rs

add test triple backshash

Co-authored-by: itiB <is0312vx@ed.ritsumei.ac.jp>

* remove unnecessary if statement

Co-authored-by: itiB <is0312vx@ed.ritsumei.ac.jp>
2021-07-02 20:19:53 +09:00
Alan Smithee
99b640adaa Add rule of Kerberoasting and AS-REP Roasting #91 (#101)
* Feature/call error message struct#66 (#69)

* change  way to use write trait #66

* change call error message struct #66

* erase finished TODO #66

* erase comment in error message format test #66

* resolve conflict #66

* Feature/call error message struct#66 (#71)

* change ERROR writeln struct #66

* add Kerberoasting & AS-REP Roasting Rule #91

* fix rule and add alias #91
2021-05-13 22:52:15 +09:00
ichiichi11
7bd044272c #60 2021-03-03 23:29:27 +09:00
akiranishikawa
a77edfb311 #51 resolved 2020-12-16 20:29:08 +09:00
akiranishikawa
f58d5f316b resolved #40 2020-12-07 12:18:48 +09:00
ichiichi11
d976ddc4d0 regex rule implemented 2020-11-22 11:09:05 +09:00
ichiichi11
1abdbafb5a under constructing 2020-11-21 15:04:28 +09:00
ichiichi11
f8639bfe85 merge feature/yaml 2020-11-11 23:20:14 +09:00
akiranishikawa
d26fccbcda Change from toml to yaml 2020-11-09 09:04:10 +09:00
itiB
77df2fcc9c Fix: only 1 message in 1 toml file 2020-11-05 14:29:48 +09:00
itiB
1d8a9c19d2 Update: read messages from rules/**.toml 2020-11-05 04:21:50 +09:00
akiranishikawa
6fc709c2b4 Toml読み込み機能実装 2020-10-10 09:59:08 +09:00