-
Open your POSTMAN REST API Client.
-
Set the client to make a POST command to the this URL.
-
Click on Authorization, select Basic Auth, and type in your username and password.
-
Click Send.
- From the response copy the following for future API calls:
-
X-auth-access-token: you need to add this token header to every request sent using FMC REST API.
-
X-auth-refresh-token: is needed to refresh the token.
-
DOMAIN_UUID: this needs to be added to every Rest API route.
-
Open another tab in Postman and fill in the values as shown in the screenshot below:
-
Select POST operation and add the route where
e276abec-e0f2-11e3-8169-6d9ed49b625f
is the DOMAIN_UUID obtained from the generate token step. -
In the header add:
-
Key:
X-auth-access-token Value
. Paste the value obtained from the generate token step. -
Key:
X-auth-refresh-token Value
. Paste the value obtained from the generate token step. -
Body: Select raw text and paste the sample JSON into it.
-
-
Important: Change the name of the feed from
WannaCry
to something unique. Then click send. -
A successful post operation returns a 201 OK.
{
"name": "WannaCry",
"uri": "https://cisco.box.com/shared/static/hxlc1d1r8u3naaj876mqwucuqjuywx01.txt",
"feedType": "stix",
"feedContent": "stix",
"delivery": "url",
"refresh": 1440,
"version": "1.0.0",
"downloadOn": true,
"params": {
"selfSignedServerCertificate": "false",
"hostnameVerifier": "allow_all"
},
"property": {
"ttl": 90,
"publish": true,
"action": "monitor"
}
}
6. Optionally, to create a simple IP intelligence source located at:
https://cisco.box.com/shared/static/phef4u63td7bxcgkgyt1vk5vrm461jcf.txt
Follow the steps in 1, 2 and 3 but use the JSON text below
7. Important: Change the name of the feed from TorIpList to something unique
8. Important: Change the name of the feed from TorIpList to something unique
9. Click send
10. A successful post operation returns a 201 OK.
{
"name": "TorIpList",
"uri":"https://cisco.box.com/shared/static/phef4u63td7bxcgkgyt1vk5vrm461jcf.txt",
"feedType": "flatfile",
"feedContent": "IPV_4_ADDR",
"delivery": "url",
"refresh": 1440,
"version": "1.0.0",
"downloadOn": true,
"params": {
"selfSignedServerCertificate": "false",
"hostnameVerifier": "allow_all"
},
"property": {
"ttl": 90,
"publish": true,
"action": "monitor"
}
}
Indicators (also known as Indicators of Compromise) convey specific Observable patterns, combined with contextual information intended to represent artifacts and/or behaviors of interest within a cyber security context. They contain one or more Observables in simple or complex relationships.
- To see all Indicators of Compromise downloaded by TID, a GET ALL operation can be performed as shown below:
-
To retrieve a specific indicator, an objectId needs to be provided for the Get operation. For ex: https://cisco-tid.cisco.com/api/fmc_tid/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/tid/indicator/objectId
-
More complex queries can be run on the data to get enhanced results. The screenshot below shows a query to get all indicators ingested in the last one hour by specifying a filter, sorted by
updatedAt
time field. The first 40 results matching the criteria are to be returned, with all links expanded.Sample Get Request: https://cisco-tid.cisco.com/api/fmc_tid/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/tid/indicator?filter=updatedAt:1496077717..1498419195&sort=-updatedAt&limit=40&expanded=true
Following are the key/value pairs:
KEY | VALUE |
---|---|
filter | updatedAt: 1496077717..1498419195 |
sort | -updatedAt |
expanded | true |
limit | 40 |
Observables represent stateful properties or measurable events pertinent to the operation of computers and networks. For example, IPs, Domains, URLs, File SHA’s, etc. Follow the steps described in the Indicators of Compromise section.
Sample Get Request: https://cisco-tid.cisco.com/api/fmc_tid/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/tid/observable?filter=updatedAt:1496077717..1498419195&sort=-updatedAt&limit=40&expanded=true
Incidents are discrete instances of indicators affecting an organization, along with information discovered or decided during an incident response investigation.
Follow the steps described in the Indicators of Compromise section.
Sample Get Request: https://cisco-tid.cisco.com/api/fmc_tid/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/tid/incident?filter=updatedAt: 1498077717..1498419195&sort=-updatedAt&limit=40&expanded=true