Last active
August 29, 2015 14:09
-
-
Save johnwunder/bbc000bd0f40bb3d0470 to your computer and use it in GitHub Desktop.
Data Markings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<stix:STIX_Package | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:stix="http://stix.mitre.org/stix-1" | |
xmlns:indicator="http://stix.mitre.org/Indicator-2" | |
xmlns:cybox="http://cybox.mitre.org/cybox-2" | |
xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" | |
xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" | |
xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" | |
xmlns:marking="http://data-marking.mitre.org/Marking-1" | |
xmlns:terms="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" | |
xmlns:example="http://example.com/" | |
xsi:schemaLocation= | |
"http://stix.mitre.org/stix-1 ../stix_core.xsd | |
http://stix.mitre.org/Indicator-2 ../indicator.xsd | |
http://cybox.mitre.org/default_vocabularies-2 ../cybox/cybox_default_vocabularies.xsd | |
http://stix.mitre.org/default_vocabularies-1 ../stix_default_vocabularies.xsd | |
http://cybox.mitre.org/objects#DomainNameObject-1 ../cybox/objects/Domain_Name_Object.xsd" | |
id="example:STIXPackage-f61cd874-494d-4194-a3e6-6b487dbb6d6e" | |
timestamp="2014-05-08T09:00:00.000000Z" | |
version="1.1.1" | |
> | |
<stix:STIX_Header> | |
<stix:Title>Example watchlist that contains domain information.</stix:Title> | |
<stix:Package_Intent xsi:type="stixVocabs:PackageIntentVocab-1.0">Indicators - Watchlist</stix:Package_Intent> | |
<stix:Handling> | |
<marking:Marking> | |
<!-- Incorrect! Controlled_Structure is required --> | |
<marking:Marking_Structure xsi:type="terms:TermsOfUseMarkingStructureType"> | |
<terms:Terms_Of_Use>You marked me!</terms:Terms_Of_Use> | |
</marking:Marking_Structure> | |
</marking:Marking> | |
</stix:Handling> | |
</stix:STIX_Header> | |
<stix:Indicators> | |
<stix:Indicator xsi:type="indicator:IndicatorType" id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9" timestamp="2014-05-08T09:00:00.000000Z"> | |
<indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">Domain Watchlist</indicator:Type> | |
<indicator:Description>Sample domain Indicator for this watchlist</indicator:Description> | |
<indicator:Observable id="example:Observable-87c9a5bb-d005-4b3e-8081-99f720fad62b"> | |
<cybox:Object id="example:Object-12c760ba-cd2c-4f5d-a37d-18212eac7928"> | |
<cybox:Properties xsi:type="DomainNameObj:DomainNameObjectType" type="FQDN"> | |
<DomainNameObj:Value condition="Equals" apply_condition="ANY">malicious1.example.com##comma##malicious2.example.com##comma##malicious3.example.com</DomainNameObj:Value> | |
</cybox:Properties> | |
</cybox:Object> | |
</indicator:Observable> | |
</stix:Indicator> | |
</stix:Indicators> | |
</stix:STIX_Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<stix:STIX_Package | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:stix="http://stix.mitre.org/stix-1" | |
xmlns:indicator="http://stix.mitre.org/Indicator-2" | |
xmlns:cybox="http://cybox.mitre.org/cybox-2" | |
xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" | |
xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" | |
xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" | |
xmlns:marking="http://data-marking.mitre.org/Marking-1" | |
xmlns:terms="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" | |
xmlns:example="http://example.com/" | |
xsi:schemaLocation= | |
"http://stix.mitre.org/stix-1 ../stix_core.xsd | |
http://stix.mitre.org/Indicator-2 ../indicator.xsd | |
http://cybox.mitre.org/default_vocabularies-2 ../cybox/cybox_default_vocabularies.xsd | |
http://stix.mitre.org/default_vocabularies-1 ../stix_default_vocabularies.xsd | |
http://cybox.mitre.org/objects#DomainNameObject-1 ../cybox/objects/Domain_Name_Object.xsd" | |
id="example:STIXPackage-f61cd874-494d-4194-a3e6-6b487dbb6d6e" | |
timestamp="2014-05-08T09:00:00.000000Z" | |
version="1.1.1" | |
> | |
<stix:STIX_Header> | |
<stix:Title>Example watchlist that contains domain information.</stix:Title> | |
<stix:Package_Intent xsi:type="stixVocabs:PackageIntentVocab-1.0">Indicators - Watchlist</stix:Package_Intent> | |
<stix:Handling> | |
<marking:Marking> | |
<!-- Incorrect! This does not mark the whole document because markings are not inherited by child nodes --> | |
<marking:Controlled_Structure>/</marking:Controlled_Structure> | |
<marking:Marking_Structure xsi:type="terms:TermsOfUseMarkingStructureType"> | |
<terms:Terms_Of_Use>You marked me!</terms:Terms_Of_Use> | |
</marking:Marking_Structure> | |
</marking:Marking> | |
</stix:Handling> | |
</stix:STIX_Header> | |
<stix:Indicators> | |
<stix:Indicator xsi:type="indicator:IndicatorType" id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9" timestamp="2014-05-08T09:00:00.000000Z"> | |
<indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">Domain Watchlist</indicator:Type> | |
<indicator:Description>Sample domain Indicator for this watchlist</indicator:Description> | |
<indicator:Observable id="example:Observable-87c9a5bb-d005-4b3e-8081-99f720fad62b"> | |
<cybox:Object id="example:Object-12c760ba-cd2c-4f5d-a37d-18212eac7928"> | |
<cybox:Properties xsi:type="DomainNameObj:DomainNameObjectType" type="FQDN"> | |
<DomainNameObj:Value condition="Equals" apply_condition="ANY">malicious1.example.com##comma##malicious2.example.com##comma##malicious3.example.com</DomainNameObj:Value> | |
</cybox:Properties> | |
</cybox:Object> | |
</indicator:Observable> | |
</stix:Indicator> | |
</stix:Indicators> | |
</stix:STIX_Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<stix:STIX_Package | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:stix="http://stix.mitre.org/stix-1" | |
xmlns:indicator="http://stix.mitre.org/Indicator-2" | |
xmlns:cybox="http://cybox.mitre.org/cybox-2" | |
xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" | |
xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" | |
xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" | |
xmlns:marking="http://data-marking.mitre.org/Marking-1" | |
xmlns:terms="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" | |
xmlns:example="http://example.com/" | |
xsi:schemaLocation= | |
"http://stix.mitre.org/stix-1 ../stix_core.xsd | |
http://stix.mitre.org/Indicator-2 ../indicator.xsd | |
http://cybox.mitre.org/default_vocabularies-2 ../cybox/cybox_default_vocabularies.xsd | |
http://stix.mitre.org/default_vocabularies-1 ../stix_default_vocabularies.xsd | |
http://cybox.mitre.org/objects#DomainNameObject-1 ../cybox/objects/Domain_Name_Object.xsd" | |
id="example:STIXPackage-f61cd874-494d-4194-a3e6-6b487dbb6d6e" | |
timestamp="2014-05-08T09:00:00.000000Z" | |
version="1.1.1" | |
> | |
<stix:STIX_Header> | |
<stix:Title>Example watchlist that contains domain information.</stix:Title> | |
<stix:Package_Intent xsi:type="stixVocabs:PackageIntentVocab-1.0">Indicators - Watchlist</stix:Package_Intent> | |
<stix:Handling> | |
<marking:Marking> | |
<!-- Incorrect! As in Pitfall #2, this only marks the top-level indicator. The marking is not inherited by the indicator contents --> | |
<marking:Controlled_Structure>//*[@id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9"]</marking:Controlled_Structure> | |
<marking:Marking_Structure xsi:type="terms:TermsOfUseMarkingStructureType"> | |
<terms:Terms_Of_Use>You marked me!</terms:Terms_Of_Use> | |
</marking:Marking_Structure> | |
</marking:Marking> | |
</stix:Handling> | |
</stix:STIX_Header> | |
<stix:Indicators> | |
<stix:Indicator xsi:type="indicator:IndicatorType" id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9" timestamp="2014-05-08T09:00:00.000000Z"> | |
<indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">Domain Watchlist</indicator:Type> | |
<indicator:Description>Sample domain Indicator for this watchlist</indicator:Description> | |
<indicator:Observable id="example:Observable-87c9a5bb-d005-4b3e-8081-99f720fad62b"> | |
<cybox:Object id="example:Object-12c760ba-cd2c-4f5d-a37d-18212eac7928"> | |
<cybox:Properties xsi:type="DomainNameObj:DomainNameObjectType" type="FQDN"> | |
<DomainNameObj:Value condition="Equals" apply_condition="ANY">malicious1.example.com##comma##malicious2.example.com##comma##malicious3.example.com</DomainNameObj:Value> | |
</cybox:Properties> | |
</cybox:Object> | |
</indicator:Observable> | |
</stix:Indicator> | |
</stix:Indicators> | |
</stix:STIX_Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<stix:STIX_Package | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:stix="http://stix.mitre.org/stix-1" | |
xmlns:indicator="http://stix.mitre.org/Indicator-2" | |
xmlns:cybox="http://cybox.mitre.org/cybox-2" | |
xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" | |
xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" | |
xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" | |
xmlns:marking="http://data-marking.mitre.org/Marking-1" | |
xmlns:terms="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" | |
xmlns:example="http://example.com/" | |
xsi:schemaLocation= | |
"http://stix.mitre.org/stix-1 ../stix_core.xsd | |
http://stix.mitre.org/Indicator-2 ../indicator.xsd | |
http://cybox.mitre.org/default_vocabularies-2 ../cybox/cybox_default_vocabularies.xsd | |
http://stix.mitre.org/default_vocabularies-1 ../stix_default_vocabularies.xsd | |
http://cybox.mitre.org/objects#DomainNameObject-1 ../cybox/objects/Domain_Name_Object.xsd" | |
id="example:STIXPackage-f61cd874-494d-4194-a3e6-6b487dbb6d6e" | |
timestamp="2014-05-08T09:00:00.000000Z" | |
version="1.1.1" | |
> | |
<stix:STIX_Header> | |
<stix:Title>Example watchlist that contains domain information.</stix:Title> | |
<stix:Package_Intent xsi:type="stixVocabs:PackageIntentVocab-1.0">Indicators - Watchlist</stix:Package_Intent> | |
<stix:Handling> | |
<marking:Marking> | |
<!-- Correct, but not ideal. This requires the consumer to understand the namespace prefixes (stix, indicator) that were used in the XPath and appropriately resolve them --> | |
<marking:Controlled_Structure>//stix:Indicator[@id='example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9']/indicator:Description/descendant-or-self::node()</marking:Controlled_Structure> | |
<marking:Marking_Structure xsi:type="terms:TermsOfUseMarkingStructureType"> | |
<terms:Terms_Of_Use>You marked me!</terms:Terms_Of_Use> | |
</marking:Marking_Structure> | |
</marking:Marking> | |
</stix:Handling> | |
</stix:STIX_Header> | |
<stix:Indicators> | |
<stix:Indicator xsi:type="indicator:IndicatorType" id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9" timestamp="2014-05-08T09:00:00.000000Z"> | |
<indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">Domain Watchlist</indicator:Type> | |
<indicator:Description>Sample domain Indicator for this watchlist</indicator:Description> | |
<indicator:Observable id="example:Observable-87c9a5bb-d005-4b3e-8081-99f720fad62b"> | |
<cybox:Object id="example:Object-12c760ba-cd2c-4f5d-a37d-18212eac7928"> | |
<cybox:Properties xsi:type="DomainNameObj:DomainNameObjectType" type="FQDN"> | |
<DomainNameObj:Value condition="Equals" apply_condition="ANY">malicious1.example.com##comma##malicious2.example.com##comma##malicious3.example.com</DomainNameObj:Value> | |
</cybox:Properties> | |
</cybox:Object> | |
</indicator:Observable> | |
</stix:Indicator> | |
</stix:Indicators> | |
</stix:STIX_Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<stix:STIX_Package | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:stix="http://stix.mitre.org/stix-1" | |
xmlns:indicator="http://stix.mitre.org/Indicator-2" | |
xmlns:cybox="http://cybox.mitre.org/cybox-2" | |
xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" | |
xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" | |
xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" | |
xmlns:marking="http://data-marking.mitre.org/Marking-1" | |
xmlns:terms="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" | |
xmlns:example="http://example.com/" | |
xsi:schemaLocation= | |
"http://stix.mitre.org/stix-1 ../stix_core.xsd | |
http://stix.mitre.org/Indicator-2 ../indicator.xsd | |
http://cybox.mitre.org/default_vocabularies-2 ../cybox/cybox_default_vocabularies.xsd | |
http://stix.mitre.org/default_vocabularies-1 ../stix_default_vocabularies.xsd | |
http://cybox.mitre.org/objects#DomainNameObject-1 ../cybox/objects/Domain_Name_Object.xsd" | |
id="example:STIXPackage-f61cd874-494d-4194-a3e6-6b487dbb6d6e" | |
timestamp="2014-05-08T09:00:00.000000Z" | |
version="1.1.1" | |
> | |
<stix:STIX_Header> | |
<stix:Title>Example watchlist that contains domain information.</stix:Title> | |
<stix:Package_Intent xsi:type="stixVocabs:PackageIntentVocab-1.0">Indicators - Watchlist</stix:Package_Intent> | |
<stix:Handling> | |
<marking:Marking> | |
<!-- Incorrect! The namespace prefixes used in the XPath do not match those used in the document. It's very easy to go from #4 to #4.5, which is why #4 is not recommended --> | |
<marking:Controlled_Structure>//ns1:Indicator[@id='ns3:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9']/n2:Description/descendant-or-self::node()</marking:Controlled_Structure> | |
<marking:Marking_Structure xsi:type="terms:TermsOfUseMarkingStructureType"> | |
<terms:Terms_Of_Use>You marked me!</terms:Terms_Of_Use> | |
</marking:Marking_Structure> | |
</marking:Marking> | |
</stix:Handling> | |
</stix:STIX_Header> | |
<stix:Indicators> | |
<stix:Indicator xsi:type="indicator:IndicatorType" id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9" timestamp="2014-05-08T09:00:00.000000Z"> | |
<indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">Domain Watchlist</indicator:Type> | |
<indicator:Description>Sample domain Indicator for this watchlist</indicator:Description> | |
<indicator:Observable id="example:Observable-87c9a5bb-d005-4b3e-8081-99f720fad62b"> | |
<cybox:Object id="example:Object-12c760ba-cd2c-4f5d-a37d-18212eac7928"> | |
<cybox:Properties xsi:type="DomainNameObj:DomainNameObjectType" type="FQDN"> | |
<DomainNameObj:Value condition="Equals" apply_condition="ANY">malicious1.example.com##comma##malicious2.example.com##comma##malicious3.example.com</DomainNameObj:Value> | |
</cybox:Properties> | |
</cybox:Object> | |
</indicator:Observable> | |
</stix:Indicator> | |
</stix:Indicators> | |
</stix:STIX_Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<stix:STIX_Package | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:stix="http://stix.mitre.org/stix-1" | |
xmlns:indicator="http://stix.mitre.org/Indicator-2" | |
xmlns:cybox="http://cybox.mitre.org/cybox-2" | |
xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" | |
xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" | |
xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" | |
xmlns:marking="http://data-marking.mitre.org/Marking-1" | |
xmlns:terms="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" | |
xmlns:example="http://example.com/" | |
xsi:schemaLocation= | |
"http://stix.mitre.org/stix-1 ../stix_core.xsd | |
http://stix.mitre.org/Indicator-2 ../indicator.xsd | |
http://cybox.mitre.org/default_vocabularies-2 ../cybox/cybox_default_vocabularies.xsd | |
http://stix.mitre.org/default_vocabularies-1 ../stix_default_vocabularies.xsd | |
http://cybox.mitre.org/objects#DomainNameObject-1 ../cybox/objects/Domain_Name_Object.xsd" | |
id="example:STIXPackage-f61cd874-494d-4194-a3e6-6b487dbb6d6e" | |
timestamp="2014-05-08T09:00:00.000000Z" | |
version="1.1.1" | |
> | |
<stix:STIX_Header> | |
<stix:Title>Example watchlist that contains domain information.</stix:Title> | |
<stix:Package_Intent xsi:type="stixVocabs:PackageIntentVocab-1.0">Indicators - Watchlist</stix:Package_Intent> | |
<stix:Handling> | |
<marking:Marking> | |
<!-- Correct: This XPath explicitly selects all nodes in the document --> | |
<marking:Controlled_Structure>//node()</marking:Controlled_Structure> | |
<marking:Marking_Structure xsi:type="terms:TermsOfUseMarkingStructureType"> | |
<terms:Terms_Of_Use>You marked me!</terms:Terms_Of_Use> | |
</marking:Marking_Structure> | |
</marking:Marking> | |
</stix:Handling> | |
</stix:STIX_Header> | |
<stix:Indicators> | |
<stix:Indicator xsi:type="indicator:IndicatorType" id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9" timestamp="2014-05-08T09:00:00.000000Z"> | |
<indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">Domain Watchlist</indicator:Type> | |
<indicator:Description>Sample domain Indicator for this watchlist</indicator:Description> | |
<indicator:Observable id="example:Observable-87c9a5bb-d005-4b3e-8081-99f720fad62b"> | |
<cybox:Object id="example:Object-12c760ba-cd2c-4f5d-a37d-18212eac7928"> | |
<cybox:Properties xsi:type="DomainNameObj:DomainNameObjectType" type="FQDN"> | |
<DomainNameObj:Value condition="Equals" apply_condition="ANY">malicious1.example.com##comma##malicious2.example.com##comma##malicious3.example.com</DomainNameObj:Value> | |
</cybox:Properties> | |
</cybox:Object> | |
</indicator:Observable> | |
</stix:Indicator> | |
</stix:Indicators> | |
</stix:STIX_Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<stix:STIX_Package | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:stix="http://stix.mitre.org/stix-1" | |
xmlns:indicator="http://stix.mitre.org/Indicator-2" | |
xmlns:cybox="http://cybox.mitre.org/cybox-2" | |
xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" | |
xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" | |
xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" | |
xmlns:marking="http://data-marking.mitre.org/Marking-1" | |
xmlns:terms="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" | |
xmlns:example="http://example.com/" | |
xsi:schemaLocation= | |
"http://stix.mitre.org/stix-1 ../stix_core.xsd | |
http://stix.mitre.org/Indicator-2 ../indicator.xsd | |
http://cybox.mitre.org/default_vocabularies-2 ../cybox/cybox_default_vocabularies.xsd | |
http://stix.mitre.org/default_vocabularies-1 ../stix_default_vocabularies.xsd | |
http://cybox.mitre.org/objects#DomainNameObject-1 ../cybox/objects/Domain_Name_Object.xsd" | |
id="example:STIXPackage-f61cd874-494d-4194-a3e6-6b487dbb6d6e" | |
timestamp="2014-05-08T09:00:00.000000Z" | |
version="1.1.1" | |
> | |
<stix:STIX_Header> | |
<stix:Title>Example watchlist that contains domain information.</stix:Title> | |
<stix:Package_Intent xsi:type="stixVocabs:PackageIntentVocab-1.0">Indicators - Watchlist</stix:Package_Intent> | |
<stix:Handling> | |
<marking:Marking> | |
<!-- Correct! This explicitly selects the indicator itself and all descendants via the descendent-or-self axis. --> | |
<marking:Controlled_Structure>//*[@id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9"]/descendant-or-self::node()</marking:Controlled_Structure> | |
<marking:Marking_Structure xsi:type="terms:TermsOfUseMarkingStructureType"> | |
<terms:Terms_Of_Use>You marked me!</terms:Terms_Of_Use> | |
</marking:Marking_Structure> | |
</marking:Marking> | |
</stix:Handling> | |
</stix:STIX_Header> | |
<stix:Indicators> | |
<stix:Indicator xsi:type="indicator:IndicatorType" id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9" timestamp="2014-05-08T09:00:00.000000Z"> | |
<indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">Domain Watchlist</indicator:Type> | |
<indicator:Description>Sample domain Indicator for this watchlist</indicator:Description> | |
<indicator:Observable id="example:Observable-87c9a5bb-d005-4b3e-8081-99f720fad62b"> | |
<cybox:Object id="example:Object-12c760ba-cd2c-4f5d-a37d-18212eac7928"> | |
<cybox:Properties xsi:type="DomainNameObj:DomainNameObjectType" type="FQDN"> | |
<DomainNameObj:Value condition="Equals" apply_condition="ANY">malicious1.example.com##comma##malicious2.example.com##comma##malicious3.example.com</DomainNameObj:Value> | |
</cybox:Properties> | |
</cybox:Object> | |
</indicator:Observable> | |
</stix:Indicator> | |
</stix:Indicators> | |
</stix:STIX_Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<stix:STIX_Package | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:stix="http://stix.mitre.org/stix-1" | |
xmlns:indicator="http://stix.mitre.org/Indicator-2" | |
xmlns:cybox="http://cybox.mitre.org/cybox-2" | |
xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" | |
xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" | |
xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" | |
xmlns:marking="http://data-marking.mitre.org/Marking-1" | |
xmlns:terms="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" | |
xmlns:example="http://example.com/" | |
xsi:schemaLocation= | |
"http://stix.mitre.org/stix-1 ../stix_core.xsd | |
http://stix.mitre.org/Indicator-2 ../indicator.xsd | |
http://cybox.mitre.org/default_vocabularies-2 ../cybox/cybox_default_vocabularies.xsd | |
http://stix.mitre.org/default_vocabularies-1 ../stix_default_vocabularies.xsd | |
http://cybox.mitre.org/objects#DomainNameObject-1 ../cybox/objects/Domain_Name_Object.xsd" | |
id="example:STIXPackage-f61cd874-494d-4194-a3e6-6b487dbb6d6e" | |
timestamp="2014-05-08T09:00:00.000000Z" | |
version="1.1.1" | |
> | |
<stix:STIX_Header> | |
<stix:Title>Example watchlist that contains domain information.</stix:Title> | |
<stix:Package_Intent xsi:type="stixVocabs:PackageIntentVocab-1.0">Indicators - Watchlist</stix:Package_Intent> | |
<stix:Handling> | |
<marking:Marking> | |
<!-- Correct! Markings are applied via full namespace URIs, which are not implementation-dependent. --> | |
<marking:Controlled_Structure>//*[local-name()='Indicator' and namespace-uri()='http://stix.mitre.org/stix-1'][@id='example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9']/*[local-name()='Description' and namespace-uri()='http://stix.mitre.org/Indicator-2']/descendant-or-self::node()</marking:Controlled_Structure> | |
<marking:Marking_Structure xsi:type="terms:TermsOfUseMarkingStructureType"> | |
<terms:Terms_Of_Use>You marked me!</terms:Terms_Of_Use> | |
</marking:Marking_Structure> | |
</marking:Marking> | |
</stix:Handling> | |
</stix:STIX_Header> | |
<stix:Indicators> | |
<stix:Indicator xsi:type="indicator:IndicatorType" id="example:Indicator-2e20c5b2-56fa-46cd-9662-8f199c69d2c9" timestamp="2014-05-08T09:00:00.000000Z"> | |
<indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">Domain Watchlist</indicator:Type> | |
<indicator:Description>Sample domain Indicator for this watchlist</indicator:Description> | |
<indicator:Observable id="example:Observable-87c9a5bb-d005-4b3e-8081-99f720fad62b"> | |
<cybox:Object id="example:Object-12c760ba-cd2c-4f5d-a37d-18212eac7928"> | |
<cybox:Properties xsi:type="DomainNameObj:DomainNameObjectType" type="FQDN"> | |
<DomainNameObj:Value condition="Equals" apply_condition="ANY">malicious1.example.com##comma##malicious2.example.com##comma##malicious3.example.com</DomainNameObj:Value> | |
</cybox:Properties> | |
</cybox:Object> | |
</indicator:Observable> | |
</stix:Indicator> | |
</stix:Indicators> | |
</stix:STIX_Package> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment