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.
- checksums.yaml +8 -8
- data/config/1.1/stix/cybox/objects/Win_Hook_Object.xsd +1 -1
- data/config/1.1.1/stix/campaign.xsd +220 -0
- data/config/1.1.1/stix/course_of_action.xsd +191 -0
- data/config/1.1.1/stix/cybox/cybox_common.xsd +2700 -0
- data/config/1.1.1/stix/cybox/cybox_core.xsd +1145 -0
- data/config/1.1.1/stix/cybox/cybox_default_vocabularies.xsd +5180 -0
- data/config/1.1.1/stix/cybox/extensions/location/ciq_address_3.0.xsd +27 -0
- data/config/1.1.1/stix/cybox/extensions/platform/cpe2.3.xsd +34 -0
- data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-language_2.3.xsd +234 -0
- data/config/1.1.1/stix/cybox/external/cpe_2.3/cpe-naming_2.3.xsd +45 -0
- data/config/1.1.1/stix/cybox/external/cpe_2.3/xml.xsd +145 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xAL.xsd +672 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNAL.xsd +126 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xNL.xsd +284 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
- data/config/1.1.1/stix/cybox/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
- data/config/1.1.1/stix/cybox/objects/API_Object.xsd +55 -0
- data/config/1.1.1/stix/cybox/objects/ARP_Cache_Object.xsd +98 -0
- data/config/1.1.1/stix/cybox/objects/AS_Object.xsd +50 -0
- data/config/1.1.1/stix/cybox/objects/Account_Object.xsd +501 -0
- data/config/1.1.1/stix/cybox/objects/Address_Object.xsd +127 -0
- data/config/1.1.1/stix/cybox/objects/Archive_File_Object.xsd +134 -0
- data/config/1.1.1/stix/cybox/objects/Artifact_Object.xsd +212 -0
- data/config/1.1.1/stix/cybox/objects/Code_Object.xsd +417 -0
- data/config/1.1.1/stix/cybox/objects/Custom_Object.xsd +42 -0
- data/config/1.1.1/stix/cybox/objects/DNS_Cache_Object.xsd +53 -0
- data/config/1.1.1/stix/cybox/objects/DNS_Query_Object.xsd +164 -0
- data/config/1.1.1/stix/cybox/objects/DNS_Record_Object.xsd +92 -0
- data/config/1.1.1/stix/cybox/objects/Device_Object.xsd +65 -0
- data/config/1.1.1/stix/cybox/objects/Disk_Object.xsd +117 -0
- data/config/1.1.1/stix/cybox/objects/Disk_Partition_Object.xsd +199 -0
- data/config/1.1.1/stix/cybox/objects/Domain_Name_Object.xsd +57 -0
- data/config/1.1.1/stix/cybox/objects/Email_Message_Object.xsd +278 -0
- data/config/1.1.1/stix/cybox/objects/File_Object.xsd +397 -0
- data/config/1.1.1/stix/cybox/objects/GUI_Dialogbox_Object.xsd +41 -0
- data/config/1.1.1/stix/cybox/objects/GUI_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/GUI_Window_Object.xsd +46 -0
- data/config/1.1.1/stix/cybox/objects/HTTP_Session_Object.xsd +633 -0
- data/config/1.1.1/stix/cybox/objects/Hostname_Object.xsd +45 -0
- data/config/1.1.1/stix/cybox/objects/Image_File_Object.xsd +124 -0
- data/config/1.1.1/stix/cybox/objects/Library_Object.xsd +114 -0
- data/config/1.1.1/stix/cybox/objects/Link_Object.xsd +36 -0
- data/config/1.1.1/stix/cybox/objects/Linux_Package_Object.xsd +75 -0
- data/config/1.1.1/stix/cybox/objects/Memory_Object.xsd +141 -0
- data/config/1.1.1/stix/cybox/objects/Mutex_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/Network_Connection_Object.xsd +540 -0
- data/config/1.1.1/stix/cybox/objects/Network_Flow_Object.xsd +1559 -0
- data/config/1.1.1/stix/cybox/objects/Network_Packet_Object.xsd +2934 -0
- data/config/1.1.1/stix/cybox/objects/Network_Route_Entry_Object.xsd +155 -0
- data/config/1.1.1/stix/cybox/objects/Network_Route_Object.xsd +93 -0
- data/config/1.1.1/stix/cybox/objects/Network_Socket_Object.xsd +529 -0
- data/config/1.1.1/stix/cybox/objects/Network_Subnet_Object.xsd +64 -0
- data/config/1.1.1/stix/cybox/objects/PDF_File_Object.xsd +595 -0
- data/config/1.1.1/stix/cybox/objects/Pipe_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/Port_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/Process_Object.xsd +199 -0
- data/config/1.1.1/stix/cybox/objects/Product_Object.xsd +65 -0
- data/config/1.1.1/stix/cybox/objects/SMS_Message_Object.xsd +79 -0
- data/config/1.1.1/stix/cybox/objects/Semaphore_Object.xsd +50 -0
- data/config/1.1.1/stix/cybox/objects/Socket_Address_Object.xsd +50 -0
- data/config/1.1.1/stix/cybox/objects/System_Object.xsd +410 -0
- data/config/1.1.1/stix/cybox/objects/URI_Object.xsd +62 -0
- data/config/1.1.1/stix/cybox/objects/URL_History_Object.xsd +104 -0
- data/config/1.1.1/stix/cybox/objects/Unix_File_Object.xsd +164 -0
- data/config/1.1.1/stix/cybox/objects/Unix_Network_Route_Entry_Object.xsd +56 -0
- data/config/1.1.1/stix/cybox/objects/Unix_Pipe_Object.xsd +36 -0
- data/config/1.1.1/stix/cybox/objects/Unix_Process_Object.xsd +143 -0
- data/config/1.1.1/stix/cybox/objects/Unix_User_Account_Object.xsd +78 -0
- data/config/1.1.1/stix/cybox/objects/Unix_Volume_Object.xsd +41 -0
- data/config/1.1.1/stix/cybox/objects/User_Account_Object.xsd +110 -0
- data/config/1.1.1/stix/cybox/objects/User_Session_Object.xsd +60 -0
- data/config/1.1.1/stix/cybox/objects/Volume_Object.xsd +235 -0
- data/config/1.1.1/stix/cybox/objects/Whois_Object.xsd +430 -0
- data/config/1.1.1/stix/cybox/objects/Win_Computer_Account_Object.xsd +135 -0
- data/config/1.1.1/stix/cybox/objects/Win_Critical_Section_Object.xsd +40 -0
- data/config/1.1.1/stix/cybox/objects/Win_Driver_Object.xsd +270 -0
- data/config/1.1.1/stix/cybox/objects/Win_Event_Log_Object.xsd +137 -0
- data/config/1.1.1/stix/cybox/objects/Win_Event_Object.xsd +80 -0
- data/config/1.1.1/stix/cybox/objects/Win_Executable_File_Object.xsd +1311 -0
- data/config/1.1.1/stix/cybox/objects/Win_File_Object.xsd +269 -0
- data/config/1.1.1/stix/cybox/objects/Win_Filemapping_Object.xsd +175 -0
- data/config/1.1.1/stix/cybox/objects/Win_Handle_Object.xsd +351 -0
- data/config/1.1.1/stix/cybox/objects/Win_Hook_Object.xsd +152 -0
- data/config/1.1.1/stix/cybox/objects/Win_Kernel_Hook_Object.xsd +109 -0
- data/config/1.1.1/stix/cybox/objects/Win_Kernel_Object.xsd +128 -0
- data/config/1.1.1/stix/cybox/objects/Win_Mailslot_Object.xsd +56 -0
- data/config/1.1.1/stix/cybox/objects/Win_Memory_Page_Region_Object.xsd +198 -0
- data/config/1.1.1/stix/cybox/objects/Win_Mutex_Object.xsd +42 -0
- data/config/1.1.1/stix/cybox/objects/Win_Network_Route_Entry_Object.xsd +200 -0
- data/config/1.1.1/stix/cybox/objects/Win_Network_Share_Object.xsd +205 -0
- data/config/1.1.1/stix/cybox/objects/Win_Pipe_Object.xsd +73 -0
- data/config/1.1.1/stix/cybox/objects/Win_Prefetch_Object.xsd +113 -0
- data/config/1.1.1/stix/cybox/objects/Win_Process_Object.xsd +174 -0
- data/config/1.1.1/stix/cybox/objects/Win_Registry_Key_Object.xsd +290 -0
- data/config/1.1.1/stix/cybox/objects/Win_Semaphore_Object.xsd +42 -0
- data/config/1.1.1/stix/cybox/objects/Win_Service_Object.xsd +287 -0
- data/config/1.1.1/stix/cybox/objects/Win_System_Object.xsd +126 -0
- data/config/1.1.1/stix/cybox/objects/Win_System_Restore_Object.xsd +207 -0
- data/config/1.1.1/stix/cybox/objects/Win_Task_Object.xsd +755 -0
- data/config/1.1.1/stix/cybox/objects/Win_Thread_Object.xsd +146 -0
- data/config/1.1.1/stix/cybox/objects/Win_User_Account_Object.xsd +73 -0
- data/config/1.1.1/stix/cybox/objects/Win_Volume_Object.xsd +161 -0
- data/config/1.1.1/stix/cybox/objects/Win_Waitable_Timer_Object.xsd +90 -0
- data/config/1.1.1/stix/cybox/objects/X509_Certificate_Object.xsd +275 -0
- data/config/1.1.1/stix/data_marking.xsd +97 -0
- data/config/1.1.1/stix/exploit_target.xsd +324 -0
- data/config/1.1.1/stix/extensions/address/ciq_3.0_address.xsd +27 -0
- data/config/1.1.1/stix/extensions/attack_pattern/capec_2.7_attack_pattern.xsd +31 -0
- data/config/1.1.1/stix/extensions/identity/ciq_3.0_identity.xsd +113 -0
- data/config/1.1.1/stix/extensions/malware/maec_4.1_malware.xsd +31 -0
- data/config/1.1.1/stix/extensions/marking/simple_marking.xsd +31 -0
- data/config/1.1.1/stix/extensions/marking/terms_of_use_marking.xsd +31 -0
- data/config/1.1.1/stix/extensions/marking/tlp_marking.xsd +40 -0
- data/config/1.1.1/stix/extensions/structured_coa/generic_structured_coa.xsd +46 -0
- data/config/1.1.1/stix/extensions/test_mechanism/generic_test_mechanism.xsd +46 -0
- data/config/1.1.1/stix/extensions/test_mechanism/open_ioc_2010_test_mechanism.xsd +32 -0
- data/config/1.1.1/stix/extensions/test_mechanism/oval_5.10_test_mechanism.xsd +37 -0
- data/config/1.1.1/stix/extensions/test_mechanism/snort_test_mechanism.xsd +56 -0
- data/config/1.1.1/stix/extensions/test_mechanism/yara_test_mechanism.xsd +36 -0
- data/config/1.1.1/stix/extensions/vulnerability/cvrf_1.1_vulnerability.xsd +33 -0
- data/config/1.1.1/stix/external/capec_2.7/ap_schema_v2.7.xsd +3618 -0
- data/config/1.1.1/stix/external/cvrf_1.1/common.xsd +176 -0
- data/config/1.1.1/stix/external/cvrf_1.1/cpe-language_2.2a.xsd +182 -0
- data/config/1.1.1/stix/external/cvrf_1.1/cvrf.xsd +487 -0
- data/config/1.1.1/stix/external/cvrf_1.1/cvss-v2_0.9.xsd +415 -0
- data/config/1.1.1/stix/external/cvrf_1.1/dc.xsd +118 -0
- data/config/1.1.1/stix/external/cvrf_1.1/prod.xsd +292 -0
- data/config/1.1.1/stix/external/cvrf_1.1/scap-core_0.9.xsd +170 -0
- data/config/1.1.1/stix/external/cvrf_1.1/vuln.xsd +631 -0
- data/config/1.1.1/stix/external/cvrf_1.1/xml.xsd +287 -0
- data/config/1.1.1/stix/external/maec_4.1/maec_bundle_schema.xsd +1228 -0
- data/config/1.1.1/stix/external/maec_4.1/maec_container_schema.xsd +62 -0
- data/config/1.1.1/stix/external/maec_4.1/maec_default_vocabularies.xsd +5325 -0
- data/config/1.1.1/stix/external/maec_4.1/maec_package_schema.xsd +1095 -0
- data/config/1.1.1/stix/external/maec_4.1/metadataSharing.xsd +1712 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/CommonTypes.xsd +104 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL-types.xsd +511 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xAL.xsd +672 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL-types.xsd +36 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xNAL.xsd +126 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL-types.xsd +222 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xNL.xsd +284 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL-types.xsd +854 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xPIL.xsd +1621 -0
- data/config/1.1.1/stix/external/oasis_ciq_3.0/xlink-2003-12-31.xsd +90 -0
- data/config/1.1.1/stix/external/open_ioc_2010/ioc-TR.xsd +25 -0
- data/config/1.1.1/stix/external/open_ioc_2010/ioc.xsd +105 -0
- data/config/1.1.1/stix/external/oval_5.10/oval-common-schema.xsd +781 -0
- data/config/1.1.1/stix/external/oval_5.10/oval-definitions-schema.xsd +1608 -0
- data/config/1.1.1/stix/external/oval_5.10/oval-variables-schema.xsd +84 -0
- data/config/1.1.1/stix/external/oval_5.10/xmldsig-core-schema.xsd +309 -0
- data/config/1.1.1/stix/incident.xsd +762 -0
- data/config/1.1.1/stix/indicator.xsd +368 -0
- data/config/1.1.1/stix/stix_common.xsd +923 -0
- data/config/1.1.1/stix/stix_core.xsd +253 -0
- data/config/1.1.1/stix/stix_default_vocabularies.xsd +2081 -0
- data/config/1.1.1/stix/threat_actor.xsd +182 -0
- data/config/1.1.1/stix/ttp.xsd +430 -0
- data/config/1.1.1/uber_schema.xsd +149 -0
- data/lib/stix_schema_spy/models/attribute.rb +1 -1
- data/lib/stix_schema_spy/models/element.rb +2 -9
- data/lib/stix_schema_spy/models/external_type.rb +29 -0
- data/lib/stix_schema_spy/models/has_children.rb +9 -9
- data/lib/stix_schema_spy/models/node.rb +7 -6
- data/lib/stix_schema_spy/models/schema.rb +6 -4
- data/lib/stix_schema_spy/models/type.rb +44 -5
- data/lib/stix_schema_spy/util/tasks.rb +15 -14
- data/lib/stix_schema_spy/version.rb +1 -1
- metadata +171 -9
@@ -0,0 +1,290 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinRegistryKeyObj="http://cybox.mitre.org/objects#WinRegistryKeyObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinHandleObj="http://cybox.mitre.org/objects#WinHandleObject-2" targetNamespace="http://cybox.mitre.org/objects#WinRegistryKeyObject-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_Registry_Key_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_Registry_Key" type="WinRegistryKeyObj:WindowsRegistryKeyObjectType">
|
16
|
+
<xs:annotation>
|
17
|
+
<xs:documentation>Windows_Registry_Key object characterizes windows registry objects, including Keys and Key/Value pairs. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724871(v=vs.85).aspx.</xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
</xs:element>
|
20
|
+
<xs:complexType name="WindowsRegistryKeyObjectType" mixed="false">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation>The WindowsRegistryObjectType type is intended to characterize Windows registry objects, including Keys and Key/Value pairs.</xs:documentation>
|
23
|
+
</xs:annotation>
|
24
|
+
<xs:complexContent>
|
25
|
+
<xs:extension base="cyboxCommon:ObjectPropertiesType">
|
26
|
+
<xs:sequence>
|
27
|
+
<xs:element name="Key" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>The Key field specifies the full key to the Windows registry object, not including the hive.</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element name="Hive" type="WinRegistryKeyObj:RegistryHiveType" minOccurs="0">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>The Hive field specifies the Windows registry hive to which the registry object belongs to.</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element name="Number_Values" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>The Number_Values field specifies the number of values found in the registry key.</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
</xs:element>
|
42
|
+
<xs:element name="Values" type="WinRegistryKeyObj:RegistryValuesType" minOccurs="0">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>The Values field specifies the values (with their name/data pairs) held within the registry key.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
</xs:element>
|
47
|
+
<xs:element name="Modified_Time" type="cyboxCommon:DateTimeObjectPropertyType" minOccurs="0">
|
48
|
+
<xs:annotation>
|
49
|
+
<xs:documentation>The Modified_Time field specifies the last date/time that the registry object was modified.</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
</xs:element>
|
52
|
+
<xs:element name="Creator_Username" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The Creator_Username field specifies the name of the user who created the registry object.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:element>
|
57
|
+
<xs:element name="Handle_List" type="WinHandleObj:WindowsHandleListType" minOccurs="0">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The Handle_List field specifies a list of open Handles for this registry object.</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:element>
|
62
|
+
<xs:element name="Number_Subkeys" type="cyboxCommon:UnsignedIntegerObjectPropertyType" minOccurs="0">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>The Number_Subkeys field specifies the number of subkeys contained under the registry key.</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
</xs:element>
|
67
|
+
<xs:element name="Subkeys" type="WinRegistryKeyObj:RegistrySubkeysType" minOccurs="0">
|
68
|
+
<xs:annotation>
|
69
|
+
<xs:documentation>The Subkeys field specifies the set of subkeys contained under the registry key.</xs:documentation>
|
70
|
+
</xs:annotation>
|
71
|
+
</xs:element>
|
72
|
+
<xs:element name="Byte_Runs" type="cyboxCommon:ByteRunsType" minOccurs="0">
|
73
|
+
<xs:annotation>
|
74
|
+
<xs:documentation>The Byte_Runs field contains a list of byte runs from the raw registry.</xs:documentation>
|
75
|
+
</xs:annotation>
|
76
|
+
</xs:element>
|
77
|
+
</xs:sequence>
|
78
|
+
</xs:extension>
|
79
|
+
</xs:complexContent>
|
80
|
+
</xs:complexType>
|
81
|
+
<xs:complexType name="RegistryValueType">
|
82
|
+
<xs:annotation>
|
83
|
+
<xs:documentation>The RegistryValueType type is intended to characterize Windows registry Value name/data pairs.</xs:documentation>
|
84
|
+
</xs:annotation>
|
85
|
+
<xs:sequence>
|
86
|
+
<xs:element name="Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
87
|
+
<xs:annotation>
|
88
|
+
<xs:documentation>The Name field specifies the name of the registry value. For specifying the default value in a registry key, an empty string should be used. </xs:documentation>
|
89
|
+
</xs:annotation>
|
90
|
+
</xs:element>
|
91
|
+
<xs:element name="Data" type="cyboxCommon:StringObjectPropertyType" minOccurs="0">
|
92
|
+
<xs:annotation>
|
93
|
+
<xs:documentation>The Data field specifies the data contained in the registry value.</xs:documentation>
|
94
|
+
</xs:annotation>
|
95
|
+
</xs:element>
|
96
|
+
<xs:element name="Datatype" type="WinRegistryKeyObj:RegistryDatatypeType" minOccurs="0">
|
97
|
+
<xs:annotation>
|
98
|
+
<xs:documentation>The Datatype field specifies the registry (REG_*) datatype used in the registry value.</xs:documentation>
|
99
|
+
</xs:annotation>
|
100
|
+
</xs:element>
|
101
|
+
<xs:element name="Byte_Runs" type="cyboxCommon:ByteRunsType" minOccurs="0">
|
102
|
+
<xs:annotation>
|
103
|
+
<xs:documentation>The Byte_Runs field contains a list of byte runs from the raw registry key entry.</xs:documentation>
|
104
|
+
</xs:annotation>
|
105
|
+
</xs:element>
|
106
|
+
</xs:sequence>
|
107
|
+
</xs:complexType>
|
108
|
+
<xs:complexType name="RegistryDatatypeType">
|
109
|
+
<xs:annotation>
|
110
|
+
<xs:documentation>Registry_Datatype specifies Windows registry datatypes via a union of the RegistryDataTypesEnum 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>
|
111
|
+
</xs:annotation>
|
112
|
+
<xs:simpleContent>
|
113
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
114
|
+
<xs:simpleType>
|
115
|
+
<xs:union memberTypes="WinRegistryKeyObj:RegistryDataTypesEnum xs:string"/>
|
116
|
+
</xs:simpleType>
|
117
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
118
|
+
<xs:annotation>
|
119
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
120
|
+
</xs:annotation>
|
121
|
+
</xs:attribute>
|
122
|
+
</xs:restriction>
|
123
|
+
</xs:simpleContent>
|
124
|
+
</xs:complexType>
|
125
|
+
<xs:complexType name="RegistryHiveType">
|
126
|
+
<xs:annotation>
|
127
|
+
<xs:documentation>RegistryHiveType specifies Windows registry hive types via a union of the RegistryHiveEnum 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>
|
128
|
+
</xs:annotation>
|
129
|
+
<xs:simpleContent>
|
130
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
131
|
+
<xs:simpleType>
|
132
|
+
<xs:union memberTypes="WinRegistryKeyObj:RegistryHiveEnum xs:string"/>
|
133
|
+
</xs:simpleType>
|
134
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
135
|
+
<xs:annotation>
|
136
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
137
|
+
</xs:annotation>
|
138
|
+
</xs:attribute>
|
139
|
+
</xs:restriction>
|
140
|
+
</xs:simpleContent>
|
141
|
+
</xs:complexType>
|
142
|
+
<xs:simpleType name="RegistryDataTypesEnum">
|
143
|
+
<xs:annotation>
|
144
|
+
<xs:documentation>The RegistryDataTypesEnum type is an enumeration of Windows registry datatypes (REG_*). See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724884(v=vs.85).aspx See also: http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=361.</xs:documentation>
|
145
|
+
</xs:annotation>
|
146
|
+
<xs:restriction base="xs:string">
|
147
|
+
<xs:enumeration value="REG_NONE">
|
148
|
+
<xs:annotation>
|
149
|
+
<xs:documentation>No defined value type.</xs:documentation>
|
150
|
+
</xs:annotation>
|
151
|
+
</xs:enumeration>
|
152
|
+
<xs:enumeration value="REG_SZ">
|
153
|
+
<xs:annotation>
|
154
|
+
<xs:documentation>A null-terminated string. This will be either a Unicode or an ANSI string, depending on whether you use the Unicode or ANSI functions.</xs:documentation>
|
155
|
+
</xs:annotation>
|
156
|
+
</xs:enumeration>
|
157
|
+
<xs:enumeration value="REG_EXPAND_SZ">
|
158
|
+
<xs:annotation>
|
159
|
+
<xs:documentation>A null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a Unicode or ANSI string depending on whether you use the Unicode or ANSI functions.</xs:documentation>
|
160
|
+
</xs:annotation>
|
161
|
+
</xs:enumeration>
|
162
|
+
<xs:enumeration value="REG_BINARY">
|
163
|
+
<xs:annotation>
|
164
|
+
<xs:documentation>Binary data in any form.</xs:documentation>
|
165
|
+
</xs:annotation>
|
166
|
+
</xs:enumeration>
|
167
|
+
<xs:enumeration value="REG_DWORD">
|
168
|
+
<xs:annotation>
|
169
|
+
<xs:documentation>A 32-bit number.</xs:documentation>
|
170
|
+
</xs:annotation>
|
171
|
+
</xs:enumeration>
|
172
|
+
<xs:enumeration value="REG_DWORD_BIG_ENDIAN">
|
173
|
+
<xs:annotation>
|
174
|
+
<xs:documentation>A 32-bit number in big-endian format. Some UNIX systems support big-endian architectures.</xs:documentation>
|
175
|
+
</xs:annotation>
|
176
|
+
</xs:enumeration>
|
177
|
+
<xs:enumeration value="REG_LINK">
|
178
|
+
<xs:annotation>
|
179
|
+
<xs:documentation>A null-terminated Unicode string that contains the target path of a symbolic link.</xs:documentation>
|
180
|
+
</xs:annotation>
|
181
|
+
</xs:enumeration>
|
182
|
+
<xs:enumeration value="REG_MULTI_SZ">
|
183
|
+
<xs:annotation>
|
184
|
+
<xs:documentation>A sequence of null-terminated strings, terminated by an empty string (\0).</xs:documentation>
|
185
|
+
</xs:annotation>
|
186
|
+
</xs:enumeration>
|
187
|
+
<xs:enumeration value="REG_RESOURCE_LIST">
|
188
|
+
<xs:annotation>
|
189
|
+
<xs:documentation>A series of nested arrays designed to store a resource list used by a hardware device driver or one of the physical devices it controls. This data is detected and written into the ResourceMap tree by the system and is displayed in Registry Editor in hexadecimal format as a Binary Value.</xs:documentation>
|
190
|
+
</xs:annotation>
|
191
|
+
</xs:enumeration>
|
192
|
+
<xs:enumeration value="REG_FULL_RESOURCE_DESCRIPTOR">
|
193
|
+
<xs:annotation>
|
194
|
+
<xs:documentation>A series of nested arrays designed to store a resource list used by a physical hardware device. This data is detected and written into the HardwareDescription tree by the system and is displayed in Registry Editor in hexadecimal format as a Binary Value.</xs:documentation>
|
195
|
+
</xs:annotation>
|
196
|
+
</xs:enumeration>
|
197
|
+
<xs:enumeration value="REG_RESOURCE_REQUIREMENTS_LIST">
|
198
|
+
<xs:annotation>
|
199
|
+
<xs:documentation>Device driver list of hardware resource requirements in Resource Map tree. See http://www.mdgx.com/reg.htm.</xs:documentation>
|
200
|
+
</xs:annotation>
|
201
|
+
</xs:enumeration>
|
202
|
+
<xs:enumeration value="REG_QWORD">
|
203
|
+
<xs:annotation>
|
204
|
+
<xs:documentation>A 64-bit number.</xs:documentation>
|
205
|
+
</xs:annotation>
|
206
|
+
</xs:enumeration>
|
207
|
+
<xs:enumeration value="REG_INVALID_TYPE">
|
208
|
+
<xs:annotation>
|
209
|
+
<xs:documentation>Specifies an invalid key.</xs:documentation>
|
210
|
+
</xs:annotation>
|
211
|
+
</xs:enumeration>
|
212
|
+
</xs:restriction>
|
213
|
+
</xs:simpleType>
|
214
|
+
<xs:simpleType name="RegistryHiveEnum">
|
215
|
+
<xs:annotation>
|
216
|
+
<xs:documentation>The RegistryHiveEnum type is an enumeration of Windows registry hives (HKEY_*). See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724836(v=vs.85).aspx.</xs:documentation>
|
217
|
+
</xs:annotation>
|
218
|
+
<xs:restriction base="xs:string">
|
219
|
+
<xs:enumeration value="HKEY_CLASSES_ROOT">
|
220
|
+
<xs:annotation>
|
221
|
+
<xs:documentation>Registry entries subordinate to this key define types (or classes) of documents and the properties associated with those types. Shell and COM applications use the information stored under this key.</xs:documentation>
|
222
|
+
</xs:annotation>
|
223
|
+
</xs:enumeration>
|
224
|
+
<xs:enumeration value="HKEY_CURRENT_CONFIG">
|
225
|
+
<xs:annotation>
|
226
|
+
<xs:documentation>Contains information about the current hardware profile of the local computer system. The information under HKEY_CURRENT_CONFIG describes only the differences between the current hardware configuration and the standard configuration.</xs:documentation>
|
227
|
+
</xs:annotation>
|
228
|
+
</xs:enumeration>
|
229
|
+
<xs:enumeration value="HKEY_CURRENT_USER">
|
230
|
+
<xs:annotation>
|
231
|
+
<xs:documentation>Registry entries subordinate to this key define the preferences of the current user. These preferences include the settings of environment variables, data about program groups, colors, printers, network connections, and application preferences. This key makes it easier to establish the current user's settings; the key maps to the current user's branch in HKEY_USERS.</xs:documentation>
|
232
|
+
</xs:annotation>
|
233
|
+
</xs:enumeration>
|
234
|
+
<xs:enumeration value="HKEY_LOCAL_MACHINE">
|
235
|
+
<xs:annotation>
|
236
|
+
<xs:documentation>Registry entries subordinate to this key define the physical state of the computer, including data about the bus type, system memory, and installed hardware and software.</xs:documentation>
|
237
|
+
</xs:annotation>
|
238
|
+
</xs:enumeration>
|
239
|
+
<xs:enumeration value="HKEY_USERS">
|
240
|
+
<xs:annotation>
|
241
|
+
<xs:documentation>Registry entries subordinate to this key define the default user configuration for new users on the local computer and the user configuration for the current user.</xs:documentation>
|
242
|
+
</xs:annotation>
|
243
|
+
</xs:enumeration>
|
244
|
+
<xs:enumeration value="HKEY_CURRENT_USER_LOCAL_SETTINGS">
|
245
|
+
<xs:annotation>
|
246
|
+
<xs:documentation>Registry entries subordinate to this key define preferences of the current user that are local to the machine. These entries are not included in the per-user registry portion of a roaming user profile.</xs:documentation>
|
247
|
+
</xs:annotation>
|
248
|
+
</xs:enumeration>
|
249
|
+
<xs:enumeration value="HKEY_PERFORMANCE_DATA">
|
250
|
+
<xs:annotation>
|
251
|
+
<xs:documentation>Registry entries subordinate to this key allow you to access performance data. The data is not actually stored in the registry; the registry functions cause the system to collect the data from its source.</xs:documentation>
|
252
|
+
</xs:annotation>
|
253
|
+
</xs:enumeration>
|
254
|
+
<xs:enumeration value="HKEY_PERFORMANCE_NLSTEXT">
|
255
|
+
<xs:annotation>
|
256
|
+
<xs:documentation>Registry entries subordinate to this key reference the text strings that describe counters in the local language of the area in which the computer system is running. These entries are not available to Regedit.exe and Regedt32.exe.</xs:documentation>
|
257
|
+
</xs:annotation>
|
258
|
+
</xs:enumeration>
|
259
|
+
<xs:enumeration value="HKEY_PERFORMANCE_TEXT">
|
260
|
+
<xs:annotation>
|
261
|
+
<xs:documentation>Registry entries subordinate to this key reference the text strings that describe counters in US English. These entries are not available to Regedit.exe and Regedt32.exe.</xs:documentation>
|
262
|
+
</xs:annotation>
|
263
|
+
</xs:enumeration>
|
264
|
+
</xs:restriction>
|
265
|
+
</xs:simpleType>
|
266
|
+
<xs:complexType name="RegistryValuesType">
|
267
|
+
<xs:annotation>
|
268
|
+
<xs:documentation>The RegistryValuesType type specifies the values (with their name/data pairs) held within the registry key.</xs:documentation>
|
269
|
+
</xs:annotation>
|
270
|
+
<xs:sequence>
|
271
|
+
<xs:element name="Value" type="WinRegistryKeyObj:RegistryValueType" maxOccurs="unbounded">
|
272
|
+
<xs:annotation>
|
273
|
+
<xs:documentation>The Value field specifies the value (with name/data pair) held within the registry key.</xs:documentation>
|
274
|
+
</xs:annotation>
|
275
|
+
</xs:element>
|
276
|
+
</xs:sequence>
|
277
|
+
</xs:complexType>
|
278
|
+
<xs:complexType name="RegistrySubkeysType">
|
279
|
+
<xs:annotation>
|
280
|
+
<xs:documentation>The RegistrySubkeysType specifies the set of subkeys contained under the registry key.</xs:documentation>
|
281
|
+
</xs:annotation>
|
282
|
+
<xs:sequence>
|
283
|
+
<xs:element name="Subkey" type="WinRegistryKeyObj:WindowsRegistryKeyObjectType" maxOccurs="unbounded">
|
284
|
+
<xs:annotation>
|
285
|
+
<xs:documentation>The Subkey field specifies a single subkey contained under the registry key.</xs:documentation>
|
286
|
+
</xs:annotation>
|
287
|
+
</xs:element>
|
288
|
+
</xs:sequence>
|
289
|
+
</xs:complexType>
|
290
|
+
</xs:schema>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinSemaphoreObj="http://cybox.mitre.org/objects#WinSemaphoreObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinHandleObj="http://cybox.mitre.org/objects#WinHandleObject-2" xmlns:SemaphoreObj="http://cybox.mitre.org/objects#SemaphoreObject-2" targetNamespace="http://cybox.mitre.org/objects#WinSemaphoreObject-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_Semaphore_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#SemaphoreObject-2" schemaLocation="Semaphore_Object.xsd"/>
|
15
|
+
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="../cybox_common.xsd"/>
|
16
|
+
<xs:element name="Win_Semaphore" type="WinSemaphoreObj:WindowsSemaphoreObjectType">
|
17
|
+
<xs:annotation>
|
18
|
+
<xs:documentation>Windows_Semaphore object is intended to characterize Windows Semaphore (synchronization) objects. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms685129(v=vs.85).aspx.</xs:documentation>
|
19
|
+
</xs:annotation>
|
20
|
+
</xs:element>
|
21
|
+
<xs:complexType name="WindowsSemaphoreObjectType" mixed="false">
|
22
|
+
<xs:annotation>
|
23
|
+
<xs:documentation>The WindowsSemaphoreObjectType is intended to characterize Windows semaphore (synchronization) objects.</xs:documentation>
|
24
|
+
</xs:annotation>
|
25
|
+
<xs:complexContent mixed="false">
|
26
|
+
<xs:extension base="SemaphoreObj:SemaphoreObjectType">
|
27
|
+
<xs:sequence>
|
28
|
+
<xs:element name="Handle" minOccurs="0" type="WinHandleObj:WindowsHandleObjectType">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>The Handle field specifies the open Windows handle to the semaphore. It imports and uses the WindowsHandleObjectType from the CybOX Windows Handle Object.</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:element>
|
33
|
+
<xs:element minOccurs="0" name="Security_Attributes" type="cyboxCommon:StringObjectPropertyType">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>The Security_Attributes field specifies the Windows security attributes for the semaphore.</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
</xs:element>
|
38
|
+
</xs:sequence>
|
39
|
+
</xs:extension>
|
40
|
+
</xs:complexContent>
|
41
|
+
</xs:complexType>
|
42
|
+
</xs:schema>
|
@@ -0,0 +1,287 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:WinServiceObj="http://cybox.mitre.org/objects#WinServiceObject-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:WinProcessObj="http://cybox.mitre.org/objects#WinProcessObject-2" targetNamespace="http://cybox.mitre.org/objects#WinServiceObject-2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation>Change to 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_Service_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#WinProcessObject-2" schemaLocation="Win_Process_Object.xsd"/>
|
15
|
+
<xs:element name="Windows_Service" type="WinServiceObj:WindowsServiceObjectType">
|
16
|
+
<xs:annotation>
|
17
|
+
<xs:documentation>Windows_Service object is intended to characterize Windows services. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms685141(v=vs.85).aspx.</xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
</xs:element>
|
20
|
+
<xs:complexType name="WindowsServiceObjectType" mixed="false">
|
21
|
+
<xs:annotation>
|
22
|
+
<xs:documentation>The WindowsServiceObjectType type is intended to characterize Windows services.</xs:documentation>
|
23
|
+
</xs:annotation>
|
24
|
+
<xs:complexContent>
|
25
|
+
<xs:extension base="WinProcessObj:WindowsProcessObjectType">
|
26
|
+
<xs:sequence>
|
27
|
+
<xs:element name="Description_List" type="WinServiceObj:ServiceDescriptionListType" minOccurs="0" maxOccurs="1">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>A list of description items for this service.</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element name="Display_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>The Display_Name field specifies the displayed name of the service in Windows GUI controls. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms683228(v=vs.85).aspx.</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element minOccurs="0" name="Group_Name" type="cyboxCommon:StringObjectPropertyType">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>The Group_Name field specifies the name of the load ordering group of which this service is a member.</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
</xs:element>
|
42
|
+
<xs:element name="Service_Name" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>The Name field specifies the name of the service. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms683229(v=vs.85).aspx.</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
</xs:element>
|
47
|
+
<xs:element name="Service_DLL" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
|
48
|
+
<xs:annotation>
|
49
|
+
<xs:documentation>The Service_DLL field specifies name of the DLL instantiated in the service.</xs:documentation>
|
50
|
+
</xs:annotation>
|
51
|
+
</xs:element>
|
52
|
+
<xs:element name="Service_DLL_Certificate_Issuer" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The Certificate Authority (CA) that issued the certificate used to sign the service DLL.</xs:documentation>
|
55
|
+
</xs:annotation>
|
56
|
+
</xs:element>
|
57
|
+
<xs:element name="Service_DLL_Certificate_Subject" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>The subject of the certifcate (the entity being authenticated).</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:element>
|
62
|
+
<xs:element name="Service_DLL_Hashes" type="cyboxCommon:HashListType" minOccurs="0" maxOccurs="1">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>Hashes for the Service DLL file.</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
</xs:element>
|
67
|
+
<xs:element name="Service_DLL_Signature_Description" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
|
68
|
+
<xs:annotation>
|
69
|
+
<xs:documentation>The Service_DLL_Signature_Description field provides a description of the digital signature for the service DLL.</xs:documentation>
|
70
|
+
</xs:annotation>
|
71
|
+
</xs:element>
|
72
|
+
<xs:element name="Startup_Command_Line" type="cyboxCommon:StringObjectPropertyType" minOccurs="0" maxOccurs="1">
|
73
|
+
<xs:annotation>
|
74
|
+
<xs:documentation>The Startup_Command_Line field specifies the full command line used to start the service.</xs:documentation>
|
75
|
+
</xs:annotation>
|
76
|
+
</xs:element>
|
77
|
+
<xs:element name="Startup_Type" type="WinServiceObj:ServiceModeType" minOccurs="0" maxOccurs="1">
|
78
|
+
<xs:annotation>
|
79
|
+
<xs:documentation>Service start options. See http://msdn.microsoft.com/en-us/library/windows/desktop/ms682450(v=vs.85).aspx.</xs:documentation>
|
80
|
+
</xs:annotation>
|
81
|
+
</xs:element>
|
82
|
+
<xs:element name="Service_Status" type="WinServiceObj:ServiceStatusType" minOccurs="0" maxOccurs="1">
|
83
|
+
<xs:annotation>
|
84
|
+
<xs:documentation>Status information for a service. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms685996(v=vs.85).aspx.</xs:documentation>
|
85
|
+
</xs:annotation>
|
86
|
+
</xs:element>
|
87
|
+
<xs:element name="Service_Type" type="WinServiceObj:ServiceType" minOccurs="0">
|
88
|
+
<xs:annotation>
|
89
|
+
<xs:documentation>The Type field specifies the type of the service.</xs:documentation>
|
90
|
+
</xs:annotation>
|
91
|
+
</xs:element>
|
92
|
+
<xs:element minOccurs="0" name="Started_As" type="cyboxCommon:StringObjectPropertyType">
|
93
|
+
<xs:annotation>
|
94
|
+
<xs:documentation>The Started_As field specifies the name of the account under which the service was started.</xs:documentation>
|
95
|
+
</xs:annotation>
|
96
|
+
</xs:element>
|
97
|
+
</xs:sequence>
|
98
|
+
<xs:attribute name="service_dll_signature_exists" type="xs:boolean">
|
99
|
+
<xs:annotation>
|
100
|
+
<xs:documentation>Indicates whether or not the DLL is signed.</xs:documentation>
|
101
|
+
</xs:annotation>
|
102
|
+
</xs:attribute>
|
103
|
+
<xs:attribute name="service_dll_signature_verified" type="xs:boolean">
|
104
|
+
<xs:annotation>
|
105
|
+
<xs:documentation>Indicates whether or not the DLL's signature was verified.</xs:documentation>
|
106
|
+
</xs:annotation>
|
107
|
+
</xs:attribute>
|
108
|
+
</xs:extension>
|
109
|
+
</xs:complexContent>
|
110
|
+
</xs:complexType>
|
111
|
+
<xs:complexType name="ServiceDescriptionListType">
|
112
|
+
<xs:annotation>
|
113
|
+
<xs:documentation>A collection of service descriptions.</xs:documentation>
|
114
|
+
</xs:annotation>
|
115
|
+
<xs:sequence>
|
116
|
+
<xs:element name="Description" type="cyboxCommon:StringObjectPropertyType" maxOccurs="unbounded">
|
117
|
+
<xs:annotation>
|
118
|
+
<xs:documentation>A description of the service. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms685156(v=vs.85).aspx.</xs:documentation>
|
119
|
+
</xs:annotation>
|
120
|
+
</xs:element>
|
121
|
+
</xs:sequence>
|
122
|
+
</xs:complexType>
|
123
|
+
<xs:complexType name="ServiceModeType">
|
124
|
+
<xs:annotation>
|
125
|
+
<xs:documentation>ServiceModeType specifies Windows service modes via a union of the ServiceModeEnum 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>
|
126
|
+
</xs:annotation>
|
127
|
+
<xs:simpleContent>
|
128
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
129
|
+
<xs:simpleType>
|
130
|
+
<xs:union memberTypes="WinServiceObj:ServiceModeEnum xs:string"/>
|
131
|
+
</xs:simpleType>
|
132
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" use="optional" fixed="string">
|
133
|
+
<xs:annotation>
|
134
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
135
|
+
</xs:annotation>
|
136
|
+
</xs:attribute>
|
137
|
+
</xs:restriction>
|
138
|
+
</xs:simpleContent>
|
139
|
+
</xs:complexType>
|
140
|
+
<xs:complexType name="ServiceStatusType">
|
141
|
+
<xs:annotation>
|
142
|
+
<xs:documentation>ServiceModeType specifies Windows service states via a union of the ServiceStatusEnum 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>
|
143
|
+
</xs:annotation>
|
144
|
+
<xs:simpleContent>
|
145
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
146
|
+
<xs:simpleType>
|
147
|
+
<xs:union memberTypes="WinServiceObj:ServiceStatusEnum xs:string"/>
|
148
|
+
</xs:simpleType>
|
149
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
150
|
+
<xs:annotation>
|
151
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
152
|
+
</xs:annotation>
|
153
|
+
</xs:attribute>
|
154
|
+
</xs:restriction>
|
155
|
+
</xs:simpleContent>
|
156
|
+
</xs:complexType>
|
157
|
+
<xs:complexType name="ServiceType">
|
158
|
+
<xs:annotation>
|
159
|
+
<xs:documentation>ServiceType specifies Windows service types via a union of the ServiceTypeEnum 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>
|
160
|
+
</xs:annotation>
|
161
|
+
<xs:simpleContent>
|
162
|
+
<xs:restriction base="cyboxCommon:BaseObjectPropertyType">
|
163
|
+
<xs:simpleType>
|
164
|
+
<xs:union memberTypes="WinServiceObj:ServiceTypeEnum xs:string"/>
|
165
|
+
</xs:simpleType>
|
166
|
+
<xs:attribute name="datatype" type="cyboxCommon:DatatypeEnum" fixed="string">
|
167
|
+
<xs:annotation>
|
168
|
+
<xs:documentation>This attribute is optional and specifies the expected type for the value of the specified property.</xs:documentation>
|
169
|
+
</xs:annotation>
|
170
|
+
</xs:attribute>
|
171
|
+
</xs:restriction>
|
172
|
+
</xs:simpleContent>
|
173
|
+
</xs:complexType>
|
174
|
+
<xs:simpleType name="ServiceModeEnum">
|
175
|
+
<xs:annotation>
|
176
|
+
<xs:documentation>The ServiceModeEnum type is an enumeration of service modes. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682450(v=vs.85).aspx.</xs:documentation>
|
177
|
+
</xs:annotation>
|
178
|
+
<xs:list>
|
179
|
+
<xs:simpleType>
|
180
|
+
<xs:restriction base="xs:string">
|
181
|
+
<xs:enumeration value="SERVICE_AUTO_START">
|
182
|
+
<xs:annotation>
|
183
|
+
<xs:documentation>A service started automatically by the service control manager during system startup.</xs:documentation>
|
184
|
+
</xs:annotation>
|
185
|
+
</xs:enumeration>
|
186
|
+
<xs:enumeration value="SERVICE_BOOT_START">
|
187
|
+
<xs:annotation>
|
188
|
+
<xs:documentation>A device driver started by the system loader. This value is valid only for driver services.</xs:documentation>
|
189
|
+
</xs:annotation>
|
190
|
+
</xs:enumeration>
|
191
|
+
<xs:enumeration value="SERVICE_DEMAND_START">
|
192
|
+
<xs:annotation>
|
193
|
+
<xs:documentation>A service started by the service control manager when a process calls the StartService function.</xs:documentation>
|
194
|
+
</xs:annotation>
|
195
|
+
</xs:enumeration>
|
196
|
+
<xs:enumeration value="SERVICE_DISABLED">
|
197
|
+
<xs:annotation>
|
198
|
+
<xs:documentation>A service that cannot be started. Attempts to start the service result in the error code ERROR_SERVICE_DISABLED.</xs:documentation>
|
199
|
+
</xs:annotation>
|
200
|
+
</xs:enumeration>
|
201
|
+
<xs:enumeration value="SERVICE_SYSTEM_START">
|
202
|
+
<xs:annotation>
|
203
|
+
<xs:documentation>A device driver started by the IoInitSystem function. This value is valid only for driver services.</xs:documentation>
|
204
|
+
</xs:annotation>
|
205
|
+
</xs:enumeration>
|
206
|
+
</xs:restriction>
|
207
|
+
</xs:simpleType>
|
208
|
+
</xs:list>
|
209
|
+
</xs:simpleType>
|
210
|
+
<xs:simpleType name="ServiceStatusEnum">
|
211
|
+
<xs:annotation>
|
212
|
+
<xs:documentation>The ServiceStatusEnum type is an enumeration of potential service states. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms685996(v=vs.85).aspx.</xs:documentation>
|
213
|
+
</xs:annotation>
|
214
|
+
<xs:list>
|
215
|
+
<xs:simpleType>
|
216
|
+
<xs:restriction base="xs:string">
|
217
|
+
<xs:enumeration value="SERVICE_CONTINUE_PENDING">
|
218
|
+
<xs:annotation>
|
219
|
+
<xs:documentation>The service continue is pending.</xs:documentation>
|
220
|
+
</xs:annotation>
|
221
|
+
</xs:enumeration>
|
222
|
+
<xs:enumeration value="SERVICE_PAUSE_PENDING">
|
223
|
+
<xs:annotation>
|
224
|
+
<xs:documentation>The service pause is pending.</xs:documentation>
|
225
|
+
</xs:annotation>
|
226
|
+
</xs:enumeration>
|
227
|
+
<xs:enumeration value="SERVICE_PAUSED">
|
228
|
+
<xs:annotation>
|
229
|
+
<xs:documentation>The service is paused.</xs:documentation>
|
230
|
+
</xs:annotation>
|
231
|
+
</xs:enumeration>
|
232
|
+
<xs:enumeration value="SERVICE_RUNNING">
|
233
|
+
<xs:annotation>
|
234
|
+
<xs:documentation>The service is running.</xs:documentation>
|
235
|
+
</xs:annotation>
|
236
|
+
</xs:enumeration>
|
237
|
+
<xs:enumeration value="SERVICE_START_PENDING">
|
238
|
+
<xs:annotation>
|
239
|
+
<xs:documentation>The service is starting.</xs:documentation>
|
240
|
+
</xs:annotation>
|
241
|
+
</xs:enumeration>
|
242
|
+
<xs:enumeration value="SERVICE_STOP_PENDING">
|
243
|
+
<xs:annotation>
|
244
|
+
<xs:documentation>The service is stopping.</xs:documentation>
|
245
|
+
</xs:annotation>
|
246
|
+
</xs:enumeration>
|
247
|
+
<xs:enumeration value="SERVICE_STOPPED">
|
248
|
+
<xs:annotation>
|
249
|
+
<xs:documentation>The service is not running.</xs:documentation>
|
250
|
+
</xs:annotation>
|
251
|
+
</xs:enumeration>
|
252
|
+
</xs:restriction>
|
253
|
+
</xs:simpleType>
|
254
|
+
</xs:list>
|
255
|
+
</xs:simpleType>
|
256
|
+
<xs:simpleType name="ServiceTypeEnum">
|
257
|
+
<xs:annotation>
|
258
|
+
<xs:documentation>The ServiceTypeEnum type is an enumeration of service types. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms685996(v=vs.85).aspx.</xs:documentation>
|
259
|
+
</xs:annotation>
|
260
|
+
<xs:list>
|
261
|
+
<xs:simpleType>
|
262
|
+
<xs:restriction base="xs:string">
|
263
|
+
<xs:enumeration value="SERVICE_KERNEL_DRIVER">
|
264
|
+
<xs:annotation>
|
265
|
+
<xs:documentation>The service is a device driver.</xs:documentation>
|
266
|
+
</xs:annotation>
|
267
|
+
</xs:enumeration>
|
268
|
+
<xs:enumeration value="SERVICE_FILE_SYSTEM_DRIVER">
|
269
|
+
<xs:annotation>
|
270
|
+
<xs:documentation>The service is a file system driver.</xs:documentation>
|
271
|
+
</xs:annotation>
|
272
|
+
</xs:enumeration>
|
273
|
+
<xs:enumeration value="SERVICE_WIN32_OWN_PROCESS">
|
274
|
+
<xs:annotation>
|
275
|
+
<xs:documentation>The service runs in its own process.</xs:documentation>
|
276
|
+
</xs:annotation>
|
277
|
+
</xs:enumeration>
|
278
|
+
<xs:enumeration value="SERVICE_WIN32_SHARE_PROCESS">
|
279
|
+
<xs:annotation>
|
280
|
+
<xs:documentation>The service shares a process with other services.</xs:documentation>
|
281
|
+
</xs:annotation>
|
282
|
+
</xs:enumeration>
|
283
|
+
</xs:restriction>
|
284
|
+
</xs:simpleType>
|
285
|
+
</xs:list>
|
286
|
+
</xs:simpleType>
|
287
|
+
</xs:schema>
|