This feature is only available for the Platform plan users.
The Maltiverse API provides a structured way for users to upload and manage Indicators of Compromise (IoCs) such as IPv4 addresses, hostnames, URLs, and samples (identified by hashes like MD5, SHA1, SHA256, SHA512). This article details how to use the Maltiverse API, specifically focusing on uploading IoCs, based on the OpenAPI specification version 3.0.0.
To use the Maltiverse API, you need:
All API requests must be authenticated using your API key. Include the token in the Authorization header of your HTTP request. To fetch you API key, follow these steps:
/ip/{ipv4}IpItem object containing details about the IPv4 IoC./hostname/{hostname}HostnameItem object containing details about the hostname IoC./url/{urlchecksum}UrlItem object containing URL IoC details./sample/{sha256}SampleItem object with details about the sample.The JSON you upload needs to be compliant with the structure defined in the API specification. You can review and try out the JSON structure in our API documentation.
It is required you always add the field blacklist.source with your team name, as you only can publish IoCs under your attribution.
Upon successful upload, the API typically returns a status code of 200 (OK) or 201 (Created). If there are issues with the request, such as invalid IoC format or authentication problems, the API will respond with appropriate HTTP status codes (e.g., 400 Bad Request, 401 Unauthorized, 500 Internal Server Error).
You can find a working script example in Maltiverse Github repository.