forked from MAECProject/schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
maec_bundle_schema.xsd
1228 lines (1226 loc) · 69.3 KB
/
maec_bundle_schema.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://maec.mitre.org/XMLSchema/maec-bundle-4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:maecVocabs="http://maec.mitre.org/default_vocabularies-1" xmlns:maecBundle="http://maec.mitre.org/XMLSchema/maec-bundle-4" xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:ProcessObj="http://cybox.mitre.org/objects#ProcessObject-2" xmlns:CodeObj="http://cybox.mitre.org/objects#CodeObject-2" version="4.1">
<xs:import namespace="http://cybox.mitre.org/cybox-2" schemaLocation="http://cybox.mitre.org/XMLSchema/core/2.1/cybox_core.xsd"/>
<xs:import namespace="http://cybox.mitre.org/common-2" schemaLocation="http://cybox.mitre.org/XMLSchema/common/2.1/cybox_common.xsd"/>
<xs:import namespace="http://cybox.mitre.org/objects#CodeObject-2" schemaLocation="http://cybox.mitre.org/XMLSchema/objects/Code/2.1/Code_Object.xsd"/>
<xs:annotation>
<xs:documentation>The following is a description of the elements, types, and attributes that compose Malware Attribute Enumeration and Characterization (MAEC) Bundle schema.</xs:documentation>
<xs:documentation>The MAEC Bundle Schema is maintained by The Mitre Corporation. For more information, including how to get involved in the project, please visit the MAEC website at http://maec.mitre.org.</xs:documentation>
<xs:documentation>This schema imports the CyBOX schema and object schemas. More info on CybOX can be found at http://cybox.mitre.org.</xs:documentation>
<xs:appinfo>
<schema>MAEC Bundle Schema</schema>
<version>4.1</version>
<date>02/11/2014</date>
<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 MAEC License located at http://maec.mitre.org/about/termsofuse.html. See the MAEC License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the MAEC Schema, this license header must be included.</terms_of_use>
</xs:appinfo>
</xs:annotation>
<xs:import namespace="http://cybox.mitre.org/objects#ProcessObject-2" schemaLocation="http://cybox.mitre.org/XMLSchema/objects/Process/2.1/Process_Object.xsd"/>
<xs:import namespace="http://cybox.mitre.org/default_vocabularies-2" schemaLocation="http://cybox.mitre.org/XMLSchema/default_vocabularies/2.1/cybox_default_vocabularies.xsd"/>
<xs:import namespace="http://maec.mitre.org/default_vocabularies-1" schemaLocation="http://maec.mitre.org/language/version4.1/maec_default_vocabularies.xsd"/>
<xs:element name="MAEC_Bundle" type="maecBundle:BundleType">
<xs:annotation>
<xs:documentation>The MAEC_Bundle element is the root element of this schema, and is of type BundleType. As such, it represents the characterization of a single malware instance, characterized in the top-level Subject_Details element, via its MAEC entities.</xs:documentation>
</xs:annotation>
<xs:unique name="unique-bundle-id">
<xs:selector xpath=".//*"/>
<xs:field xpath="@id"/>
</xs:unique>
</xs:element>
<xs:element name="Action" type="maecBundle:MalwareActionType">
<xs:annotation>
<xs:documentation>The Action element enables description/specification of a single malware action. </xs:documentation>
</xs:annotation>
<xs:unique name="unique-action-id">
<xs:selector xpath=".//*"/>
<xs:field xpath="@id"/>
</xs:unique>
</xs:element>
<xs:element name="Behavior" type="maecBundle:BehaviorType">
<xs:annotation>
<xs:documentation>The Behavior element enables description/specification of a single malware behavior. </xs:documentation>
</xs:annotation>
<xs:unique name="unique-behavior-id">
<xs:selector xpath=".//*"/>
<xs:field xpath="@id"/>
</xs:unique>
</xs:element>
<xs:complexType name="MalwareActionType">
<xs:annotation>
<xs:documentation>The MalwareActionType is one of the foundational MAEC types, and serves as a method for the characterization of actions found or observed in malware. Actions can be thought of as system state changes and similar operations that represent the fundamental low-level operation of malware. Some examples include the creation of a file, deletion of a registry key, and the sending of some data on a socket. It imports and extends the CybOX ActionType. For MAEC, the id attribute is required.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="cybox:ActionType">
<xs:sequence>
<xs:element minOccurs="0" name="Implementation" type="maecBundle:ActionImplementationType">
<xs:annotation>
<xs:documentation>The Implementation field is optional and serves to capture attributes that are relevant to how the Action is implemented in the malware, such as the specific API call that was used.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BehaviorType">
<xs:annotation>
<xs:documentation>The BehaviorType is one of the foundational MAEC types, and serves as a method for the characterization of malicious behaviors found or observed in malware. Behaviors can be thought of as representing the purpose behind groups of MAEC Actions, and are therefore representative of distinct portions of higher-level malware functionality. Thus, while a malware instance may perform some multitude of Actions, it is likely that these Actions represent only a few distinct behaviors. Some examples include vulnerability exploitation, email address harvesting, the disabling of a security service, etc.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Purpose" type="maecBundle:BehaviorPurposeType">
<xs:annotation>
<xs:documentation>The Purpose field specifies the intended purpose of the Behavior. Since a Behavior is not always successful, and may not be fully observed, this is meant as way to state the nature of the Behavior apart from its constituent actions.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Description" type="xs:string">
<xs:annotation>
<xs:documentation>The Description field specifies a prose textual description of the Behavior.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Discovery_Method" type="cyboxCommon:MeasureSourceType">
<xs:annotation>
<xs:documentation>The Discovery_Method field specifies the method used to discover the Behavior.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Action_Composition" type="maecBundle:BehavioralActionsType">
<xs:annotation>
<xs:documentation>The Action_Composition field captures the Actions that compose the Behavior.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Associated_Code" type="maecBundle:AssociatedCodeType">
<xs:annotation>
<xs:documentation>The Associated_Code field specifies any code snippets that may be associated with the Behavior.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Relationships" type="maecBundle:BehaviorRelationshipListType">
<xs:annotation>
<xs:documentation>The Relationships field specifies any relationships between this Behavior and any other Behaviors.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:QName">
<xs:annotation>
<xs:documentation>The required id field specifies a unique ID for this Behavior.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ordinal_position" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>The ordinal_position field specifies the ordinal position of the Behavior with respect to the execution of the malware.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="status" type="cybox:ActionStatusTypeEnum">
<xs:annotation>
<xs:documentation>The status field specifies the execution status of the Behavior being characterized.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="duration" type="xs:duration">
<xs:annotation>
<xs:documentation>The duration field specifies the duration of the Behavior. One way to derive such a value may be to calculate the difference between the timestamps of the first and last actions that compose the behavior.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="BundleType">
<xs:annotation>
<xs:documentation>The BundleType serves as the high-level construct which encapsulates all Bundle elements, and represents some characterized analysis data (from any arbitrary set of analyses) for a single malware instance in terms of its MAEC Components (e.g., Behaviors, Actions, Objects, etc.).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Malware_Instance_Object_Attributes" type="cybox:ObjectType">
<xs:annotation>
<xs:documentation>The Malware_Instance_Object_Attributes field characterizes the attributes of the object (most typically a file) that represents the malware instance whose Behaviors, Actions, Objects, Process Tree, and Candidate Indicators are characterized in this Bundle. This is equivalent to the Malware_Instance_Object_Attributes inside of a Malware_Subject in the MAEC Package, and is therefore only required if this Bundle is to be used in a stand-alone fashion, i.e., without an accompanying MAEC Package and with the defined_subject field set to 'True'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="AV_Classifications" type="maecBundle:AVClassificationsType">
<xs:annotation>
<xs:documentation>The AV_Classifications field contains 1-n AVClassificationType objects, which capture any Anti-Virus scanner tool classifications of the malware instance object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Process_Tree" type="maecBundle:ProcessTreeType">
<xs:annotation>
<xs:documentation>The Process_Tree field specifies the observed process tree of execution for the malware instance, along with references to any corresponding actions that were initiated, if applicable.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Capabilities" type="maecBundle:CapabilityListType">
<xs:annotation>
<xs:documentation>The Capabilities field contains 1-n CapabilityType objects, which serve to describe the high-level capabilities and objectives of the malware instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Behaviors" type="maecBundle:BehaviorListType">
<xs:annotation>
<xs:documentation>The Behaviors field contains 1-n BehaviorType objects, which function as the MAEC representation for any behaviors that were observed for the malware instance. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Actions" type="maecBundle:ActionListType">
<xs:annotation>
<xs:documentation>The Actions field contains 1-n ActionType objects, which function as the MAEC representation for any lower-level actions that were observed for the malware instance. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Objects" type="maecBundle:ObjectListType">
<xs:annotation>
<xs:documentation>The Objects field contains 1-n ObjectType objects, which function as the MAEC representation for any objects associated with the malware instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Candidate_Indicators" type="maecBundle:CandidateIndicatorListType">
<xs:annotation>
<xs:documentation>The Candidate_Indicators field contains 1-n CandidateIndicatorType objects, which function as the MAEC representation of any candidate indicators associated with the malware instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Collections" type="maecBundle:CollectionsType">
<xs:annotation>
<xs:documentation>The Collections field contains the collection element types for Behaviors, Actions, Objects, and Candidate Indicators.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:QName">
<xs:annotation>
<xs:documentation>The required id field specifies a unique ID for this MAEC Bundle. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="schema_version" type="xs:string" use="required" fixed="4.1">
<xs:annotation>
<xs:documentation>The required schema_version field specifies the version of the MAEC Bundle Schema that the document has been written in and that should be used for validation.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defined_subject" type="xs:boolean" use="required">
<xs:annotation>
<xs:documentation>The required defined_subject field specifies whether the subject attributes of the characterized malware instance are included inside this Bundle (via the top-level Malware_Instance_Object_Attributes field) or elsewhere (such as a MAEC Subject in a MAEC Package).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="content_type" type="maecBundle:BundleContentTypeEnum">
<xs:annotation>
<xs:documentation>The content_type field specifies the general type of content contained in this Bundle, e.g. static analysis tool output, dynamic analysis tool output, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="timestamp" type="xs:dateTime">
<xs:annotation>
<xs:documentation>The timestamp field specifies the date/time that the bundle was generated.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="BehaviorCollectionType">
<xs:annotation>
<xs:documentation>The BehaviorCollectionType provides a Capability for characterizing collections of behaviors.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="maecBundle:BaseCollectionType">
<xs:sequence>
<xs:element name="Purpose" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The Purpose field states the intended purpose of the collection of Behaviors. Since Behaviors are not always successful, and may not be fully observed, this is meant as way of absracting the nature of the collection of Behaviors away from its constituent Actions.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Behavior_List" type="maecBundle:BehaviorListType">
<xs:annotation>
<xs:documentation>The Behavior_List field specifies a list of Behaviors that make up the collection.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:QName">
<xs:annotation>
<xs:documentation>The id field specifies a unique ID for this Behavior Collection.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ActionCollectionType">
<xs:annotation>
<xs:documentation>The ActionCollectionType provides a method for characterizing collections of actions. This can be useful for organizing actions that may be related and where the exact relationship is unknown, as well as actions whose associated behavior has not yet been established.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="maecBundle:BaseCollectionType">
<xs:sequence>
<xs:element name="Action_List" type="maecBundle:ActionListType">
<xs:annotation>
<xs:documentation>The Action_List field specifies a list of Actions that make up the collection.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:QName">
<xs:annotation>
<xs:documentation>The id field specifies a unique ID for this Action Collection.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="APICallType">
<xs:annotation>
<xs:documentation>The APICallType provides a method for the characterization of API calls, including functions and their parameters.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Address" type="xs:hexBinary" minOccurs="0">
<xs:annotation>
<xs:documentation>The Address field contains the address of the API call in the binary.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Return_Value" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The Return_Value field contains the return value of the API call.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Parameters" type="maecBundle:ParameterListType">
<xs:annotation>
<xs:documentation>The Parameter field captures any name/value pairs of the parameters passed into the API call.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="function_name" type="xs:string">
<xs:annotation>
<xs:documentation>The function_name field contains the exact name of the API function called, e.g. CreateFileEx.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="normalized_function_name" type="xs:string">
<xs:annotation>
<xs:documentation>The normalized_function_name field contains the normalized name of the API function called, e.g. CreateFile.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ActionImplementationType">
<xs:annotation>
<xs:documentation>The ActionImplementationType serves as a method for the characterization of Action Implementations. Currently supported are implementations achieved through API function calls and abstractly defined code.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Compatible_Platforms" type="maecBundle:PlatformListType" minOccurs="0">
<xs:annotation>
<xs:documentation>The Compatible_Platforms field specifies the specific platform(s) that the Action is compatible with, or in other words, capable of being successfully executed on.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="API_Call" maxOccurs="1" minOccurs="0" type="maecBundle:APICallType">
<xs:annotation>
<xs:documentation>The API_Call field allows for the characterization of a system-level API call that was used to implement the action. Software must make use of such calls to talk to hardware and perform system-specific functions.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Code" maxOccurs="unbounded" type="CodeObj:CodeObjectType" minOccurs="0">
<xs:annotation>
<xs:documentation>The Code field contains any form of code that was used to implement the action.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="id" use="optional" type="xs:QName">
<xs:annotation>
<xs:documentation>The id field specifies a unique ID for this Action Implementation.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" use="required" type="maecBundle:ActionImplementationTypeEnum">
<xs:annotation>
<xs:documentation>The required type field refers to the type of Action Implementation being characterized in this element. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="CVEVulnerabilityType">
<xs:annotation>
<xs:documentation>The CVEVulnerabilityType provides a way of referencing specific vulnerabilities that malware exploits or attempts to exploit via a Common Vulnerabilities and Exposures (CVE) identifier. For more information on CVE please see http://cve.mitre.org. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The Description field specifies the textual description of the vulnerability referenced by the cve_id.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="cve_id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The cve_id attribute contains the ID of the CVE that is being referenced, e.g., CVE-1999-0002.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ObjectCollectionType">
<xs:annotation>
<xs:documentation>The ObjectCollectionType provides a Capability for characterizing collections of Objects. For instance, it can be used to group all of the Objects that are associated with a specific behavior.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="maecBundle:BaseCollectionType">
<xs:sequence>
<xs:element name="Object_List" type="maecBundle:ObjectListType">
<xs:annotation>
<xs:documentation>The Object_List field specifies a list of Objects that make up the collection.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:QName">
<xs:annotation>
<xs:documentation>The id attribute specifies a unique ID for this Object Collection. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BaseCollectionType">
<xs:annotation>
<xs:documentation>The BaseCollectionType is the base type for other MAEC collection types.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Affinity_Type" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The Affinity_Type field provides an abstract way of characterizing how the objects in a collection are related.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Affinity_Degree" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The Affinity_Degree field is intended to provide an abstract way of characterizing the degree to which the objects in a collection are related.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Description" type="xs:string">
<xs:annotation>
<xs:documentation>The Description field contains a textual description of the collection.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>The name field specifies the name of the collection.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="BehaviorRelationshipType">
<xs:annotation>
<xs:documentation>The BehaviorRelationshipType provides a method for the characterization of relationships between Behaviors. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Behavior_Reference" type="maecBundle:BehaviorReferenceType" minOccurs="1">
<xs:annotation>
<xs:documentation>The Behavior_Reference field specifies a reference to a single Behavior in the relationship.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="type" use="optional">
<xs:annotation>
<xs:documentation>The type field specifies the nature of the relationship between Behaviors that is being captured.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="cyboxVocabs:ActionRelationshipTypeEnum-1.0">
<xs:enumeration value="Preceded_By"/>
<xs:enumeration value="Followed_By"/>
<xs:enumeration value="Related_To"/>
<xs:enumeration value="Dependent_On"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="AVClassificationsType">
<xs:annotation>
<xs:documentation>The AVClassificationsType captures any Anti-Virus (AV) tool classifications for an Object.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="AV_Classification" type="maecBundle:AVClassificationType">
<xs:annotation>
<xs:documentation>The AV_Classification field captures a single AV classication of the malware instance object. </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ParameterType">
<xs:annotation>
<xs:documentation>The ParameterType characterizes function parameters.</xs:documentation>
</xs:annotation>
<xs:attribute name="ordinal_position" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>This field refers to the ordinal position of the parameter with respect to the function where it is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>The name field specifies the name of the parameter.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string">
<xs:annotation>
<xs:documentation>The value field specifies the actual value of the parameter.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ParameterListType">
<xs:annotation>
<xs:documentation>The ParametersType captures a list of function parameters.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Parameter" type="maecBundle:ParameterType">
<xs:annotation>
<xs:documentation>The Parameter field specifies a single function parameter.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AssociatedCodeType">
<xs:annotation>
<xs:documentation>The AssociatedCodeType serves as generic way of specifying any code snippets associated with a MAEC entity, such as a Behavior.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Code_Snippet" type="CodeObj:CodeObjectType">
<xs:annotation>
<xs:documentation>The Code_Snippet field captures a single snippet of code, via the CybOX CodeObjectType.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BehaviorPurposeType">
<xs:annotation>
<xs:documentation>The BehaviorPurposeType captures the purpose behind a malware Behavior.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Description" type="xs:string">
<xs:annotation>
<xs:documentation>The Description field contains a prose text description of the purpose of the Behavior, whether it was successful or not.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Vulnerability_Exploit" type="maecBundle:ExploitType">
<xs:annotation>
<xs:documentation>The Vulnerability_Exploit field characterizes any vulnerability that a Behavior may have attempted to exploit, whether or not the exploitation was successful (where success is not necessarily known).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PlatformListType">
<xs:annotation>
<xs:documentation>The PlatformListType captures a list of software or hardware platforms.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Platform" type="cyboxCommon:PlatformSpecificationType">
<xs:annotation>
<xs:documentation>The Platform field specifies a single Platform in the list via a common platform enumeration ID. It uses the PlatformSpecificationType type from the CybOX Common schema v2.0.1.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ExploitType">
<xs:annotation>
<xs:documentation>The ExploitType characterizes any exploitable weakness that may be targeted for exploitation by a malware instance through a Behavior. Most commonly, this refers to a known and identifiable vulnerability, but it may also refer to one or more weaknesses.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="CVE" type="maecBundle:CVEVulnerabilityType">
<xs:annotation>
<xs:documentation>The CVE field specifies the CVE ID and description of the vulnerability targeted by the exploit, if available.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="CWE_ID" type="xs:string">
<xs:annotation>
<xs:documentation>The CWE_ID field captures the ID of the Common Weakness Enumeration (CWE) entry that represents the type of weakness targeted by the exploit. More than one such CWE ID can be specified by using multiple occurrences of this field.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Targeted_Platforms" type="maecBundle:PlatformListType">
<xs:annotation>
<xs:documentation>The Targeted_Platforms field specifies the platforms(s) targeted by the vulnerability exploit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="known_vulnerability" type="xs:boolean">
<xs:annotation>
<xs:documentation>The known_vulnerability field specifies whether the vulnerability that the malware is exploiting has been previously identified. If so, it should be referenced via a CVE ID in the CVE element. If not, the platform(s) targeted by the vulnerability exploitation behavior may be specified in the Targeted_Platforms element.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="BehaviorRelationshipListType">
<xs:annotation>
<xs:documentation>The BehaviorRelationshipListType captures any relationships between a Behavior and other Behaviors.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Relationship" type="maecBundle:BehaviorRelationshipType">
<xs:annotation>
<xs:documentation>The Relationship field specifies a single relationship between a single Behavior and one or more other Behaviors.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BehavioralActionsType">
<xs:annotation>
<xs:documentation>The BehavioralActionsType is intended to capture the Actions or Action Collections that make up a Behavior.</xs:documentation>
</xs:annotation>
<xs:choice maxOccurs="unbounded">
<xs:element minOccurs="1" name="Action_Collection" type="maecBundle:ActionCollectionType">
<xs:annotation>
<xs:documentation>The Action_Collection field specifies an Action Collection that is part of the behavioral composition.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="1" name="Action" type="maecBundle:BehavioralActionType">
<xs:annotation>
<xs:documentation>The Action field specifies a single Action that is part of the behavioral composition.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Action_Reference" type="maecBundle:BehavioralActionReferenceType">
<xs:annotation>
<xs:documentation>The Action_Reference field specifies a reference to a single Action that is part of the behavioral composition.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Action_Equivalence_Reference" type="maecBundle:BehavioralActionEquivalenceReferenceType">
<xs:annotation>
<xs:documentation>The Action_Equivalence_Reference field specifies a reference to a single Action Equivalence that is part of the behavioral composition.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="BehaviorListType">
<xs:annotation>
<xs:documentation>The BehaviorListType captures a list of Behaviors.</xs:documentation>
</xs:annotation>
<xs:sequence maxOccurs="1">
<xs:element name="Behavior" type="maecBundle:BehaviorType" maxOccurs="unbounded" form="qualified" minOccurs="1">
<xs:annotation>
<xs:documentation>The Behavior field specifies a single Behavior in the list.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ActionListType">
<xs:annotation>
<xs:documentation>The ActionListType captures a list of Actions.</xs:documentation>
</xs:annotation>
<xs:sequence maxOccurs="1">
<xs:element name="Action" type="maecBundle:MalwareActionType" maxOccurs="unbounded" minOccurs="1">
<xs:annotation>
<xs:documentation>The Action field specifies a single Action in the list.</xs:documentation>
<xs:documentation>The recommended syntax for Action IDs is a dash-delimited format that starts with the word maec, followed by a unique string, followed by the three letter code 'act', and ending with an integer. The regular expression validating these IDs is: maec-[A-Za-z0-9_\-\.]+-act-[1-9][0-9]*.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ObjectListType">
<xs:annotation>
<xs:documentation>The ObjectListType captures a list of CybOX Objects.</xs:documentation>
</xs:annotation>
<xs:sequence maxOccurs="1">
<xs:element maxOccurs="unbounded" name="Object" type="cybox:ObjectType">
<xs:annotation>
<xs:documentation>The Object field specifies a single CybOX Object in the list. For use in MAEC, the id attribute at the top level of the Object must be utilized.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BehaviorReferenceType">
<xs:annotation>
<xs:documentation>The BehaviorReferenceType serves as a method for referencing existing behaviors contained in the Bundle.</xs:documentation>
</xs:annotation>
<xs:attribute name="behavior_idref" type="xs:QName" use="required">
<xs:annotation>
<xs:documentation>The behavior_idref field specifies the id of the Behavior being referenced; this Behavior must be present in the current Bundle.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ObjectReferenceType">
<xs:annotation>
<xs:documentation>The ObjectReferenceType serves as a method for linking to CybOX Objects embedded in the MAEC Bundle.</xs:documentation>
</xs:annotation>
<xs:attribute name="object_idref" type="xs:QName" use="required">
<xs:annotation>
<xs:documentation>The object_idref field specifies the id of a CybOX Object being referenced in the current MAEC Bundle.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="BehavioralActionType">
<xs:annotation>
<xs:documentation>The BehavioralActionType type defines an Action field that can be used as part of a Behavior. It extends the MAEC MalwareActionType type, which in turn extends the CybOX ActionType type.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="maecBundle:MalwareActionType">
<xs:attribute name="behavioral_ordering" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>The behavioral_ordering field defines the ordering of the Action with respect to the other Actions that make up the behavior. So an action with a behavioral_ordering of "1" would come before an Action with a behavioral_ordering of "2", etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BehavioralActionReferenceType">
<xs:annotation>
<xs:documentation>The BehavioralActionReferenceType defines an action reference that can be used as part of a Behavior.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="cybox:ActionReferenceType">
<xs:attribute name="behavioral_ordering" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>The behavioral_ordering field defines the ordering of the Action with respect to the other Actions that make up the Behavior. For example, an Action with a behavioral_ordering of "1" would come before an Action with a behavioral_ordering of "2", etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BehavioralActionEquivalenceReferenceType">
<xs:annotation>
<xs:documentation>The BehavioralActionEquivalenceReferenceType defines an Action Equivalence reference that can be used as part of a Behavior. Since the Action Equivalency equates two or more actions to a single one, this can be thought of as specifying one of the aforementioned Actions as part of the composition of the Behavior.</xs:documentation>
</xs:annotation>
<xs:attribute name="action_equivalence_idref" type="xs:QName" use="required">
<xs:annotation>
<xs:documentation>The action_equivalence_idref field specifies the ID of an Action Equivalence contained in the same MAEC document as the Behavior that utilizes it.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="behavioral_ordering" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>The behavioral_ordering field defines the ordering of the Action Equivalency with respect to the other actions that make up the behavior. So an action with a behavioral_ordering of "1" would come before an action with a behavioral_ordering of "2", etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="BehaviorReferenceListType">
<xs:annotation>
<xs:documentation>The BehaviorReferenceListType captures a list of Behavior References.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Behavior_Reference" type="maecBundle:BehaviorReferenceType">
<xs:annotation>
<xs:documentation>The Behavior_Reference field specifies a reference to a single Behavior.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ActionReferenceListType">
<xs:annotation>
<xs:documentation>The ActionReferenceListType captures a list of Action References.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Action_Reference" type="cybox:ActionReferenceType">
<xs:annotation>
<xs:documentation>The Action_Reference field specifies a reference to a single Action.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ObjectReferenceListType">
<xs:annotation>
<xs:documentation>The ObjectReferenceListType captures a list of references to CybOX Objects. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Object_Reference" type="maecBundle:ObjectReferenceType">
<xs:annotation>
<xs:documentation>The Object_Reference field specifies a reference to a single CybOX Object.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CandidateIndicatorType">
<xs:annotation>
<xs:documentation>The CandidateIndicatorType provides a way of defining a MAEC entity-based Candidate Indicator, which specifies the particular components that may signify the presence of the malware instance on a host system or network.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Importance" type="cyboxCommon:ControlledVocabularyStringType">
<xs:annotation>
<xs:documentation>The Importance field specifies the relative importance of the Candidate Indicator.</xs:documentation>
<xs:documentation>This field is implemented through the xsi:type controlled vocabulary extension Capability. The default vocabulary type is ImportanceTypeVocab-1.0 in the http://maec.mitre.org/default_vocabularies-1 namespace. This type is defined in the maec_default_vocabularies.xsd file or at the URL http://maec.mitre.org/XMLSchema/default_vocabularies/1.0.0/maec_default_vocabularies.xsd.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Numeric_Importance" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>The Numeric_Importance field specifies the specific numeric importance of the Candidate Indicator.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Author" type="xs:string">
<xs:annotation>
<xs:documentation>The Author field specifies the author of the Candidate Indicator.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Description" type="xs:string">
<xs:annotation>
<xs:documentation>The Description field provides a brief description of the Candidate Indicator.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Malware_Entity" type="maecBundle:MalwareEntityType">
<xs:annotation>
<xs:documentation>The Malware_Entity field specifies the particular malware entity that the Candidate Indicator is written against, whether it be a malware instance, family, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Composition" type="maecBundle:CandidateIndicatorCompositionType">
<xs:annotation>
<xs:documentation>The Composition field specifies the actual observables that the Candidate Indicator is composed of, via a reference to a one or more MAEC entities contained in the Bundle.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:QName" use="required">
<xs:annotation>
<xs:documentation>The id field specifies a unique ID for this Candidate Indicator.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="creation_datetime" type="xs:dateTime">
<xs:annotation>
<xs:documentation>The creation_datetime field specifies the date/time that the Candidate Indicator was created.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lastupdate_datetime" type="xs:dateTime">
<xs:annotation>
<xs:documentation>The lastupdate_datetime field specifies the last date/time that the Candidate Indicator was updated.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="version" type="xs:string">
<xs:annotation>
<xs:documentation>The version field specifies the version of the Candidate Indicator.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="CandidateIndicatorListType">
<xs:annotation>
<xs:documentation>The CandidateIndicatorListType captures a list of Candidate Indicators.</xs:documentation>
</xs:annotation>
<xs:sequence maxOccurs="1" minOccurs="1">
<xs:element maxOccurs="unbounded" name="Candidate_Indicator" type="maecBundle:CandidateIndicatorType">
<xs:annotation>
<xs:documentation>The Candidate_Indicator field specifies a single Candidate Indicator in the list.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MalwareEntityType">
<xs:annotation>
<xs:documentation>The MalwareEntityType provides a Capability for characterizing the particular entity that an indicator or signature is written against, whether it is a particular malware instance, family, etc.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Type" type="cyboxCommon:ControlledVocabularyStringType">
<xs:annotation>
<xs:documentation>The Type field refers to the specific type of malware entity that the indicator or signature is written against.</xs:documentation>
<xs:documentation>This field is implemented through the xsi:type controlled vocabulary extension Capability. The default vocabulary type is MalwareEntityTypeVocab-1.0 in the http://maec.mitre.org/default_vocabularies-1 namespace. This type is defined in the maec_default_vocabularies.xsd file or at the URL http://maec.mitre.org/XMLSchema/default_vocabularies/1.0.0/maec_default_vocabularies.xsd.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Name" type="xs:string">
<xs:annotation>
<xs:documentation>The Name field refers to the name of the malware instance, malware family, or malware class that the indicator or signature is written against.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Description" type="xs:string">
<xs:annotation>
<xs:documentation>The Description field is intended to provide a brief description of the entity that the indicator or signature is written against.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CollectionsType">
<xs:annotation>
<xs:documentation>The CollectionsType captures the various types of MAEC entity collections.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Behavior_Collections" type="maecBundle:BehaviorCollectionListType">
<xs:annotation>
<xs:documentation>The Behavior_Collections field captures any collections of Behaviors in the Bundle.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Action_Collections" type="maecBundle:ActionCollectionListType">
<xs:annotation>
<xs:documentation>The Action_Collections field captures any collections of Actions in the Bundle.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Object_Collections" type="maecBundle:ObjectCollectionListType">
<xs:annotation>
<xs:documentation>The Objects_Collections field captures any collections of CybOX Objects in the Bundle.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Candidate_Indicator_Collections" type="maecBundle:CandidateIndicatorCollectionListType">
<xs:annotation>
<xs:documentation>The Candidate_Indicator_Collections field captures any collections of Candidate Indicators in the Bundle.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BundleReferenceType">
<xs:annotation>
<xs:documentation>The BundleReferenceType serves as a method for linking to Bundles embedded in other locations.</xs:documentation>
</xs:annotation>
<xs:attribute name="bundle_idref" type="xs:QName" use="required">
<xs:annotation>
<xs:documentation>The bundle_idref field references the ID of a Bundle contained inside the current MAEC document.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ProcessTreeType">
<xs:annotation>
<xs:documentation>The ProcessTreeType captures the process tree for the malware instance, including the parent process and processes spawned by it, along with any Actions initiated by each.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Root_Process" type="maecBundle:ProcessTreeNodeType">
<xs:annotation>
<xs:documentation>The Root_Process field captures the root process in the process tree.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProcessTreeNodeType">
<xs:annotation>
<xs:documentation>The ProcessTreeNodeType captures a single process, or node, in the process tree. It imports and extends the ProcessObjectType from the CybOX Process Object.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ProcessObj:ProcessObjectType">
<xs:sequence>
<xs:element minOccurs="0" name="Initiated_Actions" type="maecBundle:ActionReferenceListType">
<xs:annotation>
<xs:documentation>The Initiated_Actions field captures, via references, the actions (found inside the top-level Actions element, or an Action Collection inside the top-level Collections element) initiated by the Process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Spawned_Process" type="maecBundle:ProcessTreeNodeType">
<xs:annotation>
<xs:documentation>The Spawned_Process field captures a single child process spawned by this process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Injected_Process" type="maecBundle:ProcessTreeNodeType">
<xs:annotation>
<xs:documentation>The Injected_Process field captures a single process that was injected by this process.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:QName" use="required">
<xs:annotation>
<xs:documentation>The required id field specifies a unique ID for the Process Node.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="parent_action_idref" type="xs:QName">
<xs:annotation>
<xs:documentation>The parent_action_idref field specifies the id of the action that created or injected this process.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ordinal_position" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>The ordinal_position field specifies the ordinal position of the process with respect to the other processes spawned or injected by the malware.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CandidateIndicatorCompositionType">
<xs:annotation>
<xs:documentation>The CandidateIndicatorCompositionType captures the composition of a Candidate Indicator, via references to any corresponding MAEC entities contained in the Bundle.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element minOccurs="0" name="Behavior_Reference" type="maecBundle:BehaviorReferenceType">
<xs:annotation>
<xs:documentation>The Behavior_Reference field specifies a reference to a single Behavior in the Bundle that is part of the candidate indicator's composition.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Action_Reference" type="cybox:ActionReferenceType">
<xs:annotation>
<xs:documentation>The Action_Reference field specifies a reference to a single Action in the Bundle that is part of the candidate indicator's composition.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Object_Reference" type="maecBundle:ObjectReferenceType">
<xs:annotation>
<xs:documentation>The Object_Reference field specifies a reference to a single Object in the Bundle that is part of the candidate indicator's composition.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Sub_Composition" type="maecBundle:CandidateIndicatorCompositionType">
<xs:annotation>
<xs:documentation>The Sub_Composition field captures any sub-compositions in this Candidate Indicator, for expressing more complex Candidate Indicators.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="operator" type="cybox:OperatorTypeEnum">
<xs:annotation>
<xs:documentation>The operator field specifies the Boolean operator for this level of the Candidate Indicator's composition.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="CandidateIndicatorCollectionType">
<xs:annotation>
<xs:documentation>The CandidateIndicatorCollectionType provides a Capability for characterizing collections of Candidate Indicators.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="maecBundle:BaseCollectionType">
<xs:sequence>
<xs:element name="Candidate_Indicator_List" type="maecBundle:CandidateIndicatorListType">
<xs:annotation>
<xs:documentation>The Candidate_Indicator_List field specifies a list of Candidate Indicators that make up the collection.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:QName" use="required">
<xs:annotation>
<xs:documentation>The id field specifies a unique ID for this Candidate Indicator Collection. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CandidateIndicatorCollectionListType">
<xs:annotation>
<xs:documentation>The CandidateIndicatorCollectionListType captures a list of Candidate Indicators.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Candidate_Indicator_Collection" type="maecBundle:CandidateIndicatorCollectionType">
<xs:annotation>
<xs:documentation>The Candidate_Indicator_Collection field specifies a single collection of Candidate Indicators.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BehaviorCollectionListType">
<xs:annotation>
<xs:documentation>The BehaviorCollectionListType captures a list of Behaviors Collections.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Behavior_Collection" type="maecBundle:BehaviorCollectionType">
<xs:annotation>
<xs:documentation>The Behavior_Collection field specifies a single collection of Behaviors in the Bundle.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ActionCollectionListType">
<xs:annotation>
<xs:documentation>The ActionCollectionListType captures a list of Actions Collections.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Action_Collection" type="maecBundle:ActionCollectionType">
<xs:annotation>
<xs:documentation>The Action_Collection field specifies a single collection of Actions in the Bundle.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ObjectCollectionListType">
<xs:annotation>
<xs:documentation>The ObjectCollectionListType captures a list of Object Collections.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="Object_Collection" type="maecBundle:ObjectCollectionType">
<xs:annotation>
<xs:documentation>The Object_Collection field specifies a single collection of CybOX Objects.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AVClassificationType">
<xs:annotation>
<xs:documentation>The AVClassificationType captures information on AV scanner classifications for the malware instance object captured in the Bundle or Package.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="cyboxCommon:ToolInformationType">
<xs:sequence>
<xs:element minOccurs="0" name="Engine_Version" type="xs:string">
<xs:annotation>
<xs:documentation>The Engine_Version field captures the version of the AV engine used by the AV scanner tool that assigned the classification to the malware instance object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Definition_Version" type="xs:string">
<xs:annotation>
<xs:documentation>The Definition_Version field captures the version of the AV definitions used by the AV scanner tool that assigned the classification to the malware instance object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Classification_Name" type="xs:string">
<xs:annotation>
<xs:documentation>The Classification_Name field captures the classification assigned to the malware instance object by the AV scanner tool characterized in the Company_Name and Product_Name fields.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>