Closed steve-offutt closed 4 years ago
Hi @steve-offutt,
Thank you for your issue, I missed that out because I did the fix quite quickly. I thought (wrongly) that FileTime was time expressed in nanoseconds. I somehow missed the concept of 100-nanosecond as mentioned in MS documentation speaking about FileTime structure "Contains a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).".
I fixed that out and everything should be fine in the next release.
Cheers,
Thank you for making these changes so quickly!
One more question, the release v1.2.3 does not appear to be pulled down correctly with the go get -u -v github.com/0xrawsec/golang-evtx/evtx
command. It checks out the master branch but I must manually go into $GOTPATH/src/github.com/0xrawsec/golang-evtx/evtx
and checkout the tagged commit. Is this the intended behavior for this version?
Maybe it is because I deleted the tag v1.2.2 since I didn't want a tagged version to contains such an important bug (issue #17). So the tags should jump straight from v1.2.1 to v1.2.3 on the remote branch. Maybe what happened is that your local branch still contained v1.2.2 and this created a conflict when go get tries to pull.
I am confused on the solution here and think that this still needs more attention. I am parsing via
evtxdump.exe
the event log located here.The command I run is:
evtxdump.exe security.evtx
. To test the new functionality out I choseEvent.System.EventRecordID
== 2261. In Windows Event Viewer the timestamp for this record is:2017-04-14T01:21:10.906949900Z
. However, from evtxdump stdout I can see that the record is being parsed as:As we can see the
Event.System.TimeCreated.SystemTime
is reporting 2017-10-03T14:01:17.380369499Z as a timestamp. There is a difference in the timestamps. Shouldn't they report the same timestamps?