stix_schema_spy 1.3 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/config/1.2/stix/campaign.xsd +2 -2
  3. data/config/1.2/stix/cybox/cybox_common.xsd +2700 -2700
  4. data/config/1.2/stix/cybox/cybox_core.xsd +1145 -1145
  5. data/config/1.2/stix/cybox/cybox_default_vocabularies.xsd +5180 -5180
  6. data/config/1.2/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -27
  7. data/config/1.2/stix/cybox/extensions/platform/cpe2.3.xsd +34 -34
  8. data/config/1.2/stix/cybox/external/cpe_2.3/xml.xsd +145 -145
  9. data/config/1.2/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -90
  10. data/config/1.2/stix/cybox/objects/API_Object.xsd +55 -55
  11. data/config/1.2/stix/cybox/objects/ARP_Cache_Object.xsd +98 -98
  12. data/config/1.2/stix/cybox/objects/AS_Object.xsd +50 -50
  13. data/config/1.2/stix/cybox/objects/Account_Object.xsd +501 -501
  14. data/config/1.2/stix/cybox/objects/Address_Object.xsd +127 -127
  15. data/config/1.2/stix/cybox/objects/Archive_File_Object.xsd +134 -134
  16. data/config/1.2/stix/cybox/objects/Artifact_Object.xsd +212 -212
  17. data/config/1.2/stix/cybox/objects/Code_Object.xsd +417 -417
  18. data/config/1.2/stix/cybox/objects/Custom_Object.xsd +42 -42
  19. data/config/1.2/stix/cybox/objects/DNS_Cache_Object.xsd +53 -53
  20. data/config/1.2/stix/cybox/objects/DNS_Query_Object.xsd +164 -164
  21. data/config/1.2/stix/cybox/objects/DNS_Record_Object.xsd +92 -92
  22. data/config/1.2/stix/cybox/objects/Device_Object.xsd +65 -65
  23. data/config/1.2/stix/cybox/objects/Disk_Object.xsd +117 -117
  24. data/config/1.2/stix/cybox/objects/Disk_Partition_Object.xsd +199 -199
  25. data/config/1.2/stix/cybox/objects/Domain_Name_Object.xsd +57 -57
  26. data/config/1.2/stix/cybox/objects/Email_Message_Object.xsd +278 -278
  27. data/config/1.2/stix/cybox/objects/File_Object.xsd +397 -397
  28. data/config/1.2/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -41
  29. data/config/1.2/stix/cybox/objects/GUI_Object.xsd +40 -40
  30. data/config/1.2/stix/cybox/objects/GUI_Window_Object.xsd +46 -46
  31. data/config/1.2/stix/cybox/objects/HTTP_Session_Object.xsd +633 -633
  32. data/config/1.2/stix/cybox/objects/Hostname_Object.xsd +45 -45
  33. data/config/1.2/stix/cybox/objects/Image_File_Object.xsd +124 -124
  34. data/config/1.2/stix/cybox/objects/Library_Object.xsd +114 -114
  35. data/config/1.2/stix/cybox/objects/Link_Object.xsd +36 -36
  36. data/config/1.2/stix/cybox/objects/Linux_Package_Object.xsd +75 -75
  37. data/config/1.2/stix/cybox/objects/Memory_Object.xsd +141 -141
  38. data/config/1.2/stix/cybox/objects/Mutex_Object.xsd +40 -40
  39. data/config/1.2/stix/cybox/objects/Network_Connection_Object.xsd +540 -540
  40. data/config/1.2/stix/cybox/objects/Network_Flow_Object.xsd +1559 -1559
  41. data/config/1.2/stix/cybox/objects/Network_Packet_Object.xsd +2934 -2934
  42. data/config/1.2/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -155
  43. data/config/1.2/stix/cybox/objects/Network_Route_Object.xsd +93 -93
  44. data/config/1.2/stix/cybox/objects/Network_Socket_Object.xsd +529 -529
  45. data/config/1.2/stix/cybox/objects/Network_Subnet_Object.xsd +64 -64
  46. data/config/1.2/stix/cybox/objects/PDF_File_Object.xsd +595 -595
  47. data/config/1.2/stix/cybox/objects/Pipe_Object.xsd +40 -40
  48. data/config/1.2/stix/cybox/objects/Port_Object.xsd +40 -40
  49. data/config/1.2/stix/cybox/objects/Process_Object.xsd +199 -199
  50. data/config/1.2/stix/cybox/objects/Product_Object.xsd +65 -65
  51. data/config/1.2/stix/cybox/objects/SMS_Message_Object.xsd +79 -79
  52. data/config/1.2/stix/cybox/objects/Semaphore_Object.xsd +50 -50
  53. data/config/1.2/stix/cybox/objects/Socket_Address_Object.xsd +50 -50
  54. data/config/1.2/stix/cybox/objects/System_Object.xsd +410 -410
  55. data/config/1.2/stix/cybox/objects/URI_Object.xsd +62 -62
  56. data/config/1.2/stix/cybox/objects/URL_History_Object.xsd +104 -104
  57. data/config/1.2/stix/cybox/objects/Unix_File_Object.xsd +164 -164
  58. data/config/1.2/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -56
  59. data/config/1.2/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -36
  60. data/config/1.2/stix/cybox/objects/Unix_Process_Object.xsd +143 -143
  61. data/config/1.2/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -78
  62. data/config/1.2/stix/cybox/objects/Unix_Volume_Object.xsd +41 -41
  63. data/config/1.2/stix/cybox/objects/User_Account_Object.xsd +110 -110
  64. data/config/1.2/stix/cybox/objects/User_Session_Object.xsd +60 -60
  65. data/config/1.2/stix/cybox/objects/Volume_Object.xsd +235 -235
  66. data/config/1.2/stix/cybox/objects/Whois_Object.xsd +430 -430
  67. data/config/1.2/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -135
  68. data/config/1.2/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -40
  69. data/config/1.2/stix/cybox/objects/Win_Driver_Object.xsd +270 -270
  70. data/config/1.2/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -137
  71. data/config/1.2/stix/cybox/objects/Win_Event_Object.xsd +80 -80
  72. data/config/1.2/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -1311
  73. data/config/1.2/stix/cybox/objects/Win_File_Object.xsd +269 -269
  74. data/config/1.2/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -175
  75. data/config/1.2/stix/cybox/objects/Win_Handle_Object.xsd +351 -351
  76. data/config/1.2/stix/cybox/objects/Win_Hook_Object.xsd +152 -152
  77. data/config/1.2/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -109
  78. data/config/1.2/stix/cybox/objects/Win_Kernel_Object.xsd +128 -128
  79. data/config/1.2/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -56
  80. data/config/1.2/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -198
  81. data/config/1.2/stix/cybox/objects/Win_Mutex_Object.xsd +42 -42
  82. data/config/1.2/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -200
  83. data/config/1.2/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -205
  84. data/config/1.2/stix/cybox/objects/Win_Pipe_Object.xsd +73 -73
  85. data/config/1.2/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -113
  86. data/config/1.2/stix/cybox/objects/Win_Process_Object.xsd +174 -174
  87. data/config/1.2/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -290
  88. data/config/1.2/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -42
  89. data/config/1.2/stix/cybox/objects/Win_Service_Object.xsd +287 -287
  90. data/config/1.2/stix/cybox/objects/Win_System_Object.xsd +126 -126
  91. data/config/1.2/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -207
  92. data/config/1.2/stix/cybox/objects/Win_Task_Object.xsd +755 -755
  93. data/config/1.2/stix/cybox/objects/Win_Thread_Object.xsd +146 -146
  94. data/config/1.2/stix/cybox/objects/Win_User_Account_Object.xsd +73 -73
  95. data/config/1.2/stix/cybox/objects/Win_Volume_Object.xsd +161 -161
  96. data/config/1.2/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -90
  97. data/config/1.2/stix/cybox/objects/X509_Certificate_Object.xsd +275 -275
  98. data/config/1.2/stix/data_marking.xsd +5 -5
  99. data/config/1.2/stix/exploit_target.xsd +2 -2
  100. data/config/1.2/stix/incident.xsd +1 -1
  101. data/config/1.2/stix/indicator.xsd +6 -6
  102. data/config/1.2/stix/report.xsd +6 -6
  103. data/config/1.2/stix/stix_common.xsd +22 -22
  104. data/config/1.2/stix/stix_core.xsd +7 -7
  105. data/config/1.2/stix/stix_default_vocabularies.xsd +8 -8
  106. data/config/1.2/stix/ttp.xsd +1 -1
  107. data/lib/stix_schema_spy/models/has_children.rb +3 -3
  108. data/lib/stix_schema_spy/version.rb +1 -1
  109. metadata +2 -2
@@ -1,137 +1,137 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinEventLogObj="http://cybox.mitre.org/objects#WinEventLogObject-2" targetNamespace="http://cybox.mitre.org/objects#WinEventLogObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
- <xs:annotation>
4
- <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
- <xs:appinfo>
6
- <schema>Win_Event_Log_Object</schema>
7
- <version>2.1</version>
8
- <date>01/22/2014</date>
9
- <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
- <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
- </xs:appinfo>
12
- </xs:annotation>
13
- <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
14
- <xs:element name="Windows_Event_Log" type="WinEventLogObj:WindowsEventLogObjectType">
15
- <xs:annotation>
16
- <xs:documentation>The Windows_Event_Log object is intended to characterize entries in the Windows event log. Microsoft's Event schema is described at http://msdn.microsoft.com/en-us/library/aa385201 and the .NET API is described at http://msdn.microsoft.com/en-us/library/y80k1300.aspx.</xs:documentation>
17
- </xs:annotation>
18
- </xs:element>
19
- <xs:complexType name="WindowsEventLogObjectType" mixed="false">
20
- <xs:annotation>
21
- <xs:documentation>The WindowsEventLogObjectType type is intended to characterize entries in the Windows event log.</xs:documentation>
22
- </xs:annotation>
23
- <xs:complexContent>
24
- <xs:extension base="cyboxCommon:ObjectPropertiesType">
25
- <xs:sequence>
26
- <xs:element name="EID" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
27
- <xs:annotation>
28
- <xs:documentation>The EID field specifies the ID of the event for which the event log entry was created.</xs:documentation>
29
- </xs:annotation>
30
- </xs:element>
31
- <xs:element name="Type" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
32
- <xs:annotation>
33
- <xs:documentation>The event type associated with the entry in the event log, e.g., warning, information, error.</xs:documentation>
34
- </xs:annotation>
35
- </xs:element>
36
- <xs:element name="Log" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
37
- <xs:annotation>
38
- <xs:documentation>The name of the log.</xs:documentation>
39
- </xs:annotation>
40
- </xs:element>
41
- <xs:element name="Message" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
42
- <xs:annotation>
43
- <xs:documentation>The rendered message string for the event.</xs:documentation>
44
- </xs:annotation>
45
- </xs:element>
46
- <xs:element name="Category_Num" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
47
- <xs:annotation>
48
- <xs:documentation>The event entry's category number, as defined by the source.</xs:documentation>
49
- </xs:annotation>
50
- </xs:element>
51
- <xs:element name="Category" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
52
- <xs:annotation>
53
- <xs:documentation>The text associated with Category_Num.</xs:documentation>
54
- </xs:annotation>
55
- </xs:element>
56
- <xs:element name="Generation_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
57
- <xs:annotation>
58
- <xs:documentation>The Generation_Time field specifies the date/time the event was generated.</xs:documentation>
59
- </xs:annotation>
60
- </xs:element>
61
- <xs:element name="Source" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
62
- <xs:annotation>
63
- <xs:documentation>What logged the event, typically the name of an application or sub-component.</xs:documentation>
64
- </xs:annotation>
65
- </xs:element>
66
- <xs:element name="Machine" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
67
- <xs:annotation>
68
- <xs:documentation>The name of the computer on which the event log entry was generated.</xs:documentation>
69
- </xs:annotation>
70
- </xs:element>
71
- <xs:element name="User" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
72
- <xs:annotation>
73
- <xs:documentation>The name of the user (the security ID) responsible for the event.</xs:documentation>
74
- </xs:annotation>
75
- </xs:element>
76
- <xs:element name="Blob" type="cyboxCommon:Base64BinaryObjectPropertyType" minOccurs="0">
77
- <xs:annotation>
78
- <xs:documentation>The event data as a binary blob.</xs:documentation>
79
- </xs:annotation>
80
- </xs:element>
81
- <xs:element name="Correlation_Activity_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
82
- <xs:annotation>
83
- <xs:documentation>A globally unique identifier that identifies the current activity.</xs:documentation>
84
- </xs:annotation>
85
- </xs:element>
86
- <xs:element name="Correlation_Related_Activity_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
87
- <xs:annotation>
88
- <xs:documentation>A globally unique identifier that identifies the activity to which control was transferred to.</xs:documentation>
89
- </xs:annotation>
90
- </xs:element>
91
- <xs:element name="Execution_Process_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
92
- <xs:annotation>
93
- <xs:documentation>The Execution_Process_ID field specifies the Process ID (PID) of the process which created the event.</xs:documentation>
94
- </xs:annotation>
95
- </xs:element>
96
- <xs:element name="Execution_Thread_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
97
- <xs:annotation>
98
- <xs:documentation>The Execution_Thread_ID field specifies the Thread ID (TID) of the thread which created the event.</xs:documentation>
99
- </xs:annotation>
100
- </xs:element>
101
- <xs:element name="Index" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
102
- <xs:annotation>
103
- <xs:documentation>The index of the event entry in the log.</xs:documentation>
104
- </xs:annotation>
105
- </xs:element>
106
- <xs:element name="Reserved" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
107
- <xs:annotation>
108
- <xs:documentation>A DWORD value that is always set to ELF_LOG_SIGNATURE (the value 0x654c664c), which is ASCII for eLfL.</xs:documentation>
109
- </xs:annotation>
110
- </xs:element>
111
- <xs:element name="Unformatted_Message_List" type="WinEventLogObj:UnformattedMessageListType" minOccurs="0">
112
- <xs:annotation>
113
- <xs:documentation>List of unformatted messages in the event log entry.</xs:documentation>
114
- </xs:annotation>
115
- </xs:element>
116
- <xs:element name="Write_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
117
- <xs:annotation>
118
- <xs:documentation>The Write_Time field specifies the date/time that the entry was written into the event log.</xs:documentation>
119
- </xs:annotation>
120
- </xs:element>
121
- </xs:sequence>
122
- </xs:extension>
123
- </xs:complexContent>
124
- </xs:complexType>
125
- <xs:complexType name="UnformattedMessageListType">
126
- <xs:annotation>
127
- <xs:documentation>The UnformattedMessageListType type is a list of unformatted messages in the event log entry.</xs:documentation>
128
- </xs:annotation>
129
- <xs:sequence>
130
- <xs:element name="Unformatted_Message" type="cyboxCommon:StringObjectPropertyType" minOccurs="1" maxOccurs="unbounded">
131
- <xs:annotation>
132
- <xs:documentation>A single unformatted message in the event log entry.</xs:documentation>
133
- </xs:annotation>
134
- </xs:element>
135
- </xs:sequence>
136
- </xs:complexType>
137
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinEventLogObj="http://cybox.mitre.org/objects#WinEventLogObject-2" targetNamespace="http://cybox.mitre.org/objects#WinEventLogObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
+ <xs:annotation>
4
+ <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
+ <xs:appinfo>
6
+ <schema>Win_Event_Log_Object</schema>
7
+ <version>2.1</version>
8
+ <date>01/22/2014</date>
9
+ <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
+ <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
+ </xs:appinfo>
12
+ </xs:annotation>
13
+ <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
14
+ <xs:element name="Windows_Event_Log" type="WinEventLogObj:WindowsEventLogObjectType">
15
+ <xs:annotation>
16
+ <xs:documentation>The Windows_Event_Log object is intended to characterize entries in the Windows event log. Microsoft's Event schema is described at http://msdn.microsoft.com/en-us/library/aa385201 and the .NET API is described at http://msdn.microsoft.com/en-us/library/y80k1300.aspx.</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:complexType name="WindowsEventLogObjectType" mixed="false">
20
+ <xs:annotation>
21
+ <xs:documentation>The WindowsEventLogObjectType type is intended to characterize entries in the Windows event log.</xs:documentation>
22
+ </xs:annotation>
23
+ <xs:complexContent>
24
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
25
+ <xs:sequence>
26
+ <xs:element name="EID" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
27
+ <xs:annotation>
28
+ <xs:documentation>The EID field specifies the ID of the event for which the event log entry was created.</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="Type" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
32
+ <xs:annotation>
33
+ <xs:documentation>The event type associated with the entry in the event log, e.g., warning, information, error.</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ <xs:element name="Log" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
37
+ <xs:annotation>
38
+ <xs:documentation>The name of the log.</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="Message" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
42
+ <xs:annotation>
43
+ <xs:documentation>The rendered message string for the event.</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="Category_Num" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
47
+ <xs:annotation>
48
+ <xs:documentation>The event entry's category number, as defined by the source.</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="Category" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
52
+ <xs:annotation>
53
+ <xs:documentation>The text associated with Category_Num.</xs:documentation>
54
+ </xs:annotation>
55
+ </xs:element>
56
+ <xs:element name="Generation_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
57
+ <xs:annotation>
58
+ <xs:documentation>The Generation_Time field specifies the date/time the event was generated.</xs:documentation>
59
+ </xs:annotation>
60
+ </xs:element>
61
+ <xs:element name="Source" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
62
+ <xs:annotation>
63
+ <xs:documentation>What logged the event, typically the name of an application or sub-component.</xs:documentation>
64
+ </xs:annotation>
65
+ </xs:element>
66
+ <xs:element name="Machine" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
67
+ <xs:annotation>
68
+ <xs:documentation>The name of the computer on which the event log entry was generated.</xs:documentation>
69
+ </xs:annotation>
70
+ </xs:element>
71
+ <xs:element name="User" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
72
+ <xs:annotation>
73
+ <xs:documentation>The name of the user (the security ID) responsible for the event.</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ <xs:element name="Blob" type="cyboxCommon:Base64BinaryObjectPropertyType" minOccurs="0">
77
+ <xs:annotation>
78
+ <xs:documentation>The event data as a binary blob.</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:element>
81
+ <xs:element name="Correlation_Activity_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
82
+ <xs:annotation>
83
+ <xs:documentation>A globally unique identifier that identifies the current activity.</xs:documentation>
84
+ </xs:annotation>
85
+ </xs:element>
86
+ <xs:element name="Correlation_Related_Activity_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
87
+ <xs:annotation>
88
+ <xs:documentation>A globally unique identifier that identifies the activity to which control was transferred to.</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:element>
91
+ <xs:element name="Execution_Process_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
92
+ <xs:annotation>
93
+ <xs:documentation>The Execution_Process_ID field specifies the Process ID (PID) of the process which created the event.</xs:documentation>
94
+ </xs:annotation>
95
+ </xs:element>
96
+ <xs:element name="Execution_Thread_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
97
+ <xs:annotation>
98
+ <xs:documentation>The Execution_Thread_ID field specifies the Thread ID (TID) of the thread which created the event.</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:element>
101
+ <xs:element name="Index" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
102
+ <xs:annotation>
103
+ <xs:documentation>The index of the event entry in the log.</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:element>
106
+ <xs:element name="Reserved" type="cyboxCommon:LongObjectPropertyType" minOccurs="0">
107
+ <xs:annotation>
108
+ <xs:documentation>A DWORD value that is always set to ELF_LOG_SIGNATURE (the value 0x654c664c), which is ASCII for eLfL.</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:element>
111
+ <xs:element name="Unformatted_Message_List" type="WinEventLogObj:UnformattedMessageListType" minOccurs="0">
112
+ <xs:annotation>
113
+ <xs:documentation>List of unformatted messages in the event log entry.</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:element>
116
+ <xs:element name="Write_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
117
+ <xs:annotation>
118
+ <xs:documentation>The Write_Time field specifies the date/time that the entry was written into the event log.</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:element>
121
+ </xs:sequence>
122
+ </xs:extension>
123
+ </xs:complexContent>
124
+ </xs:complexType>
125
+ <xs:complexType name="UnformattedMessageListType">
126
+ <xs:annotation>
127
+ <xs:documentation>The UnformattedMessageListType type is a list of unformatted messages in the event log entry.</xs:documentation>
128
+ </xs:annotation>
129
+ <xs:sequence>
130
+ <xs:element name="Unformatted_Message" type="cyboxCommon:StringObjectPropertyType" minOccurs="1" maxOccurs="unbounded">
131
+ <xs:annotation>
132
+ <xs:documentation>A single unformatted message in the event log entry.</xs:documentation>
133
+ </xs:annotation>
134
+ </xs:element>
135
+ </xs:sequence>
136
+ </xs:complexType>
137
+ </xs:schema>
@@ -1,80 +1,80 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinEventObj="http://cybox.mitre.org/objects#WinEventObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinHandleObj="http://cybox.mitre.org/objects#WinHandleObject-2" targetNamespace="http://cybox.mitre.org/objects#WinEventObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
- <xs:annotation>
4
- <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
- <xs:appinfo>
6
- <schema>Win_Event_Object</schema>
7
- <version>2.1</version>
8
- <date>01/22/2014</date>
9
- <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
- <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
- </xs:appinfo>
12
- </xs:annotation>
13
- <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
14
- <xs:import namespace="http://cybox.mitre.org/objects#WinHandleObject-2" schemaLocation="Win_Handle_Object.xsd"/>
15
- <xs:element name="Windows_Event" type="WinEventObj:WindowsEventObjectType">
16
- <xs:annotation>
17
- <xs:documentation>The Windows_Event object is intended to characterize Windows event (synchronization) objects.</xs:documentation>
18
- </xs:annotation>
19
- </xs:element>
20
- <xs:complexType name="WindowsEventObjectType" mixed="false">
21
- <xs:annotation>
22
- <xs:documentation>The WindowsEventObjectType type is intended to characterize Windows event (synchronization) objects.</xs:documentation>
23
- </xs:annotation>
24
- <xs:complexContent>
25
- <xs:extension base="cyboxCommon:ObjectPropertiesType">
26
- <xs:sequence>
27
- <xs:element name="Handle" type="WinHandleObj:WindowsHandleObjectType" minOccurs="0">
28
- <xs:annotation>
29
- <xs:documentation>The Handle field specifies the handle to the Windows event object. It imports and uses the WindowsHandleObjectType type from the CybOX Windows Handle object.</xs:documentation>
30
- </xs:annotation>
31
- </xs:element>
32
- <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
33
- <xs:annotation>
34
- <xs:documentation>The Name field specifies the name of the Windows event object.</xs:documentation>
35
- </xs:annotation>
36
- </xs:element>
37
- <xs:element name="Type" type="WinEventObj:WinEventType" minOccurs="0">
38
- <xs:annotation>
39
- <xs:documentation>The Type field specifies the type of the Windows event.</xs:documentation>
40
- </xs:annotation>
41
- </xs:element>
42
- </xs:sequence>
43
- </xs:extension>
44
- </xs:complexContent>
45
- </xs:complexType>
46
- <xs:complexType name="WinEventType">
47
- <xs:annotation>
48
- <xs:documentation>WinEventType specifies Windows event types, via a union of the WinEventTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
49
- </xs:annotation>
50
- <xs:simpleContent>
51
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
52
- <xs:simpleType>
53
- <xs:union memberTypes="WinEventObj:WinEventTypeEnum xs:string"/>
54
- </xs:simpleType>
55
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
56
- <xs:annotation>
57
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
58
- </xs:annotation>
59
- </xs:attribute>
60
- </xs:restriction>
61
- </xs:simpleContent>
62
- </xs:complexType>
63
- <xs:simpleType name="WinEventTypeEnum">
64
- <xs:annotation>
65
- <xs:documentation>The WinEventTypeEnum type is an enumeration of Windows synchronization event types. These are described in detail in http://msdn.microsoft.com/en-us/library/windows/desktop/ms682655(v=vs.85).aspx.</xs:documentation>
66
- </xs:annotation>
67
- <xs:restriction base="xs:string">
68
- <xs:enumeration value="ManualReset">
69
- <xs:annotation>
70
- <xs:documentation>Indicates an event object whose state remains signaled until it is explicitly reset to nonsignaled by the ResetEvent function. While it is signaled, any number of waiting threads, or threads that subsequently specify the same event object in one of the wait functions, can be released.</xs:documentation>
71
- </xs:annotation>
72
- </xs:enumeration>
73
- <xs:enumeration value="AutoReset">
74
- <xs:annotation>
75
- <xs:documentation>Indicates an event object whose state remains signaled until a single waiting thread is released, at which time the system automatically sets the state to nonsignaled. If no threads are waiting, the event object's state remains signaled. If more than one thread is waiting, a waiting thread is selected. Do not assume a first-in, first-out (FIFO) order. External events such as kernel-mode APCs can change the wait order.</xs:documentation>
76
- </xs:annotation>
77
- </xs:enumeration>
78
- </xs:restriction>
79
- </xs:simpleType>
80
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinEventObj="http://cybox.mitre.org/objects#WinEventObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinHandleObj="http://cybox.mitre.org/objects#WinHandleObject-2" targetNamespace="http://cybox.mitre.org/objects#WinEventObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
+ <xs:annotation>
4
+ <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
+ <xs:appinfo>
6
+ <schema>Win_Event_Object</schema>
7
+ <version>2.1</version>
8
+ <date>01/22/2014</date>
9
+ <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
+ <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
+ </xs:appinfo>
12
+ </xs:annotation>
13
+ <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
14
+ <xs:import namespace="http://cybox.mitre.org/objects#WinHandleObject-2" schemaLocation="Win_Handle_Object.xsd"/>
15
+ <xs:element name="Windows_Event" type="WinEventObj:WindowsEventObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The Windows_Event object is intended to characterize Windows event (synchronization) objects.</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:complexType name="WindowsEventObjectType" mixed="false">
21
+ <xs:annotation>
22
+ <xs:documentation>The WindowsEventObjectType type is intended to characterize Windows event (synchronization) objects.</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:complexContent>
25
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
26
+ <xs:sequence>
27
+ <xs:element name="Handle" type="WinHandleObj:WindowsHandleObjectType" minOccurs="0">
28
+ <xs:annotation>
29
+ <xs:documentation>The Handle field specifies the handle to the Windows event object. It imports and uses the WindowsHandleObjectType type from the CybOX Windows Handle object.</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
33
+ <xs:annotation>
34
+ <xs:documentation>The Name field specifies the name of the Windows event object.</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element name="Type" type="WinEventObj:WinEventType" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>The Type field specifies the type of the Windows event.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ </xs:sequence>
43
+ </xs:extension>
44
+ </xs:complexContent>
45
+ </xs:complexType>
46
+ <xs:complexType name="WinEventType">
47
+ <xs:annotation>
48
+ <xs:documentation>WinEventType specifies Windows event types, via a union of the WinEventTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
49
+ </xs:annotation>
50
+ <xs:simpleContent>
51
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
52
+ <xs:simpleType>
53
+ <xs:union memberTypes="WinEventObj:WinEventTypeEnum xs:string"/>
54
+ </xs:simpleType>
55
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
56
+ <xs:annotation>
57
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
58
+ </xs:annotation>
59
+ </xs:attribute>
60
+ </xs:restriction>
61
+ </xs:simpleContent>
62
+ </xs:complexType>
63
+ <xs:simpleType name="WinEventTypeEnum">
64
+ <xs:annotation>
65
+ <xs:documentation>The WinEventTypeEnum type is an enumeration of Windows synchronization event types. These are described in detail in http://msdn.microsoft.com/en-us/library/windows/desktop/ms682655(v=vs.85).aspx.</xs:documentation>
66
+ </xs:annotation>
67
+ <xs:restriction base="xs:string">
68
+ <xs:enumeration value="ManualReset">
69
+ <xs:annotation>
70
+ <xs:documentation>Indicates an event object whose state remains signaled until it is explicitly reset to nonsignaled by the ResetEvent function. While it is signaled, any number of waiting threads, or threads that subsequently specify the same event object in one of the wait functions, can be released.</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:enumeration>
73
+ <xs:enumeration value="AutoReset">
74
+ <xs:annotation>
75
+ <xs:documentation>Indicates an event object whose state remains signaled until a single waiting thread is released, at which time the system automatically sets the state to nonsignaled. If no threads are waiting, the event object's state remains signaled. If more than one thread is waiting, a waiting thread is selected. Do not assume a first-in, first-out (FIFO) order. External events such as kernel-mode APCs can change the wait order.</xs:documentation>
76
+ </xs:annotation>
77
+ </xs:enumeration>
78
+ </xs:restriction>
79
+ </xs:simpleType>
80
+ </xs:schema>
@@ -1,1311 +1,1311 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinExecutableFileObj="http://cybox.mitre.org/objects#WinExecutableFileObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinFileObj="http://cybox.mitre.org/objects#WinFileObject-2" targetNamespace="http://cybox.mitre.org/objects#WinExecutableFileObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
- <xs:annotation>
4
- <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
- <xs:appinfo>
6
- <schema>Win_Executable_File_Object</schema>
7
- <version>2.1</version>
8
- <date>01/22/2014</date>
9
- <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
- <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
- </xs:appinfo>
12
- </xs:annotation>
13
- <xs:import namespace="http://cybox.mitre.org/objects#WinFileObject-2" schemaLocation="Win_File_Object.xsd"/>
14
- <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
15
- <xs:element name="Windows_Executable_File" type="WinExecutableFileObj:WindowsExecutableFileObjectType">
16
- <xs:annotation>
17
- <xs:documentation>The Windows_Executable_File object is intended to characterize Windows PE (Portable Executable) files. Sources of information: Matt Pietrik's articles in MSDN Magazine (http://msdn.microsoft.com/en-us/magazine/cc301805.aspx and http://msdn.microsoft.com/en-us/magazine/cc301808.aspx); Microsoft's specification of PE and COFF (http://msdn.microsoft.com/library/windows/hardware/gg463125); LUEVELSMEYER's description (http://webster.cs.ucr.edu/Page_TechDocs/pe.txt).</xs:documentation>
18
- </xs:annotation>
19
- </xs:element>
20
- <xs:element name="Resource" type="WinExecutableFileObj:PEResourceType">
21
- <xs:annotation>
22
- <xs:documentation>The Resource field characterizes an abstract PE file resource.</xs:documentation>
23
- </xs:annotation>
24
- </xs:element>
25
- <xs:element name="VersionInfoResource" substitutionGroup="WinExecutableFileObj:Resource" type="WinExecutableFileObj:PEVersionInfoResourceType">
26
- <xs:annotation>
27
- <xs:documentation>The VersionInfoResource field characterizes a Version resource that uses the VERSIONINFO resource.</xs:documentation>
28
- </xs:annotation>
29
- </xs:element>
30
- <xs:complexType name="WindowsExecutableFileObjectType" mixed="false">
31
- <xs:annotation>
32
- <xs:documentation>The WindowsExecutableFileObjectType type is intended to characterize Windows PE (Portable Executable) files.</xs:documentation>
33
- </xs:annotation>
34
- <xs:complexContent>
35
- <xs:extension base="WinFileObj:WindowsFileObjectType">
36
- <xs:sequence minOccurs="1">
37
- <xs:element minOccurs="0" name="Build_Information" type="WinExecutableFileObj:PEBuildInformationType">
38
- <xs:annotation>
39
- <xs:documentation>The Build_Information field specifies some information on the tools used to build the PE binary.</xs:documentation>
40
- </xs:annotation>
41
- </xs:element>
42
- <xs:element name="Digital_Signature" type="cyboxCommon:DigitalSignatureInfoType" minOccurs="0" maxOccurs="1">
43
- <xs:annotation>
44
- <xs:documentation>The Digital_Signature field specifies the information about the digital signature used to sign the PE binary.</xs:documentation>
45
- </xs:annotation>
46
- </xs:element>
47
- <xs:element name="Exports" type="WinExecutableFileObj:PEExportsType" minOccurs="0" maxOccurs="1">
48
- <xs:annotation>
49
- <xs:documentation>The Exports field characterizes the PE Export table of the PE Binary.</xs:documentation>
50
- </xs:annotation>
51
- </xs:element>
52
- <xs:element name="Extraneous_Bytes" type="cyboxCommon:IntegerObjectPropertyType" minOccurs="0" maxOccurs="1">
53
- <xs:annotation>
54
- <xs:documentation>The Extraneous_Bytes field specifies the number of extraneous bytes contained in the PE binary.</xs:documentation>
55
- </xs:annotation>
56
- </xs:element>
57
- <xs:element name="Headers" type="WinExecutableFileObj:PEHeadersType" minOccurs="0">
58
- <xs:annotation>
59
- <xs:documentation>The Headers field contains fields for characterizing aspects the various types of PE headers.</xs:documentation>
60
- </xs:annotation>
61
- </xs:element>
62
- <xs:element name="Imports" type="WinExecutableFileObj:PEImportListType" minOccurs="0">
63
- <xs:annotation>
64
- <xs:documentation>The Imports field characterizes the PE Import Table of the binary.</xs:documentation>
65
- </xs:annotation>
66
- </xs:element>
67
- <xs:element name="PE_Checksum" type="WinExecutableFileObj:PEChecksumType" minOccurs="0" maxOccurs="1">
68
- <xs:annotation>
69
- <xs:documentation>The PE_Checksum field specifies the checksum of the PE file.</xs:documentation>
70
- </xs:annotation>
71
- </xs:element>
72
- <xs:element name="Resources" type="WinExecutableFileObj:PEResourceListType" minOccurs="0">
73
- <xs:annotation>
74
- <xs:documentation>The Resources field characterizes the PE Resources of the binary.</xs:documentation>
75
- </xs:annotation>
76
- </xs:element>
77
- <xs:element name="Sections" type="WinExecutableFileObj:PESectionListType" minOccurs="0" maxOccurs="1">
78
- <xs:annotation>
79
- <xs:documentation>The Sections field characterizes the PE Sections of the binary.</xs:documentation>
80
- </xs:annotation>
81
- </xs:element>
82
- <xs:element name="Type" type="WinExecutableFileObj:PEType" minOccurs="0" maxOccurs="1">
83
- <xs:annotation>
84
- <xs:documentation>The Type specifies the particular type of the PE binary, e.g. Executable.</xs:documentation>
85
- </xs:annotation>
86
- </xs:element>
87
- </xs:sequence>
88
- </xs:extension>
89
- </xs:complexContent>
90
- </xs:complexType>
91
- <xs:complexType name="PEChecksumType">
92
- <xs:annotation>
93
- <xs:documentation>The PECheckSumType records the checksum of the PE file, both as found in the file and computed.</xs:documentation>
94
- </xs:annotation>
95
- <xs:sequence>
96
- <xs:element name="PE_Computed_API" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
97
- <xs:annotation>
98
- <xs:documentation>PE_Computed_API specifies a checksum computed by an external algorithm.</xs:documentation>
99
- </xs:annotation>
100
- </xs:element>
101
- <xs:element name="PE_File_API" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
102
- <xs:annotation>
103
- <xs:documentation>PE_File_API specified the checksum computed by IMAGHELP.DLL.</xs:documentation>
104
- </xs:annotation>
105
- </xs:element>
106
- <xs:element name="PE_File_Raw" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
107
- <xs:annotation>
108
- <xs:documentation>PE_File_Raw specifies the checksum found in the PE file (in the Optional Header).</xs:documentation>
109
- </xs:annotation>
110
- </xs:element>
111
- </xs:sequence>
112
- </xs:complexType>
113
- <xs:complexType name="PEExportsType">
114
- <xs:annotation>
115
- <xs:documentation>The PEExportsType specifies the PE File exports data section. The exports data section contains information about symbols exported by the PE File (a DLL) which can be dynamically loaded by other executables. This type abstracts, and its components, abstract the Windows structures.</xs:documentation>
116
- </xs:annotation>
117
- <xs:sequence>
118
- <xs:element maxOccurs="1" minOccurs="0" name="Name" type="cyboxCommon:StringObjectPropertyType">
119
- <xs:annotation>
120
- <xs:documentation>The Name field specifies the actual name of the PE module, as used by the PE loader when it is imported by another executable.</xs:documentation>
121
- </xs:annotation>
122
- </xs:element>
123
- <xs:element name="Exported_Functions" type="WinExecutableFileObj:PEExportedFunctionsType" minOccurs="0" maxOccurs="1">
124
- <xs:annotation>
125
- <xs:documentation>A list of the exported functions in this section.</xs:documentation>
126
- </xs:annotation>
127
- </xs:element>
128
- <xs:element name="Exports_Time_Stamp" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0" maxOccurs="1">
129
- <xs:annotation>
130
- <xs:documentation>The date and time the export data was created.</xs:documentation>
131
- </xs:annotation>
132
- </xs:element>
133
- <xs:element name="Number_Of_Addresses" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
134
- <xs:annotation>
135
- <xs:documentation>The number of addresses in the export data section's address table.</xs:documentation>
136
- </xs:annotation>
137
- </xs:element>
138
- <xs:element name="Number_Of_Names" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
139
- <xs:annotation>
140
- <xs:documentation>The number of names in the export data section's name table.</xs:documentation>
141
- </xs:annotation>
142
- </xs:element>
143
- <xs:element minOccurs="0" name="Number_Of_Functions" type="cyboxCommon:IntegerObjectPropertyType">
144
- <xs:annotation>
145
- <xs:documentation>The Number_Of_Functions field specifies the total number of functions that are exported by the PE file.</xs:documentation>
146
- </xs:annotation>
147
- </xs:element>
148
- </xs:sequence>
149
- </xs:complexType>
150
- <xs:complexType name="PEExportedFunctionsType">
151
- <xs:annotation>
152
- <xs:documentation>The PEExportedFunctionsType specifies a list of PE exported functions.</xs:documentation>
153
- </xs:annotation>
154
- <xs:sequence>
155
- <xs:element name="Exported_Function" type="WinExecutableFileObj:PEExportedFunctionType" maxOccurs="unbounded">
156
- <xs:annotation>
157
- <xs:documentation>Specifies a single field in the list of exported functions.</xs:documentation>
158
- </xs:annotation>
159
- </xs:element>
160
- </xs:sequence>
161
- </xs:complexType>
162
- <xs:complexType name="PESectionListType">
163
- <xs:annotation>
164
- <xs:documentation>The PESectionListType captures a list of sections that appear in the PE file.</xs:documentation>
165
- </xs:annotation>
166
- <xs:sequence>
167
- <xs:element name="Section" type="WinExecutableFileObj:PESectionType" minOccurs="1" maxOccurs="unbounded">
168
- <xs:annotation>
169
- <xs:documentation>Specifies an field of a list of PE file sections.</xs:documentation>
170
- </xs:annotation>
171
- </xs:element>
172
- </xs:sequence>
173
- </xs:complexType>
174
- <xs:complexType name="EntropyType">
175
- <xs:annotation>
176
- <xs:documentation>The EntropyType captures the result of an entropy computation.</xs:documentation>
177
- </xs:annotation>
178
- <xs:sequence>
179
- <xs:element name="Value" type="cyboxCommon:FloatObjectPropertyType" minOccurs="0">
180
- <xs:annotation>
181
- <xs:documentation>Specifies the computed entropy value.</xs:documentation>
182
- </xs:annotation>
183
- </xs:element>
184
- <xs:element name="Min" type="cyboxCommon:FloatObjectPropertyType" minOccurs="0">
185
- <xs:annotation>
186
- <xs:documentation>Specifies the smallest possible value for the entropy computation.</xs:documentation>
187
- </xs:annotation>
188
- </xs:element>
189
- <xs:element name="Max" type="cyboxCommon:FloatObjectPropertyType" minOccurs="0">
190
- <xs:annotation>
191
- <xs:documentation>Specifies the largest possible value for the entropy computation (e.g., this would be 8 if the entropy computations is based on bits of information).</xs:documentation>
192
- </xs:annotation>
193
- </xs:element>
194
- </xs:sequence>
195
- </xs:complexType>
196
- <xs:complexType name="PEImportType">
197
- <xs:annotation>
198
- <xs:documentation>The PEImportType type is intended as container for the properties relevant to PE binary imports.</xs:documentation>
199
- </xs:annotation>
200
- <xs:sequence>
201
- <xs:element name="File_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
202
- <xs:annotation>
203
- <xs:documentation>The File_Name field specifies the name of the library (file) that the PE binary imports.</xs:documentation>
204
- </xs:annotation>
205
- </xs:element>
206
- <xs:element name="Imported_Functions" type="WinExecutableFileObj:PEImportedFunctionsType" minOccurs="0">
207
- <xs:annotation>
208
- <xs:documentation>The Imported_Functions field is used to enumerate any functions imported from a particular library.</xs:documentation>
209
- </xs:annotation>
210
- </xs:element>
211
- <xs:element name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
212
- <xs:annotation>
213
- <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the PE binary library import.</xs:documentation>
214
- </xs:annotation>
215
- </xs:element>
216
- </xs:sequence>
217
- <xs:attribute name="delay_load" type="xs:boolean">
218
- <xs:annotation>
219
- <xs:documentation>The delay_load field is a boolean value that is intended to describe whether a PE binary import is delay-load or not.</xs:documentation>
220
- </xs:annotation>
221
- </xs:attribute>
222
- <xs:attribute name="initially_visible" type="xs:boolean">
223
- <xs:annotation>
224
- <xs:documentation>The initially_visible field refers to whether the import is initially visible, with regards to being initially visible or hidden in relation to PE binary packing. A packed binary will typically have few initially visible imports, and thus it is necessary to make the distinction between those that are visible initially or only after the binary is unpacked.</xs:documentation>
225
- </xs:annotation>
226
- </xs:attribute>
227
- </xs:complexType>
228
- <xs:complexType name="PEImportedFunctionsType">
229
- <xs:annotation>
230
- <xs:documentation>The PEImportedFunctionsType captures a list of functions imported by the PE file.</xs:documentation>
231
- </xs:annotation>
232
- <xs:sequence>
233
- <xs:element name="Imported_Function" type="WinExecutableFileObj:PEImportedFunctionType" maxOccurs="unbounded">
234
- <xs:annotation>
235
- <xs:documentation>Specifies a single field in a list of imported functions.</xs:documentation>
236
- </xs:annotation>
237
- </xs:element>
238
- </xs:sequence>
239
- </xs:complexType>
240
- <xs:complexType name="PEResourceType">
241
- <xs:annotation>
242
- <xs:documentation>The PEResourceType type is intended as container for the properties relevant to PE binary resources.</xs:documentation>
243
- </xs:annotation>
244
- <xs:sequence>
245
- <xs:element name="Type" type="WinExecutableFileObj:PEResourceContentType" minOccurs="0">
246
- <xs:annotation>
247
- <xs:documentation>This field refers to the type of data referred to by this resource.</xs:documentation>
248
- </xs:annotation>
249
- </xs:element>
250
- <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
251
- <xs:annotation>
252
- <xs:documentation>The Name field specifies the name of the resource used by the PE binary.</xs:documentation>
253
- </xs:annotation>
254
- </xs:element>
255
- <xs:element minOccurs="0" name="Size" type="cyboxCommon:PositiveIntegerObjectPropertyType">
256
- <xs:annotation>
257
- <xs:documentation>The Size field specifies the size of the resource, in bytes.</xs:documentation>
258
- </xs:annotation>
259
- </xs:element>
260
- <xs:element minOccurs="0" name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType">
261
- <xs:annotation>
262
- <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the resource data.</xs:documentation>
263
- </xs:annotation>
264
- </xs:element>
265
- <xs:element minOccurs="0" name="Language" type="cyboxCommon:StringObjectPropertyType">
266
- <xs:annotation>
267
- <xs:documentation>The Language field specifies the name of the language (LANG) defined for the resource, if applicable.</xs:documentation>
268
- </xs:annotation>
269
- </xs:element>
270
- <xs:element maxOccurs="1" minOccurs="0" name="Sub_Language" type="cyboxCommon:StringObjectPropertyType">
271
- <xs:annotation>
272
- <xs:documentation>The Sub_Language field specifies the name of the sub language (SUBLANG) defined for the resource, if applicable.</xs:documentation>
273
- </xs:annotation>
274
- </xs:element>
275
- <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
276
- <xs:annotation>
277
- <xs:documentation>The Hashes field is used to include any hash values computed using the specified PE binary resource as input.</xs:documentation>
278
- </xs:annotation>
279
- </xs:element>
280
- <xs:element minOccurs="0" name="Data" type="cyboxCommon:StringObjectPropertyType">
281
- <xs:annotation>
282
- <xs:documentation>The Data field captures the actual data contained in the resource, most commonly as a base64-encoded string encapsulated in a CDATA () section.</xs:documentation>
283
- </xs:annotation>
284
- </xs:element>
285
- </xs:sequence>
286
- </xs:complexType>
287
- <xs:complexType name="PEVersionInfoResourceType">
288
- <xs:annotation>
289
- <xs:documentation>The PEVersionInfoResourceType characterizes the special VERSIONINFO resource type. For more information please see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx.</xs:documentation>
290
- </xs:annotation>
291
- <xs:complexContent>
292
- <xs:extension base="WinExecutableFileObj:PEResourceType">
293
- <xs:sequence>
294
- <xs:element minOccurs="0" name="Comments" type="cyboxCommon:StringObjectPropertyType">
295
- <xs:annotation>
296
- <xs:documentation>The Comments field captures any additional information that should be displayed for diagnostic purposes.</xs:documentation>
297
- </xs:annotation>
298
- </xs:element>
299
- <xs:element minOccurs="0" name="CompanyName" type="cyboxCommon:StringObjectPropertyType">
300
- <xs:annotation>
301
- <xs:documentation>The CompanyName field captures the company that produced the file - for example, "Microsoft Corporation" or "Standard Microsystems Corporation, Inc.".</xs:documentation>
302
- </xs:annotation>
303
- </xs:element>
304
- <xs:element minOccurs="0" name="FileDescription" type="cyboxCommon:StringObjectPropertyType">
305
- <xs:annotation>
306
- <xs:documentation>The FileDescription field captures the file description to be presented to users. This string may be displayed in a list box when the user is choosing files to install - for example, "Keyboard Driver for AT-Style Keyboards".</xs:documentation>
307
- </xs:annotation>
308
- </xs:element>
309
- <xs:element minOccurs="0" name="FileVersion" type="cyboxCommon:StringObjectPropertyType">
310
- <xs:annotation>
311
- <xs:documentation>The FileVersion field captures the version number of the file - for example, "3.10" or "5.00.RC2".</xs:documentation>
312
- </xs:annotation>
313
- </xs:element>
314
- <xs:element minOccurs="0" name="InternalName" type="cyboxCommon:StringObjectPropertyType">
315
- <xs:annotation>
316
- <xs:documentation>The InternalName field captures the internal name of the file, if one exists - for example, a module name if the file is a dynamic-link library. If the file has no internal name, this string should be the original filename, without extension.</xs:documentation>
317
- </xs:annotation>
318
- </xs:element>
319
- <xs:element minOccurs="0" name="LangID" type="cyboxCommon:StringObjectPropertyType">
320
- <xs:annotation>
321
- <xs:documentation>The LangID field captures the localization language identifier specified in the version-information resource.</xs:documentation>
322
- </xs:annotation>
323
- </xs:element>
324
- <xs:element minOccurs="0" name="LegalCopyright" type="cyboxCommon:StringObjectPropertyType">
325
- <xs:annotation>
326
- <xs:documentation>The LegalCopyright field captures the copyright notices that apply to the file. This should include the full text of all notices, legal symbols, copyright dates, and so on.</xs:documentation>
327
- </xs:annotation>
328
- </xs:element>
329
- <xs:element minOccurs="0" name="LegalTrademarks" type="cyboxCommon:StringObjectPropertyType">
330
- <xs:annotation>
331
- <xs:documentation>The LegalTrademarks field captures the trademarks and registered trademarks that apply to the file. This should include the full text of all notices, legal symbols, trademark numbers, and so on.</xs:documentation>
332
- </xs:annotation>
333
- </xs:element>
334
- <xs:element minOccurs="0" name="OriginalFilename" type="cyboxCommon:StringObjectPropertyType">
335
- <xs:annotation>
336
- <xs:documentation>The OriginalFilename field captures the original name of the file, not including a path. This information enables an application to determine whether a file has been renamed by a user. The format of the name depends on the file system for which the file was created.</xs:documentation>
337
- </xs:annotation>
338
- </xs:element>
339
- <xs:element minOccurs="0" name="PrivateBuild" type="cyboxCommon:StringObjectPropertyType">
340
- <xs:annotation>
341
- <xs:documentation>The PrivateBuild field captures the information about a private version of the file - for example, "Built by TESTER1 on \TESTBED". This string should be present only if VS_FF_PRIVATEBUILD is specified in the fileflags parameter of the root block.</xs:documentation>
342
- </xs:annotation>
343
- </xs:element>
344
- <xs:element minOccurs="0" name="ProductName" type="cyboxCommon:StringObjectPropertyType">
345
- <xs:annotation>
346
- <xs:documentation>The ProductName field captures the name of the product with which the file is distributed. This string is required.</xs:documentation>
347
- </xs:annotation>
348
- </xs:element>
349
- <xs:element minOccurs="0" name="ProductVersion" type="cyboxCommon:StringObjectPropertyType">
350
- <xs:annotation>
351
- <xs:documentation>The ProductVersion field captures the version of the product with which the file is distributed - for example, "3.10" or "5.00.RC2".</xs:documentation>
352
- </xs:annotation>
353
- </xs:element>
354
- <xs:element minOccurs="0" name="SpecialBuild" type="cyboxCommon:StringObjectPropertyType">
355
- <xs:annotation>
356
- <xs:documentation>The SpecialBuild field captures the text that indicates how this version of the file differs from the standard version - for example, "Private build for TESTER1 solving mouse problems on M250 and M250E computers". This string should be present only if VS_FF_SPECIALBUILD is specified in the fileflags parameter of the root block.</xs:documentation>
357
- </xs:annotation>
358
- </xs:element>
359
- </xs:sequence>
360
- </xs:extension>
361
- </xs:complexContent>
362
- </xs:complexType>
363
- <xs:complexType name="PEExportedFunctionType">
364
- <xs:annotation>
365
- <xs:documentation>The PEExportType specifies the type describing exported functions.</xs:documentation>
366
- </xs:annotation>
367
- <xs:sequence>
368
- <xs:element name="Function_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
369
- <xs:annotation>
370
- <xs:documentation>The Function_Name field specifies the name of the function exported by the PE binary.</xs:documentation>
371
- </xs:annotation>
372
- </xs:element>
373
- <xs:element name="Entry_Point" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
374
- <xs:annotation>
375
- <xs:documentation>The Entry_Point field specifies the entry point of the function exported by the PE binary.</xs:documentation>
376
- </xs:annotation>
377
- </xs:element>
378
- <xs:element name="Ordinal" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
379
- <xs:annotation>
380
- <xs:documentation>The Ordinal field specifies the ordinal value (index) of the function exported by the PE binary.</xs:documentation>
381
- </xs:annotation>
382
- </xs:element>
383
- </xs:sequence>
384
- </xs:complexType>
385
- <xs:complexType name="PEResourceListType">
386
- <xs:annotation>
387
- <xs:documentation>The PEResourceListType specifies a list of resources found in the PE file.</xs:documentation>
388
- </xs:annotation>
389
- <xs:sequence>
390
- <xs:element maxOccurs="unbounded" ref="WinExecutableFileObj:Resource">
391
- <xs:annotation>
392
- <xs:documentation>Specifies an field of a list of resources.</xs:documentation>
393
- </xs:annotation>
394
- </xs:element>
395
- </xs:sequence>
396
- </xs:complexType>
397
- <xs:complexType name="PEImportedFunctionType">
398
- <xs:annotation>
399
- <xs:documentation>The PEImportedFunctionType specifies the type describing imported functions.</xs:documentation>
400
- </xs:annotation>
401
- <xs:sequence>
402
- <xs:element name="Function_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
403
- <xs:annotation>
404
- <xs:documentation>The Function_Name field specifies the name of the function from the specified library that the PE binary imports.</xs:documentation>
405
- </xs:annotation>
406
- </xs:element>
407
- <xs:element name="Hint" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
408
- <xs:annotation>
409
- <xs:documentation>The Hint field specifies the index into the export table of the library that the function is found in.</xs:documentation>
410
- </xs:annotation>
411
- </xs:element>
412
- <xs:element name="Ordinal" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
413
- <xs:annotation>
414
- <xs:documentation>The Ordinal field specifies the ordinal value (index) of the function in the library that is found in.</xs:documentation>
415
- </xs:annotation>
416
- </xs:element>
417
- <xs:element name="Bound" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
418
- <xs:annotation>
419
- <xs:documentation>The Bound field specifies the precomputed address if the imported function is bound.</xs:documentation>
420
- </xs:annotation>
421
- </xs:element>
422
- <xs:element name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
423
- <xs:annotation>
424
- <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the PE binary library imported function.</xs:documentation>
425
- </xs:annotation>
426
- </xs:element>
427
- </xs:sequence>
428
- </xs:complexType>
429
- <xs:complexType name="PEImportListType">
430
- <xs:annotation>
431
- <xs:documentation>The PEImportListType specifies a list of functions in an import data section.</xs:documentation>
432
- </xs:annotation>
433
- <xs:sequence>
434
- <xs:element name="Import" type="WinExecutableFileObj:PEImportType" maxOccurs="unbounded">
435
- <xs:annotation>
436
- <xs:documentation>Specifies a single field in a list of imported functions.</xs:documentation>
437
- </xs:annotation>
438
- </xs:element>
439
- </xs:sequence>
440
- </xs:complexType>
441
- <xs:complexType name="PESectionType">
442
- <xs:annotation>
443
- <xs:documentation>The PESectionType type is intended as container for the properties relevant to PE binary sections. A PE Section consists of a header and data. The PESectionType contains properties that describe the Section Header and metadata computed about the section (e.g., hashes, entropy).</xs:documentation>
444
- </xs:annotation>
445
- <xs:sequence>
446
- <xs:element name="Section_Header" type="WinExecutableFileObj:PESectionHeaderStructType" minOccurs="0">
447
- <xs:annotation>
448
- <xs:documentation>The Section_Header field contains characteristics of the section's section header structure.</xs:documentation>
449
- </xs:annotation>
450
- </xs:element>
451
- <xs:element name="Data_Hashes" type="cyboxCommon:HashListType" minOccurs="0">
452
- <xs:annotation>
453
- <xs:documentation>The Data_Hashes field is used to include any hash values computed using the data contained in the specified PE binary section as input.</xs:documentation>
454
- </xs:annotation>
455
- </xs:element>
456
- <xs:element name="Entropy" type="WinExecutableFileObj:EntropyType" minOccurs="0">
457
- <xs:annotation>
458
- <xs:documentation>The Entropy field specifies the calculated entropy of the PE binary section.</xs:documentation>
459
- </xs:annotation>
460
- </xs:element>
461
- <xs:element name="Header_Hashes" type="cyboxCommon:HashListType" minOccurs="0">
462
- <xs:annotation>
463
- <xs:documentation>The Header_Hashes field is used to include any hash values computed using the header of the specified PE binary section as input.</xs:documentation>
464
- </xs:annotation>
465
- </xs:element>
466
- </xs:sequence>
467
- </xs:complexType>
468
- <xs:complexType name="PEDataDirectoryStructType">
469
- <xs:annotation>
470
- <xs:documentation>The PEDataDirectoryStruct type is intended as container for the properties relevant to a PE binary's data directory structure.</xs:documentation>
471
- </xs:annotation>
472
- <xs:sequence>
473
- <xs:element name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
474
- <xs:annotation>
475
- <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the data structure.</xs:documentation>
476
- </xs:annotation>
477
- </xs:element>
478
- <xs:element name="Size" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
479
- <xs:annotation>
480
- <xs:documentation>The size field specifies the size of the data structure, in bytes.</xs:documentation>
481
- </xs:annotation>
482
- </xs:element>
483
- </xs:sequence>
484
- </xs:complexType>
485
- <xs:complexType name="PESectionHeaderStructType">
486
- <xs:annotation>
487
- <xs:documentation>The PESectionHeaderStruct type is intended as container for the properties relevant to a PE binary's section header structure.</xs:documentation>
488
- </xs:annotation>
489
- <xs:sequence>
490
- <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
491
- <xs:annotation>
492
- <xs:documentation>The Name field specifies the name of the PE binary section.</xs:documentation>
493
- </xs:annotation>
494
- </xs:element>
495
- <xs:element name="Virtual_Size" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
496
- <xs:annotation>
497
- <xs:documentation>The Virtual_Size field is the total size of the PE binary section when loaded into memory. It is valid only for executables and should be 0 for object files.</xs:documentation>
498
- </xs:annotation>
499
- </xs:element>
500
- <xs:element name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
501
- <xs:annotation>
502
- <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the PE binary section.</xs:documentation>
503
- </xs:annotation>
504
- </xs:element>
505
- <xs:element name="Size_Of_Raw_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
506
- <xs:annotation>
507
- <xs:documentation>The Size_Of_Raw_Data field specifies the size of the data contained in the PE binary section.</xs:documentation>
508
- </xs:annotation>
509
- </xs:element>
510
- <xs:element name="Pointer_To_Raw_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
511
- <xs:annotation>
512
- <xs:documentation>The Pointer_To_Raw_Data field specifies the file offset of the beginning of the PE binary section.</xs:documentation>
513
- </xs:annotation>
514
- </xs:element>
515
- <xs:element name="Pointer_To_Relocations" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
516
- <xs:annotation>
517
- <xs:documentation>The Pointer_To_Relocations field specifies the offset of the PE binary section relocations, if applicable.</xs:documentation>
518
- </xs:annotation>
519
- </xs:element>
520
- <xs:element name="Pointer_To_Linenumbers" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
521
- <xs:annotation>
522
- <xs:documentation>Specifies the beginning of line-number entries for the section. Should be 0.</xs:documentation>
523
- </xs:annotation>
524
- </xs:element>
525
- <xs:element name="Number_Of_Relocations" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
526
- <xs:annotation>
527
- <xs:documentation>The Number_Of_Relocations field specifies the number of relocations defined for the specified PE binary section.</xs:documentation>
528
- </xs:annotation>
529
- </xs:element>
530
- <xs:element name="Number_Of_Linenumbers" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
531
- <xs:annotation>
532
- <xs:documentation>Specifies the number of line number entries for the section. Should be 0.</xs:documentation>
533
- </xs:annotation>
534
- </xs:element>
535
- <xs:element name="Characteristics" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
536
- <xs:annotation>
537
- <xs:documentation>The Characteristics field specifies any flags defined for the specified PE binary section.</xs:documentation>
538
- </xs:annotation>
539
- </xs:element>
540
- </xs:sequence>
541
- </xs:complexType>
542
- <xs:complexType name="DOSHeaderType">
543
- <xs:annotation>
544
- <xs:documentation>The DOSHeaderType type is a container for the characteristics of the _IMAGE_DOS_HEADER structure, which can be found in Winnt.h and pe.h. See http://www.csn.ul.ie/~caolan/pub/winresdump/winresdump/doc/pefile.html for more information about the winnt.h file, and http://www.tavi.co.uk/phobos/exeformat.html for even more clarification.</xs:documentation>
545
- </xs:annotation>
546
- <xs:sequence>
547
- <xs:element name="e_magic" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
548
- <xs:annotation>
549
- <xs:documentation>Specifies the magic number, specifically the Windows OS signature value, which can either take on MZ for DOS (which is, for all intensive purposes, MOST Windows executables), NE for OS2, LE for OS2 LE, or PE00 for NT.</xs:documentation>
550
- </xs:annotation>
551
- </xs:element>
552
- <xs:element name="e_cblp" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
553
- <xs:annotation>
554
- <xs:documentation>Specifies the number of bytes actually used in the last page, with the special case of a full page being represented by a value of zero (since the last page is never empty). For example, assuming a page size of 512 bytes, this value would be 0x0000 for a 1024 byte file, and 0x0001 for a 1025 byte file (since it only contains one valid byte).</xs:documentation>
555
- </xs:annotation>
556
- </xs:element>
557
- <xs:element name="e_cp" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
558
- <xs:annotation>
559
- <xs:documentation>Specifies the number of pages required to hold the file. For example, if the file contains 1024 bytes, and we assume the file has pages of a size of 512 bytes, this word would contain 0x0002; if the file contains 1025 bytes, this word would contain 0x0003.</xs:documentation>
560
- </xs:annotation>
561
- </xs:element>
562
- <xs:element name="e_crlc" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
563
- <xs:annotation>
564
- <xs:documentation>Specifies the number of relocation items, i.e. the number of entries that exist in the relocation pointer table. If there are no relocation entries, this value is zero.</xs:documentation>
565
- </xs:annotation>
566
- </xs:element>
567
- <xs:element name="e_cparhdr" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
568
- <xs:annotation>
569
- <xs:documentation>Specifies the size of the executable header in terms of paragraphs (16 byte chunks). It indicates the offset of the program's compiled/assembled and linked image (the load module) within the executable file. The size of the load module can be deduced by subtracting this value (converted to bytes) from the overall file size derived from combining the e_cp (number of file pages) and e_cblp (number of bytes in last page) values. The header always spans an even number of paragraphs.</xs:documentation>
570
- </xs:annotation>
571
- </xs:element>
572
- <xs:element name="e_minalloc" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
573
- <xs:annotation>
574
- <xs:documentation>Specifies the minimum number of extra paragraphs needed to be allocated to begin execution. This is IN ADDITION to the memory required to hold the load module. This value normally represents the total size of any uninitialised data and/or stack segments that are linked at the end of a program. This space is not directly included in the load module, since there are no particular initializing values and it would simply waste disk space.</xs:documentation>
575
- </xs:annotation>
576
- </xs:element>
577
- <xs:element name="e_maxalloc" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
578
- <xs:annotation>
579
- <xs:documentation>Specifies the maximum number of extra paragraphs needed to be allocated by the program before it begins execution. This indicates ADDITIONAL memory over and above that required by the load module and the value specified by MINALLOC. If the request cannot be satisfied, the program is allocated as much memory as is available.</xs:documentation>
580
- </xs:annotation>
581
- </xs:element>
582
- <xs:element name="e_ss" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
583
- <xs:annotation>
584
- <xs:documentation>Specifies the initial SS value, which is the paragraph address of the stack segment relative to the start of the load module. At load time, this value is relocated by adding the address of the start segment of the program to it, and the resulting value is placed in the SS register before the program is started. In DOS, the start segment of the program is the first segment boundary in memory after the PSP.</xs:documentation>
585
- </xs:annotation>
586
- </xs:element>
587
- <xs:element name="e_sp" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
588
- <xs:annotation>
589
- <xs:documentation>Specifies the initial SP value, which is the absolute value that must be loaded into the SP register before the program is given control. Since the actual stack segment is determined by the loader, and this is merely a value within that segment, it does not need to be relocated.</xs:documentation>
590
- </xs:annotation>
591
- </xs:element>
592
- <xs:element name="e_csum" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
593
- <xs:annotation>
594
- <xs:documentation>Specifies the checksum of the contents of the executable file. It is used to ensure the integrity of the data within the file. For full details on how this checksum is calculated, see http://www.tavi.co.uk/phobos/exeformat.html#checksum.</xs:documentation>
595
- </xs:annotation>
596
- </xs:element>
597
- <xs:element name="e_ip" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
598
- <xs:annotation>
599
- <xs:documentation>Specifies the initial IP value, which is the absolute value that should be loaded into the IP register in order to transfer control to the program. Since the actual code segment is determined by the loader, and this is merely a value within that segment, it does not need to be relocated.</xs:documentation>
600
- </xs:annotation>
601
- </xs:element>
602
- <xs:element name="e_cs" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
603
- <xs:annotation>
604
- <xs:documentation>Specifies the pre-relocated initial CS value, relative to the start of the load module, that should be placed in the CS register in order to transfer control to the program. At load time, this value is relocated by adding the address of the start segment of the program to it, and the resulting value is placed in the CS register when control is transferred.</xs:documentation>
605
- </xs:annotation>
606
- </xs:element>
607
- <xs:element name="e_lfarlc" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
608
- <xs:annotation>
609
- <xs:documentation>Specifies the file address of the relocation table, or more specifically, the offset from the start of the file to the relocation pointer table. This value must be used to locate the relocation pointer table (rather than assuming a fixed location) because variable-length information pertaining to program overlays can occur before this table, causing its position to vary. A value of 0x40 in this field generally indicates a different kind of executable file, not a DOS 'MZ' type.</xs:documentation>
610
- </xs:annotation>
611
- </xs:element>
612
- <xs:element name="e_ovro" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
613
- <xs:annotation>
614
- <xs:documentation>Specifies the overlay number, which is normally set to 0x0000, because few programs actually have overlays. It changes only in files containing programs that use overlays. See http://www.tavi.co.uk/phobos/exeformat.html#overlaynote for more information about overlays.</xs:documentation>
615
- </xs:annotation>
616
- </xs:element>
617
- <xs:element name="reserved1" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0" maxOccurs="4">
618
- <xs:annotation>
619
- <xs:documentation>Specifies reserved words for the program (known in winnt.h as e_res[4]), usually set to zero by the linker. In this case, just use a single reserved1 set to zero; if not zero create four reserved1 with the correct value.</xs:documentation>
620
- </xs:annotation>
621
- </xs:element>
622
- <xs:element name="e_oemid" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
623
- <xs:annotation>
624
- <xs:documentation>Specifies the identifier for the OEM for e_oeminfo.</xs:documentation>
625
- </xs:annotation>
626
- </xs:element>
627
- <xs:element name="e_oeminfo" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
628
- <xs:annotation>
629
- <xs:documentation>Specifies the OEM information for a specific value of e_oeminfo.</xs:documentation>
630
- </xs:annotation>
631
- </xs:element>
632
- <xs:element name="reserved2" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
633
- <xs:annotation>
634
- <xs:documentation>Specifies reserved words for the program (known in winnt.h as e_res[10]), usually set to zero by the linker. In this case, just use a single reserved1 set to zero; if not zero create ten reserved1 with the correct value.</xs:documentation>
635
- </xs:annotation>
636
- </xs:element>
637
- <xs:element name="e_lfanew" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
638
- <xs:annotation>
639
- <xs:documentation>Specifies the file address of the of the new exe header. In particular, it is a 4-byte offset into the file where the PE file header is located. It is necessary to use this offset to locate the PE header in the file.</xs:documentation>
640
- </xs:annotation>
641
- </xs:element>
642
- <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
643
- <xs:annotation>
644
- <xs:documentation>The Hashes field is used to include any hash values computed using the specified PE binary MS-DOS header as input.</xs:documentation>
645
- </xs:annotation>
646
- </xs:element>
647
- </xs:sequence>
648
- </xs:complexType>
649
- <xs:complexType name="PEHeadersType">
650
- <xs:annotation>
651
- <xs:documentation>The PEHeadersType specifies the headers found in PE and COFF files.</xs:documentation>
652
- </xs:annotation>
653
- <xs:sequence>
654
- <xs:element name="DOS_Header" type="WinExecutableFileObj:DOSHeaderType" minOccurs="0">
655
- <xs:annotation>
656
- <xs:documentation>The DOS_Header field refers to the MS-DOS PE header and its associated characteristics.</xs:documentation>
657
- </xs:annotation>
658
- </xs:element>
659
- <xs:element name="Signature" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
660
- <xs:annotation>
661
- <xs:documentation>The Signature field specifies the 4-bytes sugnature that identifies the file as a PE file.</xs:documentation>
662
- </xs:annotation>
663
- </xs:element>
664
- <xs:element name="File_Header" type="WinExecutableFileObj:PEFileHeaderType" minOccurs="0">
665
- <xs:annotation>
666
- <xs:documentation>The File_Header field refers to the PE file header (sometimes referred to as the COFF header) and its associated characteristics.</xs:documentation>
667
- </xs:annotation>
668
- </xs:element>
669
- <xs:element name="Optional_Header" type="WinExecutableFileObj:PEOptionalHeaderType" minOccurs="0">
670
- <xs:annotation>
671
- <xs:documentation>The Optional_Header field refers to the PE optional header and its associated characteristics. The Optional Header is required for executable (PE) files, but optional for object (COFF) files.</xs:documentation>
672
- </xs:annotation>
673
- </xs:element>
674
- <xs:element name="Entropy" type="WinExecutableFileObj:EntropyType" minOccurs="0">
675
- <xs:annotation>
676
- <xs:documentation>The Entropy field specifies the calculated entropy of the PE file header.</xs:documentation>
677
- </xs:annotation>
678
- </xs:element>
679
- <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
680
- <xs:annotation>
681
- <xs:documentation>The Hashes field is used to include any hash values computed using the specified PE binary file header as input.</xs:documentation>
682
- </xs:annotation>
683
- </xs:element>
684
- </xs:sequence>
685
- </xs:complexType>
686
- <xs:complexType name="PEFileHeaderType">
687
- <xs:annotation>
688
- <xs:documentation>The PEFileHeaderType type refers to the PE file header (sometimes referred to as the COFF header) and its associated characteristics.</xs:documentation>
689
- </xs:annotation>
690
- <xs:sequence>
691
- <xs:element name="Machine" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
692
- <xs:annotation>
693
- <xs:documentation>Specifies the type of target machine.</xs:documentation>
694
- </xs:annotation>
695
- </xs:element>
696
- <xs:element name="Number_Of_Sections" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
697
- <xs:annotation>
698
- <xs:documentation>Specifies the number of sections in the file.</xs:documentation>
699
- </xs:annotation>
700
- </xs:element>
701
- <xs:element name="Time_Date_Stamp" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
702
- <xs:annotation>
703
- <xs:documentation>Specifies the time when the file was created (the low 32 bits of the number of seconds since epoch).</xs:documentation>
704
- </xs:annotation>
705
- </xs:element>
706
- <xs:element name="Pointer_To_Symbol_Table" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
707
- <xs:annotation>
708
- <xs:documentation>Specifies the file offset of the COFF symbol table (should be 0).</xs:documentation>
709
- </xs:annotation>
710
- </xs:element>
711
- <xs:element name="Number_Of_Symbols" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
712
- <xs:annotation>
713
- <xs:documentation>Specifies the number of entries in the symbol table. Should be 0.</xs:documentation>
714
- </xs:annotation>
715
- </xs:element>
716
- <xs:element name="Size_Of_Optional_Header" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
717
- <xs:annotation>
718
- <xs:documentation>Specifies the size of the optional header. Should be 0 for object files and non-zero for executables.</xs:documentation>
719
- </xs:annotation>
720
- </xs:element>
721
- <xs:element name="Characteristics" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
722
- <xs:annotation>
723
- <xs:documentation>Specifies the flags that indicate the file's characteristics.</xs:documentation>
724
- </xs:annotation>
725
- </xs:element>
726
- <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
727
- <xs:annotation>
728
- <xs:documentation>Any hashes computed for the Optional Header.</xs:documentation>
729
- </xs:annotation>
730
- </xs:element>
731
- </xs:sequence>
732
- </xs:complexType>
733
- <xs:complexType name="SubsystemType">
734
- <xs:annotation>
735
- <xs:documentation>The SubsystemType specifies subsystem types via a union of the SubsystemTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
736
- </xs:annotation>
737
- <xs:simpleContent>
738
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
739
- <xs:simpleType>
740
- <xs:union memberTypes="WinExecutableFileObj:SubsystemTypeEnum xs:string"/>
741
- </xs:simpleType>
742
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
743
- <xs:annotation>
744
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
745
- </xs:annotation>
746
- </xs:attribute>
747
- </xs:restriction>
748
- </xs:simpleContent>
749
- </xs:complexType>
750
- <xs:complexType name="PEType">
751
- <xs:annotation>
752
- <xs:documentation>The PEType specifies PE file types via a union of the PETypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
753
- </xs:annotation>
754
- <xs:simpleContent>
755
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
756
- <xs:simpleType>
757
- <xs:union memberTypes="WinExecutableFileObj:PETypeEnum xs:string"/>
758
- </xs:simpleType>
759
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
760
- <xs:annotation>
761
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
762
- </xs:annotation>
763
- </xs:attribute>
764
- </xs:restriction>
765
- </xs:simpleContent>
766
- </xs:complexType>
767
- <xs:complexType name="PEOptionalHeaderType">
768
- <xs:annotation>
769
- <xs:documentation>The PEOptionalHeaderType type describes the PE Optional Header structure. Additional computed metadata, e.g., hashes of the header, are also included.</xs:documentation>
770
- </xs:annotation>
771
- <xs:sequence>
772
- <xs:element name="Magic" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
773
- <xs:annotation>
774
- <xs:documentation>Specifies the unsigned integer that indicates the type of executable file.</xs:documentation>
775
- </xs:annotation>
776
- </xs:element>
777
- <xs:element name="Major_Linker_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
778
- <xs:annotation>
779
- <xs:documentation>Specifies the linker major version number.</xs:documentation>
780
- </xs:annotation>
781
- </xs:element>
782
- <xs:element name="Minor_Linker_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
783
- <xs:annotation>
784
- <xs:documentation>Specifies the linker minor version number.</xs:documentation>
785
- </xs:annotation>
786
- </xs:element>
787
- <xs:element name="Size_Of_Code" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
788
- <xs:annotation>
789
- <xs:documentation>Specifies the size of the code (text) section. If there are multiple sections, size is the sum of the sizes if each.</xs:documentation>
790
- </xs:annotation>
791
- </xs:element>
792
- <xs:element name="Size_Of_Initialized_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
793
- <xs:annotation>
794
- <xs:documentation>Specifies the size of the initialized data section. If there are multiple sections, size is the sum of the sizes if each.</xs:documentation>
795
- </xs:annotation>
796
- </xs:element>
797
- <xs:element name="Size_Of_Uninitialized_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
798
- <xs:annotation>
799
- <xs:documentation>Specifies the size of the uninitialized (bss) data section. If there are multiple sections, size is the sum of the sizes if each.</xs:documentation>
800
- </xs:annotation>
801
- </xs:element>
802
- <xs:element name="Address_Of_Entry_Point" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
803
- <xs:annotation>
804
- <xs:documentation>Specifies the address of the entry point relative to the image base when the executable is loaded into memory. When there is no entry point (e.g., optional for DLLs), the value should be 0.</xs:documentation>
805
- </xs:annotation>
806
- </xs:element>
807
- <xs:element name="Base_Of_Code" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
808
- <xs:annotation>
809
- <xs:documentation>Specifies the address that is relative to the image base of the beginning-of-code section when it is loaded into memory.</xs:documentation>
810
- </xs:annotation>
811
- </xs:element>
812
- <xs:element name="Base_Of_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
813
- <xs:annotation>
814
- <xs:documentation>Specifies the address that is relative to the image base of the beginning-of-data section when it is loaded into memory.</xs:documentation>
815
- </xs:annotation>
816
- </xs:element>
817
- <xs:element name="Image_Base" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
818
- <xs:annotation>
819
- <xs:documentation>Specifies the preferred address of the first byte of image when loaded into memory; must be a multiple of 64 K.</xs:documentation>
820
- </xs:annotation>
821
- </xs:element>
822
- <xs:element name="Section_Alignment" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
823
- <xs:annotation>
824
- <xs:documentation>Specifies the alignment (in bytes) of sections when they are loaded into memory.</xs:documentation>
825
- </xs:annotation>
826
- </xs:element>
827
- <xs:element name="File_Alignment" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
828
- <xs:annotation>
829
- <xs:documentation>Specifies the factor (in bytes) that is used to align the raw data of sections in the image file.</xs:documentation>
830
- </xs:annotation>
831
- </xs:element>
832
- <xs:element name="Major_OS_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
833
- <xs:annotation>
834
- <xs:documentation>Specifies the major version number of the required operating system.</xs:documentation>
835
- </xs:annotation>
836
- </xs:element>
837
- <xs:element name="Minor_OS_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
838
- <xs:annotation>
839
- <xs:documentation>Specifies the minor version number of the required operating system.</xs:documentation>
840
- </xs:annotation>
841
- </xs:element>
842
- <xs:element name="Major_Image_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
843
- <xs:annotation>
844
- <xs:documentation>Specifies the major version number of the image.</xs:documentation>
845
- </xs:annotation>
846
- </xs:element>
847
- <xs:element name="Minor_Image_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
848
- <xs:annotation>
849
- <xs:documentation>Specifies the minor version number of the image.</xs:documentation>
850
- </xs:annotation>
851
- </xs:element>
852
- <xs:element name="Major_Subsystem_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
853
- <xs:annotation>
854
- <xs:documentation>Specifies the major version number of the subsystem.</xs:documentation>
855
- </xs:annotation>
856
- </xs:element>
857
- <xs:element name="Minor_Subsystem_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
858
- <xs:annotation>
859
- <xs:documentation>Specifies the minor version number of the subsystem.</xs:documentation>
860
- </xs:annotation>
861
- </xs:element>
862
- <xs:element name="Win32_Version_Value" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
863
- <xs:annotation>
864
- <xs:documentation>Reserved; must be 0.</xs:documentation>
865
- </xs:annotation>
866
- </xs:element>
867
- <xs:element name="Size_Of_Image" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
868
- <xs:annotation>
869
- <xs:documentation>Specifies the size (in bytes) of the image, including all headers, as the image is loaded in memory.</xs:documentation>
870
- </xs:annotation>
871
- </xs:element>
872
- <xs:element name="Size_Of_Headers" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
873
- <xs:annotation>
874
- <xs:documentation>Specifies the combined size of the MS DOS header, PE header, and section headers rounded up to a multiple of FileAlignment.</xs:documentation>
875
- </xs:annotation>
876
- </xs:element>
877
- <xs:element name="Checksum" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
878
- <xs:annotation>
879
- <xs:documentation>Specifies the checksum of the PE file.</xs:documentation>
880
- </xs:annotation>
881
- </xs:element>
882
- <xs:element name="Subsystem" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
883
- <xs:annotation>
884
- <xs:documentation>Specifies the subsystem (e.g., GUI, device driver) that is required to run this image.</xs:documentation>
885
- </xs:annotation>
886
- </xs:element>
887
- <xs:element name="DLL_Characteristics" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
888
- <xs:annotation>
889
- <xs:documentation>Specifies flags that characterize the PE file.</xs:documentation>
890
- </xs:annotation>
891
- </xs:element>
892
- <xs:element name="Size_Of_Stack_Reserve" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
893
- <xs:annotation>
894
- <xs:documentation>Specifies the size of the stack to reserve.</xs:documentation>
895
- </xs:annotation>
896
- </xs:element>
897
- <xs:element name="Size_Of_Stack_Commit" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
898
- <xs:annotation>
899
- <xs:documentation>Specifies the size of the stack to commit.</xs:documentation>
900
- </xs:annotation>
901
- </xs:element>
902
- <xs:element name="Size_Of_Heap_Reserve" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
903
- <xs:annotation>
904
- <xs:documentation>Specifies the size of the local heap space to reserve.</xs:documentation>
905
- </xs:annotation>
906
- </xs:element>
907
- <xs:element name="Size_Of_Heap_Commit" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
908
- <xs:annotation>
909
- <xs:documentation>Specifies the size of the local heap space to commit.</xs:documentation>
910
- </xs:annotation>
911
- </xs:element>
912
- <xs:element name="Loader_Flags" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
913
- <xs:annotation>
914
- <xs:documentation>Reserved; must be 0.</xs:documentation>
915
- </xs:annotation>
916
- </xs:element>
917
- <xs:element name="Number_Of_Rva_And_Sizes" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
918
- <xs:annotation>
919
- <xs:documentation>Specifies the number of data-directory entries in the remainder of the optional header.</xs:documentation>
920
- </xs:annotation>
921
- </xs:element>
922
- <xs:element name="Data_Directory" type="WinExecutableFileObj:DataDirectoryType" minOccurs="0">
923
- <xs:annotation>
924
- <xs:documentation>Specifies the data directories in the remainder in the optional header. This field will be repeated for each data directory.</xs:documentation>
925
- </xs:annotation>
926
- </xs:element>
927
- <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
928
- <xs:annotation>
929
- <xs:documentation>The Hashes field is used to include any hash values computed using the specified PE binary optional header as input.</xs:documentation>
930
- </xs:annotation>
931
- </xs:element>
932
- </xs:sequence>
933
- </xs:complexType>
934
- <xs:complexType name="DataDirectoryType">
935
- <xs:annotation>
936
- <xs:documentation>The DataDirectoryType specifies the data directories that can appear in the PE file's optional header. The data directories, except the Certificate Table, are loaded into memory so they can be used at runtime.</xs:documentation>
937
- </xs:annotation>
938
- <xs:sequence>
939
- <xs:element name="Export_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
940
- <xs:annotation>
941
- <xs:documentation>Specifies the export table data directory.</xs:documentation>
942
- </xs:annotation>
943
- </xs:element>
944
- <xs:element name="Import_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
945
- <xs:annotation>
946
- <xs:documentation>Specifies the import table data directory.</xs:documentation>
947
- </xs:annotation>
948
- </xs:element>
949
- <xs:element name="Resource_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
950
- <xs:annotation>
951
- <xs:documentation>Specifies the resource table data directory.</xs:documentation>
952
- </xs:annotation>
953
- </xs:element>
954
- <xs:element name="Exception_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
955
- <xs:annotation>
956
- <xs:documentation>Specifies the exception table data directory.</xs:documentation>
957
- </xs:annotation>
958
- </xs:element>
959
- <xs:element name="Certificate_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
960
- <xs:annotation>
961
- <xs:documentation>Specifies the certificate table data directory. The table of certificates is in a file which the data directory points to.</xs:documentation>
962
- </xs:annotation>
963
- </xs:element>
964
- <xs:element name="Base_Relocation_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
965
- <xs:annotation>
966
- <xs:documentation>Specifies the base relocation table data directory.</xs:documentation>
967
- </xs:annotation>
968
- </xs:element>
969
- <xs:element name="Debug" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
970
- <xs:annotation>
971
- <xs:documentation>Specifies the debug data directory.</xs:documentation>
972
- </xs:annotation>
973
- </xs:element>
974
- <xs:element name="Architecture" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
975
- <xs:annotation>
976
- <xs:documentation>Reserved, must be 0.</xs:documentation>
977
- </xs:annotation>
978
- </xs:element>
979
- <xs:element name="Global_Ptr" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
980
- <xs:annotation>
981
- <xs:documentation>Specifies the RVA of the value to be stored in the global pointer register.</xs:documentation>
982
- </xs:annotation>
983
- </xs:element>
984
- <xs:element name="TLS_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
985
- <xs:annotation>
986
- <xs:documentation>Specifies the thread local storage (TLS) table data directory.</xs:documentation>
987
- </xs:annotation>
988
- </xs:element>
989
- <xs:element name="Load_Config_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
990
- <xs:annotation>
991
- <xs:documentation>Specifies the load configuration table data directory.</xs:documentation>
992
- </xs:annotation>
993
- </xs:element>
994
- <xs:element name="Bound_Import" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
995
- <xs:annotation>
996
- <xs:documentation>Specifies the bound import table data directory.</xs:documentation>
997
- </xs:annotation>
998
- </xs:element>
999
- <xs:element name="Import_Address_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
1000
- <xs:annotation>
1001
- <xs:documentation>Specifies the import address table (IAT) data directory.</xs:documentation>
1002
- </xs:annotation>
1003
- </xs:element>
1004
- <xs:element name="Delay_Import_Descriptor" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
1005
- <xs:annotation>
1006
- <xs:documentation>Specifies the delay import descriptor data directory.</xs:documentation>
1007
- </xs:annotation>
1008
- </xs:element>
1009
- <xs:element name="CLR_Runtime_Header" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
1010
- <xs:annotation>
1011
- <xs:documentation>Specifies the Common Language Runtime (CLR) header data directory.</xs:documentation>
1012
- </xs:annotation>
1013
- </xs:element>
1014
- <xs:element name="Reserved" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
1015
- <xs:annotation>
1016
- <xs:documentation>Reserved; must be 0.</xs:documentation>
1017
- </xs:annotation>
1018
- </xs:element>
1019
- </xs:sequence>
1020
- </xs:complexType>
1021
- <xs:complexType name="PEBuildInformationType">
1022
- <xs:annotation>
1023
- <xs:documentation>The PEBuildInformationType captures information about the tools used to build the PE binary, including the compiler and linker.</xs:documentation>
1024
- </xs:annotation>
1025
- <xs:sequence>
1026
- <xs:element minOccurs="0" name="Linker_Name" type="cyboxCommon:StringObjectPropertyType">
1027
- <xs:annotation>
1028
- <xs:documentation>The Linker_Name field specifies the name of the linker used to link the PE binary.</xs:documentation>
1029
- </xs:annotation>
1030
- </xs:element>
1031
- <xs:element minOccurs="0" name="Linker_Version" type="cyboxCommon:StringObjectPropertyType">
1032
- <xs:annotation>
1033
- <xs:documentation>The Linker_Version field specifies the version of the linker used to link the PE binary.</xs:documentation>
1034
- </xs:annotation>
1035
- </xs:element>
1036
- <xs:element minOccurs="0" name="Compiler_Name" type="cyboxCommon:StringObjectPropertyType">
1037
- <xs:annotation>
1038
- <xs:documentation>The Compiler_Name field specifies the name of the compiler used to compile the binary.</xs:documentation>
1039
- </xs:annotation>
1040
- </xs:element>
1041
- <xs:element minOccurs="0" name="Compiler_Version" type="cyboxCommon:StringObjectPropertyType">
1042
- <xs:annotation>
1043
- <xs:documentation>The Compiler_Version field specifies the version of the compiler used to compile the binary.</xs:documentation>
1044
- </xs:annotation>
1045
- </xs:element>
1046
- </xs:sequence>
1047
- </xs:complexType>
1048
- <xs:simpleType name="SubsystemTypeEnum">
1049
- <xs:annotation>
1050
- <xs:documentation>The SubsystemTypeEnum enumerates the types of subsystems in Windows an executable can be compatible for, according to winnt.h and more specifically, the Subsystem value of the IMAGE_OPTIONAL_HEADER structure. See http://source.winehq.org/source/include/winnt.h and http://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx for more information.</xs:documentation>
1051
- </xs:annotation>
1052
- <xs:restriction base="xs:string">
1053
- <xs:enumeration value="Unknown">
1054
- <xs:annotation>
1055
- <xs:documentation>Specifies an unknown subsystem.</xs:documentation>
1056
- </xs:annotation>
1057
- </xs:enumeration>
1058
- <xs:enumeration value="Native">
1059
- <xs:annotation>
1060
- <xs:documentation>Specifies that no subsystem is required to run the image (i.e. only device drivers and native system processes are needed).</xs:documentation>
1061
- </xs:annotation>
1062
- </xs:enumeration>
1063
- <xs:enumeration value="Windows_GUI">
1064
- <xs:annotation>
1065
- <xs:documentation>Specifies the Windows Graphical user interface (GUI) subsystem.</xs:documentation>
1066
- </xs:annotation>
1067
- </xs:enumeration>
1068
- <xs:enumeration value="Windows_CUI">
1069
- <xs:annotation>
1070
- <xs:documentation>Specifies the Windows character-mode user interface (CUI) subsystem.</xs:documentation>
1071
- </xs:annotation>
1072
- </xs:enumeration>
1073
- <xs:enumeration value="OS2_CUI">
1074
- <xs:annotation>
1075
- <xs:documentation>Specifies the OS/2 CUI subsystem.</xs:documentation>
1076
- </xs:annotation>
1077
- </xs:enumeration>
1078
- <xs:enumeration value="POSIX_CUI">
1079
- <xs:annotation>
1080
- <xs:documentation>Specifies the POSIX CUI subsystem.</xs:documentation>
1081
- </xs:annotation>
1082
- </xs:enumeration>
1083
- <xs:enumeration value="Native_Win9x_Driver">
1084
- <xs:annotation>
1085
- <xs:documentation>Specifies the Native Windows 9x drivers. This is denoted by the value IMAGE_SUBSYSTEM_NATIVE_WINDOWS or 0x8.</xs:documentation>
1086
- </xs:annotation>
1087
- </xs:enumeration>
1088
- <xs:enumeration value="Windows_CE_GUI">
1089
- <xs:annotation>
1090
- <xs:documentation>Specifies the Windows CE system with a GUI.</xs:documentation>
1091
- </xs:annotation>
1092
- </xs:enumeration>
1093
- <xs:enumeration value="EFI_Application">
1094
- <xs:annotation>
1095
- <xs:documentation>Specifies the Extensible Firmware Interface (EFI) application.</xs:documentation>
1096
- </xs:annotation>
1097
- </xs:enumeration>
1098
- <xs:enumeration value="EFI_Boot_Service_Driver">
1099
- <xs:annotation>
1100
- <xs:documentation>Specifies the Extensible Firmware Interface (EFI) driver with boot services.</xs:documentation>
1101
- </xs:annotation>
1102
- </xs:enumeration>
1103
- <xs:enumeration value="EFI_Runtime_Driver">
1104
- <xs:annotation>
1105
- <xs:documentation>Specifies the Extensible Firmware Interface (EFI) driver with run-time services.</xs:documentation>
1106
- </xs:annotation>
1107
- </xs:enumeration>
1108
- <xs:enumeration value="EFI_ROM">
1109
- <xs:annotation>
1110
- <xs:documentation>Specifies the Extensible Firmware Interface (EFI) image.</xs:documentation>
1111
- </xs:annotation>
1112
- </xs:enumeration>
1113
- <xs:enumeration value="XBOX">
1114
- <xs:annotation>
1115
- <xs:documentation>Specifies the XBOX system.</xs:documentation>
1116
- </xs:annotation>
1117
- </xs:enumeration>
1118
- <xs:enumeration value="Windows_Boot_Application">
1119
- <xs:annotation>
1120
- <xs:documentation>Specifies the Windows Boot application.</xs:documentation>
1121
- </xs:annotation>
1122
- </xs:enumeration>
1123
- </xs:restriction>
1124
- </xs:simpleType>
1125
- <xs:simpleType name="PETypeEnum">
1126
- <xs:annotation>
1127
- <xs:documentation>The PETypeEnum enumerates the characteristics flags for the executable file in question. These are detailed in winnt.h.</xs:documentation>
1128
- </xs:annotation>
1129
- <xs:restriction base="xs:string">
1130
- <xs:enumeration value="Executable">
1131
- <xs:annotation>
1132
- <xs:documentation>Specifies an executable image (not an OBJ or LIB).</xs:documentation>
1133
- </xs:annotation>
1134
- </xs:enumeration>
1135
- <xs:enumeration value="Dll">
1136
- <xs:annotation>
1137
- <xs:documentation>Specifies a dynamic link library, not a program.</xs:documentation>
1138
- </xs:annotation>
1139
- </xs:enumeration>
1140
- <xs:enumeration value="Invalid">
1141
- <xs:annotation>
1142
- <xs:documentation>Specifies an invalid executable file (i.e. not one of the listed types).</xs:documentation>
1143
- </xs:annotation>
1144
- </xs:enumeration>
1145
- </xs:restriction>
1146
- </xs:simpleType>
1147
- <xs:complexType name="PEResourceContentType">
1148
- <xs:annotation>
1149
- <xs:documentation>The PEResourceContentType specifies PE resource types via a union of the PEResourceTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
1150
- </xs:annotation>
1151
- <xs:simpleContent>
1152
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
1153
- <xs:simpleType>
1154
- <xs:union memberTypes="WinExecutableFileObj:PEResourceTypeEnum xs:string"/>
1155
- </xs:simpleType>
1156
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
1157
- <xs:annotation>
1158
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
1159
- </xs:annotation>
1160
- </xs:attribute>
1161
- </xs:restriction>
1162
- </xs:simpleContent>
1163
- </xs:complexType>
1164
- <xs:simpleType name="PEResourceTypeEnum">
1165
- <xs:annotation>
1166
- <xs:documentation>The PEResourceTypeEnum is a non-exhaustive enumeration of PE resource types.</xs:documentation>
1167
- </xs:annotation>
1168
- <xs:restriction base="xs:string">
1169
- <xs:enumeration value="Cursor">
1170
- <xs:annotation>
1171
- <xs:documentation>Specifies a resource that is a cursor or animated cursor defined by naming it and specifying the name of the file that contains it. (To use a particular cursor, the application requests it by name.).</xs:documentation>
1172
- </xs:annotation>
1173
- </xs:enumeration>
1174
- <xs:enumeration value="Bitmap">
1175
- <xs:annotation>
1176
- <xs:documentation>Specifies a resource that is a bitmap defined by naming it and specifying the name of the file that contains it. (To use a particular cursor, the application requests it by name.).</xs:documentation>
1177
- </xs:annotation>
1178
- </xs:enumeration>
1179
- <xs:enumeration value="Icon">
1180
- <xs:annotation>
1181
- <xs:documentation>Specifies a resource that is an icon or animated icon by naming it and specifying the name of the file that contains it. (To use a particular icon, the application requests it by name.).</xs:documentation>
1182
- </xs:annotation>
1183
- </xs:enumeration>
1184
- <xs:enumeration value="Menu">
1185
- <xs:annotation>
1186
- <xs:documentation>Specifies a resource that captures the appearance and function of a menu. Does not define help or regular identifiers, nor uses the MFT_* type and MFS_* state flags.</xs:documentation>
1187
- </xs:annotation>
1188
- </xs:enumeration>
1189
- <xs:enumeration value="MenuEX">
1190
- <xs:annotation>
1191
- <xs:documentation>Specifies a resource that captures the appearance and function of a menu, which can also utilize help or regular identifiers, as well as the MFT_* type and MFS_* state flags.</xs:documentation>
1192
- </xs:annotation>
1193
- </xs:enumeration>
1194
- <xs:enumeration value="Popup">
1195
- <xs:annotation>
1196
- <xs:documentation>Specifies a resource that captures a menu item that can contain menu items and submenus.</xs:documentation>
1197
- </xs:annotation>
1198
- </xs:enumeration>
1199
- <xs:enumeration value="Dialog">
1200
- <xs:annotation>
1201
- <xs:documentation>Specifies a resource that captures a template that an application can use to create dialog boxes. This type is considered obsolete in Windows and newer applications use the DIALOGEX resource.</xs:documentation>
1202
- </xs:annotation>
1203
- </xs:enumeration>
1204
- <xs:enumeration value="DialogEX">
1205
- <xs:annotation>
1206
- <xs:documentation>Specifies a resource that captures a template that newer applications can use to create dialog boxes.</xs:documentation>
1207
- </xs:annotation>
1208
- </xs:enumeration>
1209
- <xs:enumeration value="String">
1210
- <xs:annotation>
1211
- <xs:documentation>Specifies a resource that is a string.</xs:documentation>
1212
- </xs:annotation>
1213
- </xs:enumeration>
1214
- <xs:enumeration value="StringTable">
1215
- <xs:annotation>
1216
- <xs:documentation>Specifies a resource that captures string tables. String resources are Unicode or ASCII strings that can be loaded from the executable file.</xs:documentation>
1217
- </xs:annotation>
1218
- </xs:enumeration>
1219
- <xs:enumeration value="Fontdir">
1220
- <xs:annotation>
1221
- <xs:documentation>Specifies a resource that is a font directory.</xs:documentation>
1222
- </xs:annotation>
1223
- </xs:enumeration>
1224
- <xs:enumeration value="Font">
1225
- <xs:annotation>
1226
- <xs:documentation>Specifies a resource that captures the name of a file that contains a font.</xs:documentation>
1227
- </xs:annotation>
1228
- </xs:enumeration>
1229
- <xs:enumeration value="Accelerators">
1230
- <xs:annotation>
1231
- <xs:documentation>Specifies a resource that captures menu accelerator keys.</xs:documentation>
1232
- </xs:annotation>
1233
- </xs:enumeration>
1234
- <xs:enumeration value="RCData">
1235
- <xs:annotation>
1236
- <xs:documentation>Specifies a resource that captures data resources. Data resources let you include binary data in the executable file.</xs:documentation>
1237
- </xs:annotation>
1238
- </xs:enumeration>
1239
- <xs:enumeration value="MessageTable">
1240
- <xs:annotation>
1241
- <xs:documentation>Specifies a resource that captures a message table by naming it and specifying the name of the file that contains it. The file is a binary resource file generated by the message compiler.</xs:documentation>
1242
- </xs:annotation>
1243
- </xs:enumeration>
1244
- <xs:enumeration value="GroupCursor">
1245
- <xs:annotation>
1246
- <xs:documentation>Specifies a resource that is a group cursor.</xs:documentation>
1247
- </xs:annotation>
1248
- </xs:enumeration>
1249
- <xs:enumeration value="GroupIcon">
1250
- <xs:annotation>
1251
- <xs:documentation>Specifies a resource that is a group icon.</xs:documentation>
1252
- </xs:annotation>
1253
- </xs:enumeration>
1254
- <xs:enumeration value="VersionInfo">
1255
- <xs:annotation>
1256
- <xs:documentation>Specifies a resource that captures version-information. Contains information such as the version number, intended operating system, and so on.</xs:documentation>
1257
- </xs:annotation>
1258
- </xs:enumeration>
1259
- <xs:enumeration value="DLGInclude">
1260
- <xs:annotation>
1261
- <xs:documentation>Specifies a resource that is a dialog include.</xs:documentation>
1262
- </xs:annotation>
1263
- </xs:enumeration>
1264
- <xs:enumeration value="PlugPlay">
1265
- <xs:annotation>
1266
- <xs:documentation>This resource is obsolete and included for completeness.</xs:documentation>
1267
- </xs:annotation>
1268
- </xs:enumeration>
1269
- <xs:enumeration value="TextInclude">
1270
- <xs:annotation>
1271
- <xs:documentation>This is a special resource that is interpreted by Visual C++. For more information see http://go.microsoft.com/FWLink/?LinkId=83951.</xs:documentation>
1272
- </xs:annotation>
1273
- </xs:enumeration>
1274
- <xs:enumeration value="TypeLib">
1275
- <xs:annotation>
1276
- <xs:documentation>This is a special resource that is used with /TLBID and /TLBOUT linker options. For more information see http://go.microsoft.com/FWLink/?LinkId=83960 (for /TLBID) and http://go.microsoft.com/FWLink/?LinkId=83947 (for /TLBOUT).</xs:documentation>
1277
- </xs:annotation>
1278
- </xs:enumeration>
1279
- <xs:enumeration value="Vxd">
1280
- <xs:annotation>
1281
- <xs:documentation>This resource is obsolete and included for completeness.</xs:documentation>
1282
- </xs:annotation>
1283
- </xs:enumeration>
1284
- <xs:enumeration value="AniCursor">
1285
- <xs:annotation>
1286
- <xs:documentation>Specifies a resource that is an animated cursor.</xs:documentation>
1287
- </xs:annotation>
1288
- </xs:enumeration>
1289
- <xs:enumeration value="AniIcon">
1290
- <xs:annotation>
1291
- <xs:documentation>Specifies a resource that is an animated icon.</xs:documentation>
1292
- </xs:annotation>
1293
- </xs:enumeration>
1294
- <xs:enumeration value="HTML">
1295
- <xs:annotation>
1296
- <xs:documentation>Specifies a resource that captures an HTML file.</xs:documentation>
1297
- </xs:annotation>
1298
- </xs:enumeration>
1299
- <xs:enumeration value="Manifest">
1300
- <xs:annotation>
1301
- <xs:documentation>Specifies a resource that captures a manifest file.</xs:documentation>
1302
- </xs:annotation>
1303
- </xs:enumeration>
1304
- <xs:enumeration value="MessageTableEntry">
1305
- <xs:annotation>
1306
- <xs:documentation>Specifies a resource that captures a message table entry.</xs:documentation>
1307
- </xs:annotation>
1308
- </xs:enumeration>
1309
- </xs:restriction>
1310
- </xs:simpleType>
1311
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinExecutableFileObj="http://cybox.mitre.org/objects#WinExecutableFileObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinFileObj="http://cybox.mitre.org/objects#WinFileObject-2" targetNamespace="http://cybox.mitre.org/objects#WinExecutableFileObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
3
+ <xs:annotation>
4
+ <xs:documentation>This schema was originally developed by The MITRE Corporation. The CybOX XML Schema implementation is maintained by The MITRE Corporation and developed by the open CybOX Community. For more information, including how to get involved in the effort and how to submit change requests, please visit the CybOX website at http://cybox.mitre.org.</xs:documentation>
5
+ <xs:appinfo>
6
+ <schema>Win_Executable_File_Object</schema>
7
+ <version>2.1</version>
8
+ <date>01/22/2014</date>
9
+ <short_description>The following specifies the fields and types that compose this defined CybOX Object type. Each defined object is an extension of the abstract ObjectPropertiesType, defined in CybOX Common. For more information on this extension mechanism, please see the CybOX Specification. This document is intended for developers and assumes some familiarity with XML. </short_description>
10
+ <terms_of_use>Copyright (c) 2012-2014, The MITRE Corporation. All rights reserved. The contents of this file are subject to the terms of the CybOX License located at http://cybox.mitre.org/about/termsofuse.html. See the CybOX License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the CybOX Schema, this license header must be included.</terms_of_use>
11
+ </xs:appinfo>
12
+ </xs:annotation>
13
+ <xs:import namespace="http://cybox.mitre.org/objects#WinFileObject-2" schemaLocation="Win_File_Object.xsd"/>
14
+ <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
15
+ <xs:element name="Windows_Executable_File" type="WinExecutableFileObj:WindowsExecutableFileObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The Windows_Executable_File object is intended to characterize Windows PE (Portable Executable) files. Sources of information: Matt Pietrik's articles in MSDN Magazine (http://msdn.microsoft.com/en-us/magazine/cc301805.aspx and http://msdn.microsoft.com/en-us/magazine/cc301808.aspx); Microsoft's specification of PE and COFF (http://msdn.microsoft.com/library/windows/hardware/gg463125); LUEVELSMEYER's description (http://webster.cs.ucr.edu/Page_TechDocs/pe.txt).</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:element name="Resource" type="WinExecutableFileObj:PEResourceType">
21
+ <xs:annotation>
22
+ <xs:documentation>The Resource field characterizes an abstract PE file resource.</xs:documentation>
23
+ </xs:annotation>
24
+ </xs:element>
25
+ <xs:element name="VersionInfoResource" substitutionGroup="WinExecutableFileObj:Resource" type="WinExecutableFileObj:PEVersionInfoResourceType">
26
+ <xs:annotation>
27
+ <xs:documentation>The VersionInfoResource field characterizes a Version resource that uses the VERSIONINFO resource.</xs:documentation>
28
+ </xs:annotation>
29
+ </xs:element>
30
+ <xs:complexType name="WindowsExecutableFileObjectType" mixed="false">
31
+ <xs:annotation>
32
+ <xs:documentation>The WindowsExecutableFileObjectType type is intended to characterize Windows PE (Portable Executable) files.</xs:documentation>
33
+ </xs:annotation>
34
+ <xs:complexContent>
35
+ <xs:extension base="WinFileObj:WindowsFileObjectType">
36
+ <xs:sequence minOccurs="1">
37
+ <xs:element minOccurs="0" name="Build_Information" type="WinExecutableFileObj:PEBuildInformationType">
38
+ <xs:annotation>
39
+ <xs:documentation>The Build_Information field specifies some information on the tools used to build the PE binary.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element name="Digital_Signature" type="cyboxCommon:DigitalSignatureInfoType" minOccurs="0" maxOccurs="1">
43
+ <xs:annotation>
44
+ <xs:documentation>The Digital_Signature field specifies the information about the digital signature used to sign the PE binary.</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element name="Exports" type="WinExecutableFileObj:PEExportsType" minOccurs="0" maxOccurs="1">
48
+ <xs:annotation>
49
+ <xs:documentation>The Exports field characterizes the PE Export table of the PE Binary.</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ <xs:element name="Extraneous_Bytes" type="cyboxCommon:IntegerObjectPropertyType" minOccurs="0" maxOccurs="1">
53
+ <xs:annotation>
54
+ <xs:documentation>The Extraneous_Bytes field specifies the number of extraneous bytes contained in the PE binary.</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:element>
57
+ <xs:element name="Headers" type="WinExecutableFileObj:PEHeadersType" minOccurs="0">
58
+ <xs:annotation>
59
+ <xs:documentation>The Headers field contains fields for characterizing aspects the various types of PE headers.</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:element>
62
+ <xs:element name="Imports" type="WinExecutableFileObj:PEImportListType" minOccurs="0">
63
+ <xs:annotation>
64
+ <xs:documentation>The Imports field characterizes the PE Import Table of the binary.</xs:documentation>
65
+ </xs:annotation>
66
+ </xs:element>
67
+ <xs:element name="PE_Checksum" type="WinExecutableFileObj:PEChecksumType" minOccurs="0" maxOccurs="1">
68
+ <xs:annotation>
69
+ <xs:documentation>The PE_Checksum field specifies the checksum of the PE file.</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ <xs:element name="Resources" type="WinExecutableFileObj:PEResourceListType" minOccurs="0">
73
+ <xs:annotation>
74
+ <xs:documentation>The Resources field characterizes the PE Resources of the binary.</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:element>
77
+ <xs:element name="Sections" type="WinExecutableFileObj:PESectionListType" minOccurs="0" maxOccurs="1">
78
+ <xs:annotation>
79
+ <xs:documentation>The Sections field characterizes the PE Sections of the binary.</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:element>
82
+ <xs:element name="Type" type="WinExecutableFileObj:PEType" minOccurs="0" maxOccurs="1">
83
+ <xs:annotation>
84
+ <xs:documentation>The Type specifies the particular type of the PE binary, e.g. Executable.</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:element>
87
+ </xs:sequence>
88
+ </xs:extension>
89
+ </xs:complexContent>
90
+ </xs:complexType>
91
+ <xs:complexType name="PEChecksumType">
92
+ <xs:annotation>
93
+ <xs:documentation>The PECheckSumType records the checksum of the PE file, both as found in the file and computed.</xs:documentation>
94
+ </xs:annotation>
95
+ <xs:sequence>
96
+ <xs:element name="PE_Computed_API" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
97
+ <xs:annotation>
98
+ <xs:documentation>PE_Computed_API specifies a checksum computed by an external algorithm.</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:element>
101
+ <xs:element name="PE_File_API" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
102
+ <xs:annotation>
103
+ <xs:documentation>PE_File_API specified the checksum computed by IMAGHELP.DLL.</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:element>
106
+ <xs:element name="PE_File_Raw" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
107
+ <xs:annotation>
108
+ <xs:documentation>PE_File_Raw specifies the checksum found in the PE file (in the Optional Header).</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:element>
111
+ </xs:sequence>
112
+ </xs:complexType>
113
+ <xs:complexType name="PEExportsType">
114
+ <xs:annotation>
115
+ <xs:documentation>The PEExportsType specifies the PE File exports data section. The exports data section contains information about symbols exported by the PE File (a DLL) which can be dynamically loaded by other executables. This type abstracts, and its components, abstract the Windows structures.</xs:documentation>
116
+ </xs:annotation>
117
+ <xs:sequence>
118
+ <xs:element maxOccurs="1" minOccurs="0" name="Name" type="cyboxCommon:StringObjectPropertyType">
119
+ <xs:annotation>
120
+ <xs:documentation>The Name field specifies the actual name of the PE module, as used by the PE loader when it is imported by another executable.</xs:documentation>
121
+ </xs:annotation>
122
+ </xs:element>
123
+ <xs:element name="Exported_Functions" type="WinExecutableFileObj:PEExportedFunctionsType" minOccurs="0" maxOccurs="1">
124
+ <xs:annotation>
125
+ <xs:documentation>A list of the exported functions in this section.</xs:documentation>
126
+ </xs:annotation>
127
+ </xs:element>
128
+ <xs:element name="Exports_Time_Stamp" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0" maxOccurs="1">
129
+ <xs:annotation>
130
+ <xs:documentation>The date and time the export data was created.</xs:documentation>
131
+ </xs:annotation>
132
+ </xs:element>
133
+ <xs:element name="Number_Of_Addresses" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
134
+ <xs:annotation>
135
+ <xs:documentation>The number of addresses in the export data section's address table.</xs:documentation>
136
+ </xs:annotation>
137
+ </xs:element>
138
+ <xs:element name="Number_Of_Names" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
139
+ <xs:annotation>
140
+ <xs:documentation>The number of names in the export data section's name table.</xs:documentation>
141
+ </xs:annotation>
142
+ </xs:element>
143
+ <xs:element minOccurs="0" name="Number_Of_Functions" type="cyboxCommon:IntegerObjectPropertyType">
144
+ <xs:annotation>
145
+ <xs:documentation>The Number_Of_Functions field specifies the total number of functions that are exported by the PE file.</xs:documentation>
146
+ </xs:annotation>
147
+ </xs:element>
148
+ </xs:sequence>
149
+ </xs:complexType>
150
+ <xs:complexType name="PEExportedFunctionsType">
151
+ <xs:annotation>
152
+ <xs:documentation>The PEExportedFunctionsType specifies a list of PE exported functions.</xs:documentation>
153
+ </xs:annotation>
154
+ <xs:sequence>
155
+ <xs:element name="Exported_Function" type="WinExecutableFileObj:PEExportedFunctionType" maxOccurs="unbounded">
156
+ <xs:annotation>
157
+ <xs:documentation>Specifies a single field in the list of exported functions.</xs:documentation>
158
+ </xs:annotation>
159
+ </xs:element>
160
+ </xs:sequence>
161
+ </xs:complexType>
162
+ <xs:complexType name="PESectionListType">
163
+ <xs:annotation>
164
+ <xs:documentation>The PESectionListType captures a list of sections that appear in the PE file.</xs:documentation>
165
+ </xs:annotation>
166
+ <xs:sequence>
167
+ <xs:element name="Section" type="WinExecutableFileObj:PESectionType" minOccurs="1" maxOccurs="unbounded">
168
+ <xs:annotation>
169
+ <xs:documentation>Specifies an field of a list of PE file sections.</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:element>
172
+ </xs:sequence>
173
+ </xs:complexType>
174
+ <xs:complexType name="EntropyType">
175
+ <xs:annotation>
176
+ <xs:documentation>The EntropyType captures the result of an entropy computation.</xs:documentation>
177
+ </xs:annotation>
178
+ <xs:sequence>
179
+ <xs:element name="Value" type="cyboxCommon:FloatObjectPropertyType" minOccurs="0">
180
+ <xs:annotation>
181
+ <xs:documentation>Specifies the computed entropy value.</xs:documentation>
182
+ </xs:annotation>
183
+ </xs:element>
184
+ <xs:element name="Min" type="cyboxCommon:FloatObjectPropertyType" minOccurs="0">
185
+ <xs:annotation>
186
+ <xs:documentation>Specifies the smallest possible value for the entropy computation.</xs:documentation>
187
+ </xs:annotation>
188
+ </xs:element>
189
+ <xs:element name="Max" type="cyboxCommon:FloatObjectPropertyType" minOccurs="0">
190
+ <xs:annotation>
191
+ <xs:documentation>Specifies the largest possible value for the entropy computation (e.g., this would be 8 if the entropy computations is based on bits of information).</xs:documentation>
192
+ </xs:annotation>
193
+ </xs:element>
194
+ </xs:sequence>
195
+ </xs:complexType>
196
+ <xs:complexType name="PEImportType">
197
+ <xs:annotation>
198
+ <xs:documentation>The PEImportType type is intended as container for the properties relevant to PE binary imports.</xs:documentation>
199
+ </xs:annotation>
200
+ <xs:sequence>
201
+ <xs:element name="File_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
202
+ <xs:annotation>
203
+ <xs:documentation>The File_Name field specifies the name of the library (file) that the PE binary imports.</xs:documentation>
204
+ </xs:annotation>
205
+ </xs:element>
206
+ <xs:element name="Imported_Functions" type="WinExecutableFileObj:PEImportedFunctionsType" minOccurs="0">
207
+ <xs:annotation>
208
+ <xs:documentation>The Imported_Functions field is used to enumerate any functions imported from a particular library.</xs:documentation>
209
+ </xs:annotation>
210
+ </xs:element>
211
+ <xs:element name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
212
+ <xs:annotation>
213
+ <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the PE binary library import.</xs:documentation>
214
+ </xs:annotation>
215
+ </xs:element>
216
+ </xs:sequence>
217
+ <xs:attribute name="delay_load" type="xs:boolean">
218
+ <xs:annotation>
219
+ <xs:documentation>The delay_load field is a boolean value that is intended to describe whether a PE binary import is delay-load or not.</xs:documentation>
220
+ </xs:annotation>
221
+ </xs:attribute>
222
+ <xs:attribute name="initially_visible" type="xs:boolean">
223
+ <xs:annotation>
224
+ <xs:documentation>The initially_visible field refers to whether the import is initially visible, with regards to being initially visible or hidden in relation to PE binary packing. A packed binary will typically have few initially visible imports, and thus it is necessary to make the distinction between those that are visible initially or only after the binary is unpacked.</xs:documentation>
225
+ </xs:annotation>
226
+ </xs:attribute>
227
+ </xs:complexType>
228
+ <xs:complexType name="PEImportedFunctionsType">
229
+ <xs:annotation>
230
+ <xs:documentation>The PEImportedFunctionsType captures a list of functions imported by the PE file.</xs:documentation>
231
+ </xs:annotation>
232
+ <xs:sequence>
233
+ <xs:element name="Imported_Function" type="WinExecutableFileObj:PEImportedFunctionType" maxOccurs="unbounded">
234
+ <xs:annotation>
235
+ <xs:documentation>Specifies a single field in a list of imported functions.</xs:documentation>
236
+ </xs:annotation>
237
+ </xs:element>
238
+ </xs:sequence>
239
+ </xs:complexType>
240
+ <xs:complexType name="PEResourceType">
241
+ <xs:annotation>
242
+ <xs:documentation>The PEResourceType type is intended as container for the properties relevant to PE binary resources.</xs:documentation>
243
+ </xs:annotation>
244
+ <xs:sequence>
245
+ <xs:element name="Type" type="WinExecutableFileObj:PEResourceContentType" minOccurs="0">
246
+ <xs:annotation>
247
+ <xs:documentation>This field refers to the type of data referred to by this resource.</xs:documentation>
248
+ </xs:annotation>
249
+ </xs:element>
250
+ <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
251
+ <xs:annotation>
252
+ <xs:documentation>The Name field specifies the name of the resource used by the PE binary.</xs:documentation>
253
+ </xs:annotation>
254
+ </xs:element>
255
+ <xs:element minOccurs="0" name="Size" type="cyboxCommon:PositiveIntegerObjectPropertyType">
256
+ <xs:annotation>
257
+ <xs:documentation>The Size field specifies the size of the resource, in bytes.</xs:documentation>
258
+ </xs:annotation>
259
+ </xs:element>
260
+ <xs:element minOccurs="0" name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType">
261
+ <xs:annotation>
262
+ <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the resource data.</xs:documentation>
263
+ </xs:annotation>
264
+ </xs:element>
265
+ <xs:element minOccurs="0" name="Language" type="cyboxCommon:StringObjectPropertyType">
266
+ <xs:annotation>
267
+ <xs:documentation>The Language field specifies the name of the language (LANG) defined for the resource, if applicable.</xs:documentation>
268
+ </xs:annotation>
269
+ </xs:element>
270
+ <xs:element maxOccurs="1" minOccurs="0" name="Sub_Language" type="cyboxCommon:StringObjectPropertyType">
271
+ <xs:annotation>
272
+ <xs:documentation>The Sub_Language field specifies the name of the sub language (SUBLANG) defined for the resource, if applicable.</xs:documentation>
273
+ </xs:annotation>
274
+ </xs:element>
275
+ <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
276
+ <xs:annotation>
277
+ <xs:documentation>The Hashes field is used to include any hash values computed using the specified PE binary resource as input.</xs:documentation>
278
+ </xs:annotation>
279
+ </xs:element>
280
+ <xs:element minOccurs="0" name="Data" type="cyboxCommon:StringObjectPropertyType">
281
+ <xs:annotation>
282
+ <xs:documentation>The Data field captures the actual data contained in the resource, most commonly as a base64-encoded string encapsulated in a CDATA () section.</xs:documentation>
283
+ </xs:annotation>
284
+ </xs:element>
285
+ </xs:sequence>
286
+ </xs:complexType>
287
+ <xs:complexType name="PEVersionInfoResourceType">
288
+ <xs:annotation>
289
+ <xs:documentation>The PEVersionInfoResourceType characterizes the special VERSIONINFO resource type. For more information please see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx.</xs:documentation>
290
+ </xs:annotation>
291
+ <xs:complexContent>
292
+ <xs:extension base="WinExecutableFileObj:PEResourceType">
293
+ <xs:sequence>
294
+ <xs:element minOccurs="0" name="Comments" type="cyboxCommon:StringObjectPropertyType">
295
+ <xs:annotation>
296
+ <xs:documentation>The Comments field captures any additional information that should be displayed for diagnostic purposes.</xs:documentation>
297
+ </xs:annotation>
298
+ </xs:element>
299
+ <xs:element minOccurs="0" name="CompanyName" type="cyboxCommon:StringObjectPropertyType">
300
+ <xs:annotation>
301
+ <xs:documentation>The CompanyName field captures the company that produced the file - for example, "Microsoft Corporation" or "Standard Microsystems Corporation, Inc.".</xs:documentation>
302
+ </xs:annotation>
303
+ </xs:element>
304
+ <xs:element minOccurs="0" name="FileDescription" type="cyboxCommon:StringObjectPropertyType">
305
+ <xs:annotation>
306
+ <xs:documentation>The FileDescription field captures the file description to be presented to users. This string may be displayed in a list box when the user is choosing files to install - for example, "Keyboard Driver for AT-Style Keyboards".</xs:documentation>
307
+ </xs:annotation>
308
+ </xs:element>
309
+ <xs:element minOccurs="0" name="FileVersion" type="cyboxCommon:StringObjectPropertyType">
310
+ <xs:annotation>
311
+ <xs:documentation>The FileVersion field captures the version number of the file - for example, "3.10" or "5.00.RC2".</xs:documentation>
312
+ </xs:annotation>
313
+ </xs:element>
314
+ <xs:element minOccurs="0" name="InternalName" type="cyboxCommon:StringObjectPropertyType">
315
+ <xs:annotation>
316
+ <xs:documentation>The InternalName field captures the internal name of the file, if one exists - for example, a module name if the file is a dynamic-link library. If the file has no internal name, this string should be the original filename, without extension.</xs:documentation>
317
+ </xs:annotation>
318
+ </xs:element>
319
+ <xs:element minOccurs="0" name="LangID" type="cyboxCommon:StringObjectPropertyType">
320
+ <xs:annotation>
321
+ <xs:documentation>The LangID field captures the localization language identifier specified in the version-information resource.</xs:documentation>
322
+ </xs:annotation>
323
+ </xs:element>
324
+ <xs:element minOccurs="0" name="LegalCopyright" type="cyboxCommon:StringObjectPropertyType">
325
+ <xs:annotation>
326
+ <xs:documentation>The LegalCopyright field captures the copyright notices that apply to the file. This should include the full text of all notices, legal symbols, copyright dates, and so on.</xs:documentation>
327
+ </xs:annotation>
328
+ </xs:element>
329
+ <xs:element minOccurs="0" name="LegalTrademarks" type="cyboxCommon:StringObjectPropertyType">
330
+ <xs:annotation>
331
+ <xs:documentation>The LegalTrademarks field captures the trademarks and registered trademarks that apply to the file. This should include the full text of all notices, legal symbols, trademark numbers, and so on.</xs:documentation>
332
+ </xs:annotation>
333
+ </xs:element>
334
+ <xs:element minOccurs="0" name="OriginalFilename" type="cyboxCommon:StringObjectPropertyType">
335
+ <xs:annotation>
336
+ <xs:documentation>The OriginalFilename field captures the original name of the file, not including a path. This information enables an application to determine whether a file has been renamed by a user. The format of the name depends on the file system for which the file was created.</xs:documentation>
337
+ </xs:annotation>
338
+ </xs:element>
339
+ <xs:element minOccurs="0" name="PrivateBuild" type="cyboxCommon:StringObjectPropertyType">
340
+ <xs:annotation>
341
+ <xs:documentation>The PrivateBuild field captures the information about a private version of the file - for example, "Built by TESTER1 on \TESTBED". This string should be present only if VS_FF_PRIVATEBUILD is specified in the fileflags parameter of the root block.</xs:documentation>
342
+ </xs:annotation>
343
+ </xs:element>
344
+ <xs:element minOccurs="0" name="ProductName" type="cyboxCommon:StringObjectPropertyType">
345
+ <xs:annotation>
346
+ <xs:documentation>The ProductName field captures the name of the product with which the file is distributed. This string is required.</xs:documentation>
347
+ </xs:annotation>
348
+ </xs:element>
349
+ <xs:element minOccurs="0" name="ProductVersion" type="cyboxCommon:StringObjectPropertyType">
350
+ <xs:annotation>
351
+ <xs:documentation>The ProductVersion field captures the version of the product with which the file is distributed - for example, "3.10" or "5.00.RC2".</xs:documentation>
352
+ </xs:annotation>
353
+ </xs:element>
354
+ <xs:element minOccurs="0" name="SpecialBuild" type="cyboxCommon:StringObjectPropertyType">
355
+ <xs:annotation>
356
+ <xs:documentation>The SpecialBuild field captures the text that indicates how this version of the file differs from the standard version - for example, "Private build for TESTER1 solving mouse problems on M250 and M250E computers". This string should be present only if VS_FF_SPECIALBUILD is specified in the fileflags parameter of the root block.</xs:documentation>
357
+ </xs:annotation>
358
+ </xs:element>
359
+ </xs:sequence>
360
+ </xs:extension>
361
+ </xs:complexContent>
362
+ </xs:complexType>
363
+ <xs:complexType name="PEExportedFunctionType">
364
+ <xs:annotation>
365
+ <xs:documentation>The PEExportType specifies the type describing exported functions.</xs:documentation>
366
+ </xs:annotation>
367
+ <xs:sequence>
368
+ <xs:element name="Function_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
369
+ <xs:annotation>
370
+ <xs:documentation>The Function_Name field specifies the name of the function exported by the PE binary.</xs:documentation>
371
+ </xs:annotation>
372
+ </xs:element>
373
+ <xs:element name="Entry_Point" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
374
+ <xs:annotation>
375
+ <xs:documentation>The Entry_Point field specifies the entry point of the function exported by the PE binary.</xs:documentation>
376
+ </xs:annotation>
377
+ </xs:element>
378
+ <xs:element name="Ordinal" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
379
+ <xs:annotation>
380
+ <xs:documentation>The Ordinal field specifies the ordinal value (index) of the function exported by the PE binary.</xs:documentation>
381
+ </xs:annotation>
382
+ </xs:element>
383
+ </xs:sequence>
384
+ </xs:complexType>
385
+ <xs:complexType name="PEResourceListType">
386
+ <xs:annotation>
387
+ <xs:documentation>The PEResourceListType specifies a list of resources found in the PE file.</xs:documentation>
388
+ </xs:annotation>
389
+ <xs:sequence>
390
+ <xs:element maxOccurs="unbounded" ref="WinExecutableFileObj:Resource">
391
+ <xs:annotation>
392
+ <xs:documentation>Specifies an field of a list of resources.</xs:documentation>
393
+ </xs:annotation>
394
+ </xs:element>
395
+ </xs:sequence>
396
+ </xs:complexType>
397
+ <xs:complexType name="PEImportedFunctionType">
398
+ <xs:annotation>
399
+ <xs:documentation>The PEImportedFunctionType specifies the type describing imported functions.</xs:documentation>
400
+ </xs:annotation>
401
+ <xs:sequence>
402
+ <xs:element name="Function_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
403
+ <xs:annotation>
404
+ <xs:documentation>The Function_Name field specifies the name of the function from the specified library that the PE binary imports.</xs:documentation>
405
+ </xs:annotation>
406
+ </xs:element>
407
+ <xs:element name="Hint" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
408
+ <xs:annotation>
409
+ <xs:documentation>The Hint field specifies the index into the export table of the library that the function is found in.</xs:documentation>
410
+ </xs:annotation>
411
+ </xs:element>
412
+ <xs:element name="Ordinal" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
413
+ <xs:annotation>
414
+ <xs:documentation>The Ordinal field specifies the ordinal value (index) of the function in the library that is found in.</xs:documentation>
415
+ </xs:annotation>
416
+ </xs:element>
417
+ <xs:element name="Bound" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
418
+ <xs:annotation>
419
+ <xs:documentation>The Bound field specifies the precomputed address if the imported function is bound.</xs:documentation>
420
+ </xs:annotation>
421
+ </xs:element>
422
+ <xs:element name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
423
+ <xs:annotation>
424
+ <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the PE binary library imported function.</xs:documentation>
425
+ </xs:annotation>
426
+ </xs:element>
427
+ </xs:sequence>
428
+ </xs:complexType>
429
+ <xs:complexType name="PEImportListType">
430
+ <xs:annotation>
431
+ <xs:documentation>The PEImportListType specifies a list of functions in an import data section.</xs:documentation>
432
+ </xs:annotation>
433
+ <xs:sequence>
434
+ <xs:element name="Import" type="WinExecutableFileObj:PEImportType" maxOccurs="unbounded">
435
+ <xs:annotation>
436
+ <xs:documentation>Specifies a single field in a list of imported functions.</xs:documentation>
437
+ </xs:annotation>
438
+ </xs:element>
439
+ </xs:sequence>
440
+ </xs:complexType>
441
+ <xs:complexType name="PESectionType">
442
+ <xs:annotation>
443
+ <xs:documentation>The PESectionType type is intended as container for the properties relevant to PE binary sections. A PE Section consists of a header and data. The PESectionType contains properties that describe the Section Header and metadata computed about the section (e.g., hashes, entropy).</xs:documentation>
444
+ </xs:annotation>
445
+ <xs:sequence>
446
+ <xs:element name="Section_Header" type="WinExecutableFileObj:PESectionHeaderStructType" minOccurs="0">
447
+ <xs:annotation>
448
+ <xs:documentation>The Section_Header field contains characteristics of the section's section header structure.</xs:documentation>
449
+ </xs:annotation>
450
+ </xs:element>
451
+ <xs:element name="Data_Hashes" type="cyboxCommon:HashListType" minOccurs="0">
452
+ <xs:annotation>
453
+ <xs:documentation>The Data_Hashes field is used to include any hash values computed using the data contained in the specified PE binary section as input.</xs:documentation>
454
+ </xs:annotation>
455
+ </xs:element>
456
+ <xs:element name="Entropy" type="WinExecutableFileObj:EntropyType" minOccurs="0">
457
+ <xs:annotation>
458
+ <xs:documentation>The Entropy field specifies the calculated entropy of the PE binary section.</xs:documentation>
459
+ </xs:annotation>
460
+ </xs:element>
461
+ <xs:element name="Header_Hashes" type="cyboxCommon:HashListType" minOccurs="0">
462
+ <xs:annotation>
463
+ <xs:documentation>The Header_Hashes field is used to include any hash values computed using the header of the specified PE binary section as input.</xs:documentation>
464
+ </xs:annotation>
465
+ </xs:element>
466
+ </xs:sequence>
467
+ </xs:complexType>
468
+ <xs:complexType name="PEDataDirectoryStructType">
469
+ <xs:annotation>
470
+ <xs:documentation>The PEDataDirectoryStruct type is intended as container for the properties relevant to a PE binary's data directory structure.</xs:documentation>
471
+ </xs:annotation>
472
+ <xs:sequence>
473
+ <xs:element name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
474
+ <xs:annotation>
475
+ <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the data structure.</xs:documentation>
476
+ </xs:annotation>
477
+ </xs:element>
478
+ <xs:element name="Size" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
479
+ <xs:annotation>
480
+ <xs:documentation>The size field specifies the size of the data structure, in bytes.</xs:documentation>
481
+ </xs:annotation>
482
+ </xs:element>
483
+ </xs:sequence>
484
+ </xs:complexType>
485
+ <xs:complexType name="PESectionHeaderStructType">
486
+ <xs:annotation>
487
+ <xs:documentation>The PESectionHeaderStruct type is intended as container for the properties relevant to a PE binary's section header structure.</xs:documentation>
488
+ </xs:annotation>
489
+ <xs:sequence>
490
+ <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
491
+ <xs:annotation>
492
+ <xs:documentation>The Name field specifies the name of the PE binary section.</xs:documentation>
493
+ </xs:annotation>
494
+ </xs:element>
495
+ <xs:element name="Virtual_Size" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
496
+ <xs:annotation>
497
+ <xs:documentation>The Virtual_Size field is the total size of the PE binary section when loaded into memory. It is valid only for executables and should be 0 for object files.</xs:documentation>
498
+ </xs:annotation>
499
+ </xs:element>
500
+ <xs:element name="Virtual_Address" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
501
+ <xs:annotation>
502
+ <xs:documentation>The Virtual_Address field specifies the relative virtual address (RVA) of the PE binary section.</xs:documentation>
503
+ </xs:annotation>
504
+ </xs:element>
505
+ <xs:element name="Size_Of_Raw_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
506
+ <xs:annotation>
507
+ <xs:documentation>The Size_Of_Raw_Data field specifies the size of the data contained in the PE binary section.</xs:documentation>
508
+ </xs:annotation>
509
+ </xs:element>
510
+ <xs:element name="Pointer_To_Raw_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
511
+ <xs:annotation>
512
+ <xs:documentation>The Pointer_To_Raw_Data field specifies the file offset of the beginning of the PE binary section.</xs:documentation>
513
+ </xs:annotation>
514
+ </xs:element>
515
+ <xs:element name="Pointer_To_Relocations" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
516
+ <xs:annotation>
517
+ <xs:documentation>The Pointer_To_Relocations field specifies the offset of the PE binary section relocations, if applicable.</xs:documentation>
518
+ </xs:annotation>
519
+ </xs:element>
520
+ <xs:element name="Pointer_To_Linenumbers" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
521
+ <xs:annotation>
522
+ <xs:documentation>Specifies the beginning of line-number entries for the section. Should be 0.</xs:documentation>
523
+ </xs:annotation>
524
+ </xs:element>
525
+ <xs:element name="Number_Of_Relocations" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
526
+ <xs:annotation>
527
+ <xs:documentation>The Number_Of_Relocations field specifies the number of relocations defined for the specified PE binary section.</xs:documentation>
528
+ </xs:annotation>
529
+ </xs:element>
530
+ <xs:element name="Number_Of_Linenumbers" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
531
+ <xs:annotation>
532
+ <xs:documentation>Specifies the number of line number entries for the section. Should be 0.</xs:documentation>
533
+ </xs:annotation>
534
+ </xs:element>
535
+ <xs:element name="Characteristics" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
536
+ <xs:annotation>
537
+ <xs:documentation>The Characteristics field specifies any flags defined for the specified PE binary section.</xs:documentation>
538
+ </xs:annotation>
539
+ </xs:element>
540
+ </xs:sequence>
541
+ </xs:complexType>
542
+ <xs:complexType name="DOSHeaderType">
543
+ <xs:annotation>
544
+ <xs:documentation>The DOSHeaderType type is a container for the characteristics of the _IMAGE_DOS_HEADER structure, which can be found in Winnt.h and pe.h. See http://www.csn.ul.ie/~caolan/pub/winresdump/winresdump/doc/pefile.html for more information about the winnt.h file, and http://www.tavi.co.uk/phobos/exeformat.html for even more clarification.</xs:documentation>
545
+ </xs:annotation>
546
+ <xs:sequence>
547
+ <xs:element name="e_magic" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
548
+ <xs:annotation>
549
+ <xs:documentation>Specifies the magic number, specifically the Windows OS signature value, which can either take on MZ for DOS (which is, for all intensive purposes, MOST Windows executables), NE for OS2, LE for OS2 LE, or PE00 for NT.</xs:documentation>
550
+ </xs:annotation>
551
+ </xs:element>
552
+ <xs:element name="e_cblp" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
553
+ <xs:annotation>
554
+ <xs:documentation>Specifies the number of bytes actually used in the last page, with the special case of a full page being represented by a value of zero (since the last page is never empty). For example, assuming a page size of 512 bytes, this value would be 0x0000 for a 1024 byte file, and 0x0001 for a 1025 byte file (since it only contains one valid byte).</xs:documentation>
555
+ </xs:annotation>
556
+ </xs:element>
557
+ <xs:element name="e_cp" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
558
+ <xs:annotation>
559
+ <xs:documentation>Specifies the number of pages required to hold the file. For example, if the file contains 1024 bytes, and we assume the file has pages of a size of 512 bytes, this word would contain 0x0002; if the file contains 1025 bytes, this word would contain 0x0003.</xs:documentation>
560
+ </xs:annotation>
561
+ </xs:element>
562
+ <xs:element name="e_crlc" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
563
+ <xs:annotation>
564
+ <xs:documentation>Specifies the number of relocation items, i.e. the number of entries that exist in the relocation pointer table. If there are no relocation entries, this value is zero.</xs:documentation>
565
+ </xs:annotation>
566
+ </xs:element>
567
+ <xs:element name="e_cparhdr" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
568
+ <xs:annotation>
569
+ <xs:documentation>Specifies the size of the executable header in terms of paragraphs (16 byte chunks). It indicates the offset of the program's compiled/assembled and linked image (the load module) within the executable file. The size of the load module can be deduced by subtracting this value (converted to bytes) from the overall file size derived from combining the e_cp (number of file pages) and e_cblp (number of bytes in last page) values. The header always spans an even number of paragraphs.</xs:documentation>
570
+ </xs:annotation>
571
+ </xs:element>
572
+ <xs:element name="e_minalloc" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
573
+ <xs:annotation>
574
+ <xs:documentation>Specifies the minimum number of extra paragraphs needed to be allocated to begin execution. This is IN ADDITION to the memory required to hold the load module. This value normally represents the total size of any uninitialised data and/or stack segments that are linked at the end of a program. This space is not directly included in the load module, since there are no particular initializing values and it would simply waste disk space.</xs:documentation>
575
+ </xs:annotation>
576
+ </xs:element>
577
+ <xs:element name="e_maxalloc" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
578
+ <xs:annotation>
579
+ <xs:documentation>Specifies the maximum number of extra paragraphs needed to be allocated by the program before it begins execution. This indicates ADDITIONAL memory over and above that required by the load module and the value specified by MINALLOC. If the request cannot be satisfied, the program is allocated as much memory as is available.</xs:documentation>
580
+ </xs:annotation>
581
+ </xs:element>
582
+ <xs:element name="e_ss" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
583
+ <xs:annotation>
584
+ <xs:documentation>Specifies the initial SS value, which is the paragraph address of the stack segment relative to the start of the load module. At load time, this value is relocated by adding the address of the start segment of the program to it, and the resulting value is placed in the SS register before the program is started. In DOS, the start segment of the program is the first segment boundary in memory after the PSP.</xs:documentation>
585
+ </xs:annotation>
586
+ </xs:element>
587
+ <xs:element name="e_sp" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
588
+ <xs:annotation>
589
+ <xs:documentation>Specifies the initial SP value, which is the absolute value that must be loaded into the SP register before the program is given control. Since the actual stack segment is determined by the loader, and this is merely a value within that segment, it does not need to be relocated.</xs:documentation>
590
+ </xs:annotation>
591
+ </xs:element>
592
+ <xs:element name="e_csum" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
593
+ <xs:annotation>
594
+ <xs:documentation>Specifies the checksum of the contents of the executable file. It is used to ensure the integrity of the data within the file. For full details on how this checksum is calculated, see http://www.tavi.co.uk/phobos/exeformat.html#checksum.</xs:documentation>
595
+ </xs:annotation>
596
+ </xs:element>
597
+ <xs:element name="e_ip" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
598
+ <xs:annotation>
599
+ <xs:documentation>Specifies the initial IP value, which is the absolute value that should be loaded into the IP register in order to transfer control to the program. Since the actual code segment is determined by the loader, and this is merely a value within that segment, it does not need to be relocated.</xs:documentation>
600
+ </xs:annotation>
601
+ </xs:element>
602
+ <xs:element name="e_cs" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
603
+ <xs:annotation>
604
+ <xs:documentation>Specifies the pre-relocated initial CS value, relative to the start of the load module, that should be placed in the CS register in order to transfer control to the program. At load time, this value is relocated by adding the address of the start segment of the program to it, and the resulting value is placed in the CS register when control is transferred.</xs:documentation>
605
+ </xs:annotation>
606
+ </xs:element>
607
+ <xs:element name="e_lfarlc" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
608
+ <xs:annotation>
609
+ <xs:documentation>Specifies the file address of the relocation table, or more specifically, the offset from the start of the file to the relocation pointer table. This value must be used to locate the relocation pointer table (rather than assuming a fixed location) because variable-length information pertaining to program overlays can occur before this table, causing its position to vary. A value of 0x40 in this field generally indicates a different kind of executable file, not a DOS 'MZ' type.</xs:documentation>
610
+ </xs:annotation>
611
+ </xs:element>
612
+ <xs:element name="e_ovro" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
613
+ <xs:annotation>
614
+ <xs:documentation>Specifies the overlay number, which is normally set to 0x0000, because few programs actually have overlays. It changes only in files containing programs that use overlays. See http://www.tavi.co.uk/phobos/exeformat.html#overlaynote for more information about overlays.</xs:documentation>
615
+ </xs:annotation>
616
+ </xs:element>
617
+ <xs:element name="reserved1" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0" maxOccurs="4">
618
+ <xs:annotation>
619
+ <xs:documentation>Specifies reserved words for the program (known in winnt.h as e_res[4]), usually set to zero by the linker. In this case, just use a single reserved1 set to zero; if not zero create four reserved1 with the correct value.</xs:documentation>
620
+ </xs:annotation>
621
+ </xs:element>
622
+ <xs:element name="e_oemid" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
623
+ <xs:annotation>
624
+ <xs:documentation>Specifies the identifier for the OEM for e_oeminfo.</xs:documentation>
625
+ </xs:annotation>
626
+ </xs:element>
627
+ <xs:element name="e_oeminfo" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
628
+ <xs:annotation>
629
+ <xs:documentation>Specifies the OEM information for a specific value of e_oeminfo.</xs:documentation>
630
+ </xs:annotation>
631
+ </xs:element>
632
+ <xs:element name="reserved2" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
633
+ <xs:annotation>
634
+ <xs:documentation>Specifies reserved words for the program (known in winnt.h as e_res[10]), usually set to zero by the linker. In this case, just use a single reserved1 set to zero; if not zero create ten reserved1 with the correct value.</xs:documentation>
635
+ </xs:annotation>
636
+ </xs:element>
637
+ <xs:element name="e_lfanew" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
638
+ <xs:annotation>
639
+ <xs:documentation>Specifies the file address of the of the new exe header. In particular, it is a 4-byte offset into the file where the PE file header is located. It is necessary to use this offset to locate the PE header in the file.</xs:documentation>
640
+ </xs:annotation>
641
+ </xs:element>
642
+ <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
643
+ <xs:annotation>
644
+ <xs:documentation>The Hashes field is used to include any hash values computed using the specified PE binary MS-DOS header as input.</xs:documentation>
645
+ </xs:annotation>
646
+ </xs:element>
647
+ </xs:sequence>
648
+ </xs:complexType>
649
+ <xs:complexType name="PEHeadersType">
650
+ <xs:annotation>
651
+ <xs:documentation>The PEHeadersType specifies the headers found in PE and COFF files.</xs:documentation>
652
+ </xs:annotation>
653
+ <xs:sequence>
654
+ <xs:element name="DOS_Header" type="WinExecutableFileObj:DOSHeaderType" minOccurs="0">
655
+ <xs:annotation>
656
+ <xs:documentation>The DOS_Header field refers to the MS-DOS PE header and its associated characteristics.</xs:documentation>
657
+ </xs:annotation>
658
+ </xs:element>
659
+ <xs:element name="Signature" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
660
+ <xs:annotation>
661
+ <xs:documentation>The Signature field specifies the 4-bytes sugnature that identifies the file as a PE file.</xs:documentation>
662
+ </xs:annotation>
663
+ </xs:element>
664
+ <xs:element name="File_Header" type="WinExecutableFileObj:PEFileHeaderType" minOccurs="0">
665
+ <xs:annotation>
666
+ <xs:documentation>The File_Header field refers to the PE file header (sometimes referred to as the COFF header) and its associated characteristics.</xs:documentation>
667
+ </xs:annotation>
668
+ </xs:element>
669
+ <xs:element name="Optional_Header" type="WinExecutableFileObj:PEOptionalHeaderType" minOccurs="0">
670
+ <xs:annotation>
671
+ <xs:documentation>The Optional_Header field refers to the PE optional header and its associated characteristics. The Optional Header is required for executable (PE) files, but optional for object (COFF) files.</xs:documentation>
672
+ </xs:annotation>
673
+ </xs:element>
674
+ <xs:element name="Entropy" type="WinExecutableFileObj:EntropyType" minOccurs="0">
675
+ <xs:annotation>
676
+ <xs:documentation>The Entropy field specifies the calculated entropy of the PE file header.</xs:documentation>
677
+ </xs:annotation>
678
+ </xs:element>
679
+ <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
680
+ <xs:annotation>
681
+ <xs:documentation>The Hashes field is used to include any hash values computed using the specified PE binary file header as input.</xs:documentation>
682
+ </xs:annotation>
683
+ </xs:element>
684
+ </xs:sequence>
685
+ </xs:complexType>
686
+ <xs:complexType name="PEFileHeaderType">
687
+ <xs:annotation>
688
+ <xs:documentation>The PEFileHeaderType type refers to the PE file header (sometimes referred to as the COFF header) and its associated characteristics.</xs:documentation>
689
+ </xs:annotation>
690
+ <xs:sequence>
691
+ <xs:element name="Machine" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
692
+ <xs:annotation>
693
+ <xs:documentation>Specifies the type of target machine.</xs:documentation>
694
+ </xs:annotation>
695
+ </xs:element>
696
+ <xs:element name="Number_Of_Sections" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
697
+ <xs:annotation>
698
+ <xs:documentation>Specifies the number of sections in the file.</xs:documentation>
699
+ </xs:annotation>
700
+ </xs:element>
701
+ <xs:element name="Time_Date_Stamp" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
702
+ <xs:annotation>
703
+ <xs:documentation>Specifies the time when the file was created (the low 32 bits of the number of seconds since epoch).</xs:documentation>
704
+ </xs:annotation>
705
+ </xs:element>
706
+ <xs:element name="Pointer_To_Symbol_Table" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
707
+ <xs:annotation>
708
+ <xs:documentation>Specifies the file offset of the COFF symbol table (should be 0).</xs:documentation>
709
+ </xs:annotation>
710
+ </xs:element>
711
+ <xs:element name="Number_Of_Symbols" type="cyboxCommon:NonNegativeIntegerObjectPropertyType" minOccurs="0">
712
+ <xs:annotation>
713
+ <xs:documentation>Specifies the number of entries in the symbol table. Should be 0.</xs:documentation>
714
+ </xs:annotation>
715
+ </xs:element>
716
+ <xs:element name="Size_Of_Optional_Header" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
717
+ <xs:annotation>
718
+ <xs:documentation>Specifies the size of the optional header. Should be 0 for object files and non-zero for executables.</xs:documentation>
719
+ </xs:annotation>
720
+ </xs:element>
721
+ <xs:element name="Characteristics" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
722
+ <xs:annotation>
723
+ <xs:documentation>Specifies the flags that indicate the file's characteristics.</xs:documentation>
724
+ </xs:annotation>
725
+ </xs:element>
726
+ <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
727
+ <xs:annotation>
728
+ <xs:documentation>Any hashes computed for the Optional Header.</xs:documentation>
729
+ </xs:annotation>
730
+ </xs:element>
731
+ </xs:sequence>
732
+ </xs:complexType>
733
+ <xs:complexType name="SubsystemType">
734
+ <xs:annotation>
735
+ <xs:documentation>The SubsystemType specifies subsystem types via a union of the SubsystemTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
736
+ </xs:annotation>
737
+ <xs:simpleContent>
738
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
739
+ <xs:simpleType>
740
+ <xs:union memberTypes="WinExecutableFileObj:SubsystemTypeEnum xs:string"/>
741
+ </xs:simpleType>
742
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
743
+ <xs:annotation>
744
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
745
+ </xs:annotation>
746
+ </xs:attribute>
747
+ </xs:restriction>
748
+ </xs:simpleContent>
749
+ </xs:complexType>
750
+ <xs:complexType name="PEType">
751
+ <xs:annotation>
752
+ <xs:documentation>The PEType specifies PE file types via a union of the PETypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
753
+ </xs:annotation>
754
+ <xs:simpleContent>
755
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
756
+ <xs:simpleType>
757
+ <xs:union memberTypes="WinExecutableFileObj:PETypeEnum xs:string"/>
758
+ </xs:simpleType>
759
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
760
+ <xs:annotation>
761
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
762
+ </xs:annotation>
763
+ </xs:attribute>
764
+ </xs:restriction>
765
+ </xs:simpleContent>
766
+ </xs:complexType>
767
+ <xs:complexType name="PEOptionalHeaderType">
768
+ <xs:annotation>
769
+ <xs:documentation>The PEOptionalHeaderType type describes the PE Optional Header structure. Additional computed metadata, e.g., hashes of the header, are also included.</xs:documentation>
770
+ </xs:annotation>
771
+ <xs:sequence>
772
+ <xs:element name="Magic" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
773
+ <xs:annotation>
774
+ <xs:documentation>Specifies the unsigned integer that indicates the type of executable file.</xs:documentation>
775
+ </xs:annotation>
776
+ </xs:element>
777
+ <xs:element name="Major_Linker_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
778
+ <xs:annotation>
779
+ <xs:documentation>Specifies the linker major version number.</xs:documentation>
780
+ </xs:annotation>
781
+ </xs:element>
782
+ <xs:element name="Minor_Linker_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
783
+ <xs:annotation>
784
+ <xs:documentation>Specifies the linker minor version number.</xs:documentation>
785
+ </xs:annotation>
786
+ </xs:element>
787
+ <xs:element name="Size_Of_Code" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
788
+ <xs:annotation>
789
+ <xs:documentation>Specifies the size of the code (text) section. If there are multiple sections, size is the sum of the sizes if each.</xs:documentation>
790
+ </xs:annotation>
791
+ </xs:element>
792
+ <xs:element name="Size_Of_Initialized_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
793
+ <xs:annotation>
794
+ <xs:documentation>Specifies the size of the initialized data section. If there are multiple sections, size is the sum of the sizes if each.</xs:documentation>
795
+ </xs:annotation>
796
+ </xs:element>
797
+ <xs:element name="Size_Of_Uninitialized_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
798
+ <xs:annotation>
799
+ <xs:documentation>Specifies the size of the uninitialized (bss) data section. If there are multiple sections, size is the sum of the sizes if each.</xs:documentation>
800
+ </xs:annotation>
801
+ </xs:element>
802
+ <xs:element name="Address_Of_Entry_Point" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
803
+ <xs:annotation>
804
+ <xs:documentation>Specifies the address of the entry point relative to the image base when the executable is loaded into memory. When there is no entry point (e.g., optional for DLLs), the value should be 0.</xs:documentation>
805
+ </xs:annotation>
806
+ </xs:element>
807
+ <xs:element name="Base_Of_Code" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
808
+ <xs:annotation>
809
+ <xs:documentation>Specifies the address that is relative to the image base of the beginning-of-code section when it is loaded into memory.</xs:documentation>
810
+ </xs:annotation>
811
+ </xs:element>
812
+ <xs:element name="Base_Of_Data" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
813
+ <xs:annotation>
814
+ <xs:documentation>Specifies the address that is relative to the image base of the beginning-of-data section when it is loaded into memory.</xs:documentation>
815
+ </xs:annotation>
816
+ </xs:element>
817
+ <xs:element name="Image_Base" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
818
+ <xs:annotation>
819
+ <xs:documentation>Specifies the preferred address of the first byte of image when loaded into memory; must be a multiple of 64 K.</xs:documentation>
820
+ </xs:annotation>
821
+ </xs:element>
822
+ <xs:element name="Section_Alignment" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
823
+ <xs:annotation>
824
+ <xs:documentation>Specifies the alignment (in bytes) of sections when they are loaded into memory.</xs:documentation>
825
+ </xs:annotation>
826
+ </xs:element>
827
+ <xs:element name="File_Alignment" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
828
+ <xs:annotation>
829
+ <xs:documentation>Specifies the factor (in bytes) that is used to align the raw data of sections in the image file.</xs:documentation>
830
+ </xs:annotation>
831
+ </xs:element>
832
+ <xs:element name="Major_OS_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
833
+ <xs:annotation>
834
+ <xs:documentation>Specifies the major version number of the required operating system.</xs:documentation>
835
+ </xs:annotation>
836
+ </xs:element>
837
+ <xs:element name="Minor_OS_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
838
+ <xs:annotation>
839
+ <xs:documentation>Specifies the minor version number of the required operating system.</xs:documentation>
840
+ </xs:annotation>
841
+ </xs:element>
842
+ <xs:element name="Major_Image_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
843
+ <xs:annotation>
844
+ <xs:documentation>Specifies the major version number of the image.</xs:documentation>
845
+ </xs:annotation>
846
+ </xs:element>
847
+ <xs:element name="Minor_Image_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
848
+ <xs:annotation>
849
+ <xs:documentation>Specifies the minor version number of the image.</xs:documentation>
850
+ </xs:annotation>
851
+ </xs:element>
852
+ <xs:element name="Major_Subsystem_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
853
+ <xs:annotation>
854
+ <xs:documentation>Specifies the major version number of the subsystem.</xs:documentation>
855
+ </xs:annotation>
856
+ </xs:element>
857
+ <xs:element name="Minor_Subsystem_Version" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
858
+ <xs:annotation>
859
+ <xs:documentation>Specifies the minor version number of the subsystem.</xs:documentation>
860
+ </xs:annotation>
861
+ </xs:element>
862
+ <xs:element name="Win32_Version_Value" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
863
+ <xs:annotation>
864
+ <xs:documentation>Reserved; must be 0.</xs:documentation>
865
+ </xs:annotation>
866
+ </xs:element>
867
+ <xs:element name="Size_Of_Image" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
868
+ <xs:annotation>
869
+ <xs:documentation>Specifies the size (in bytes) of the image, including all headers, as the image is loaded in memory.</xs:documentation>
870
+ </xs:annotation>
871
+ </xs:element>
872
+ <xs:element name="Size_Of_Headers" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
873
+ <xs:annotation>
874
+ <xs:documentation>Specifies the combined size of the MS DOS header, PE header, and section headers rounded up to a multiple of FileAlignment.</xs:documentation>
875
+ </xs:annotation>
876
+ </xs:element>
877
+ <xs:element name="Checksum" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
878
+ <xs:annotation>
879
+ <xs:documentation>Specifies the checksum of the PE file.</xs:documentation>
880
+ </xs:annotation>
881
+ </xs:element>
882
+ <xs:element name="Subsystem" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
883
+ <xs:annotation>
884
+ <xs:documentation>Specifies the subsystem (e.g., GUI, device driver) that is required to run this image.</xs:documentation>
885
+ </xs:annotation>
886
+ </xs:element>
887
+ <xs:element name="DLL_Characteristics" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
888
+ <xs:annotation>
889
+ <xs:documentation>Specifies flags that characterize the PE file.</xs:documentation>
890
+ </xs:annotation>
891
+ </xs:element>
892
+ <xs:element name="Size_Of_Stack_Reserve" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
893
+ <xs:annotation>
894
+ <xs:documentation>Specifies the size of the stack to reserve.</xs:documentation>
895
+ </xs:annotation>
896
+ </xs:element>
897
+ <xs:element name="Size_Of_Stack_Commit" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
898
+ <xs:annotation>
899
+ <xs:documentation>Specifies the size of the stack to commit.</xs:documentation>
900
+ </xs:annotation>
901
+ </xs:element>
902
+ <xs:element name="Size_Of_Heap_Reserve" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
903
+ <xs:annotation>
904
+ <xs:documentation>Specifies the size of the local heap space to reserve.</xs:documentation>
905
+ </xs:annotation>
906
+ </xs:element>
907
+ <xs:element name="Size_Of_Heap_Commit" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
908
+ <xs:annotation>
909
+ <xs:documentation>Specifies the size of the local heap space to commit.</xs:documentation>
910
+ </xs:annotation>
911
+ </xs:element>
912
+ <xs:element name="Loader_Flags" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
913
+ <xs:annotation>
914
+ <xs:documentation>Reserved; must be 0.</xs:documentation>
915
+ </xs:annotation>
916
+ </xs:element>
917
+ <xs:element name="Number_Of_Rva_And_Sizes" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
918
+ <xs:annotation>
919
+ <xs:documentation>Specifies the number of data-directory entries in the remainder of the optional header.</xs:documentation>
920
+ </xs:annotation>
921
+ </xs:element>
922
+ <xs:element name="Data_Directory" type="WinExecutableFileObj:DataDirectoryType" minOccurs="0">
923
+ <xs:annotation>
924
+ <xs:documentation>Specifies the data directories in the remainder in the optional header. This field will be repeated for each data directory.</xs:documentation>
925
+ </xs:annotation>
926
+ </xs:element>
927
+ <xs:element name="Hashes" type="cyboxCommon:HashListType" minOccurs="0">
928
+ <xs:annotation>
929
+ <xs:documentation>The Hashes field is used to include any hash values computed using the specified PE binary optional header as input.</xs:documentation>
930
+ </xs:annotation>
931
+ </xs:element>
932
+ </xs:sequence>
933
+ </xs:complexType>
934
+ <xs:complexType name="DataDirectoryType">
935
+ <xs:annotation>
936
+ <xs:documentation>The DataDirectoryType specifies the data directories that can appear in the PE file's optional header. The data directories, except the Certificate Table, are loaded into memory so they can be used at runtime.</xs:documentation>
937
+ </xs:annotation>
938
+ <xs:sequence>
939
+ <xs:element name="Export_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
940
+ <xs:annotation>
941
+ <xs:documentation>Specifies the export table data directory.</xs:documentation>
942
+ </xs:annotation>
943
+ </xs:element>
944
+ <xs:element name="Import_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
945
+ <xs:annotation>
946
+ <xs:documentation>Specifies the import table data directory.</xs:documentation>
947
+ </xs:annotation>
948
+ </xs:element>
949
+ <xs:element name="Resource_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
950
+ <xs:annotation>
951
+ <xs:documentation>Specifies the resource table data directory.</xs:documentation>
952
+ </xs:annotation>
953
+ </xs:element>
954
+ <xs:element name="Exception_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
955
+ <xs:annotation>
956
+ <xs:documentation>Specifies the exception table data directory.</xs:documentation>
957
+ </xs:annotation>
958
+ </xs:element>
959
+ <xs:element name="Certificate_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
960
+ <xs:annotation>
961
+ <xs:documentation>Specifies the certificate table data directory. The table of certificates is in a file which the data directory points to.</xs:documentation>
962
+ </xs:annotation>
963
+ </xs:element>
964
+ <xs:element name="Base_Relocation_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
965
+ <xs:annotation>
966
+ <xs:documentation>Specifies the base relocation table data directory.</xs:documentation>
967
+ </xs:annotation>
968
+ </xs:element>
969
+ <xs:element name="Debug" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
970
+ <xs:annotation>
971
+ <xs:documentation>Specifies the debug data directory.</xs:documentation>
972
+ </xs:annotation>
973
+ </xs:element>
974
+ <xs:element name="Architecture" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
975
+ <xs:annotation>
976
+ <xs:documentation>Reserved, must be 0.</xs:documentation>
977
+ </xs:annotation>
978
+ </xs:element>
979
+ <xs:element name="Global_Ptr" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
980
+ <xs:annotation>
981
+ <xs:documentation>Specifies the RVA of the value to be stored in the global pointer register.</xs:documentation>
982
+ </xs:annotation>
983
+ </xs:element>
984
+ <xs:element name="TLS_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
985
+ <xs:annotation>
986
+ <xs:documentation>Specifies the thread local storage (TLS) table data directory.</xs:documentation>
987
+ </xs:annotation>
988
+ </xs:element>
989
+ <xs:element name="Load_Config_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
990
+ <xs:annotation>
991
+ <xs:documentation>Specifies the load configuration table data directory.</xs:documentation>
992
+ </xs:annotation>
993
+ </xs:element>
994
+ <xs:element name="Bound_Import" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
995
+ <xs:annotation>
996
+ <xs:documentation>Specifies the bound import table data directory.</xs:documentation>
997
+ </xs:annotation>
998
+ </xs:element>
999
+ <xs:element name="Import_Address_Table" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
1000
+ <xs:annotation>
1001
+ <xs:documentation>Specifies the import address table (IAT) data directory.</xs:documentation>
1002
+ </xs:annotation>
1003
+ </xs:element>
1004
+ <xs:element name="Delay_Import_Descriptor" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
1005
+ <xs:annotation>
1006
+ <xs:documentation>Specifies the delay import descriptor data directory.</xs:documentation>
1007
+ </xs:annotation>
1008
+ </xs:element>
1009
+ <xs:element name="CLR_Runtime_Header" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
1010
+ <xs:annotation>
1011
+ <xs:documentation>Specifies the Common Language Runtime (CLR) header data directory.</xs:documentation>
1012
+ </xs:annotation>
1013
+ </xs:element>
1014
+ <xs:element name="Reserved" type="WinExecutableFileObj:PEDataDirectoryStructType" minOccurs="0">
1015
+ <xs:annotation>
1016
+ <xs:documentation>Reserved; must be 0.</xs:documentation>
1017
+ </xs:annotation>
1018
+ </xs:element>
1019
+ </xs:sequence>
1020
+ </xs:complexType>
1021
+ <xs:complexType name="PEBuildInformationType">
1022
+ <xs:annotation>
1023
+ <xs:documentation>The PEBuildInformationType captures information about the tools used to build the PE binary, including the compiler and linker.</xs:documentation>
1024
+ </xs:annotation>
1025
+ <xs:sequence>
1026
+ <xs:element minOccurs="0" name="Linker_Name" type="cyboxCommon:StringObjectPropertyType">
1027
+ <xs:annotation>
1028
+ <xs:documentation>The Linker_Name field specifies the name of the linker used to link the PE binary.</xs:documentation>
1029
+ </xs:annotation>
1030
+ </xs:element>
1031
+ <xs:element minOccurs="0" name="Linker_Version" type="cyboxCommon:StringObjectPropertyType">
1032
+ <xs:annotation>
1033
+ <xs:documentation>The Linker_Version field specifies the version of the linker used to link the PE binary.</xs:documentation>
1034
+ </xs:annotation>
1035
+ </xs:element>
1036
+ <xs:element minOccurs="0" name="Compiler_Name" type="cyboxCommon:StringObjectPropertyType">
1037
+ <xs:annotation>
1038
+ <xs:documentation>The Compiler_Name field specifies the name of the compiler used to compile the binary.</xs:documentation>
1039
+ </xs:annotation>
1040
+ </xs:element>
1041
+ <xs:element minOccurs="0" name="Compiler_Version" type="cyboxCommon:StringObjectPropertyType">
1042
+ <xs:annotation>
1043
+ <xs:documentation>The Compiler_Version field specifies the version of the compiler used to compile the binary.</xs:documentation>
1044
+ </xs:annotation>
1045
+ </xs:element>
1046
+ </xs:sequence>
1047
+ </xs:complexType>
1048
+ <xs:simpleType name="SubsystemTypeEnum">
1049
+ <xs:annotation>
1050
+ <xs:documentation>The SubsystemTypeEnum enumerates the types of subsystems in Windows an executable can be compatible for, according to winnt.h and more specifically, the Subsystem value of the IMAGE_OPTIONAL_HEADER structure. See http://source.winehq.org/source/include/winnt.h and http://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx for more information.</xs:documentation>
1051
+ </xs:annotation>
1052
+ <xs:restriction base="xs:string">
1053
+ <xs:enumeration value="Unknown">
1054
+ <xs:annotation>
1055
+ <xs:documentation>Specifies an unknown subsystem.</xs:documentation>
1056
+ </xs:annotation>
1057
+ </xs:enumeration>
1058
+ <xs:enumeration value="Native">
1059
+ <xs:annotation>
1060
+ <xs:documentation>Specifies that no subsystem is required to run the image (i.e. only device drivers and native system processes are needed).</xs:documentation>
1061
+ </xs:annotation>
1062
+ </xs:enumeration>
1063
+ <xs:enumeration value="Windows_GUI">
1064
+ <xs:annotation>
1065
+ <xs:documentation>Specifies the Windows Graphical user interface (GUI) subsystem.</xs:documentation>
1066
+ </xs:annotation>
1067
+ </xs:enumeration>
1068
+ <xs:enumeration value="Windows_CUI">
1069
+ <xs:annotation>
1070
+ <xs:documentation>Specifies the Windows character-mode user interface (CUI) subsystem.</xs:documentation>
1071
+ </xs:annotation>
1072
+ </xs:enumeration>
1073
+ <xs:enumeration value="OS2_CUI">
1074
+ <xs:annotation>
1075
+ <xs:documentation>Specifies the OS/2 CUI subsystem.</xs:documentation>
1076
+ </xs:annotation>
1077
+ </xs:enumeration>
1078
+ <xs:enumeration value="POSIX_CUI">
1079
+ <xs:annotation>
1080
+ <xs:documentation>Specifies the POSIX CUI subsystem.</xs:documentation>
1081
+ </xs:annotation>
1082
+ </xs:enumeration>
1083
+ <xs:enumeration value="Native_Win9x_Driver">
1084
+ <xs:annotation>
1085
+ <xs:documentation>Specifies the Native Windows 9x drivers. This is denoted by the value IMAGE_SUBSYSTEM_NATIVE_WINDOWS or 0x8.</xs:documentation>
1086
+ </xs:annotation>
1087
+ </xs:enumeration>
1088
+ <xs:enumeration value="Windows_CE_GUI">
1089
+ <xs:annotation>
1090
+ <xs:documentation>Specifies the Windows CE system with a GUI.</xs:documentation>
1091
+ </xs:annotation>
1092
+ </xs:enumeration>
1093
+ <xs:enumeration value="EFI_Application">
1094
+ <xs:annotation>
1095
+ <xs:documentation>Specifies the Extensible Firmware Interface (EFI) application.</xs:documentation>
1096
+ </xs:annotation>
1097
+ </xs:enumeration>
1098
+ <xs:enumeration value="EFI_Boot_Service_Driver">
1099
+ <xs:annotation>
1100
+ <xs:documentation>Specifies the Extensible Firmware Interface (EFI) driver with boot services.</xs:documentation>
1101
+ </xs:annotation>
1102
+ </xs:enumeration>
1103
+ <xs:enumeration value="EFI_Runtime_Driver">
1104
+ <xs:annotation>
1105
+ <xs:documentation>Specifies the Extensible Firmware Interface (EFI) driver with run-time services.</xs:documentation>
1106
+ </xs:annotation>
1107
+ </xs:enumeration>
1108
+ <xs:enumeration value="EFI_ROM">
1109
+ <xs:annotation>
1110
+ <xs:documentation>Specifies the Extensible Firmware Interface (EFI) image.</xs:documentation>
1111
+ </xs:annotation>
1112
+ </xs:enumeration>
1113
+ <xs:enumeration value="XBOX">
1114
+ <xs:annotation>
1115
+ <xs:documentation>Specifies the XBOX system.</xs:documentation>
1116
+ </xs:annotation>
1117
+ </xs:enumeration>
1118
+ <xs:enumeration value="Windows_Boot_Application">
1119
+ <xs:annotation>
1120
+ <xs:documentation>Specifies the Windows Boot application.</xs:documentation>
1121
+ </xs:annotation>
1122
+ </xs:enumeration>
1123
+ </xs:restriction>
1124
+ </xs:simpleType>
1125
+ <xs:simpleType name="PETypeEnum">
1126
+ <xs:annotation>
1127
+ <xs:documentation>The PETypeEnum enumerates the characteristics flags for the executable file in question. These are detailed in winnt.h.</xs:documentation>
1128
+ </xs:annotation>
1129
+ <xs:restriction base="xs:string">
1130
+ <xs:enumeration value="Executable">
1131
+ <xs:annotation>
1132
+ <xs:documentation>Specifies an executable image (not an OBJ or LIB).</xs:documentation>
1133
+ </xs:annotation>
1134
+ </xs:enumeration>
1135
+ <xs:enumeration value="Dll">
1136
+ <xs:annotation>
1137
+ <xs:documentation>Specifies a dynamic link library, not a program.</xs:documentation>
1138
+ </xs:annotation>
1139
+ </xs:enumeration>
1140
+ <xs:enumeration value="Invalid">
1141
+ <xs:annotation>
1142
+ <xs:documentation>Specifies an invalid executable file (i.e. not one of the listed types).</xs:documentation>
1143
+ </xs:annotation>
1144
+ </xs:enumeration>
1145
+ </xs:restriction>
1146
+ </xs:simpleType>
1147
+ <xs:complexType name="PEResourceContentType">
1148
+ <xs:annotation>
1149
+ <xs:documentation>The PEResourceContentType specifies PE resource types via a union of the PEResourceTypeEnum type and the atomic xs:string type. Its base type is the CybOX Core BaseObjectPropertyType, for permitting complex (i.e. regular-expression based) specifications.</xs:documentation>
1150
+ </xs:annotation>
1151
+ <xs:simpleContent>
1152
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
1153
+ <xs:simpleType>
1154
+ <xs:union memberTypes="WinExecutableFileObj:PEResourceTypeEnum xs:string"/>
1155
+ </xs:simpleType>
1156
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
1157
+ <xs:annotation>
1158
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
1159
+ </xs:annotation>
1160
+ </xs:attribute>
1161
+ </xs:restriction>
1162
+ </xs:simpleContent>
1163
+ </xs:complexType>
1164
+ <xs:simpleType name="PEResourceTypeEnum">
1165
+ <xs:annotation>
1166
+ <xs:documentation>The PEResourceTypeEnum is a non-exhaustive enumeration of PE resource types.</xs:documentation>
1167
+ </xs:annotation>
1168
+ <xs:restriction base="xs:string">
1169
+ <xs:enumeration value="Cursor">
1170
+ <xs:annotation>
1171
+ <xs:documentation>Specifies a resource that is a cursor or animated cursor defined by naming it and specifying the name of the file that contains it. (To use a particular cursor, the application requests it by name.).</xs:documentation>
1172
+ </xs:annotation>
1173
+ </xs:enumeration>
1174
+ <xs:enumeration value="Bitmap">
1175
+ <xs:annotation>
1176
+ <xs:documentation>Specifies a resource that is a bitmap defined by naming it and specifying the name of the file that contains it. (To use a particular cursor, the application requests it by name.).</xs:documentation>
1177
+ </xs:annotation>
1178
+ </xs:enumeration>
1179
+ <xs:enumeration value="Icon">
1180
+ <xs:annotation>
1181
+ <xs:documentation>Specifies a resource that is an icon or animated icon by naming it and specifying the name of the file that contains it. (To use a particular icon, the application requests it by name.).</xs:documentation>
1182
+ </xs:annotation>
1183
+ </xs:enumeration>
1184
+ <xs:enumeration value="Menu">
1185
+ <xs:annotation>
1186
+ <xs:documentation>Specifies a resource that captures the appearance and function of a menu. Does not define help or regular identifiers, nor uses the MFT_* type and MFS_* state flags.</xs:documentation>
1187
+ </xs:annotation>
1188
+ </xs:enumeration>
1189
+ <xs:enumeration value="MenuEX">
1190
+ <xs:annotation>
1191
+ <xs:documentation>Specifies a resource that captures the appearance and function of a menu, which can also utilize help or regular identifiers, as well as the MFT_* type and MFS_* state flags.</xs:documentation>
1192
+ </xs:annotation>
1193
+ </xs:enumeration>
1194
+ <xs:enumeration value="Popup">
1195
+ <xs:annotation>
1196
+ <xs:documentation>Specifies a resource that captures a menu item that can contain menu items and submenus.</xs:documentation>
1197
+ </xs:annotation>
1198
+ </xs:enumeration>
1199
+ <xs:enumeration value="Dialog">
1200
+ <xs:annotation>
1201
+ <xs:documentation>Specifies a resource that captures a template that an application can use to create dialog boxes. This type is considered obsolete in Windows and newer applications use the DIALOGEX resource.</xs:documentation>
1202
+ </xs:annotation>
1203
+ </xs:enumeration>
1204
+ <xs:enumeration value="DialogEX">
1205
+ <xs:annotation>
1206
+ <xs:documentation>Specifies a resource that captures a template that newer applications can use to create dialog boxes.</xs:documentation>
1207
+ </xs:annotation>
1208
+ </xs:enumeration>
1209
+ <xs:enumeration value="String">
1210
+ <xs:annotation>
1211
+ <xs:documentation>Specifies a resource that is a string.</xs:documentation>
1212
+ </xs:annotation>
1213
+ </xs:enumeration>
1214
+ <xs:enumeration value="StringTable">
1215
+ <xs:annotation>
1216
+ <xs:documentation>Specifies a resource that captures string tables. String resources are Unicode or ASCII strings that can be loaded from the executable file.</xs:documentation>
1217
+ </xs:annotation>
1218
+ </xs:enumeration>
1219
+ <xs:enumeration value="Fontdir">
1220
+ <xs:annotation>
1221
+ <xs:documentation>Specifies a resource that is a font directory.</xs:documentation>
1222
+ </xs:annotation>
1223
+ </xs:enumeration>
1224
+ <xs:enumeration value="Font">
1225
+ <xs:annotation>
1226
+ <xs:documentation>Specifies a resource that captures the name of a file that contains a font.</xs:documentation>
1227
+ </xs:annotation>
1228
+ </xs:enumeration>
1229
+ <xs:enumeration value="Accelerators">
1230
+ <xs:annotation>
1231
+ <xs:documentation>Specifies a resource that captures menu accelerator keys.</xs:documentation>
1232
+ </xs:annotation>
1233
+ </xs:enumeration>
1234
+ <xs:enumeration value="RCData">
1235
+ <xs:annotation>
1236
+ <xs:documentation>Specifies a resource that captures data resources. Data resources let you include binary data in the executable file.</xs:documentation>
1237
+ </xs:annotation>
1238
+ </xs:enumeration>
1239
+ <xs:enumeration value="MessageTable">
1240
+ <xs:annotation>
1241
+ <xs:documentation>Specifies a resource that captures a message table by naming it and specifying the name of the file that contains it. The file is a binary resource file generated by the message compiler.</xs:documentation>
1242
+ </xs:annotation>
1243
+ </xs:enumeration>
1244
+ <xs:enumeration value="GroupCursor">
1245
+ <xs:annotation>
1246
+ <xs:documentation>Specifies a resource that is a group cursor.</xs:documentation>
1247
+ </xs:annotation>
1248
+ </xs:enumeration>
1249
+ <xs:enumeration value="GroupIcon">
1250
+ <xs:annotation>
1251
+ <xs:documentation>Specifies a resource that is a group icon.</xs:documentation>
1252
+ </xs:annotation>
1253
+ </xs:enumeration>
1254
+ <xs:enumeration value="VersionInfo">
1255
+ <xs:annotation>
1256
+ <xs:documentation>Specifies a resource that captures version-information. Contains information such as the version number, intended operating system, and so on.</xs:documentation>
1257
+ </xs:annotation>
1258
+ </xs:enumeration>
1259
+ <xs:enumeration value="DLGInclude">
1260
+ <xs:annotation>
1261
+ <xs:documentation>Specifies a resource that is a dialog include.</xs:documentation>
1262
+ </xs:annotation>
1263
+ </xs:enumeration>
1264
+ <xs:enumeration value="PlugPlay">
1265
+ <xs:annotation>
1266
+ <xs:documentation>This resource is obsolete and included for completeness.</xs:documentation>
1267
+ </xs:annotation>
1268
+ </xs:enumeration>
1269
+ <xs:enumeration value="TextInclude">
1270
+ <xs:annotation>
1271
+ <xs:documentation>This is a special resource that is interpreted by Visual C++. For more information see http://go.microsoft.com/FWLink/?LinkId=83951.</xs:documentation>
1272
+ </xs:annotation>
1273
+ </xs:enumeration>
1274
+ <xs:enumeration value="TypeLib">
1275
+ <xs:annotation>
1276
+ <xs:documentation>This is a special resource that is used with /TLBID and /TLBOUT linker options. For more information see http://go.microsoft.com/FWLink/?LinkId=83960 (for /TLBID) and http://go.microsoft.com/FWLink/?LinkId=83947 (for /TLBOUT).</xs:documentation>
1277
+ </xs:annotation>
1278
+ </xs:enumeration>
1279
+ <xs:enumeration value="Vxd">
1280
+ <xs:annotation>
1281
+ <xs:documentation>This resource is obsolete and included for completeness.</xs:documentation>
1282
+ </xs:annotation>
1283
+ </xs:enumeration>
1284
+ <xs:enumeration value="AniCursor">
1285
+ <xs:annotation>
1286
+ <xs:documentation>Specifies a resource that is an animated cursor.</xs:documentation>
1287
+ </xs:annotation>
1288
+ </xs:enumeration>
1289
+ <xs:enumeration value="AniIcon">
1290
+ <xs:annotation>
1291
+ <xs:documentation>Specifies a resource that is an animated icon.</xs:documentation>
1292
+ </xs:annotation>
1293
+ </xs:enumeration>
1294
+ <xs:enumeration value="HTML">
1295
+ <xs:annotation>
1296
+ <xs:documentation>Specifies a resource that captures an HTML file.</xs:documentation>
1297
+ </xs:annotation>
1298
+ </xs:enumeration>
1299
+ <xs:enumeration value="Manifest">
1300
+ <xs:annotation>
1301
+ <xs:documentation>Specifies a resource that captures a manifest file.</xs:documentation>
1302
+ </xs:annotation>
1303
+ </xs:enumeration>
1304
+ <xs:enumeration value="MessageTableEntry">
1305
+ <xs:annotation>
1306
+ <xs:documentation>Specifies a resource that captures a message table entry.</xs:documentation>
1307
+ </xs:annotation>
1308
+ </xs:enumeration>
1309
+ </xs:restriction>
1310
+ </xs:simpleType>
1311
+ </xs:schema>