pC_json6416.md
June 14, 2023 ยท View on GitHub
Parser Content
{
Name = json-6416
DataType = "usb-insert"
Conditions = [ """"Activity":"6416 - A new external device was recognized by the System"""", """"EventID":"6416"""", """"EventSourceName":"Microsoft-Windows-Security-Auditing"""", """"Type":"SecurityEvent"""" ]
Fields = ${WinParserTemplates.json-windows-events-3.Fields}[
"""({event_name}A new external device was recognized by the System)"""
]
json-windows-events-3 = {
Vendor = Microsoft
Product = Windows
Lms = Syslog
TimeFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSSZ"
Fields = [
""""EventID":"?({event_code}\d{1,20})"?""",
""""Computer":"({host}[^"]{1,2000})"""",
""""TimeGenerated":"({time}\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d{1,9}Z)"""",
""""SubjectLogonId":"({logon_id}[^"]{1,2000})""",
""""SubjectUserName":"(-|({user}[^"\/]{1,2000}))"""",
""""SubjectDomainName":"(-|({domain}[^"]{1,2000}))""",
""""SubjectUserSid":"({user_sid}[^"]{1,2000})""",
""""IpAddress":"({src_ip}[a-fA-F\d:.]{1,200})"""",
""""IpPort":"({src_port}\d{1,5})"""
}