KORTHVEILSecurity firewall
Guides

Threat intelligence: block known bad addresses

Download as PDF All guides

Security › Intrusion prevention › Threat intelligence blocks connections to and from addresses on public blocklists (botnet servers, attackers, hijacked networks), for IPv4 and IPv6.

The same page also watches the devices you choose for connections from the internet that reach them, and alerts you: see the guide Watch your devices for access from the internet.

Turn on feeds

  1. Open Security › Intrusion prevention › Threat intelligence and turn the add-in on.
  2. Under Built-in feeds, enable the feeds you want. Nothing is downloaded until you enable a feed and commit. Each feed shows its provider's licence: check it fits your use (some are non-commercial).
Feed What it lists Good for
Spamhaus DROP (IPv4 and IPv6) hijacked and criminal networks everyone (recommended)
abuse.ch Feodo Tracker botnet control servers everyone (recommended)
IPsum level 3 addresses on at least 3 public lists a broad list with few false alarms
blocklist.de servers that attacked others in the last 48 h (IPv4 and IPv6) inbound protection
CINS Army addresses with bad reputation inbound protection
Emerging Threats compromised hosts known compromised hosts everyone
DShield, FireHOL level 1 top attackers, aggregate non-commercial use only
Tor exit nodes everyone using Tor inbound only, where anonymous access is not wanted
Built-in feeds, each with its provider's licence
Built-in feeds, each with its provider's licence
  1. Refresh every (hours): how often each feed is downloaded (each has a minimum the provider asks for).
  2. Custom feeds: your own lists over HTTPS (one address, prefix or range per line, CSV or JSON lines).

Indicator feeds: STIX/TAXII and file hashes

Korthveil 1.5.4 and later. Sharing groups and security vendors publish indicators as STIX 2.1 objects on a TAXII 2.1 server, and some publish lists of malware file hashes. Under Indicator feeds you add them:

  • Addresses and networks (IPv4 and IPv6) are blocked here, with the blocklist feeds.
  • Domains (and the host of a URL) are blocked by the DNS resolver, when its DNS filtering is on.
  • File hashes (MD5, SHA-1, SHA-256) are blocked by Gateway anti-virus: a download or a mail attachment with a listed hash is stopped. While Gateway anti-virus is off, the page says the hashes are kept but not used.

Add a TAXII collection

  1. Press Add TAXII collection.
  2. Name: a short name, for example corp-taxii.
  3. Discovery URL: the address your provider gives, for example https://taxii.example/taxii2/. Leave API root empty to use the server's default.
  4. Authentication: None, User name and password, or API key (with its Header, X-API-Key unless your provider says otherwise; for a bearer token enter Authorization and Bearer <token>). Passwords and keys are stored as secrets: they are never shown again, logged or exported.
  5. CA certificate: only for a server with a private CA: paste the CA's certificate (PEM, -----BEGIN CERTIFICATE-----).
  6. Press Find collections and choose the collection, or type its id (for example 91a7b528-80eb-42ed-a74d-c6fbd5a26116).
  7. Poll every (minutes) (default 60), Most objects per poll (default 10000; a longer backlog continues 5 minutes later), Requests per minute (default 30, so the server is never flooded) and Expire after (days) (default 30, for indicators without an end date).
Indicator feeds: a TAXII collection with its collections found
Indicator feeds: a TAXII collection with its collections found

Add a file-hash list

  1. Press Add file-hash list.
  2. Name (for example hash-list) and the list's HTTPS URL (for example https://intel.example/sha256.txt): one hash per line, MD5, SHA-1 or SHA-256 (the length tells which), # comments allowed.
  3. Poll every (minutes) (default 360) and Expire after (days): if the list cannot be downloaded any more, its hashes stop blocking that many days after the last good download.

Press Save to pending changes, then commit.

What each feed holds

Indicator status shows for each feed the indicators in force by type (IPv4, IPv6, domains, MD5, SHA-1, SHA-256), the last poll and how many objects it read, and:

  • Skipped: indicators whose pattern Korthveil does not use (patterns with AND, limited in time, or of other kinds such as ports or e-mail addresses). They are counted, never an error.
  • Expired: indicators past their end date (valid_until, or Expire after without one).
  • Revoked: indicators the provider withdrew.
  • Over the cap: indicators not kept because Most indicators kept (all feeds) was reached (default 200000).
  • Status: an error from the last poll, for example the TAXII server refused the credentials (HTTP 401). The indicators already held keep working until they expire.
Indicator status: counts by type, last poll, skipped, expired and revoked
Indicator status: counts by type, last poll, skipped, expired and revoked

Look up an address also takes a domain (for example www.malware.example) or a file hash, and names the indicator feeds that list it. For an IPv4 or IPv6 address it also names the indicator (from 1.5.6), for example 192.0.2.66 is blocked (listed in corp-taxii (indicator indicator--8e2e2d2b-17d4-4cbf-938f-98ee46b3cd3f for 192.0.2.66)). Before 1.5.6 an address that only an indicator feed listed was shown as in no feed, although it was blocked.

Enforcement

  • Choose Inbound, Outbound or both, and whether to Protect the firewall itself.
  • Outbound action: Drop silently or Reject (clients fail at once).
  • Keep Never block private and special-use ranges on, so a feed can never cut off your own networks.
  • Allowlist and Devices never blocked always pass.
  • From 1.7.4, when a feed update lists a new address, connections already open with it end at once, in the directions you block; a device on Devices never blocked (or another never-block list) and the firewall's protected servers keep theirs. Monitoring › Logs & audit › Audit log shows each clear as connections.clear by threat intelligence.
  • Log blocked connections to see them in Monitoring › Traffic log and, from 1.5.6, on Security › Live attacks: one line per listed address, device and direction, with a count and the feeds that list the address. At most 10 blocks a second per direction are logged. See the Live attacks guide.
Enforcement settings
Enforcement settings

Press Save to pending changes, then commit. Feeds download within a minute; Feed status shows the count of addresses and the last update for each.

Check an address

Look up an address says which feeds list it, the blocklist feeds and the indicator feeds with their indicators, and whether it is blocked. Attack alerts and Under attack now on Security › Live attacks name the same feeds and indicators.

An address on Spamhaus DROP is blocked; Feed status shows each feed's prefixes and last update
An address on Spamhaus DROP is blocked; Feed status shows each feed's prefixes and last update

Download as PDF All guides