pC_json5158.md

June 14, 2023 ยท View on GitHub

Parser Content

{
Name = json-5158
  Vendor = Microsoft
  Product = Windows
  Lms = Direct
  DataType = "process-network-bind"
  TimeFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ"
  Conditions = [ """"EventID":5158,""", """The Windows Filtering Platform has permitted a bind to a local port""" ]
  Fields = [
    """({event_code}5158)""",
    """({event_name}The Windows Filtering Platform has permitted a bind to a local port)""",
    """"EventTime"{1,20}:\s{0,100}"{1,20}({time}[^",]{1,2000})""",
    """"Hostname"{1,20}:"{1,20}({host}[^",]{1,2000})""",
    """"ProcessId"{1,20}:"{1,20}({pid}[^"]{1,2000})""",
    """"Application"{1,20}:"{1,20}({process}({directory}[^,"]{0,2000}?[\\\/]{1,2000})?({process_name}[^\\\/\s"]{1,2000}?))"""",
    """"SourceAddress"{1,20}:"{1,20}({dest_ip}[a-fA-F:\d.]{1,2000})""",
    """"SourcePort"{1,20}:"{1,20}({dest_port}\d{1,100})""",
    """"Protocol"{1,20}:"{1,20}({ms_protocol_num}[^"]{1,2000})""",
    """Layer Name:(?:\s|\\t|\\n|\\r)*({layer_name}[^:]{1,2000}?)(?:\s|\\t|\\n|\\r)*Layer Run-Time ID:"""
    """(?i)\w+\s{0,100}\d{1,100}\s{0,100}\d{1,100}:\d{1,100}:\d{1,100}\s{1,100}(::ffff:)?(({dest_ip}\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(am|pm|({dest_host}[\w\-.]{1,2000})))"""
  ]
  DupFields = [ "host->dest_host" ]


}