Skip to content

Group-IB Threat Intelligence Executor

Category: Threat Intelligence Script: groupib.py Integration: REST API Faraday Plugin: Raw JSON Website: https://www.group-ib.com/products/threat-intelligence/

Description

Imports compromised credential records or phishing attack records from Group-IB Threat Intelligence into Faraday. Each record becomes a vulnerability under a single host.

Prerequisites

  • A Group-IB Threat Intelligence account with API access
  • A Group-IB API user and API key (Profile -> API)

Configuration

Environment Variables (Setup)

Variable Required Description
GROUPIB_USER Yes Group-IB API user
GROUPIB_HOST No Group-IB API URL (default: https://tap.group-ib.com)
GROUPIB_API_KEY Yes Group-IB API key

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

Execution Arguments

Parameter Type Mandatory Description
GROUPIB_FEED_TYPE string Yes Feed to import: compromised_account (leaked credentials) or phishing
GROUPIB_LIMIT integer No Records requested per page, from 1 to 500 (default: 100)

YAML Configuration Example

executors:
  groupib:
    repo_executor: groupib.py
    max_size: 65536
    varenvs:
      GROUPIB_USER: "<groupib_user>"
      GROUPIB_API_KEY: "<groupib_api_key>"
    params:
      GROUPIB_FEED_TYPE:
        mandatory: true
        type: string
        base: string
      GROUPIB_LIMIT:
        mandatory: false
        type: integer
        base: integer

How It Works

  1. Authenticates with HTTP Basic using GROUPIB_USER and GROUPIB_API_KEY
  2. Reads the feed selected by GROUPIB_FEED_TYPE, /api/v2/compromised/account or /api/v2/attacks/phishing, page by page with GROUPIB_LIMIT records per request
  3. Creates one vulnerability per record and sets its severity:
    • Compromised accounts: high; critical when the password is leaked in plaintext and tied to one of your assets; info when already mitigated, revoked or rotated
    • Phishing: Group-IB's Low/Medium/High label; critical when the attack is active and targets a named brand; info when blocked or taken down
  4. Puts all vulnerabilities under one host

Notes

  • The host has the synthetic IP 0.0.0.0 and the hostname groupib, because these records belong to your accounts and brands rather than to a host.
  • The leaked password itself is not copied into Faraday; only whether it is plaintext or a hash.
  • The executor imports at most 5,000 records per run. All vulnerabilities are imported as open.
  • The executor exits with an error if GROUPIB_FEED_TYPE is not a valid value.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor.