Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Identify issue w/ LinkObject namespace #20

Description

@mghenderson

Using the following snippet in the STIX.py schema, I was able to map a LinkObject in STIX. However, it seems that the Indicator is created incorrectly, with the Properties element of the Observable Object having an incorrect namespace of LinkObj instead of cybox.

Created Indicator
<stix:Indicator id="CFM:Indicator-indicator-28c8a3f7-0837-11e6-bcfd-eccd6dca155c" timestamp="2016-04-25T14:46:31+00:00" xsi:type='indicator:IndicatorType' version="2.1.1">
    <indicator:Title>Malicious Link Indicator</indicator:Title>
    <indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">URL Watchlist</indicator:Type>
    <indicator:Description>Embedded Link</indicator:Description>
    <indicator:Observable id="CFM:Observable-8b57eea7-d16c-4a0d-a3f6-b866a334a188">
        <cybox:Object id="CFM:Object-28c8a3f8-0837-11e6-91da-eccd6dca155c">
            <LinkObj:Properties xsi:type="LinkObj:LinkObjectType">
                <URIObj:Value condition="Equals">http://www.malware.com/test/link</URIObj:Value>
            </LinkObj:Properties>
        </cybox:Object>
    </indicator:Observable>
</stix:Indicator>
Corrected Indicator
<stix:Indicator id="CFM:Indicator-indicator-28c8a3f7-0837-11e6-bcfd-eccd6dca155c" timestamp="2016-04-25T14:46:31+00:00" xsi:type='indicator:IndicatorType' version="2.1.1">
    <indicator:Title>Malicious Link Indicator</indicator:Title>
    <indicator:Type xsi:type="stixVocabs:IndicatorTypeVocab-1.1">URL Watchlist</indicator:Type>
    <indicator:Description>Embedded Link</indicator:Description>
    <indicator:Observable id="CFM:Observable-8b57eea7-d16c-4a0d-a3f6-b866a334a188">
        <cybox:Object id="CFM:Object-28c8a3f8-0837-11e6-91da-eccd6dca155c">
            <cybox:Properties xsi:type="LinkObj:LinkObjectType">
                <URIObj:Value condition="Equals">http://www.malware.com/test/link</URIObj:Value>
            </cybox:Properties>
        </cybox:Object>
    </indicator:Observable>
</stix:Indicator>
Schema element in stix.json
"observable_object_link_value": {
    "description": "The malicious link object information",
    "valuemap": "observable;object;properties;value;value",
    "datatype": "string",
    "required": false,
    "requiredIfReferenceField": "observable_object_xsitype",
    "requiredIfReferenceValuesMatch": [ "LinkObjectType" ],
    "ontologyMappingType": "simple",
    "ontologyMapping": "http://www.anl.gov/cfm/transform.owl#LinkObjectIndicatorSemanticComponent"
}

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions