You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
windows-xml.log in T1059/excessive_distinct_processes_from_windows_temp has one event closed with </fData> #1270
In datasets/attack_techniques/T1059/excessive_distinct_processes_from_windows_temp/windows-xml.log, one Security 4688 event closes its CommandLine element with </fData> instead of </Data>. That event is not well-formed XML.
The event
The file has one event per line. Line 83 holds:
...<Data Name='ProcessId'>0x804</Data><Data Name='CommandLine'>wmic OS get Version /format:list</fData><Data Name='TargetUserSid'>NULL SID</Data>...
</fData> appears once in the file. The other 135 lines parse as XML. With </fData> changed to </Data>, line 83 parses too, and its CommandLine is wmic OS get Version /format:list.
The file on master is 191,553 bytes and was last changed in commit e4a993ad09 ("Add XML data", 2024-04-11).
I ingested the file into Splunk Enterprise 9.3.14 (Splunk_SA_CIM 6.4.0, Splunk_TA_windows 9.1.2) with the source XmlWinEventLog:Security and the sourcetype XmlWinEventLog that data.yml declares, once as it is and once with only </fData> changed to </Data>.
Both versions give 136 events.
As it is, the event with </fData> has the field CommandLine but not Process_Command_Line. The other 135 events have both.
With </Data>, all 136 events have both fields.
The tests of the detections excessive_distinct_processes_from_windows_temp and excessive_number_of_taskhost_processes in security_content use this file. I did not run those two detections.
Suggested change
On line 83, replace </fData> with </Data>.
A different sample, suspicious_behaviour/local_llms/sysmon_local_llms.log, has a separate problem, reported in #1266.
Activity
Fix </fData> typo in the T1059 windows-xml.log