-
Notifications
You must be signed in to change notification settings - Fork 207
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
fix: count up Event with hits
when aggregation/correlation rule
#1384
Conversation
aggregation ruleI confirmed that the Event with hit is counted up in the case of the issue #1375 (comment)
|
correlation ruleI confirmed that the Event with hit is counted up in the case of the issue #1373 (comment)
|
Sorry, I forgot the above case fix...😅 I'll try to address this in the next PR🙏 |
I also fixed #1342 (comment) 's case 1.(Multiple Channel/Computer/EventID)
{
"Timestamp": "2021-12-12 16:15:56.716 +09:00",
"RuleTitle": "TEST_TITLE",
"Level": "info",
"Computer": "fs03vuln.offsec.lan ¦ rootdc1.offsec.lan",
"Channel": "Security",
"EventID": 4624,
"RecordID": "-",
"Details": {
"Count": 33,
"IpAddress": "10.23.123.11",
"SubStatus": "null",
"LogonType": 3
},
"ExtraFieldInfo": "-"
} |
I also fixed #1342 (comment) 's case 3.(EvtxFile)
{
"Timestamp": "2016-09-20 01:50:06.513 +09:00",
"RuleTitle": "PW Guessing",
"Level": "med",
"Computer": "DESKTOP-M5SN04R",
"Channel": "Security",
"EventID": 4625,
"RuleAuthor": "Zach Mathis",
"RuleModifiedDate": "2022/05/21",
"Status": "stable",
"RecordID": "-",
"Details": {
"Count": 3558,
"IpAddress": "192.168.198.149"
},
"ExtraFieldInfo": "-",
"MitreTactics": [
"CredAccess,08. Credential Access"
],
"MitreTags": [
"T1110.003"
],
"Provider": "-",
"RuleCreationDate": "2021/12/20",
"RuleFile": "Sec_4625_Med_LogonFail_WrongPW_PW-Guessing_Cnt.yml",
"EvtxFile": "../hayabusa-sample-evtx/DeepBlueCLI/smb-password-guessing-security.evtx"
} |
I fixed #1342 (comment) 's case6(not displayed computers summary) and #1384 (comment).
|
Some improvements to the output of the count rule are included in this pull request💪 |
@fukusuket
|
Sorry🙏 I fixed channel abbreviation!
{
"Timestamp": "2016-09-20 01:50:06.513 +09:00",
"RuleTitle": "PW Guessing",
"Level": "med",
"Computer": "DESKTOP-M5SN04R",
"Channel": "Sec",
"EventID": 4625,
"RuleAuthor": "Zach Mathis",
"RuleModifiedDate": "2022/05/21",
"Status": "stable",
"RecordID": "-",
"Details": {
"Count": 3558,
"IpAddress": "192.168.198.149"
},
"ExtraFieldInfo": "-",
"MitreTactics": [
"CredAccess,08. Credential Access"
],
"MitreTags": [
"T1110.003"
],
"Provider": "-",
"RuleCreationDate": "2021/12/20",
"RuleFile": "Sec_4625_Med_LogonFail_WrongPW_PW-Guessing_Cnt.yml",
"EvtxFile": "../hayabusa-sample-evtx/DeepBlueCLI/smb-password-guessing-security.evtx"
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fukusuket LGTM! Thanks so much!
What Changed
Events with hits
#1375Test
csv-timeline/json-timeline diff check (compared with main branch)
No difference in the result file compared to the main branch.
https://github.com/Yamato-Security/hayabusa/actions/runs/9844009215
integration-test
All commands work properly.
https://github.com/Yamato-Security/hayabusa/actions/runs/9844007839
I would appreciate it if you could check it out when you have time🙏