Missing TAXII Collections for MITRE ATT&CK Profile

rcarmack1
Kilo Guru

I recently thought that I would try out the MITRE ATT&CK integration.  After performing all updates, I now see the MITRE ATT&CK TAXII Profile, but do not see any TAXII Collections available. I'm asking for assistance in determining why these didn't get created, or the configurations so that they can be created manually.  

1 ACCEPTED SOLUTION

julian_azaret
ServiceNow Employee
ServiceNow Employee

Hey Ryan,

Really this feature should just work out of box, when you Get TAXII Collections.

After a bit of poking around and consulting my colleagues, the potential causes of a 404 (that we can think of) could be one of the following: 

1. Files got skipped during the upgrade

If files are skipped especially for files in sn_ti, you will not get the latest logic of retrieving the TAXII collections which can potentially cause a 404. So 'Upgrade Summary Report' would be something worth checking.

 

2. TAXII profile has been modified
To check this, compare the XML of your TAXII profile record with the one I have attached here. A modified profile would change the way we form the HTTP request sent to MITRE (endpoint, HTTP method, request headers, etc).

 

3. Network

To check if it is caused by network issue, run the following script in the background script and check the output:

var sm = new sn_ws.RESTMessageV2();

sm.setEndpoint("https://cti-taxii.mitre.org/stix/collections/");

sm.setRequestHeader("Content-Type", "application/json");

sm.setRequestHeader("Accept", "application/vnd.oasis.taxii+json; version=2.0");

sm.setHttpMethod("get");

var response = sm.execute();

var status = response.getStatusCode();

var body = response.getBody();

gs.info(status);

gs.info(body);

 

You should see a similar output as the below screenshot if there is no network issue:

find_real_file.png

 

If none of that works, then you should definitely open a ticket with support, so we can get in and have a look!
Sorry for the inconvenience - this really should be a plug n' play feature.

 

All the best,
J

 

View solution in original post

10 REPLIES 10

julian_azaret
ServiceNow Employee
ServiceNow Employee

Hi Ryan!
I just noticed the same thing in a demo instance I spun up yesterday.

I just used the "Get TAXII collections" related link on the form, and the collections were populated. Have you tried that already?

Hope all's well.

Cheers,

J

 

find_real_file.png

 

Hey Julian!  I did attempt the "Get TAXII Collections", but I receive the error "No data collections found for this profile".

Interesting!

A connection issue will throw the error "Encountered unsuccessful repsonse code: ..."

Other issues might generate the warning log "Encountered error finding collections service.", the error log "Unable to find existing collections.", or "Unable to discover collection service."

Do you see any of those in logs?

 

I see a 404 response in the Outbound HTTP Requests logs, but I'm not seeing anything else just yet.  Any pointers about which System Logs I should examine?