Skip to content

CrowdStrike Falcon Intel Indicators Executor

Category: Threat Intelligence Script: crowdstrike_intel.py Integration: REST API (OAuth2) Faraday Plugin: Raw JSON Website: https://www.crowdstrike.com/falcon-platform/falcon-intelligence/

Description

Imports indicators of compromise (IOCs) of one type from CrowdStrike Falcon Intelligence into Faraday. Each indicator becomes a vulnerability with its confidence, threat actors, malware families and linked CVEs.

Prerequisites

  • A CrowdStrike Falcon Intelligence subscription
  • A Falcon API client (client ID and secret) with read access to Intel indicators
  • Python requests module available to the agent

Configuration

Environment Variables (Setup)

Variable Required Description
FALCON_CLIENT_ID Yes Falcon API client ID
FALCON_CLIENT_SECRET Yes Falcon API client secret
FALCON_HOST No Falcon API URL for your cloud region (default: https://api.crowdstrike.com). For example https://api.us-2.crowdstrike.com or https://api.eu-1.crowdstrike.com.

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

Execution Arguments

Parameter Type Mandatory Description
INTEL_INDICATOR_TYPE string Yes Indicator type to import: hash_md5, hash_sha256, ip_address, domain or url. Any other value stops the run.
INTEL_MAX_RESULTS integer No Maximum number of indicators to import (default: 500, maximum: 10000)

YAML Configuration Example

executors:
  crowdstrike_intel:
    repo_executor: crowdstrike_intel.py
    max_size: 65536
    varenvs:
      FALCON_HOST: "https://api.crowdstrike.com"
      FALCON_CLIENT_ID: "<client_id>"
      FALCON_CLIENT_SECRET: "<client_secret>"
    params:
      INTEL_INDICATOR_TYPE:
        mandatory: true
        type: string
        base: string
      INTEL_MAX_RESULTS:
        mandatory: false
        type: integer
        base: integer

How It Works

  1. Requests an access token from {FALCON_HOST}/oauth2/token using the client credentials flow
  2. Reads indicators from GET {FALCON_HOST}/intel/combined/indicators/v1, filtered by type and sorted by last update (most recent first), until INTEL_MAX_RESULTS is reached
  3. Creates one vulnerability per indicator with its value, type, confidence, actors, malware families, kill chain stages, threat types, report IDs and linked CVEs
  4. Maps the malicious confidence to severity (high = high, medium = medium, low = low, unverified or missing = info). Indicators attributed to a threat actor, or flagged as actionOnObjectives, go up one severity level.
  5. Uses a blocking recommendation (perimeter and EDR for domains, IPs and URLs; EDR/AV for hashes) as the resolution. All vulnerabilities are open.

Notes

  • All vulnerabilities are placed under a single host with IP 0.0.0.0 and hostname crowdstrike-intel, tagged crowdstrike-intel, because indicators are not tied to hosts.
  • The run stops if the credentials are missing or authentication fails.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor.