Skip to main content

Export IoCs to TXT

GET
/compromised-host/iocs/export

Exports unique values from all pages: IP addresses first, then domains, then URLs, one per line without headers. Ports are not added separately, and URLs are kept whole. input filters families the same way as the library search; profile_input and the other filters select IoC profiles the same way as the family window. export_types selects artifacts within the matched profiles, including linked IoCs. A family read error aborts the entire export without producing a partial file.

Contract

Parameter
Value
Sectioncompromised-host
AuthenticationCookieAuth
Consumesnot required
Producestext/plain

Parameters

10 parameters

Name
Location
Required
Type
Description
export_typesqueryyesstringComma-separated value types: ip, domain, url; at least one
campaign_idquerynointegerSingle family; cannot be combined with input and test_purpose
inputquerynostringCurrent search in the family library
test_purposequerynoenum(c2_anti_bot, compromised_host_scan)Family test purpose
profile_inputquerynostringCurrent search across IoC profiles
typequerynostringFilter profiles by linked IoC types: ip, domain, url
rolequerynostringComma-separated profile role filter: c2, payload_delivery
protocolquerynostringComma-separated protocol filter: dns, http, https, tcp, raw_udp; raw_tcp is equivalent to tcp
behaviorquerynostringComma-separated replay method filter: dns_query, http_beacon, https_beacon, http_payload_delivery, https_payload_delivery, tcp_connection, url_request, unknown
exchangequerynostringComma-separated exchange template filter: family, universal
  • "c2_anti_bot"

Responses

6 responses

Status
Description
Type
200
UTF-8 TXT, LF line endings, one indicator per linefile
204
No indicators match the selected filters and typesno body
400
Invalid filter, ID, or type listobject
401
Unauthorizedobject
404
Family not foundobject
500
Database error, family read error, or invalid indicatorobject
  • {}
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }