Evtx Data Types

One of the major novelties of the Windows event logging is that it supports an extensive set of data types. Those above the API are documented in a header file (WinEvt.h) and in the Microsoft Developer Network, of course.
Evtx internal data types
CodeNameMeaning
0x00TypeNullsuppresses optional substitution
0x01TypeStringUCS2-LE
0x02TypeAnsiString
0x03TypeSBytesigned 8bit integer
0x04TypeByteunsigned 8bit integer
0x05TypeInt16signed 16bit integer
0x06TypeUInt16unsigned 16bit integer
0x07TypeInt32signed 32bit integer
0x08TypeUInt32unsigned 32bit integer
0x09TypeInt64signed 64bit integer
0x0aTypeUInt64unsigned 64bit integer
0x0bTypeSignlesingle precision floating point number
0x0cTypeDoubledouble precision floating point number
0x0dTypeBooleantrue/false, occupies 4 bytes
0x0eTypeBinarystream of binary data
0x0fTypeGuidglobal unique identifier, 16 bytes
0x10TypeSizeTsize_t, either 32 or 64bit wide
0x11TypeFileTime64 bit, 100ns since 1601-01-01 00:00:00
0x12TypeSysTime32bit, seconds since 1970-01-01 00:00:00
0x13TypeSidsecurity identifier (variable length)
0x14TypeHexInt3232bit integer in hex notation
0x15TypeHexInt6464bit integer in hex notation
0x20TypeEvtHandleevent log object
0x21TypeEvtBXmlundocumented binary XML for an event
0x23TypeEvtXmlXML for an event
A raised most significant bit (0x80) indicates an array of the corresponding type instead of a single element. So far I've observed only an array of strings (0x81).

Archives

Imprint

This blog is a project of:
Andreas Schuster
Im Äuelchen 45
D-53177 Bonn
impressum@forensikblog.de

Copyright © 2005-2012 by
Andreas Schuster
All rights reserved.
Powered by Movable Type 5.12