A very common method for delivering malware to potential targets is to host it at a particular URL. Targets are then directed to that URL via a phishing e-mail or a link from another site and, when they reach it, are exploited. Sharing lists of malicious URLs can be an effective and cheap way to limit exposure to malicious code.
Scenario
This scenario consists of an indicator for the URL http://x4z9arb.cn/4712/, which is known to be malicious. Unlike the C2 beaconing and Malware hash idioms, in this scenario the organization creating the indicator does not have any specific context and so chooses to just represent the indicator without additional context. Though it’s suggested that some context always be given with an indicator if possible, in this case the organization does not have enough additional context to add anything.
Data model
Because this indicator doesn’t include any context (see scenario above), the indicator itself is the only top-level component. Within the indicator, the URL is represented as a URI Object with the Type set to “URL” and the Value set to the malicious URL itself (http://x4z9arb.cn/4712/).
<stix:Indicatorid="example:Indicator-d81f86b9-975b-bc0b-775e-810c5ad45a4f"xsi:type='indicator:IndicatorType'><indicator:Title>Malicious site hosting downloader</indicator:Title><indicator:Typexsi:type="stixVocabs:IndicatorTypeVocab-1.0">URL Watchlist</indicator:Type><indicator:Observableid="example:Observable-ee59c28e-d922-480e-9b7b-a79502696505"><cybox:Objectid="example:URI-b13ae3fc-80af-49c2-9de9-f713abc070ba"><cybox:Propertiesxsi:type="URIObj:URIObjectType"type="URL"><URIObj:Valuecondition="Equals">http://x4z9arb.cn/4712</URIObj:Value></cybox:Properties></cybox:Object></indicator:Observable></stix:Indicator>
1
2
3
4
5
6
7
8
9
10
11
12
indicator=Indicator()indicator.id_="example:package-382ded87-52c9-4644-bab0-ad3168cbad50"indicator.title="Malicious site hosting downloader"indicator.add_indicator_type("URL Watchlist")url=URI()url.value="http://x4z9arb.cn/4712"url.type_=URI.TYPE_URLurl.condition="Equals"indicator.add_observable(url)print(indicator.to_xml(encoding=None))