-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add Sysmon DNS (event ID 22) to module #12960
Add Sysmon DNS (event ID 22) to module #12960
Conversation
fee533f
to
e7d7c96
Compare
e7d7c96
to
f845320
Compare
Pinging @elastic/secops |
bebe0c5
to
1703388
Compare
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.
LGTM
Add support for Sysmon event ID 22 (DNS Query) added in Sysmon v10. The mapping is - `winlog.event_data.QueryName` -> `dns.question.name` - `winlog.event_data.QueryStatus` -> `sysmon.dns.status` - This value is 100% specific to Windows because it's a Windows error code. It might be based on the response code, but it's not exactly the same. - `winlog.event_data.QueryResults` -> `dns.answers.data`, `dns.answers.type` - `winlog.event_data.QueryResults` -> `dns.grouped.ip`
It might be removed based on the current ECS proposal.
2440e8f
to
4992479
Compare
Hello, I didn't get any bites on my post in the discuss forums so I will try posting here since I believe it relates. If it does not, please disregard. Essentially, the DNS Answers type and data (when not an IP address), is not stored in the document. Being able to search/aggregate on Types and Data (include CNAMEs like in the example below) would be very beneficial for security analytics. https://discuss.elastic.co/t/sysmon-dns-logs-dns-answers-types/213471 I will also add this SysMon DNS query related post as well: https://discuss.elastic.co/t/sysmon-dns-query-missing-status-codes/213396 This appears to be a status code that is not including in this initial module. If it has since been added this can be ignored. There are probably another 5+ other status codes that are not getting enhanced with the module but I will save those for when I know how you would like to proceed with this one. Thank you for all the work that your team does there at Elastic! |
Add support for Sysmon event ID 22 (DNS Query) added in Sysmon v10. The mapping is
winlog.event_data.QueryName
->dns.question.name
winlog.event_data.QueryStatus
->sysmon.dns.status
winlog.event_data.QueryResults
->dns.answers.data
,dns.answers.type
winlog.event_data.QueryResults
->dns.grouped.ip
Sample: