Skip to content

Recorded Future Vulnerability Intelligence Executor

Category: Threat Intelligence Script: recorded_future.py Integration: REST API Faraday Plugin: Raw JSON Website: https://www.recordedfuture.com/platform/vulnerability-intelligence

Description

Imports CVE risk intelligence from Recorded Future into Faraday. You can look up a list of CVEs or browse Recorded Future's vulnerabilities, and each CVE becomes a vulnerability that carries its Recorded Future risk score, evidence and references.

Prerequisites

  • A Recorded Future subscription with access to the Vulnerability Intelligence API
  • A Recorded Future API token
  • requests available in the agent's Python environment (checked with python3 -c 'import requests')

Configuration

Environment Variables (Setup)

Variable Required Description
RF_TOKEN Yes Recorded Future API token, sent in the X-RFToken header
RF_HOST No Recorded Future API URL (default: https://api.recordedfuture.com). Change it only for a mirror or proxy.

These variables are also accepted as execution arguments, so a single run can override them.

Execution Arguments

Parameter Type Mandatory Description
RF_CVE_LIST string No Comma-separated CVE IDs to look up (e.g., CVE-2024-1234, CVE-2023-5678). Duplicates are removed and malformed IDs are skipped with a warning. If empty, the executor browses the Recorded Future vulnerability list instead.
RF_MIN_RISK_SCORE integer No Minimum Recorded Future risk score, from 0 to 99. CVEs below it, and CVEs without a score, are dropped. If empty, all CVEs are imported.

YAML Configuration Example

executors:
  recorded_future:
    repo_executor: recorded_future.py
    max_size: 65536
    varenvs:
      RF_TOKEN: "<rf_token>"
    params:
      RF_CVE_LIST:
        mandatory: false
        type: string
        base: string
      RF_MIN_RISK_SCORE:
        mandatory: false
        type: integer
        base: integer

How It Works

  1. Authenticates with the X-RFToken header
  2. If RF_CVE_LIST is set, looks up each CVE with GET /v2/vulnerability/{cveId}, one request per CVE with a pause of about one second between requests
  3. Otherwise, pages through GET /v2/vulnerability/search, 100 per page. When RF_MIN_RISK_SCORE is set, it is also sent to the API as a filter.
  4. Maps each CVE to a Faraday vulnerability:
    • Name and description: the CVE and its description
    • Severity: from the Recorded Future risk label or score (90 and above critical, 65 high, 25 medium, 5 low, below that info). CVEs without a score are info.
    • Details: risk score, evidence rules, CVSS data, threat lists, and the link to the Recorded Future IntelCard and other references
  5. Groups all vulnerabilities under one host

Notes

  • Recorded Future entries belong to CVEs and not to assets, so all vulnerabilities go under one host with IP 0.0.0.0 and hostname recorded-future. Use them to correlate with the findings of your other tools.
  • When both parameters are set, RF_CVE_LIST takes priority and RF_MIN_RISK_SCORE is applied to the looked-up CVEs.
  • All vulnerabilities are created as open.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor. Use RF_MIN_RISK_SCORE to filter by risk.