pC_windowsdnsresponse.md

June 14, 2023 ยท View on GitHub

Parser Content

{
Name = windows-dns-response
  Vendor = Microsoft
  Product = Windows
  Lms = Direct
  DataType = "dns-response"
  IsHVF = true
  TimeFormat = "MM/dd/yyyy HH:mm:ss a"
  Conditions = [ """UDP response info at """, """Buf length =""" ]
  Fields = [
    """exabeam_host=({host}[^\s]{0,2000})""",
    """({time}\d{1,100}\/\d{1,100}\/\d\d\d\d \d{1,100}:\d{1,100}:\d{1,100} (AM|am|PM|pm))""",
    """({protocol}UDP)\s{1,100}({activity}Snd)\s{1,100}({dest_ip}[a-fA-F\d.:]{1,2000})""",
    """Remote addr\s{0,100}({dest_ip}[a-fA-F\d.:]{1,2000}),\s{0,100}port\s{0,100}({dest_port}\d{1,100})""",
    """XID\s{1,100}0x({query_id}[\da-fA-F]{1,2000})""",
    """QTYPE\s{1,100}({query_type}\w+)""",
    """RCODE\s{1,100}[^(]{0,2000}?\(({dns_response_code}[^(]{1,2000})\)""",
    """QUESTION SECTION:.*?Name\s{1,100}"({query}[^"]{1,2000})"""",
    """Buf length\s{0,100}=\s{0,100}\S+\s{0,100}\(({bytes}\d{1,100})""",
    """ANSWER SECTION:(\s{0,100}empty|.+?DATA\s{1,100}({response}\S+))"""
  ]


}