Files

107 lines
3.0 KiB
YAML

name: Sysmon EventID 22
id: 911538b2-eba7-4d3e-85e8-d82d380c37bf
version: 4
creation_date: '2024-05-22'
modification_date: '2026-05-13'
author: Patrick Bareiss, Splunk
description: Logs DNS query events, including details about the queried domain, source IP, query type, and response data.
mitre_components:
- Passive DNS
- Active DNS
- Network Traffic Content
- Network Traffic Flow
- Application Log Content
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: XmlWinEventLog
separator: EventID
separator_value: '22'
configuration: https://github.com/SwiftOnSecurity/sysmon-config
supported_TA:
- name: Splunk Add-on for Sysmon
url: https://splunkbase.splunk.com/app/5709
version: 5.0.0
fields:
- _time
- Channel
- Computer
- EventChannel
- EventCode
- EventData_Xml
- EventDescription
- EventID
- EventRecordID
- Guid
- Image
- Keywords
- Level
- Name
- Opcode
- ProcessGuid
- ProcessID
- ProcessId
- QueryName
- QueryResults
- QueryStatus
- RecordID
- RecordNumber
- RuleName
- SecurityID
- SystemTime
- System_Props_Xml
- Task
- ThreadID
- TimeCreated
- UserID
- UtcTime
- Version
- date_hour
- date_mday
- date_minute
- date_month
- date_second
- date_wday
- date_year
- date_zone
- dvc_nt_host
- event_id
- eventtype
- host
- id
- index
- linecount
- process_exec
- process_guid
- process_name
- punct
- query
- query_count
- reply_code_id
- signature
- signature_id
- source
- sourcetype
- splunk_server
- src
- tag
- tag::eventtype
- timeendpos
- timestartpos
- user_id
- vendor_product
output_fields:
- answer
- answer_count
- query
- query_count
- reply_code_id
- src
- vendor_product
field_mappings:
- data_model: cim
data_set: DNS
mapping:
QueryResults: DNS.answer
QueryName: DNS.query
Computer: DNS.src
example_log: <Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='Microsoft-Windows-Sysmon' Guid='{5770385F-C22A-43E0-BF4C-06F5698FFBD9}'/><EventID>22</EventID><Version>5</Version><Level>4</Level><Task>22</Task><Opcode>0</Opcode><Keywords>0x8000000000000000</Keywords><TimeCreated SystemTime='2021-03-24T12:25:15.098978900Z'/><EventRecordID>113892</EventRecordID><Correlation/><Execution ProcessID='2332' ThreadID='3400'/><Channel>Microsoft-Windows-Sysmon/Operational</Channel><Computer>win-dc-299.attackrange.local</Computer><Security UserID='S-1-5-18'/></System><EventData><Data Name='RuleName'>-</Data><Data Name='UtcTime'>2021-03-24 12:25:12.840</Data><Data Name='ProcessGuid'>{3CFDEE80-2F7D-605B-F50A-00000000AE01}</Data><Data Name='ProcessId'>7172</Data><Data Name='QueryName'>50.220.65.3.spam.dnsbl.sorbs.net</Data><Data Name='QueryStatus'>9003</Data><Data Name='QueryResults'>-</Data><Data Name='Image'>C:\Windows\System32\wermgr.exe</Data></EventData></Event>