TH

ThreatFox

global API

ThreatFox

Type: threat
Module: ThreatFox

Capabilities

IOC Submission IOC Search Malware Family Lookup Tag-Based Search Bulk Export STIX/TAXII Feed

Try ThreatFox

API Endpoint

Results

Overview

ThreatFox is an open threat intelligence platform operated by abuse.ch, a well-respected Swiss non-profit research project affiliated with the Institute for Cybersecurity and Engineering at Bern University of Applied Sciences. ThreatFox enables security researchers worldwide to share indicators of compromise (IOCs) associated with malware, including command-and-control (C2) server addresses, botnet infrastructure, payload delivery URLs, and file hashes. Each IOC is tagged with the associated malware family, threat type, confidence level, and MITRE ATT&CK technique identifiers.

For OSINT and threat intelligence analysts, ThreatFox provides a high-quality, community-curated source of malware IOCs that is particularly strong for tracking botnet infrastructure, ransomware C2 servers, and commodity malware campaigns. Its association with abuse.ch's other projects -- URLhaus (malicious URL tracking), Malware Bazaar (malware sample repository), Feodo Tracker (banking trojan C2 tracking), and SSL Blacklist (malicious SSL certificate identification) -- provides a comprehensive malware intelligence ecosystem that covers the full lifecycle of malware operations.

ThreatFox distinguishes itself from commercial threat intelligence feeds through its community-driven model and its focus on operational IOCs that enable immediate defensive action. Every IOC in ThreatFox is submitted by a security researcher with specific context about the malware family, the role of the indicator (C2, payload delivery, data exfiltration), and its confidence level. This contextual richness makes ThreatFox particularly valuable for automated alert triage: when a security alert matches a ThreatFox IOC, the analyst immediately knows the malware family, the attack technique, and the indicator's role in the attack chain.

The platform supports multiple integration formats including its native JSON API, STIX/TAXII feeds for standardized threat intelligence sharing, bulk CSV exports for SIEM ingestion, and daily data dumps for offline processing. This flexibility makes ThreatFox suitable for environments ranging from manual analyst lookups to fully automated SOC pipelines.

Data Sources and Coverage

ThreatFox aggregates IOCs from security researchers worldwide, with particular strength in tracking commodity malware and botnet infrastructure.

IOC TypeDescriptionVolume
IP:PortC2 server addresses with specific port numbersThousands active
DomainMalicious domains used in campaigns (C2, phishing, distribution)Thousands active
URLFull URLs for payload delivery, phishing pages, and C2 callbacksThousands active
MD5 HashMD5 file hashes of malware samplesGrowing collection
SHA256 HashSHA-256 file hashes of malware samplesGrowing collection

Malware Family Coverage

Family CategoryNotable FamiliesIOC Types
Banking TrojansEmotet, Dridex, TrickBot, QakBot, IcedIDC2 IPs, payload URLs
RansomwareConti, LockBit, BlackCat, Hive, RoyalC2 IPs, negotiation sites
RATsAsyncRAT, Remcos, NjRAT, AgentTesla, RedLineC2 domains, payload URLs
LoadersBumbleBee, Gootloader, SocGholish, BatloaderDistribution URLs, C2
Info StealersRaccoon, Vidar, Mars, Arkei, AuroraC2 servers, exfiltration endpoints
BotnetsMirai, Mozi, Tsunami, HajimeC2 infrastructure
APT ToolsCobaltStrike, Sliver, Brute Ratel, MetasploitBeacon C2 servers

Threat Type Classification

Threat TypeDescriptionMITRE ATT&CK Mapping
botnet_ccBotnet command-and-control serverT1071 - Application Layer Protocol
cc_skimmingCredit card skimming infrastructureT1185 - Browser Session Hijacking
payload_deliveryMalware download and distribution URLsT1105 - Ingress Tool Transfer
exe_hashExecutable file hash (malware sample)T1204 - User Execution
document_hashMalicious document hashT1566 - Phishing

API Integration

ThreatFox provides a free JSON API at https://threatfox-api.abuse.ch/api/v1/ with no authentication required for most endpoints. The API supports IOC queries, submissions, and bulk operations.

API Endpoints

EndpointMethodDescription
/api/v1/ (query)POSTQuery IOCs by indicator value
/api/v1/ (search_ioc)POSTSearch IOCs by various criteria
/api/v1/ (search_hash)POSTSearch by malware hash
/api/v1/ (search_tag)POSTSearch by tag/malware family
/api/v1/ (get_iocs)POSTGet IOCs by date range
/api/v1/ (submit)POSTSubmit new IOCs (requires API key)
/api/v1/ (malware)POSTGet all IOCs for a malware family
/api/v1/ (taginfo)POSTGet IOC count per tag
/export/json/recent/GETRecent IOCs in JSON format
/export/csv/recent/GETRecent IOCs in CSV format
/downloads/GETBulk data dumps (full database)

Integration Formats

FormatEndpointUse Case
JSON API/api/v1/Programmatic lookups and queries
STIX/TAXIITAXII server at abuse.chStandardized TI sharing integration
CSV Export/export/csv/SIEM rule generation, blocklist import
JSON Export/export/json/Automated pipeline ingestion
Daily Dump/downloads/Offline analysis, local mirror

Query Examples

curl Examples

# Query a specific indicator
curl -X POST "https://threatfox-api.abuse.ch/api/v1/" \
  -d '{"query": "search_ioc", "search_term": "1.2.3.4"}'

# Get all IOCs for a malware family
curl -X POST "https://threatfox-api.abuse.ch/api/v1/" \
  -d '{"query": "malwareinfo", "malware": "win.cobalt_strike"}'

# Search by tag
curl -X POST "https://threatfox-api.abuse.ch/api/v1/" \
  -d '{"query": "taginfo", "tag": "CobaltStrike"}'

# Get recent IOCs (last 3 days)
curl -X POST "https://threatfox-api.abuse.ch/api/v1/" \
  -d '{"query": "get_iocs", "days": 3}'

# Search by malware hash
curl -X POST "https://threatfox-api.abuse.ch/api/v1/" \
  -d '{"query": "search_hash", "hash": "abc123def456..."}'

# Submit a new IOC (requires API key)
curl -X POST "https://threatfox-api.abuse.ch/api/v1/" \
  -d '{
    "query": "submit_ioc",
    "threat_type": "botnet_cc",
    "ioc_type": "ip:port",
    "malware": "win.cobalt_strike",
    "confidence_level": 75,
    "reference": "https://example.com/analysis",
    "tags": ["CobaltStrike", "beacon"],
    "iocs": ["1.2.3.4:443", "5.6.7.8:8080"],
    "auth_key": "YOUR_API_KEY"
  }'

# Download recent IOCs as CSV (for SIEM import)
curl -O "https://threatfox.abuse.ch/export/csv/recent/"

# Download full IOC database
curl -O "https://threatfox.abuse.ch/downloads/threatfox_full.json.zip"

Elixir Integration

# Query a specific indicator
{:ok, ioc} = PrismaticOsint.ThreatFox.query("1.2.3.4:443")
# => %{
#   id: "12345",
#   ioc: "1.2.3.4:443",
#   ioc_type: "ip:port",
#   threat_type: "botnet_cc",
#   malware: "win.cobalt_strike",
#   malware_printable: "CobaltStrike",
#   confidence_level: 90,
#   first_seen: ~U[2026-01-15 10:30:00Z],
#   last_seen: ~U[2026-02-10 08:15:00Z],
#   reporter: "abuse_ch",
#   tags: ["CobaltStrike", "beacon", "c2"],
#   reference: "https://example.com/analysis",
#   malware_malpedia: "https://malpedia.caad.fkie.fraunhofer.de/details/win.cobalt_strike"
# }

# Get all IOCs for a malware family
{:ok, iocs} = PrismaticOsint.ThreatFox.by_malware("win.cobalt_strike",
  limit: 100
)
# => %{
#   malware: "win.cobalt_strike",
#   total: 2347,
#   iocs: [
#     %{ioc: "1.2.3.4:443", type: "ip:port", confidence: 90,
#       first_seen: ~U[2026-01-15 10:30:00Z]},
#     %{ioc: "evil-domain.com", type: "domain", confidence: 85,
#       first_seen: ~U[2026-01-20 14:00:00Z]}
#   ]
# }

# Get recent IOCs for threat feed integration
{:ok, recent} = PrismaticOsint.ThreatFox.recent(days: 1)
# => %{total: 234, iocs: [...]}

# Search by tag
{:ok, tagged} = PrismaticOsint.ThreatFox.by_tag("Emotet", limit: 50)

# Bulk lookup for incident response triage
indicators = ["1.2.3.4", "evil.com", "abc123..."]
{:ok, results} = PrismaticOsint.ThreatFox.bulk_lookup(indicators)
# => [%{indicator: "1.2.3.4", found: true, malware: "CobaltStrike", confidence: 90},
#     %{indicator: "evil.com", found: true, malware: "Emotet", confidence: 85},
#     %{indicator: "abc123...", found: false}]

# Submit verified IOCs from investigation
{:ok, submission} = PrismaticOsint.ThreatFox.submit([
  %{ioc: "9.8.7.6:4443", type: "ip:port", malware: "win.cobalt_strike",
    threat_type: "botnet_cc", confidence: 80, tags: ["CobaltStrike"]}
])

# Cross-reference with other abuse.ch services
{:ok, enriched} = PrismaticOsint.Pipeline.abuse_ch_enrichment("1.2.3.4",
  sources: [:threatfox, :urlhaus, :feodotracker, :sslbl]
)

Data Schema

FieldTypeDescription
idintegerUnique ThreatFox IOC identifier
iocstringIndicator value (IP:port, domain, URL, hash)
ioc_typeenumip:port, domain, url, md5_hash, sha256_hash
threat_typeenumbotnet_cc, cc_skimming, payload_delivery, exe_hash, document_hash
threat_type_descstringHuman-readable threat type description
malwarestringMalware family identifier (Malpedia format: win.cobalt_strike)
malware_printablestringHuman-readable malware name
malware_aliasstringAlternative names for the malware
malware_malpediastringURL to Malpedia entry for the malware
confidence_levelintegerConfidence score (0-100)
first_seen_utcdatetimeFirst observation timestamp
last_seen_utcdatetimeMost recent observation timestamp
reporterstringUsername of the IOC submitter
referencestringURL to analysis or report
tagsarrayAssociated tags (malware names, techniques, campaigns)
ioc_idintegerInternal IOC identifier

Use Cases

SOC Alert Enrichment

When security operations centers receive alerts from firewalls, IDS/IPS, or endpoint detection tools, ThreatFox provides immediate context for observed indicators. Matching an alert against ThreatFox reveals the malware family involved, the role of the indicator in the attack chain (C2 server, payload delivery, exfiltration endpoint), and the confidence level of the attribution. This context enables rapid triage and prioritization of security alerts.

Threat Feed Integration

ThreatFox's structured IOC data integrates directly into SIEMs, firewalls, and threat intelligence platforms as a high-quality blocking feed. The CSV export format is compatible with most SIEM platforms, while STIX/TAXII integration enables standardized threat intelligence sharing with TIP platforms like MISP, OpenCTI, and commercial alternatives.

Malware Campaign Tracking

By querying all IOCs associated with a specific malware family, analysts track the infrastructure evolution of malware campaigns over time. This reveals new C2 servers as they come online, infrastructure rotation patterns, and the geographic distribution of command-and-control infrastructure.

Incident Response Triage

During incident response, ThreatFox enables rapid identification of malware families from observed network indicators. When forensic analysis reveals outbound connections to suspicious IPs or domains, ThreatFox lookups immediately identify the malware family and provide links to detailed analysis reports.

Proactive Blocking

Organizations integrate ThreatFox's daily feed into their firewalls and proxy servers to proactively block connections to known C2 infrastructure. The confidence scoring enables tiered blocking: high-confidence IOCs are blocked automatically, while medium-confidence IOCs trigger alerts for manual review.

Red Team Detection

ThreatFox's extensive coverage of offensive security tool C2 infrastructure (CobaltStrike, Sliver, Brute Ratel) enables blue teams to detect red team and adversary use of these tools through C2 beacon detection and infrastructure matching.

Limitations

LimitationImpactMitigation
Community-dependent qualityIOC quality varies by submitterUse confidence scores for filtering; validate high-impact IOCs
Focus on commodity malwareAPT and targeted attack coverage limitedSupplement with commercial threat intelligence feeds
No enrichmentRaw IOCs without passive DNS, WHOIS, or infrastructure contextEnrich with Pulsedive, VirusTotal
Time-limited relevanceC2 infrastructure rotates frequently; IOCs may become staleFocus on recent IOCs; implement time-based expiration
Limited historical analysisDatabase focused on active threats, not historical campaignsUse MISP for long-term threat tracking
False positive riskSome IOCs may be shared hosting or CDN IPsValidate context before blocking; check for shared infrastructure

Open Source Intelligence: ThreatFox data is freely available for defensive security purposes. All IOCs are contributed by security researchers voluntarily, and the platform is explicitly designed to support community defense against malware.

IOC Submission Ethics: When submitting IOCs to ThreatFox, ensure the indicators are from legitimate security research and analysis. Do not submit indicators from unauthorized access or compromised systems without proper authorization.

Blocking Considerations: Before implementing ThreatFox IOCs as blocking rules, validate that the indicators are not shared hosting IPs or CDN addresses that could cause collateral blocking of legitimate services.

Attribution Limitations: ThreatFox provides malware family attribution but not threat actor attribution. Malware family identification should not be conflated with attribution to specific nation-state or criminal groups without additional corroborating intelligence.

Integration with Prismatic Platform

Within the Prismatic Platform, ThreatFox serves as a specialized malware intelligence source within the threat intelligence pipeline.

  • IOC Enrichment: ThreatFox data is automatically queried during IOC enrichment, providing malware family attribution and confidence scoring for observed indicators.
  • Cross-Source Validation: ThreatFox IOCs are cross-referenced with AlienVault OTX, VirusTotal, Pulsedive, and AbuseIPDB for multi-source validation.
  • Abuse.ch Ecosystem: The platform integrates ThreatFox alongside URLhaus, Malware Bazaar, and Feodo Tracker for comprehensive abuse.ch intelligence coverage.
  • Feed Synchronization: Daily ThreatFox feeds are synchronized to the platform's local threat intelligence database for low-latency lookups.
  • MITRE ATT&CK Mapping: ThreatFox's technique identifiers feed into the platform's ATT&CK coverage analysis, showing which techniques are actively observed in the threat landscape.
  • Alert Classification: ThreatFox malware family tagging enables automated classification of security alerts, reducing analyst triage time.

Best Practices

  1. Filter by confidence level: Use ThreatFox's confidence scores to implement tiered responses -- block high-confidence IOCs automatically, alert on medium-confidence IOCs for manual review.

  2. Implement time-based expiration: C2 infrastructure rotates frequently. Set expiration periods for ThreatFox IOCs in your blocking rules (e.g., 30-90 days for IP addresses, longer for domains).

  3. Cross-reference before blocking: Before blocking an IP or domain from ThreatFox, verify it is not a shared hosting IP or CDN address that could cause collateral damage.

  4. Subscribe to daily feeds: Rather than querying individual IOCs, subscribe to ThreatFox's daily export for comprehensive, up-to-date coverage.

  5. Contribute back: If your incident response or threat hunting activities identify new C2 infrastructure, submit verified IOCs back to ThreatFox to strengthen community defense.

  6. Use Malpedia links: ThreatFox includes links to Malpedia entries for each malware family. Use these links to understand malware capabilities and TTPs.

  7. Combine with abuse.ch ecosystem: ThreatFox is most powerful when used alongside URLhaus (for URL context), Malware Bazaar (for sample analysis), and Feodo Tracker (for banking trojan specifics).

  • AlienVault OTX - Community threat intelligence with pulses
  • VirusTotal - Multi-engine malware analysis for hash validation
  • Pulsedive - Threat intelligence enrichment and risk scoring
  • AbuseIPDB - IP abuse reporting and reputation
  • MISP - Structured threat intelligence sharing platform
  • GreyNoise - Scanner and noise identification
  • URLScan - URL and website analysis

Connect & Contribute

Created by Tomáš Korcak (korczis) | Open Source under GHL