📌 Part of Blueprint: Production Self-Hosted Infrastructure → L4: SecOps, CI/CD & Disaster Recovery

How I Write an IP Abuse Report: From RDAP Lookup to Abuse Desk

· 7 min read · Tutorials rdapabuse-reportsecuritynetworkingincident-responsecert

An abuse report has one primary recipient: the network that can map an address to a customer. A platform vendor can disable an account; a national CERT can sometimes coordinate; a hosting provider can identify who was using the address at a given time. Only the last one can usually answer the question that matters.

RDAP is the authoritative starting point. It is the JSON successor to WHOIS, and it returns the network registration, the organization and the abuse contacts. The query is a plain HTTPS GET; no API key is required. The generic entry point follows the address to the responsible regional registry:

curl -sL "https://rdap.org/ip/<address>" > rdap.json

-L matters. rdap.db.ripe.net is authoritative for the RIPE NCC service region, not for APNIC, ARIN or LACNIC. The generic endpoint redirects to the correct registry; without -L, a non-RIPE address can return a redirect body instead of a registration.

The fields I read first:

handle          network handle
startAddress    first address in the block
endAddress      last address in the block
name            network name
country         registration country
entities[]      contacts, each with a roles array
  roles         "abuse", "administrative", "technical"
  vcardArray    contact details, including email

The abuse entity is not always the hosting provider’s main support address. It can be a dedicated abuse desk, a reseller, or an upstream transit provider. The autnum lookup gives the ASN holder and its own abuse contact:

curl -sL "https://rdap.org/autnum/<asn>" > asn.json

Not every /ip/ response includes the originating ASN. If it is absent, a route lookup is needed before autnum: RIPEstat, Team Cymru or a BGP looking glass can map the prefix to its origin. Treating the network name as the ASN is a shortcut that produces the wrong contact.

A four-line extraction for the abuse email:

jq -r '.entities[]?
  | select(.roles[]? == "abuse")
  | .vcardArray[1][]?
  | select(.[0] == "email") | .[3]' rdap.json

Two checks prevent a wasted report:

Build the Evidence Before the Email

The report needs a small, reproducible evidence set. The exact fields depend on the service, but the minimum is five:

FieldExample shape
Network and ASNaddress block plus origin ASN
Abuse contactthe abuse role from RDAP or the ASN record
UTC window2026-01-15T08:00:00Z to 2026-01-15T09:00:00Z
Request evidencecount, method, path, status, User-Agent
Effectwrite operations, records changed, amount charged

The example dates are placeholders, not a real case. The UTC window must be the event window, not the time the report is written.

Before any log from the infrastructure I manage leaves the network, I strip it:

The hosting provider does not need any key fragment to trace an IP assignment. Even a prefix and the last four characters stay out of the email, the attachment and the case note. The account owner already knows which key was affected.

The reply address should be a dedicated security or operations mailbox. A personal phone number belongs in the message only if the provider asks for it; many abuse systems forward the body to the reported customer, and the report should not hand over the reporter’s contact details by default.

The Email That Gets a Case Number

The subject carries the identifiers the abuse desk will search for:

Abuse report — <address> (<ASN>): unauthorized access on <date>

The body is a one-screen template:

1. Network: <prefix> / <ASN>, source <RDAP URL>.
2. Window: <start>Z to <end>Z (UTC).
3. Evidence: <N> requests, <methods>; first/last timestamp; attached CSV.
4. Effect: <writes / records / amount>.
5. Request: preserve connection logs for the window plus 24 hours on each
   side, identify the customer assigned the address, and reply with a case
   number. Suspend only if the acceptable-use policy was violated.
6. No credential value is included in this message or its attachments.

The request list matters more than the narrative. An abuse desk cannot act on “suspicious activity”; it can act on a timestamp, a path and a status. The same report should ask for logs covering the window plus 24 hours on each side, because the provider’s retention may be shorter than the investigation.

A restrained closing keeps the report inside its evidence boundary:

This report does not ask the provider to determine who is legally responsible.
It asks the provider to confirm which customer was assigned the address at the
times above and to preserve the connection records for that window.

That wording avoids two common failures: claiming an identity the evidence cannot prove, and asking a hosting provider to run an investigation it has no authority to run.

Escalate Only After the First Hop

The provider is the first hop, not the whole path. The other recipients have different powers:

Sending the same report to every party at once creates four mail threads and no owner. In practice, I contact the hosting provider first and notify the service vendor in parallel; I escalate to a CERT or law enforcement only when those two cannot stop the abuse or resolve the loss. A payment dispute, if needed, runs on its own track with its own evidence.

One Clean Follow-Up

A provider reply can take days. The follow-up is one message after 72 hours, quoting the case number and adding only new facts. It should not re-send the full evidence pack or ask the same question in different words.

Whenever I send a report, I archive five items locally:

The local record is what makes the report reproducible. RDAP data changes when a block is reassigned; the saved JSON proves what the lookup returned on the day of the report.

The Minimum Pack

A complete report has five fields — network and ASN, abuse contact, UTC window, request evidence and effect — and three attachments at most: the provider alert, the redacted request CSV and the billing evidence when a charge exists. The first follow-up is at 72 hours, with the case number and new facts only.

The report is not a demand for attribution. It is a request for the one thing the network can verify: which customer held the address during the window. That is also the boundary that keeps the evidence credible.

💼 Work With Me

Looking for high-impact engineering work or custom systems?

From front-end web apps down to edge proxies and container automation. Open to serious freelance client projects and senior engineering roles.

Lee Teong Hoe

Lee Teong Hoe · Mr Hoelee

Full-stack developer & DevOps engineer based in Malaysia. I run my own production infrastructure and build web systems for small businesses — this blog is the living record.

Hiring? Profile & stack · Malaysian SME? Website design & development ↗ · All posts