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,269 +1,269 @@
1
- <?xml version='1.0' encoding='UTF-8'?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinFileObj="http://cybox.mitre.org/objects#WinFileObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" targetNamespace="http://cybox.mitre.org/objects#WinFileObject-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_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/common-2" schemaLocation="../cybox_common.xsd"/>
14
- <xs:import namespace="http://cybox.mitre.org/objects#FileObject-2" schemaLocation="File_Object.xsd"/>
15
- <xs:element name="Windows_File" type="WinFileObj:WindowsFileObjectType">
16
- <xs:annotation>
17
- <xs:documentation>The Windows_File object is intended to characterize Windows files.</xs:documentation>
18
- </xs:annotation>
19
- </xs:element>
20
- <xs:complexType name="WindowsFileObjectType" mixed="false">
21
- <xs:annotation>
22
- <xs:documentation>The WindowsFileObjectType type is intended to characterize Windows files.</xs:documentation>
23
- </xs:annotation>
24
- <xs:complexContent>
25
- <xs:extension base="FileObj:FileObjectType">
26
- <xs:sequence minOccurs="1">
27
- <xs:element name="Filename_Accessed_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
28
- <xs:annotation>
29
- <xs:documentation>The Filename_Accessed_Time field specifies the date/time the filename of the Windows file was last accessed.</xs:documentation>
30
- </xs:annotation>
31
- </xs:element>
32
- <xs:element name="Filename_Created_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
33
- <xs:annotation>
34
- <xs:documentation>The Filename_Created_Time field specifies the date/time the filename of the Windows file was created.</xs:documentation>
35
- </xs:annotation>
36
- </xs:element>
37
- <xs:element name="Filename_Modified_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
38
- <xs:annotation>
39
- <xs:documentation>The Filename_Modified_Time field specifies the date/time the filename of the Windows file was last modified.</xs:documentation>
40
- </xs:annotation>
41
- </xs:element>
42
- <xs:element name="Drive" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
43
- <xs:annotation>
44
- <xs:documentation>The Drive field specifies the drive letter of the drive that the file resides on.</xs:documentation>
45
- </xs:annotation>
46
- </xs:element>
47
- <xs:element name="Security_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
48
- <xs:annotation>
49
- <xs:documentation>The Security_ID field specifies the Security ID (SID) value assigned to the file.</xs:documentation>
50
- </xs:annotation>
51
- </xs:element>
52
- <xs:element name="Security_Type" type="cyboxCommon:SIDType" minOccurs="0" maxOccurs="1">
53
- <xs:annotation>
54
- <xs:documentation>The Security_Type field specifies the type of Security ID (SID) assigned to the file.</xs:documentation>
55
- </xs:annotation>
56
- </xs:element>
57
- <xs:element name="Stream_List" type="WinFileObj:StreamListType" minOccurs="0" maxOccurs="1">
58
- <xs:annotation>
59
- <xs:documentation>The Stream_List field specifies any alternate data streams contained within the file.</xs:documentation>
60
- </xs:annotation>
61
- </xs:element>
62
- </xs:sequence>
63
- </xs:extension>
64
- </xs:complexContent>
65
- </xs:complexType>
66
- <xs:complexType name="StreamObjectType" mixed="false">
67
- <xs:annotation>
68
- <xs:documentation>The StreamObjectType type is intended to characterize NTFS alternate data streams.</xs:documentation>
69
- </xs:annotation>
70
- <xs:complexContent>
71
- <xs:extension base="cyboxCommon:HashListType">
72
- <xs:sequence>
73
- <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
74
- <xs:annotation>
75
- <xs:documentation>The Name field specifies the name of the alternate data stream.</xs:documentation>
76
- </xs:annotation>
77
- </xs:element>
78
- <xs:element name="Size_In_Bytes" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0" maxOccurs="1">
79
- <xs:annotation>
80
- <xs:documentation>The Size_In_Bytes field specifies the size of the alternate data stream, in bytes.</xs:documentation>
81
- </xs:annotation>
82
- </xs:element>
83
- </xs:sequence>
84
- </xs:extension>
85
- </xs:complexContent>
86
- </xs:complexType>
87
- <xs:complexType name="StreamListType">
88
- <xs:annotation>
89
- <xs:documentation>The StreamListType type specifies a list of NTFS alternate data streams.</xs:documentation>
90
- </xs:annotation>
91
- <xs:sequence>
92
- <xs:element name="Stream" type="WinFileObj:StreamObjectType" minOccurs="1" maxOccurs="unbounded">
93
- <xs:annotation>
94
- <xs:documentation>The Stream field characterizes a single NTFS alternate data stream.</xs:documentation>
95
- </xs:annotation>
96
- </xs:element>
97
- </xs:sequence>
98
- </xs:complexType>
99
- <xs:complexType name="WindowsFileAttributesType">
100
- <xs:annotation>
101
- <xs:documentation>The WindowsFileAttributesType type specifies Windows file attributes. It imports and extends the FileAttributeType from the CybOX File Object.</xs:documentation>
102
- </xs:annotation>
103
- <xs:complexContent>
104
- <xs:extension base="FileObj:FileAttributeType">
105
- <xs:sequence maxOccurs="1">
106
- <xs:element name="Attribute" type="WinFileObj:WindowsFileAttributeType" maxOccurs="unbounded">
107
- <xs:annotation>
108
- <xs:documentation>The WindowsFileAttributeType specifies a single Windows file attribute.</xs:documentation>
109
- </xs:annotation>
110
- </xs:element>
111
- </xs:sequence>
112
- </xs:extension>
113
- </xs:complexContent>
114
- </xs:complexType>
115
- <xs:complexType name="WindowsFileAttributeType">
116
- <xs:annotation>
117
- <xs:documentation>WindowsFileAttributeType specifies Windows file attributes via a union of the FileAttributesEnum 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>
118
- </xs:annotation>
119
- <xs:simpleContent>
120
- <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
121
- <xs:simpleType>
122
- <xs:union memberTypes="WinFileObj:FileAttributesEnum xs:string"/>
123
- </xs:simpleType>
124
- <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
125
- <xs:annotation>
126
- <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
127
- </xs:annotation>
128
- </xs:attribute>
129
- </xs:restriction>
130
- </xs:simpleContent>
131
- </xs:complexType>
132
- <xs:complexType name="WindowsFilePermissionsType">
133
- <xs:annotation>
134
- <xs:documentation>The WindowsFilePermissionsType type specifies Windows file permissions. It imports and extends the FilePermissionsType from the CybOX File Object.</xs:documentation>
135
- </xs:annotation>
136
- <xs:complexContent>
137
- <xs:extension base="FileObj:FilePermissionsType">
138
- <xs:sequence>
139
- <xs:element name="Full_Control" type="xs:boolean" minOccurs="0">
140
- <xs:annotation>
141
- <xs:documentation>The Full_Control field specifies whether reading, writing, changing and deleting of the file is perfmitted.</xs:documentation>
142
- </xs:annotation>
143
- </xs:element>
144
- <xs:element name="Modify" type="xs:boolean" minOccurs="0">
145
- <xs:annotation>
146
- <xs:documentation>The Modify field specifies whether reading and writing or deletion of the file is permitted.</xs:documentation>
147
- </xs:annotation>
148
- </xs:element>
149
- <xs:element name="Read" type="xs:boolean" minOccurs="0">
150
- <xs:annotation>
151
- <xs:documentation>The Read field specifies whether viewing or accessing of the file's contents is permitted.</xs:documentation>
152
- </xs:annotation>
153
- </xs:element>
154
- <xs:element name="Read_And_Execute" type="xs:boolean" minOccurs="0">
155
- <xs:annotation>
156
- <xs:documentation>The Read_And_Execute field specifies whether viewing and accessing of the file's contents as well as executing of the file is permitted.</xs:documentation>
157
- </xs:annotation>
158
- </xs:element>
159
- <xs:element name="Write" type="xs:boolean" minOccurs="0">
160
- <xs:annotation>
161
- <xs:documentation>The Write field specifies whether writing to the file is permitted.</xs:documentation>
162
- </xs:annotation>
163
- </xs:element>
164
- </xs:sequence>
165
- </xs:extension>
166
- </xs:complexContent>
167
- </xs:complexType>
168
- <xs:simpleType name="FileAttributesEnum">
169
- <xs:annotation>
170
- <xs:documentation>The FileAttributesEnum type is an enumeration of Windows file attributes. These refer to the constants specified in http://msdn.microsoft.com/en-us/library/gg258117(v=vs.85).aspx.</xs:documentation>
171
- </xs:annotation>
172
- <xs:list>
173
- <xs:simpleType>
174
- <xs:restriction base="xs:string">
175
- <xs:enumeration value="ReadOnly">
176
- <xs:annotation>
177
- <xs:documentation>Specifies a file is read only, as denoted by the constant value, 0x1. Applications can read the file, but cannot write to it or delete it. This attribute is not honored on directories. For more information as to why, see http://go.microsoft.com/FWLink/?LinkId=125896.</xs:documentation>
178
- </xs:annotation>
179
- </xs:enumeration>
180
- <xs:enumeration value="Hidden">
181
- <xs:annotation>
182
- <xs:documentation>Specifies a file or directory is hidden, as denoted by the constant value, 0x2. It is not included in an ordinary directory listing.</xs:documentation>
183
- </xs:annotation>
184
- </xs:enumeration>
185
- <xs:enumeration value="System">
186
- <xs:annotation>
187
- <xs:documentation>Specifies a file or directory that the operating system uses a part of, or uses exclusively, as denoted by the constant value, 0x4.</xs:documentation>
188
- </xs:annotation>
189
- </xs:enumeration>
190
- <xs:enumeration value="Directory">
191
- <xs:annotation>
192
- <xs:documentation>Specifies a directory, as denoted by the constant value, 0x10.</xs:documentation>
193
- </xs:annotation>
194
- </xs:enumeration>
195
- <xs:enumeration value="Archive">
196
- <xs:annotation>
197
- <xs:documentation>Specifies a file or directory that is an archive file or directory, as denoted by the constant value, 0x20. Applications typically use this attribute to mark files for backup or removal.</xs:documentation>
198
- </xs:annotation>
199
- </xs:enumeration>
200
- <xs:enumeration value="Device">
201
- <xs:annotation>
202
- <xs:documentation>Specifies a reserved system value, as denoted by the constant value, 0x40.</xs:documentation>
203
- </xs:annotation>
204
- </xs:enumeration>
205
- <xs:enumeration value="Normal">
206
- <xs:annotation>
207
- <xs:documentation>Specifies a file that has no other attributes set, and is only valid when this attribute is used alone, as denoted by the constant value, 0x80.</xs:documentation>
208
- </xs:annotation>
209
- </xs:enumeration>
210
- <xs:enumeration value="Temporary">
211
- <xs:annotation>
212
- <xs:documentation>Specifies a file being used for temporary storage, as denoted by the constant value, 0x100.</xs:documentation>
213
- </xs:annotation>
214
- </xs:enumeration>
215
- <xs:enumeration value="SparseFile">
216
- <xs:annotation>
217
- <xs:documentation>Specifies a sparse file, as denoted by the constant value, 0x200.</xs:documentation>
218
- </xs:annotation>
219
- </xs:enumeration>
220
- <xs:enumeration value="ReparsePoint">
221
- <xs:annotation>
222
- <xs:documentation>Specifies a file or directory that has an associated reparse point, or a file that is a symbolic link, as denoted by the constant value, 0x400.</xs:documentation>
223
- </xs:annotation>
224
- </xs:enumeration>
225
- <xs:enumeration value="Compressed">
226
- <xs:annotation>
227
- <xs:documentation>Specifies a file or directory that is compressed, as denoted by the constant value, 0x800. For a file, all of the data in the file is compressed. For a directory, compression is the default for newly created files and subdirectories.</xs:documentation>
228
- </xs:annotation>
229
- </xs:enumeration>
230
- <xs:enumeration value="Offline">
231
- <xs:annotation>
232
- <xs:documentation>Specifies that the data of a file is not available immediately, as denoted by the constant value, 0x1000. This attribute indicates that the file data is physically moved to offline storage. This attribute is used by Remote Storage, which is the hierarchical storage management software. Applications should not arbitrarily change this attribute.</xs:documentation>
233
- </xs:annotation>
234
- </xs:enumeration>
235
- <xs:enumeration value="NotContentIndexed">
236
- <xs:annotation>
237
- <xs:documentation>Specifies that a file is not to be indexed by the content indexing service, as denoted by the constant value, 0x2000.</xs:documentation>
238
- </xs:annotation>
239
- </xs:enumeration>
240
- <xs:enumeration value="Encrypted">
241
- <xs:annotation>
242
- <xs:documentation>Specifies a file or directory that is encrypted, as denoted by the constant value, 0x4000. For a file, all data streams in the file are encrypted. For a directory, encryption is the default for newly created files and subdirectories.</xs:documentation>
243
- </xs:annotation>
244
- </xs:enumeration>
245
- <xs:enumeration value="Deleted">
246
- <xs:annotation>
247
- <xs:documentation>Specifies a file or directory that is marked as deleted.</xs:documentation>
248
- </xs:annotation>
249
- </xs:enumeration>
250
- <xs:enumeration value="IntegrityStream">
251
- <xs:annotation>
252
- <xs:documentation>Specifies the directory or user data stream is configured with integrity (only supported on ReFS volumes), as denoted by the constant value, 0x8000. It is not included in an ordinary directory listing. The integrity setting persists with the file if it's renamed. If a file is copied the destination file will have integrity set if either the source file or destination directory have integrity set. NOTE: This flag is supported ONLY for Windows Server 8 Beta and later.</xs:documentation>
253
- </xs:annotation>
254
- </xs:enumeration>
255
- <xs:enumeration value="Virtual">
256
- <xs:annotation>
257
- <xs:documentation>Specifies a reserved system value, as denoted by the constant value, 0x10000.</xs:documentation>
258
- </xs:annotation>
259
- </xs:enumeration>
260
- <xs:enumeration value="NoScrubData">
261
- <xs:annotation>
262
- <xs:documentation>The user data stream not to be read by the background data integrity scanner (AKA scrubber), as denoted by the constant value, 0x20000. When set on a directory it only provides inheritance. This flag is only supported on Storage Spaces and ReFS volumes in Windows 8 and Windows Server 8 Beta and later. It is not included in an ordinary directory listing.</xs:documentation>
263
- </xs:annotation>
264
- </xs:enumeration>
265
- </xs:restriction>
266
- </xs:simpleType>
267
- </xs:list>
268
- </xs:simpleType>
269
- </xs:schema>
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinFileObj="http://cybox.mitre.org/objects#WinFileObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" targetNamespace="http://cybox.mitre.org/objects#WinFileObject-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_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/common-2" schemaLocation="../cybox_common.xsd"/>
14
+ <xs:import namespace="http://cybox.mitre.org/objects#FileObject-2" schemaLocation="File_Object.xsd"/>
15
+ <xs:element name="Windows_File" type="WinFileObj:WindowsFileObjectType">
16
+ <xs:annotation>
17
+ <xs:documentation>The Windows_File object is intended to characterize Windows files.</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:complexType name="WindowsFileObjectType" mixed="false">
21
+ <xs:annotation>
22
+ <xs:documentation>The WindowsFileObjectType type is intended to characterize Windows files.</xs:documentation>
23
+ </xs:annotation>
24
+ <xs:complexContent>
25
+ <xs:extension base="FileObj:FileObjectType">
26
+ <xs:sequence minOccurs="1">
27
+ <xs:element name="Filename_Accessed_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
28
+ <xs:annotation>
29
+ <xs:documentation>The Filename_Accessed_Time field specifies the date/time the filename of the Windows file was last accessed.</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="Filename_Created_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
33
+ <xs:annotation>
34
+ <xs:documentation>The Filename_Created_Time field specifies the date/time the filename of the Windows file was created.</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element name="Filename_Modified_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>The Filename_Modified_Time field specifies the date/time the filename of the Windows file was last modified.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element name="Drive" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
43
+ <xs:annotation>
44
+ <xs:documentation>The Drive field specifies the drive letter of the drive that the file resides on.</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element name="Security_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
48
+ <xs:annotation>
49
+ <xs:documentation>The Security_ID field specifies the Security ID (SID) value assigned to the file.</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ <xs:element name="Security_Type" type="cyboxCommon:SIDType" minOccurs="0" maxOccurs="1">
53
+ <xs:annotation>
54
+ <xs:documentation>The Security_Type field specifies the type of Security ID (SID) assigned to the file.</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:element>
57
+ <xs:element name="Stream_List" type="WinFileObj:StreamListType" minOccurs="0" maxOccurs="1">
58
+ <xs:annotation>
59
+ <xs:documentation>The Stream_List field specifies any alternate data streams contained within the file.</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:element>
62
+ </xs:sequence>
63
+ </xs:extension>
64
+ </xs:complexContent>
65
+ </xs:complexType>
66
+ <xs:complexType name="StreamObjectType" mixed="false">
67
+ <xs:annotation>
68
+ <xs:documentation>The StreamObjectType type is intended to characterize NTFS alternate data streams.</xs:documentation>
69
+ </xs:annotation>
70
+ <xs:complexContent>
71
+ <xs:extension base="cyboxCommon:HashListType">
72
+ <xs:sequence>
73
+ <xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
74
+ <xs:annotation>
75
+ <xs:documentation>The Name field specifies the name of the alternate data stream.</xs:documentation>
76
+ </xs:annotation>
77
+ </xs:element>
78
+ <xs:element name="Size_In_Bytes" type="cyboxCommon:UnsignedLongObjectPropertyType" minOccurs="0" maxOccurs="1">
79
+ <xs:annotation>
80
+ <xs:documentation>The Size_In_Bytes field specifies the size of the alternate data stream, in bytes.</xs:documentation>
81
+ </xs:annotation>
82
+ </xs:element>
83
+ </xs:sequence>
84
+ </xs:extension>
85
+ </xs:complexContent>
86
+ </xs:complexType>
87
+ <xs:complexType name="StreamListType">
88
+ <xs:annotation>
89
+ <xs:documentation>The StreamListType type specifies a list of NTFS alternate data streams.</xs:documentation>
90
+ </xs:annotation>
91
+ <xs:sequence>
92
+ <xs:element name="Stream" type="WinFileObj:StreamObjectType" minOccurs="1" maxOccurs="unbounded">
93
+ <xs:annotation>
94
+ <xs:documentation>The Stream field characterizes a single NTFS alternate data stream.</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:element>
97
+ </xs:sequence>
98
+ </xs:complexType>
99
+ <xs:complexType name="WindowsFileAttributesType">
100
+ <xs:annotation>
101
+ <xs:documentation>The WindowsFileAttributesType type specifies Windows file attributes. It imports and extends the FileAttributeType from the CybOX File Object.</xs:documentation>
102
+ </xs:annotation>
103
+ <xs:complexContent>
104
+ <xs:extension base="FileObj:FileAttributeType">
105
+ <xs:sequence maxOccurs="1">
106
+ <xs:element name="Attribute" type="WinFileObj:WindowsFileAttributeType" maxOccurs="unbounded">
107
+ <xs:annotation>
108
+ <xs:documentation>The WindowsFileAttributeType specifies a single Windows file attribute.</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:element>
111
+ </xs:sequence>
112
+ </xs:extension>
113
+ </xs:complexContent>
114
+ </xs:complexType>
115
+ <xs:complexType name="WindowsFileAttributeType">
116
+ <xs:annotation>
117
+ <xs:documentation>WindowsFileAttributeType specifies Windows file attributes via a union of the FileAttributesEnum 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>
118
+ </xs:annotation>
119
+ <xs:simpleContent>
120
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
121
+ <xs:simpleType>
122
+ <xs:union memberTypes="WinFileObj:FileAttributesEnum xs:string"/>
123
+ </xs:simpleType>
124
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
125
+ <xs:annotation>
126
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
127
+ </xs:annotation>
128
+ </xs:attribute>
129
+ </xs:restriction>
130
+ </xs:simpleContent>
131
+ </xs:complexType>
132
+ <xs:complexType name="WindowsFilePermissionsType">
133
+ <xs:annotation>
134
+ <xs:documentation>The WindowsFilePermissionsType type specifies Windows file permissions. It imports and extends the FilePermissionsType from the CybOX File Object.</xs:documentation>
135
+ </xs:annotation>
136
+ <xs:complexContent>
137
+ <xs:extension base="FileObj:FilePermissionsType">
138
+ <xs:sequence>
139
+ <xs:element name="Full_Control" type="xs:boolean" minOccurs="0">
140
+ <xs:annotation>
141
+ <xs:documentation>The Full_Control field specifies whether reading, writing, changing and deleting of the file is perfmitted.</xs:documentation>
142
+ </xs:annotation>
143
+ </xs:element>
144
+ <xs:element name="Modify" type="xs:boolean" minOccurs="0">
145
+ <xs:annotation>
146
+ <xs:documentation>The Modify field specifies whether reading and writing or deletion of the file is permitted.</xs:documentation>
147
+ </xs:annotation>
148
+ </xs:element>
149
+ <xs:element name="Read" type="xs:boolean" minOccurs="0">
150
+ <xs:annotation>
151
+ <xs:documentation>The Read field specifies whether viewing or accessing of the file's contents is permitted.</xs:documentation>
152
+ </xs:annotation>
153
+ </xs:element>
154
+ <xs:element name="Read_And_Execute" type="xs:boolean" minOccurs="0">
155
+ <xs:annotation>
156
+ <xs:documentation>The Read_And_Execute field specifies whether viewing and accessing of the file's contents as well as executing of the file is permitted.</xs:documentation>
157
+ </xs:annotation>
158
+ </xs:element>
159
+ <xs:element name="Write" type="xs:boolean" minOccurs="0">
160
+ <xs:annotation>
161
+ <xs:documentation>The Write field specifies whether writing to the file is permitted.</xs:documentation>
162
+ </xs:annotation>
163
+ </xs:element>
164
+ </xs:sequence>
165
+ </xs:extension>
166
+ </xs:complexContent>
167
+ </xs:complexType>
168
+ <xs:simpleType name="FileAttributesEnum">
169
+ <xs:annotation>
170
+ <xs:documentation>The FileAttributesEnum type is an enumeration of Windows file attributes. These refer to the constants specified in http://msdn.microsoft.com/en-us/library/gg258117(v=vs.85).aspx.</xs:documentation>
171
+ </xs:annotation>
172
+ <xs:list>
173
+ <xs:simpleType>
174
+ <xs:restriction base="xs:string">
175
+ <xs:enumeration value="ReadOnly">
176
+ <xs:annotation>
177
+ <xs:documentation>Specifies a file is read only, as denoted by the constant value, 0x1. Applications can read the file, but cannot write to it or delete it. This attribute is not honored on directories. For more information as to why, see http://go.microsoft.com/FWLink/?LinkId=125896.</xs:documentation>
178
+ </xs:annotation>
179
+ </xs:enumeration>
180
+ <xs:enumeration value="Hidden">
181
+ <xs:annotation>
182
+ <xs:documentation>Specifies a file or directory is hidden, as denoted by the constant value, 0x2. It is not included in an ordinary directory listing.</xs:documentation>
183
+ </xs:annotation>
184
+ </xs:enumeration>
185
+ <xs:enumeration value="System">
186
+ <xs:annotation>
187
+ <xs:documentation>Specifies a file or directory that the operating system uses a part of, or uses exclusively, as denoted by the constant value, 0x4.</xs:documentation>
188
+ </xs:annotation>
189
+ </xs:enumeration>
190
+ <xs:enumeration value="Directory">
191
+ <xs:annotation>
192
+ <xs:documentation>Specifies a directory, as denoted by the constant value, 0x10.</xs:documentation>
193
+ </xs:annotation>
194
+ </xs:enumeration>
195
+ <xs:enumeration value="Archive">
196
+ <xs:annotation>
197
+ <xs:documentation>Specifies a file or directory that is an archive file or directory, as denoted by the constant value, 0x20. Applications typically use this attribute to mark files for backup or removal.</xs:documentation>
198
+ </xs:annotation>
199
+ </xs:enumeration>
200
+ <xs:enumeration value="Device">
201
+ <xs:annotation>
202
+ <xs:documentation>Specifies a reserved system value, as denoted by the constant value, 0x40.</xs:documentation>
203
+ </xs:annotation>
204
+ </xs:enumeration>
205
+ <xs:enumeration value="Normal">
206
+ <xs:annotation>
207
+ <xs:documentation>Specifies a file that has no other attributes set, and is only valid when this attribute is used alone, as denoted by the constant value, 0x80.</xs:documentation>
208
+ </xs:annotation>
209
+ </xs:enumeration>
210
+ <xs:enumeration value="Temporary">
211
+ <xs:annotation>
212
+ <xs:documentation>Specifies a file being used for temporary storage, as denoted by the constant value, 0x100.</xs:documentation>
213
+ </xs:annotation>
214
+ </xs:enumeration>
215
+ <xs:enumeration value="SparseFile">
216
+ <xs:annotation>
217
+ <xs:documentation>Specifies a sparse file, as denoted by the constant value, 0x200.</xs:documentation>
218
+ </xs:annotation>
219
+ </xs:enumeration>
220
+ <xs:enumeration value="ReparsePoint">
221
+ <xs:annotation>
222
+ <xs:documentation>Specifies a file or directory that has an associated reparse point, or a file that is a symbolic link, as denoted by the constant value, 0x400.</xs:documentation>
223
+ </xs:annotation>
224
+ </xs:enumeration>
225
+ <xs:enumeration value="Compressed">
226
+ <xs:annotation>
227
+ <xs:documentation>Specifies a file or directory that is compressed, as denoted by the constant value, 0x800. For a file, all of the data in the file is compressed. For a directory, compression is the default for newly created files and subdirectories.</xs:documentation>
228
+ </xs:annotation>
229
+ </xs:enumeration>
230
+ <xs:enumeration value="Offline">
231
+ <xs:annotation>
232
+ <xs:documentation>Specifies that the data of a file is not available immediately, as denoted by the constant value, 0x1000. This attribute indicates that the file data is physically moved to offline storage. This attribute is used by Remote Storage, which is the hierarchical storage management software. Applications should not arbitrarily change this attribute.</xs:documentation>
233
+ </xs:annotation>
234
+ </xs:enumeration>
235
+ <xs:enumeration value="NotContentIndexed">
236
+ <xs:annotation>
237
+ <xs:documentation>Specifies that a file is not to be indexed by the content indexing service, as denoted by the constant value, 0x2000.</xs:documentation>
238
+ </xs:annotation>
239
+ </xs:enumeration>
240
+ <xs:enumeration value="Encrypted">
241
+ <xs:annotation>
242
+ <xs:documentation>Specifies a file or directory that is encrypted, as denoted by the constant value, 0x4000. For a file, all data streams in the file are encrypted. For a directory, encryption is the default for newly created files and subdirectories.</xs:documentation>
243
+ </xs:annotation>
244
+ </xs:enumeration>
245
+ <xs:enumeration value="Deleted">
246
+ <xs:annotation>
247
+ <xs:documentation>Specifies a file or directory that is marked as deleted.</xs:documentation>
248
+ </xs:annotation>
249
+ </xs:enumeration>
250
+ <xs:enumeration value="IntegrityStream">
251
+ <xs:annotation>
252
+ <xs:documentation>Specifies the directory or user data stream is configured with integrity (only supported on ReFS volumes), as denoted by the constant value, 0x8000. It is not included in an ordinary directory listing. The integrity setting persists with the file if it's renamed. If a file is copied the destination file will have integrity set if either the source file or destination directory have integrity set. NOTE: This flag is supported ONLY for Windows Server 8 Beta and later.</xs:documentation>
253
+ </xs:annotation>
254
+ </xs:enumeration>
255
+ <xs:enumeration value="Virtual">
256
+ <xs:annotation>
257
+ <xs:documentation>Specifies a reserved system value, as denoted by the constant value, 0x10000.</xs:documentation>
258
+ </xs:annotation>
259
+ </xs:enumeration>
260
+ <xs:enumeration value="NoScrubData">
261
+ <xs:annotation>
262
+ <xs:documentation>The user data stream not to be read by the background data integrity scanner (AKA scrubber), as denoted by the constant value, 0x20000. When set on a directory it only provides inheritance. This flag is only supported on Storage Spaces and ReFS volumes in Windows 8 and Windows Server 8 Beta and later. It is not included in an ordinary directory listing.</xs:documentation>
263
+ </xs:annotation>
264
+ </xs:enumeration>
265
+ </xs:restriction>
266
+ </xs:simpleType>
267
+ </xs:list>
268
+ </xs:simpleType>
269
+ </xs:schema>