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

Enhancement: Duplicate detections for logon-summary #1325

Open
mischw opened this issue Apr 7, 2024 · 5 comments
Open

Enhancement: Duplicate detections for logon-summary #1325

mischw opened this issue Apr 7, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@mischw
Copy link

mischw commented Apr 7, 2024

I saw that the csv-timeline and json-timeline commands support deduplication using the flag --remove-duplicate-detections. I think that is incredibly useful. Unfortunately the logon-summary does not have a equivalent flag it seems? The resulting output therefore shows many times more logon attempts when also using evtx from shadow copies for example.

Either way I am happy with a solution that allows deduplicated logon-summary. But I thought maybe you hadn't considered adding it as a flag to logon-summary too :)

@mischw mischw added the bug Something isn't working label Apr 7, 2024
@YamatoSecurity YamatoSecurity added enhancement New feature or request and removed bug Something isn't working labels Apr 8, 2024
@YamatoSecurity
Copy link
Collaborator

We will look into adding this feature. For now, you might just have to write a script to remove the duplicates.

@mischw
Copy link
Author

mischw commented Apr 11, 2024

Thanks for considering adding this feature. In the mean time I am happy to write a script. Do you happen to know a tool or two which would be suitable for usage in script and at the same time is able to output a format which hayabusa is able to parse?

@YamatoSecurity
Copy link
Collaborator

@mischw To work around this, you can remove duplicates with the json-timeline command, output to JSONL and then use the stack-logons in Takajo to get the same information. (https://github.com/Yamato-Security/takajo?tab=readme-ov-file#stack-logons-command)
Right now, it only summarizes successful logons but will add an option to analyze failed logons as well.

@YamatoSecurity
Copy link
Collaborator

@mischw We updated the stack-logons command so if you compile takajo with the main branch, you can get failed logon info as well.

@mischw
Copy link
Author

mischw commented Apr 28, 2024

I gave it a try and it looks like a nice way to get the info I need. Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants