MineMeld for importing STIX XML files

L1 Bithead

MineMeld for importing STIX XML files

Hey guys,

 

I hope you are all doing great.

Its my first touch to both STIX XML files and MindMeld, so I was hoping to get a shed of light with at least if it is possible?

 

I am trying to find a way to import manually a STIX file (which I have attached) to the MindMeld so that it can feed my VM-100 FWs, is that possible and how can I accomplish it?

Thanks in advance for your awesomeness!

Best regards,
Petar

L5 Sessionator

Re: MineMeld for importing STIX XML files

Hi @petartrifonov,

 

how often do you need to feed such a file content to MineMeld?

 

I'd suggest pipelining it through a xslt transformation to extract the indicators and the push the result to MineMeld using its localDB miner API.

 

For example, the following XSLT file extract the indicators in the file you just shared.

 

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:AddressObj="http://cybox.mitre.org/objects#AddressObject-2"
	xmlns:indicator="http://stix.mitre.org/Indicator-2"
	xmlns:stix="http://stix.mitre.org/stix-1"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<xsl:output method="text" omit-xml-declaration="yes" />

<xsl:template match="//stix:Indicator/indicator:Observable//AddressObj:Address_Value">
<xsl:value-of select="." />
    <xsl:text>&#xa;</xsl:text>
</xsl:template>

<xsl:template match="node()|@*">
  <xsl:apply-templates select="node()|@*"/>
</xsl:template>

</xsl:stylesheet>

Pipeline example:

 

xhoms$ cat TA18-149A.stix.xml | xsltproc stixx_address.xslt -
181.1.253.234
200.82.62.24
81.243.151.226
81.247.219.196
138.204.211.197
...

 

 

L1 Bithead

Re: MineMeld for importing STIX XML files

Hey @xhoms,

 

Really appreciate the help!

 

Can you provide me instructions how to pipeline it through a xslt transformation to extract the indicators and the push the result to MineMeld using its localDB miner API?

Sorry for the pain-in-the-arse, but I am really kinda new to this method of feed.

 

Thanks in advance.

 

Best regards,

Petar Trifonov

L1 Bithead

Re: MineMeld for importing STIX XML files

Sorry for the split reply.

 

However, this is not extracting the MD5 of the detected files. Any ideas?

 

Thanks!

 

 

BR,

Petar

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!