Free plan available. Set up in minutes with the collectors you already use. Start free
Logthread

Guide

IP intelligence: is this address malicious, and how do I block it?

IP intelligence answers three questions about the addresses in your logs: is this address malicious, which addresses are scanning my site, and how do I block one. Nothing about an address leaves Logthread: the answers come from the enrichment added as records arrive (location, network owner, cloud and proxy ranges, threat feeds), your own traffic, and your incidents and anomalies.

It works best with GeoIP and threat intel turned on under Data in → Enrichment. Without them the verdict still reads your traffic and incidents, but it cannot say whose network an address belongs to.

The verdict#

Open any address: select it in an Explore record (the chip beside it shows the verdict when you point at it), or open it from Every dimension. Its value page has an IP intelligence card with the verdict, the reasons, the facts and Block.

Every reason names where it comes from, for example:

  • "probed /.env, /.git/config and /wp-login.php (12 probe paths) in nginx";
  • "a server at AWS" (enrichment);
  • "61% of 4,200 requests were 404" (nginx);
  • "on the abuse.ch Feodo Tracker (botnet C2) list as a botnet command server" (threat feeds).

The rules are fixed and checked in this order, so the same evidence always gives the same answer:

VerdictWhen
Proxy or CDNA proxy or CDN edge address, such as a Cloudflare, Akamai or Fastly edge. It carries many visitors' traffic, so it gets no verdict of its own and cannot be blocked: open the client address behind it.
MaliciousOn a botnet threat feed as that address, or 5 or more different probe paths, or an open critical detection incident names it, or a Tor exit that requested any probe path.
SuspiciousA Tor exit; a cloud or VPN address with automated traffic (a behaviour finding, or 1,000 or more requests of which at least half were 4xx); or 1 to 4 probe paths.
Looks safeA home or mobile network (a large consumer ISP or mobile carrier), ordinary traffic and no findings.
UnknownFewer than 5 lines in the range, or nothing above decides: an office, university or other network is never called safe by default, and without GeoIP the network is not known.

A threat feed only counts against the address it names: a record where a laptop called a botnet server (destination.address) flags the server, not the laptop.

The read covers the range you choose, at most 7 days (default 24 hours).

This value across all your sources#

The value page also shows where the value appears in every service and source, matched by value rather than by field name. An address is matched through logthread.geo.ip too, the client address GeoIP chose from any IP field (the real client of a proxy chain), so an nginx line with an X-Forwarded-For chain and an SSH sign-in from the same address meet. For each source: the lines, the share of 4xx and 5xx, failures and failed sign-ins, WAF blocks, probe paths, the event categories, the hosts, and first and last seen, each linking to its lines in Explore. The Situations, incidents and risk that name it come with it, in one line:

"34.206.108.84: 4,200 nginx requests (61% 404, 12 probe paths), 30 failed sign-ins on web-01 (linux-auth), 3 WAF blocks, in Situation #812, risk 72".

This works for any value, not only addresses: a user, an order id or a session id.

Field analytics#

On Every dimension, a field's own value page adds analytics by type:

  • An IP field: the verdict of each of its top addresses, its countries and networks, and the share of cloud, proxy and Tor addresses.
  • A URL or path field: its top routes with ids templated (/products/{id}), the 5xx rate and 4xx of each, the slowest routes, and probe hits.

Who is scanning my site#

Security → SIEM has a Who is scanning my site card: the client addresses that requested known probe paths in the last 24 hours (as of the last quarter hour), most paths first, each with its verdict, reasons and Block. Proxy and CDN addresses are never listed. A probe path is one no real visitor asks for on most sites: about 35 of them, such as /.env, /.git/, /wp-login.php, /wp-admin, /xmlrpc.php, /phpmyadmin, /.aws/credentials, /server-status, /actuator, /vendor/phpunit, /cgi-bin/, /.DS_Store, /config.json, /backup and /admin.php. A path matches at its start (/wp-admin/install.php is a probe; /wp-administrator is not), and the secret files anywhere (/api/.env). The card reads exactly what the detection reads: the request path in url.path (the WAF connectors and the nginx, apache and waf-audit parsers write it) and the client address GeoIP chose (logthread.geo.ip, the real client behind a proxy chain), so turn on GeoIP for it.

The detection Web scanner probing for weak spots (web-scanner-probes) opens an incident when one address asks for 5 or more different probe paths within 15 minutes, grouped by logthread.geo.ip and reading url.path. A person who opens /admin once never counts. Turn it on from Security → SIEM.

Block an address#

Block never blocks anything by itself: a person chooses it, and with a WAF an admin approves it.

  • With a connected Azure WAF (Azure WAF management), Block proposes a custom rule that blocks the address (RemoteAddr IPMatch, action Block) with an expiry (1 hour to 30 days, default 7 days) as a WAF change. An admin approves it under the WAF changes; then the Azure CLI, Terraform and Bicep are shown to apply, with the command that removes it when it expires. With more than one WAF policy, you choose which.
  • With no WAF connected, Block gives a copyable nginx deny line and a Cloudflare custom-rule expression with the steps:
deny 34.206.108.84;
(ip.src eq 34.206.108.84)

Private and reserved addresses cannot be blocked this way: blocking them at the edge does nothing. Proxy and CDN edge addresses are refused too: blocking one would cut off real visitors. An address counts as one when it is in a proxy range of the enrichment feeds (Cloudflare's and Amazon CloudFront's published edge ranges), on a CDN's network (Cloudflare, Akamai, Fastly), or stamped as a proxy in your own records of the last 24 hours. Azure WAF custom rules have no expiry of their own, so when a block's expiry passes while its rule is still in the policy, Home shows "Block on 34.206.108.84 expired: remove it at your WAF" until it is removed.

Only owners and admins propose a block; everyone can see verdicts. People limited to part of the data cannot open IP intelligence: it reads the whole workspace.

API and MCP#

  • GET /api/ip/verdict?ip=&from=&to=: the verdict, reasons, facts and the address across sources.
  • GET /api/values/across?field=&value=&from=&to=: any value across sources.
  • GET /api/ip/scanners?hours=24: who is scanning.
  • GET /api/ip/field?field= and GET /api/web/routes?field=: field analytics.
  • GET /api/ip/block?ip= and POST /api/ip/block (ip, hours, target_id, reason): the ways to block, and a proposal.

The MCP tools ip_verdict, value_across_sources, scanning_ips and block_ip give agents the same answers (MCP); list_dimensions with field gives the field analytics. Ask Pari "which IPs are scanning my site?" to get the list with verdicts.