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

JA4SSH in its own log. #91

Open
zrobinette12 opened this issue Mar 23, 2024 · 4 comments
Open

JA4SSH in its own log. #91

zrobinette12 opened this issue Mar 23, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@zrobinette12
Copy link

Is there a reason behind the Zeek ssh.log not containing JA4SSH and having that data broken out into its own ja4ssh.log?

@john-althouse
Copy link
Collaborator

@zrobinette12 great question. I'm open to thoughts on this.

The reason was that JA4SSH will generate a new log line every 200 ssh packets. For immediate detection and response purposes, we did not want to wait until after the ssh session was closed to log the fingerprints. Instead, we're logging the fingerprints as they happen, in ja4ssh.log. Think of it like files.log or x509.log which log files and certs as they are seen rather than waiting for the sessions to close to log in http.log or ssl.log, respectively.

That said, we could log in ssh.log if users want us to go that route.

@john-althouse john-althouse self-assigned this Mar 25, 2024
@john-althouse john-althouse added the question Further information is requested label Mar 25, 2024
@zrobinette12
Copy link
Author

zrobinette12 commented Mar 25, 2024

@john-althouse Ah I see, the old Zeek long connections conundrum. I’d have a use case for both, logging the fingerprint in the existing ssh.log and having the ja4ssh.log but unsure if others would.

Mine is simply a budget issue where I can’t ingest new Zeek logs no matter how much we want immediate detection and response. Adding a single field to an existing log is much more doable.

Perhaps a config option to also log the fingerprint in the ssh.log?

@john-althouse john-althouse added the enhancement New feature or request label Jul 18, 2024
@john-althouse
Copy link
Collaborator

@zrobinette12 did you find a solution or are you still looking for that config option?

@zrobinette12
Copy link
Author

@john-althouse no solution yet unfortunately. Having a config option would be great for us but unsure if others would feel the same.

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

No branches or pull requests

2 participants