pC_lsysmonfilecreate.md
June 14, 2023 ยท View on GitHub
Parser Content
{
Name = l-sysmon-file-create
Vendor = Microsoft
Product = Sysmon
Lms = Direct
DataType = "file-operations"
IsHVF = true
TimeFormat = "yyyy-MM-dd HH:mm:ss.SSS"
Conditions = [ """<Provider Name ='Microsoft-Windows-Sysmon'""", """logrhythm:""", """<EventID>11</EventID>""" ]
Fields = [
"""<Provider Name ='Microsoft-Windows-Sysmon' Guid='\{({process_guid}[^}]{1,2000}?)\}""",
"""<EventID>({event_code}\d{1,100})</EventID>""",
"""<Task>({activity}.*?)</Task>""",
"""<Execution ProcessID='({pid}\d{1,100})""",
"""created:UtcTime:\s{0,100}({time}\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d\.\d\d\d)""",
"""<Computer>({host}.+?)</Computer>""",
"""<Security UserID='(({domain}[^\\>]{1,2000}?)\\)?({user}.+?)'\s{0,100}/>""",
"""<EventData>.*?Image:\s{0,100}({process}({directory}.*?)({process_name}[^.\\]{1,2000}\.exe))\s{0,100}TargetFilename:""",
"""<EventData>.*?Image:\s{0,100}({path}.+?)\s{0,100}TargetFilename:""",
"""TargetFilename:\s{0,100}({file_path}({file_parent}.*?)({file_name}[^\\.]{1,2000}(\.({file_ext}[^\\.]{1,2000}?))?))\s{0,100}CreationUtcTime:""",
]
DupFields = [ "host->dest_host","directory->process_directory" ]
}