stix_schema_spy 1.0 → 1.1

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 (175) hide show
  1. checksums.yaml +8 -8
  2. data/config/1.1/stix/cybox/objects/Win_Hook_Object.xsd +1 -1
  3. data/config/1.1.1/stix/campaign.xsd +220 -0
  4. data/config/1.1.1/stix/course_of_action.xsd +191 -0
  5. data/config/1.1.1/stix/cybox/cybox_common.xsd +2700 -0
  6. data/config/1.1.1/stix/cybox/cybox_core.xsd +1145 -0
  7. data/config/1.1.1/stix/cybox/cybox_default_vocabularies.xsd +5180 -0
  8. data/config/1.1.1/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -0
  9. data/config/1.1.1/stix/cybox/extensions/platform/cpe2.3.xsd +34 -0
  10. data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-language_2.3.xsd +234 -0
  11. data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-naming_2.3.xsd +45 -0
  12. data/config/1.1.1/stix/cybox/external/cpe_2.3/xml.xsd +145 -0
  13. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  14. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  15. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL.xsd +672 -0
  16. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  17. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  18. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  19. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL.xsd +284 -0
  20. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  21. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  22. data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  23. data/config/1.1.1/stix/cybox/objects/API_Object.xsd +55 -0
  24. data/config/1.1.1/stix/cybox/objects/ARP_Cache_Object.xsd +98 -0
  25. data/config/1.1.1/stix/cybox/objects/AS_Object.xsd +50 -0
  26. data/config/1.1.1/stix/cybox/objects/Account_Object.xsd +501 -0
  27. data/config/1.1.1/stix/cybox/objects/Address_Object.xsd +127 -0
  28. data/config/1.1.1/stix/cybox/objects/Archive_File_Object.xsd +134 -0
  29. data/config/1.1.1/stix/cybox/objects/Artifact_Object.xsd +212 -0
  30. data/config/1.1.1/stix/cybox/objects/Code_Object.xsd +417 -0
  31. data/config/1.1.1/stix/cybox/objects/Custom_Object.xsd +42 -0
  32. data/config/1.1.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
  33. data/config/1.1.1/stix/cybox/objects/DNS_Query_Object.xsd +164 -0
  34. data/config/1.1.1/stix/cybox/objects/DNS_Record_Object.xsd +92 -0
  35. data/config/1.1.1/stix/cybox/objects/Device_Object.xsd +65 -0
  36. data/config/1.1.1/stix/cybox/objects/Disk_Object.xsd +117 -0
  37. data/config/1.1.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
  38. data/config/1.1.1/stix/cybox/objects/Domain_Name_Object.xsd +57 -0
  39. data/config/1.1.1/stix/cybox/objects/Email_Message_Object.xsd +278 -0
  40. data/config/1.1.1/stix/cybox/objects/File_Object.xsd +397 -0
  41. data/config/1.1.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
  42. data/config/1.1.1/stix/cybox/objects/GUI_Object.xsd +40 -0
  43. data/config/1.1.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
  44. data/config/1.1.1/stix/cybox/objects/HTTP_Session_Object.xsd +633 -0
  45. data/config/1.1.1/stix/cybox/objects/Hostname_Object.xsd +45 -0
  46. data/config/1.1.1/stix/cybox/objects/Image_File_Object.xsd +124 -0
  47. data/config/1.1.1/stix/cybox/objects/Library_Object.xsd +114 -0
  48. data/config/1.1.1/stix/cybox/objects/Link_Object.xsd +36 -0
  49. data/config/1.1.1/stix/cybox/objects/Linux_Package_Object.xsd +75 -0
  50. data/config/1.1.1/stix/cybox/objects/Memory_Object.xsd +141 -0
  51. data/config/1.1.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
  52. data/config/1.1.1/stix/cybox/objects/Network_Connection_Object.xsd +540 -0
  53. data/config/1.1.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
  54. data/config/1.1.1/stix/cybox/objects/Network_Packet_Object.xsd +2934 -0
  55. data/config/1.1.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
  56. data/config/1.1.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
  57. data/config/1.1.1/stix/cybox/objects/Network_Socket_Object.xsd +529 -0
  58. data/config/1.1.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
  59. data/config/1.1.1/stix/cybox/objects/PDF_File_Object.xsd +595 -0
  60. data/config/1.1.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
  61. data/config/1.1.1/stix/cybox/objects/Port_Object.xsd +40 -0
  62. data/config/1.1.1/stix/cybox/objects/Process_Object.xsd +199 -0
  63. data/config/1.1.1/stix/cybox/objects/Product_Object.xsd +65 -0
  64. data/config/1.1.1/stix/cybox/objects/SMS_Message_Object.xsd +79 -0
  65. data/config/1.1.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
  66. data/config/1.1.1/stix/cybox/objects/Socket_Address_Object.xsd +50 -0
  67. data/config/1.1.1/stix/cybox/objects/System_Object.xsd +410 -0
  68. data/config/1.1.1/stix/cybox/objects/URI_Object.xsd +62 -0
  69. data/config/1.1.1/stix/cybox/objects/URL_History_Object.xsd +104 -0
  70. data/config/1.1.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
  71. data/config/1.1.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
  72. data/config/1.1.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
  73. data/config/1.1.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
  74. data/config/1.1.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
  75. data/config/1.1.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
  76. data/config/1.1.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
  77. data/config/1.1.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
  78. data/config/1.1.1/stix/cybox/objects/Volume_Object.xsd +235 -0
  79. data/config/1.1.1/stix/cybox/objects/Whois_Object.xsd +430 -0
  80. data/config/1.1.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
  81. data/config/1.1.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
  82. data/config/1.1.1/stix/cybox/objects/Win_Driver_Object.xsd +270 -0
  83. data/config/1.1.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
  84. data/config/1.1.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
  85. data/config/1.1.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -0
  86. data/config/1.1.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
  87. data/config/1.1.1/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -0
  88. data/config/1.1.1/stix/cybox/objects/Win_Handle_Object.xsd +351 -0
  89. data/config/1.1.1/stix/cybox/objects/Win_Hook_Object.xsd +152 -0
  90. data/config/1.1.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
  91. data/config/1.1.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
  92. data/config/1.1.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
  93. data/config/1.1.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
  94. data/config/1.1.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
  95. data/config/1.1.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
  96. data/config/1.1.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
  97. data/config/1.1.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
  98. data/config/1.1.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
  99. data/config/1.1.1/stix/cybox/objects/Win_Process_Object.xsd +174 -0
  100. data/config/1.1.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
  101. data/config/1.1.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
  102. data/config/1.1.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
  103. data/config/1.1.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
  104. data/config/1.1.1/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -0
  105. data/config/1.1.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
  106. data/config/1.1.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
  107. data/config/1.1.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
  108. data/config/1.1.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
  109. data/config/1.1.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
  110. data/config/1.1.1/stix/cybox/objects/X509_Certificate_Object.xsd +275 -0
  111. data/config/1.1.1/stix/data_marking.xsd +97 -0
  112. data/config/1.1.1/stix/exploit_target.xsd +324 -0
  113. data/config/1.1.1/stix/extensions/address/ciq_3.0_address.xsd +27 -0
  114. data/config/1.1.1/stix/extensions/attack_pattern/capec_2.7_attack_pattern.xsd +31 -0
  115. data/config/1.1.1/stix/extensions/identity/ciq_3.0_identity.xsd +113 -0
  116. data/config/1.1.1/stix/extensions/malware/maec_4.1_malware.xsd +31 -0
  117. data/config/1.1.1/stix/extensions/marking/simple_marking.xsd +31 -0
  118. data/config/1.1.1/stix/extensions/marking/terms_of_use_marking.xsd +31 -0
  119. data/config/1.1.1/stix/extensions/marking/tlp_marking.xsd +40 -0
  120. data/config/1.1.1/stix/extensions/structured_coa/generic_structured_coa.xsd +46 -0
  121. data/config/1.1.1/stix/extensions/test_mechanism/generic_test_mechanism.xsd +46 -0
  122. data/config/1.1.1/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.xsd +32 -0
  123. data/config/1.1.1/stix/extensions/test_mechanism/oval_5.10_test_mechanism.xsd +37 -0
  124. data/config/1.1.1/stix/extensions/test_mechanism/snort_test_mechanism.xsd +56 -0
  125. data/config/1.1.1/stix/extensions/test_mechanism/yara_test_mechanism.xsd +36 -0
  126. data/config/1.1.1/stix/extensions/vulnerability/cvrf_1.1_vulnerability.xsd +33 -0
  127. data/config/1.1.1/stix/external/capec_2.7/ap_schema_v2.7.xsd +3618 -0
  128. data/config/1.1.1/stix/external/cvrf_1.1/common.xsd +176 -0
  129. data/config/1.1.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
  130. data/config/1.1.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
  131. data/config/1.1.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
  132. data/config/1.1.1/stix/external/cvrf_1.1/dc.xsd +118 -0
  133. data/config/1.1.1/stix/external/cvrf_1.1/prod.xsd +292 -0
  134. data/config/1.1.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
  135. data/config/1.1.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
  136. data/config/1.1.1/stix/external/cvrf_1.1/xml.xsd +287 -0
  137. data/config/1.1.1/stix/external/maec_4.1/maec_bundle_schema.xsd +1228 -0
  138. data/config/1.1.1/stix/external/maec_4.1/maec_container_schema.xsd +62 -0
  139. data/config/1.1.1/stix/external/maec_4.1/maec_default_vocabularies.xsd +5325 -0
  140. data/config/1.1.1/stix/external/maec_4.1/maec_package_schema.xsd +1095 -0
  141. data/config/1.1.1/stix/external/maec_4.1/metadataSharing.xsd +1712 -0
  142. data/config/1.1.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
  143. data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
  144. data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
  145. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
  146. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
  147. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
  148. data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
  149. data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
  150. data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
  151. data/config/1.1.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
  152. data/config/1.1.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
  153. data/config/1.1.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
  154. data/config/1.1.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
  155. data/config/1.1.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
  156. data/config/1.1.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
  157. data/config/1.1.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
  158. data/config/1.1.1/stix/incident.xsd +762 -0
  159. data/config/1.1.1/stix/indicator.xsd +368 -0
  160. data/config/1.1.1/stix/stix_common.xsd +923 -0
  161. data/config/1.1.1/stix/stix_core.xsd +253 -0
  162. data/config/1.1.1/stix/stix_default_vocabularies.xsd +2081 -0
  163. data/config/1.1.1/stix/threat_actor.xsd +182 -0
  164. data/config/1.1.1/stix/ttp.xsd +430 -0
  165. data/config/1.1.1/uber_schema.xsd +149 -0
  166. data/lib/stix_schema_spy/models/attribute.rb +1 -1
  167. data/lib/stix_schema_spy/models/element.rb +2 -9
  168. data/lib/stix_schema_spy/models/external_type.rb +29 -0
  169. data/lib/stix_schema_spy/models/has_children.rb +9 -9
  170. data/lib/stix_schema_spy/models/node.rb +7 -6
  171. data/lib/stix_schema_spy/models/schema.rb +6 -4
  172. data/lib/stix_schema_spy/models/type.rb +44 -5
  173. data/lib/stix_schema_spy/util/tasks.rb +15 -14
  174. data/lib/stix_schema_spy/version.rb +1 -1
  175. metadata +171 -9
@@ -0,0 +1,126 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinSystemObj="http://cybox.mitre.org/objects#WinSystemObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinHandleObj="http://cybox.mitre.org/objects#WinHandleObject-2" xmlns:SystemObj="http://cybox.mitre.org/objects#SystemObject-2" targetNamespace="http://cybox.mitre.org/objects#WinSystemObject-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_System_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#WinHandleObject-2" schemaLocation="Win_Handle_Object.xsd"/>
14
+ <xs:import namespace="http://cybox.mitre.org/objects#SystemObject-2" schemaLocation="System_Object.xsd"/>
15
+ <xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
16
+ <xs:element name="Windows_System" type="WinSystemObj:WindowsSystemObjectType">
17
+ <xs:annotation>
18
+ <xs:documentation>Windows_System object is intended to characterize Windows systems.</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:element>
21
+ <xs:complexType name="WindowsSystemObjectType" mixed="false">
22
+ <xs:annotation>
23
+ <xs:documentation>The WindowsSystemObjectType type is intended to characterize Windows systems.</xs:documentation>
24
+ </xs:annotation>
25
+ <xs:complexContent>
26
+ <xs:extension base="SystemObj:SystemObjectType">
27
+ <xs:sequence>
28
+ <xs:element name="Domain" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="unbounded">
29
+ <xs:annotation>
30
+ <xs:documentation>The domain that the system belongs to.</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:element>
33
+ <xs:element name="Global_Flag_List" type="WinSystemObj:GlobalFlagListType" minOccurs="0">
34
+ <xs:annotation>
35
+ <xs:documentation>A list of global flags. See also: http://msdn.microsoft.com/en-us/library/windows/hardware/ff549557(v=vs.85).aspx.</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:element>
38
+ <xs:element name="NetBIOS_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
39
+ <xs:annotation>
40
+ <xs:documentation>The NetBIOS_Name field specifies the NetBIOS (Network Basic Input/Output System) name of the Windows system. This is not the same as the host name.</xs:documentation>
41
+ </xs:annotation>
42
+ </xs:element>
43
+ <xs:element name="Open_Handle_List" type="WinHandleObj:WindowsHandleListType" minOccurs="0">
44
+ <xs:annotation>
45
+ <xs:documentation>The Open_Handle_List field specifies the list of open handles for the Windows system.</xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+ <xs:element name="Product_ID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
49
+ <xs:annotation>
50
+ <xs:documentation>The Product ID. See also: http://support.microsoft.com/gp/pidwin.</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ <xs:element name="Product_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
54
+ <xs:annotation>
55
+ <xs:documentation>The ProductName of the current installation of Windows. This is typically found in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion!ProductName.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element name="Registered_Organization" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
59
+ <xs:annotation>
60
+ <xs:documentation>The organization that this copy of Windows is registered to.</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:element>
63
+ <xs:element name="Registered_Owner" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
64
+ <xs:annotation>
65
+ <xs:documentation>The person or organization that is the registered owner of this copy of Windows.</xs:documentation>
66
+ </xs:annotation>
67
+ </xs:element>
68
+ <xs:element name="Windows_Directory" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
69
+ <xs:annotation>
70
+ <xs:documentation>The Windows_Directory field specifies the fully-qualified path to the Windows install directory.</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:element>
73
+ <xs:element name="Windows_System_Directory" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
74
+ <xs:annotation>
75
+ <xs:documentation>The Windows_System_Directory field specifies the fully-qualified path to the Windows system directory.</xs:documentation>
76
+ </xs:annotation>
77
+ </xs:element>
78
+ <xs:element name="Windows_Temp_Directory" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
79
+ <xs:annotation>
80
+ <xs:documentation>The Windows_Temp_Directory field specifies the fully-qualified path to the Windows temporary files directory.</xs:documentation>
81
+ </xs:annotation>
82
+ </xs:element>
83
+ </xs:sequence>
84
+ </xs:extension>
85
+ </xs:complexContent>
86
+ </xs:complexType>
87
+ <xs:complexType name="GlobalFlagListType">
88
+ <xs:annotation>
89
+ <xs:documentation>The GlobalFlagListType type is a listing of all Windows global flags.</xs:documentation>
90
+ </xs:annotation>
91
+ <xs:sequence>
92
+ <xs:element name="Global_Flag" type="WinSystemObj:GlobalFlagType" maxOccurs="unbounded">
93
+ <xs:annotation>
94
+ <xs:documentation>This characterizes Windows global flags. See also: http://msdn.microsoft.com/en-us/library/windows/hardware/ff549557(v=vs.85).aspx.</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:element>
97
+ </xs:sequence>
98
+ </xs:complexType>
99
+ <xs:complexType name="GlobalFlagType">
100
+ <xs:annotation>
101
+ <xs:documentation>The GlobalFlagType type is intended to characterize Windows global flags.</xs:documentation>
102
+ </xs:annotation>
103
+ <xs:sequence>
104
+ <xs:element name="Abbreviation" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
105
+ <xs:annotation>
106
+ <xs:documentation>The abbreviation of a global flag. See also: http://msdn.microsoft.com/en-us/library/windows/hardware/ff549646(v=vs.85).aspx.</xs:documentation>
107
+ </xs:annotation>
108
+ </xs:element>
109
+ <xs:element name="Destination" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
110
+ <xs:annotation>
111
+ <xs:documentation>The destination of a global flag. See also: http://msdn.microsoft.com/en-us/library/windows/hardware/ff549646(v=vs.85).aspx.</xs:documentation>
112
+ </xs:annotation>
113
+ </xs:element>
114
+ <xs:element name="Hexadecimal_Value" type="cyboxCommon:HexBinaryObjectPropertyType" minOccurs="0">
115
+ <xs:annotation>
116
+ <xs:documentation>The hexadecimal value of a global flag. See also: http://msdn.microsoft.com/en-us/library/windows/hardware/ff549646(v=vs.85).aspx.</xs:documentation>
117
+ </xs:annotation>
118
+ </xs:element>
119
+ <xs:element name="Symbolic_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
120
+ <xs:annotation>
121
+ <xs:documentation>The symbolic name of a global flag. See also: http://msdn.microsoft.com/en-us/library/windows/hardware/ff549646(v=vs.85).aspx.</xs:documentation>
122
+ </xs:annotation>
123
+ </xs:element>
124
+ </xs:sequence>
125
+ </xs:complexType>
126
+ </xs:schema>
@@ -0,0 +1,207 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinSystemRestoreObj="http://cybox.mitre.org/objects#WinSystemRestoreObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" targetNamespace="http://cybox.mitre.org/objects#WinSystemRestoreObject-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_System_Restore_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_System_Restore_Entry" type="WinSystemRestoreObj:WindowsSystemRestoreObjectType">
15
+ <xs:annotation>
16
+ <xs:documentation>Windows_System_Restore_Entry object is intended to characterize Windows system restore points. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/dd408121(v=vs.85).aspx.</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:complexType name="WindowsSystemRestoreObjectType" mixed="false">
20
+ <xs:annotation>
21
+ <xs:documentation>The WindowsSystemRestoreObjectType is intended to characterize Windows system restore points.</xs:documentation>
22
+ </xs:annotation>
23
+ <xs:complexContent>
24
+ <xs:extension base="cyboxCommon:ObjectPropertiesType">
25
+ <xs:sequence>
26
+ <xs:element name="Restore_Point_Description" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
27
+ <xs:annotation>
28
+ <xs:documentation>The description of this restore point.</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="Restore_Point_Full_Path" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
32
+ <xs:annotation>
33
+ <xs:documentation>The full path to the restore point.</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ <xs:element name="Restore_Point_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
37
+ <xs:annotation>
38
+ <xs:documentation>The name associated with this restore point.</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="Restore_Point_Type" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
42
+ <xs:annotation>
43
+ <xs:documentation>The type of restore point. (ex: "Checkpoint").</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="ACL_Change_SID" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
47
+ <xs:annotation>
48
+ <xs:documentation>The SID associated with a restore point change log event. This usually appears when the event flag includes "ACL Info".</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="ACL_Change_Username" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
52
+ <xs:annotation>
53
+ <xs:documentation>The username associated with a restore point change log event. It usually appears when the event flag includes "ACL Info".</xs:documentation>
54
+ </xs:annotation>
55
+ </xs:element>
56
+ <xs:element name="Backup_File_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
57
+ <xs:annotation>
58
+ <xs:documentation>The backup file name associated with a particular restore point change log event.</xs:documentation>
59
+ </xs:annotation>
60
+ </xs:element>
61
+ <xs:element name="Change_Event" type="WinSystemRestoreObj:ChangeLogEntryTypeType" minOccurs="0" maxOccurs="1">
62
+ <xs:annotation>
63
+ <xs:documentation>The change event associated with this restore point object (ex: "System Checkpoint", "Software Installation", etc.).</xs:documentation>
64
+ </xs:annotation>
65
+ </xs:element>
66
+ <xs:element name="ChangeLog_Entry_Flags" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
67
+ <xs:annotation>
68
+ <xs:documentation>The flags associated with a restore point change log entry (ex: "ACL Info, "Short Name", etc.).</xs:documentation>
69
+ </xs:annotation>
70
+ </xs:element>
71
+ <xs:element name="ChangeLog_Entry_Sequence_Number" type="cyboxCommon:LongObjectPropertyType" minOccurs="0" maxOccurs="1">
72
+ <xs:annotation>
73
+ <xs:documentation>The change log sequence number associated with this restore point object.</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ <xs:element name="ChangeLog_Entry_Type" type="WinSystemRestoreObj:ChangeLogEntryTypeType" minOccurs="0" maxOccurs="1">
77
+ <xs:annotation>
78
+ <xs:documentation>The changelog entry type associated with this restore point object.</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:element>
81
+ <xs:element name="Change_Log_File_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
82
+ <xs:annotation>
83
+ <xs:documentation>The changelog file associated with the restore point.</xs:documentation>
84
+ </xs:annotation>
85
+ </xs:element>
86
+ <xs:element name="Created" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
87
+ <xs:annotation>
88
+ <xs:documentation>The created date of the system restore point.</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:element>
91
+ <xs:element name="File_Attributes" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
92
+ <xs:annotation>
93
+ <xs:documentation>Attributes of the file associated with this restore point object (ex: "Directory").</xs:documentation>
94
+ </xs:annotation>
95
+ </xs:element>
96
+ <xs:element name="New_File_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
97
+ <xs:annotation>
98
+ <xs:documentation>The new filename of the file associated with this restore point object.</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:element>
101
+ <xs:element name="Original_File_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
102
+ <xs:annotation>
103
+ <xs:documentation>The original filename associated with this restore point change log event.</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:element>
106
+ <xs:element name="Original_Short_File_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
107
+ <xs:annotation>
108
+ <xs:documentation>The original Short filename (SFN) of the file associated with this restore point object.</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:element>
111
+ <xs:element name="Process_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
112
+ <xs:annotation>
113
+ <xs:documentation>The process name associated with this restore point object.</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:element>
116
+ <xs:element name="Registry_Hive_List" type="WinSystemRestoreObj:HiveListType" minOccurs="0" maxOccurs="1">
117
+ <xs:annotation>
118
+ <xs:documentation>The registry hives associated with this restore point.</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:element>
121
+ </xs:sequence>
122
+ </xs:extension>
123
+ </xs:complexContent>
124
+ </xs:complexType>
125
+ <xs:complexType name="HiveListType">
126
+ <xs:annotation>
127
+ <xs:documentation>HiveListType is intended to characterize a group of keys, subkeys, and values in the Windows registry that has a set of supporting files containing backups of its data and is associated with a system restore point.</xs:documentation>
128
+ <xs:documentation>http://msdn.microsoft.com/en-us/library/windows/desktop/ms724877(v=vs.85).aspx.</xs:documentation>
129
+ </xs:annotation>
130
+ <xs:sequence>
131
+ <xs:element name="Hive" type="cyboxCommon:StringObjectPropertyType" minOccurs="1" maxOccurs="unbounded">
132
+ <xs:annotation>
133
+ <xs:documentation>The Hive element specifies the Windows registry hive associated with the system restore point.</xs:documentation>
134
+ </xs:annotation>
135
+ </xs:element>
136
+ </xs:sequence>
137
+ </xs:complexType>
138
+ <xs:complexType name="ChangeLogEntryTypeType">
139
+ <xs:annotation>
140
+ <xs:documentation>ChangeLogEntryTypeType types, via a union of the ChangeLogEntryTypeEnum 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>
141
+ </xs:annotation>
142
+ <xs:simpleContent>
143
+ <xs:restriction base="cyboxCommon:BaseObjectPropertyType">
144
+ <xs:simpleType>
145
+ <xs:union memberTypes="WinSystemRestoreObj:ChangeLogEntryTypeEnum xs:string"/>
146
+ </xs:simpleType>
147
+ <xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
148
+ <xs:annotation>
149
+ <xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:attribute>
152
+ </xs:restriction>
153
+ </xs:simpleContent>
154
+ </xs:complexType>
155
+ <xs:simpleType name="ChangeLogEntryTypeEnum">
156
+ <xs:annotation>
157
+ <xs:documentation>The change types found in a Restore Point changelog&gt;.</xs:documentation>
158
+ </xs:annotation>
159
+ <xs:restriction base="xs:string">
160
+ <xs:enumeration value="UPDATE_ACL">
161
+ <xs:annotation>
162
+ <xs:documentation>Represents a changelog entry descriptor for updating an ACL. (0x00000001).</xs:documentation>
163
+ </xs:annotation>
164
+ </xs:enumeration>
165
+ <xs:enumeration value="UPDATE_ATTRIBUTES">
166
+ <xs:annotation>
167
+ <xs:documentation>Represents a changelog entry descriptor for updating attributes. (0x00000002).</xs:documentation>
168
+ </xs:annotation>
169
+ </xs:enumeration>
170
+ <xs:enumeration value="DELETE_FILE">
171
+ <xs:annotation>
172
+ <xs:documentation>Represents a changelog entry descriptor for deleting a file. (0x00000004).</xs:documentation>
173
+ </xs:annotation>
174
+ </xs:enumeration>
175
+ <xs:enumeration value="CREATE_FILE">
176
+ <xs:annotation>
177
+ <xs:documentation>Represents a changelog entry descriptor for creating a file. (0x00000010).</xs:documentation>
178
+ </xs:annotation>
179
+ </xs:enumeration>
180
+ <xs:enumeration value="RENAME_FILE">
181
+ <xs:annotation>
182
+ <xs:documentation>Represents a changelog entry descriptor for renaming a file. (0x00000020).</xs:documentation>
183
+ </xs:annotation>
184
+ </xs:enumeration>
185
+ <xs:enumeration value="CREATE_DIRECTORY">
186
+ <xs:annotation>
187
+ <xs:documentation>Represents a changelog entry descriptor for creating a directory. (0x00000040).</xs:documentation>
188
+ </xs:annotation>
189
+ </xs:enumeration>
190
+ <xs:enumeration value="RENAME_DIRECTORY">
191
+ <xs:annotation>
192
+ <xs:documentation>Represents a changelog entry descriptor for renaming a directory. (0x00000080).</xs:documentation>
193
+ </xs:annotation>
194
+ </xs:enumeration>
195
+ <xs:enumeration value="DELETE_DIRECTORY">
196
+ <xs:annotation>
197
+ <xs:documentation>Represents a changelog entry descriptor for deleting a directory. (0x00000100).</xs:documentation>
198
+ </xs:annotation>
199
+ </xs:enumeration>
200
+ <xs:enumeration value="MNT_CREATE">
201
+ <xs:annotation>
202
+ <xs:documentation>Related to filesystem attachment points. (0x00000200).</xs:documentation>
203
+ </xs:annotation>
204
+ </xs:enumeration>
205
+ </xs:restriction>
206
+ </xs:simpleType>
207
+ </xs:schema>