Skip to content

Feeds: add NetAPI phishing domains and attacking IPs - #2731

Open
slavaolesik wants to merge 5 commits into
certtools:developfrom
slavaolesik:add-netapi-feeds
Open

slavaolesik wants to merge 5 commits into
certtools:developfrom
slavaolesik:add-netapi-feeds

Conversation

@slavaolesik

@slavaolesik slavaolesik commented Oct 16, 2026 •

Copy link
Copy Markdown

Hi,

This adds two free NetAPI feeds to intelmq/etc/feeds.yaml, using the HTTP collector and the generic CSV parser, as described in "Adding Feeds".

  • Phishing Domains: https://netapi.com/api2/?method=compromised&dataset_type=url&sinkholes=0&format=csv, 128,376 domains today. Phishing and scam domains from the CERT Polska list of dangerous domains, plus NetAPI's own detection of domains that share name servers, an IP address or a homepage redirect with them. classification.type is phishing, time.source is the last day the domain was confirmed, extra.threat_type the source and extra.evidence the shared infrastructure. Details: https://netapi.com/compromised-urls/
  • Attacking IPs: https://netapi.com/api2/?method=compromised&dataset_type=ip&format=csv, about 41,500 addresses today. The IPv4 addresses that attacked NetAPI's own honeypot sensors in the last 48 hours, updated every hour. About 73% of them are in none of blocklist.de, CINS, GreenSnow and IPsum. The category of the address sets classification.type (A infection attempt: infected-system, B login brute force: brute-force, C exploit or probe for secrets: exploit, D form spam: spam), time.source is the last attack, and each row carries the attack types, country, ASN and AS name. Adding &country=<cc> to the URL gives the addresses of one country, like the URLhaus country feeds. Details: https://netapi.com/compromised-ips/

Both need no account or token, CC BY 4.0.

Tested on today's full files with the generic CSV parser through intelmq.lib.test.BotTestCase (develop, Python 3.12): 128,376 of 128,376 domain rows and 41,428 of 41,428 IP rows became valid events, with no errors or warnings. intelmq/tests/test_conf.py passes.

One thing I noticed while testing: the parser parameter for static fields is default_fields (ParserBot in intelmq/lib/bot.py). The example under "Parser Bots" in docs/user/bots.md and seven feeds in feeds.yaml (ViriBack, University of Toulouse, CERT-Bund, cAPTure, CyberCrime Tracker, PrecisionSec, Benkow) write defaults_fields, which the bot ignores, so those events come out without the static classification.type. This PR uses default_fields. I can fix the others in a separate PR if you want.

Thanks for IntelMQ!
Slava

Disclosure: I run NetAPI.

Add two free NetAPI feeds (compromised domains and compromised IPs) to
feeds.yaml. Both are plain text with one indicator per line and no
header, so the existing HTTP collector and the generic CSV parser with
a single column are enough; no new bot is needed. The lists are
updated daily, hence rate_limit 86400.
@slavaolesik slavaolesik changed the title Feeds: add NetAPI compromised domains and IPs Feeds: add NetAPI compromised domains Oct 27, 2026
@slavaolesik

Copy link
Copy Markdown
Author

Update: NetAPI has stopped publishing its compromised IP feed, so I removed the IP feed from this PR. It now adds only the domain feed, and the description is updated.

@slavaolesik slavaolesik changed the title Feeds: add NetAPI compromised domains Feeds: add NetAPI compromised domains and IPs Oct 28, 2026
@slavaolesik

Copy link
Copy Markdown
Author

Update: NetAPI keeps its compromised IP feed after all, so I put the IP part of this PR back as it was first submitted. Sorry for the back and forth.

@slavaolesik

Copy link
Copy Markdown
Author

Update: the IP feed is now NetAPI's own: the addresses that attacked the sensors of NetAPI Nightwatch, NetAPI's own honeypot network, instead of a compilation of third-party blocklists. It is updated every hour, so the IP collector now has rate_limit: 3600, and its description says what the feed holds. The URL and the format are unchanged.

Use the CSV versions of both NetAPI feeds so that events get
time.source, a classification.type per row and the network fields.
The domain feed is phishing only (CERT Polska and NetAPI's related
domains, without sinkholed domains). The IP feed maps the attack
category to classification.type. Static fields use default_fields,
the parameter name ParserBot reads.
@slavaolesik slavaolesik changed the title Feeds: add NetAPI compromised domains and IPs Feeds: add NetAPI phishing domains and attacking IPs Nov 27, 2026
@slavaolesik

Copy link
Copy Markdown
Author

Update: both feeds now use the CSV versions, so events get time.source, a classification.type per row and the network fields instead of a single column. The domain feed is now phishing only (CERT Polska data and NetAPI's own related-domain detection, 48 hours) and is named accordingly. The description above is rewritten and has the test results.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant