Windows event log ยท Microsoft-Windows-Sysmon/Operational2 A process changed a file creation time
- Sysmon
- 7 fields
Microsoft-Windows-Sysmon%4Operational.evtxMicrosoft-Windows-Sysmon
Fields EvtxECmd extracts
7 columns in the EvtxECmd CSV
- UserName
%User%- %User% = /Event/EventData/Data[@Name="User"]
- PayloadData1
ProcessID: %ProcessID%, ProcessGUID: %ProcessGUID%- %ProcessGUID% = /Event/EventData/Data[@Name="ProcessGuid"]
- %ProcessID% = /Event/EventData/Data[@Name="ProcessId"]
- PayloadData2
RuleName: %RuleName%- %RuleName% = /Event/EventData/Data[@Name="RuleName"]
- PayloadData3
Image: %Image%- %Image% = /Event/EventData/Data[@Name="Image"]
- PayloadData4
TargetFilename: %TargetFilename%- %TargetFilename% = /Event/EventData/Data[@Name="TargetFilename"]
- PayloadData5
CreationTimeUTC: %CreationUTCTime%- %CreationUTCTime% = /Event/EventData/Data[@Name="CreationUtcTime"]
- PayloadData6
PreviousCreationTimeUTC: %PreviousCreationUTCTime%- %PreviousCreationUTCTime% = /Event/EventData/Data[@Name="PreviousCreationUtcTime"]
Sample event
Event XML from the map file
<Event>
<System>
<Provider Name="Microsoft-Windows-Sysmon" Guid="5770385f-c22a-43e0-bf4c-06f5698ffbd9"/>
<EventID>2</EventID>
<Version>4</Version>
<Level>4</Level>
<Task>2</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2019-04-27 15:57:53.6501132"/>
<EventRecordID>6580</EventRecordID>
<Correlation/>
<Execution ProcessID="1912" ThreadID="996"/>
<Channel>Microsoft-Windows-Sysmon/Operational</Channel>
<Computer>IEWIN7</Computer>
<Security UserID="S-1-5-18"/>
</System>
<EventData>
<Data Name="RuleName">technique_id=T1099,technique_name=Timestomp</Data>
<Data Name="UtcTime">2019-04-27 15:57:53.634</Data>
<Data Name="ProcessGuid">365abb72-7c01-5cc4-0000-00102b3e0c00</Data>
<Data Name="ProcessId">2680</Data>
<Data Name="Image">C:\Users\IEUser\Downloads\Flash_update.exe</Data>
<Data Name="TargetFilename">C:\Users\IEUser\AppData\Roaming\NvSmart.exe</Data>
<Data Name="CreationUtcTime">2013-09-04 16:29:27.000</Data>
<Data Name="PreviousCreationUtcTime">2019-04-27 15:57:53.634</Data>
</EventData>References
5 links
- docs.microsoft.com/en-us/sysinternals/downloads/sysmon(opens in new tab)
- github.com/sbousseaden/EVTX-ATTACK-SAMPLES(opens in new tab)
- blackhillsinfosec.com/a-sysmon-event-id-breakdown/(opens in new tab)
- github.com/nasbench/EVTX-ETW-Resources/blob/main/ETWProvidersCSVs/ThirdParty/Microsoft-Windows-Sysmon.csv(opens in new tab)
- ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx(opens in new tab)
Source: evtx/Maps/Microsoft-Windows-Sysmon-Operational_Microsoft-Windows-Sysmon_2.map(opens in new tab) by Andrew Rathbun and contributors(opens in new tab), MIT License(opens in new tab)