Threat feed / Cloud and SASE firewalls / Script or API
Block attackers on Google Cloud NGFW with the ACIDRIPP feed
A small scheduled script or an API call keeps the list up to date. The feature is called Address groups (network-security address-groups) referenced in firewall policy rules.
The address to use
https://cybersecurity.acidripp.com/feed/block/strict-v4.plain
This is the strict list: addresses that got into our decoys, ran commands there or brought malware in the last 14 days. It is small and safe to block. For more coverage, replace strict in the address with standard (also addresses that tried passwords) or wide (also every scanner). What each list holds, and every format, is on the threat feed page.
Before you start
| Product | Google Cloud NGFW (Cloud Next Generation Firewall) |
|---|---|
| What it accepts | ip, cidr, ipv6 |
| File format | Cloud NGFW does not pull a URL. A scheduled job (Cloud Scheduler + Cloud Run function, or cron with gcloud) adds and removes items in an address group. An address group holds IP addresses and CIDR ranges, is either IPv4 or IPv6 (type fixed at creation), is project-scoped or organization-scoped, and has a capacity fixed at creation. Rules reference it with --src-address-groups (ingress) or --dest-address-groups (egress). Changes to the group apply automatically to every rule that references it. Google Threat Intelligence lists in rules are predefined Google lists only (for example iplist-known-malicious-ips, iplist-tor-exit-nodes); the docs describe no way to add your own list there. |
| Limits | Maximum 1,000 IP addresses per address group used by Cloud NGFW. The group's capacity counts toward the firewall policy's rule attribute quota. FQDNs: max 100 per firewall rule (cannot be increased). Number of address groups per project/organization is a quota without a number on the page read. |
| Needs | Network firewall policies or hierarchical firewall policies (address groups do not work with legacy VPC firewall rules). Project-scoped groups work only in global and regional network firewall policies; organization-scoped groups also work in hierarchical policies. The address group location must match the policy location (global or the region). gcloud CLI. |
Add the feed
- Create the address group (IPv4 or IPv6, capacity up to 1,000, location matching the policy).
- To change members in the console: click the address group name, click Edit, modify the items, click Save.
- Go to the Firewall policies page, select the project, click the policy.
- In the Firewall rules section click Create firewall rule; set Priority, Direction of traffic, Action on match = Deny.
- Under Source filters (ingress) or Destination (egress) choose Address groups and select the group; set Protocols and ports; click Create.
- On the Associations tab click Add association and select the VPC networks.
Commands
curl -s https://cybersecurity.acidripp.com/feed/block/strict-v4.plain -o feed.txt
# create once
gcloud network-security address-groups create feed-block --location=global --type=IPV4 --capacity=1000 --description="threat feed"
# sync on a schedule
gcloud network-security address-groups add-items feed-block \
--items 198.51.100.7,203.0.113.0/24 \
--location global
gcloud network-security address-groups remove-items feed-block \
--items 192.0.2.9 \
--location global
Block with it
- Ingress block: gcloud compute network-firewall-policies rules create 100 --firewall-policy=POLICY_NAME --global-firewall-policy --direction=INGRESS --action=deny --layer4-configs=all --src-address-groups=feed-block
- Egress block: same command with --direction=EGRESS and --dest-address-groups=feed-block.
- Associate the policy: gcloud compute network-firewall-policies associations create --firewall-policy POLICY_NAME --network NETWORK_NAME --global-firewall-policy
Good to know
- 1,000 addresses per address group is a hard ceiling for Cloud NGFW, so a large feed needs several groups (each consumes rule attribute quota) or aggregation.
- One group cannot mix IPv4 and IPv6.
- --src-address-groups only works with INGRESS and --dest-address-groups only with EGRESS.
- If a referenced address group does not exist, the address group filter is removed from the rule.
- Domains: rules accept FQDN objects (max 100 per rule) but there is no list object for domains fed from outside; URL filtering needs security profiles, not covered here.
- Do not put several Google Threat Intelligence lists in one rule if you need to tell them apart in logs (logging is per rule).
What we could not confirm
- Which Cloud NGFW tier (Essentials or Standard) is required for address groups and for Threat Intelligence lists was not stated on the pages read.
- Console steps for creating a new address group were not on the page read (only the edit steps).
- --layer4-configs=all is an assumption; the docs read show values such as tcp:443.
- Numeric values of the rule attribute quota per policy and of the address groups per project quota.
- Whether --src-address-groups takes the short name or needs the full resource path (the guide says 'address group URL identifiers').
Sources
- https://docs.cloud.google.com/firewall/docs/address-groups-firewall-policies
- https://docs.cloud.google.com/firewall/docs/use-address-groups-firewall-policies
- https://docs.cloud.google.com/firewall/docs/quotas
- https://docs.cloud.google.com/firewall/docs/firewall-policies-rule-details
- https://docs.cloud.google.com/firewall/docs/threat-intelligence-overview
- https://docs.cloud.google.com/firewall/docs/use-network-firewall-policies
- https://docs.cloud.google.com/sdk/gcloud/reference/network-security/address-groups/create
- https://docs.cloud.google.com/sdk/gcloud/reference/compute/network-firewall-policies/rules/create
Most steps were checked against the vendor's documentation; the points above were not on 30 November 2026. They were not tested on a device: menus move between versions, so check against your own. Found a mistake? Write to audit@acidripp.com. The feed comes with no guarantee; test before you block production traffic.