cybersecurity Request an audit

Threat feed / Open-source, Linux, BSD and host firewalls / Script or API

Block attackers on Windows Defender Firewall with the ACIDRIPP feed

A small scheduled script or an API call keeps the list up to date. The feature is called Firewall rule scope (New-NetFirewallRule / Set-NetFirewallRule -RemoteAddress).

The address to use

https://cybersecurity.acidripp.com/feed/block/strict.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

ProductWindows Defender Firewall
What it acceptsip, cidr, ipv6, range
File format-RemoteAddress takes a string array. Documented formats: single IPv4 or IPv6 address, IPv4/IPv6 subnet by bit count (1.2.3.4/24), IPv4 subnet by mask, IPv4 or IPv6 range (1.2.3.4-1.2.3.7). No file or URL import; a script must feed the list. We can serve a ready PowerShell script.
Limitsnot documented (no per-rule address maximum on the cmdlet page; the script splits the list into rules of 1,000 addresses as a precaution of ours)
NeedsWindows 8 / Server 2012 or later with the NetSecurity PowerShell module; administrator rights.

Add the feed

  1. Manual, small lists only: wf.msc > Inbound Rules > New Rule > Custom > Scope page > "These IP addresses" under remote IP addresses > Add each address > Action: Block the connection.

Commands

# C:\ProgramData\feedblock\update.ps1  (script composed by us; cmdlets and -RemoteAddress formats are from Microsoft Learn)
$Url   = 'https://cybersecurity.acidripp.com/feed/block/strict.plain'
$Group = 'FeedBlock'
$Chunk = 1000   # our choice; Microsoft documents no per-rule address limit
$ips = (Invoke-WebRequest -UseBasicParsing -Uri $Url).Content -split "`n" |
       ForEach-Object { $_.Trim() } |
       Where-Object { $_ -match '^[0-9a-fA-F:.]+(/\d{1,3})?$' } | Select-Object -Unique
if (-not $ips -or @($ips).Count -lt 1) { throw 'feed empty or unreachable, rules left unchanged' }
$ips = @($ips)
$n = [math]::Ceiling($ips.Count / $Chunk)
for ($i = 0; $i -lt $n; $i++) {
  $part = $ips[($i * $Chunk)..([math]::Min(($i + 1) * $Chunk, $ips.Count) - 1)]
  $name = "$Group $i"
  if (Get-NetFirewallRule -DisplayName $name -ErrorAction SilentlyContinue) {
    Set-NetFirewallRule -DisplayName $name -RemoteAddress $part
  } else {
    New-NetFirewallRule -DisplayName $name -Group $Group -Direction Inbound -Action Block -RemoteAddress $part | Out-Null
  }
}
# remove rules left over from a longer list
Get-NetFirewallRule -Group $Group -ErrorAction SilentlyContinue |
  Where-Object { [int]($_.DisplayName -split ' ')[-1] -ge $n } | Remove-NetFirewallRule

# scheduled task, run once in an elevated PowerShell:
$a = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-NoProfile -ExecutionPolicy Bypass -File C:\ProgramData\feedblock\update.ps1'
$t = New-ScheduledTaskTrigger -Once -At (Get-Date) -RepetitionInterval (New-TimeSpan -Minutes 15)
Register-ScheduledTask -TaskName 'FeedBlock' -Action $a -Trigger $t -User 'SYSTEM' -RunLevel Highest

Ready-made file

We also serve this list already in the right shape for this product:

https://cybersecurity.acidripp.com/feed/block/strict.ps1

A PowerShell script that removes and rebuilds the rules named ACIDRIPP block (strict), inbound and outbound. Read it first, then run it as administrator, for example from a scheduled task.

Block with it

  1. The rules use -Action Block -Direction Inbound; block rules win over allow rules.
  2. For outbound blocking create a second set with -Direction Outbound.

Good to know

  • No native feed fetching and no documented list object for plain IP feeds; "dynamic keywords" (New-NetFirewallDynamicKeywordAddress) exist but Microsoft documents them for FQDN auto-resolution and address ranges set by script or MDM, not URL feeds.
  • Set-NetFirewallRule replaces the address list of a rule in one call, so a rule is never left empty.
  • Very large lists make rule updates slow; test with your list size.
  • GlassWire, TinyWall, ZoneAlarm and Comodo: no official IP-list or URL-feed import was checked or found in this research; treat as not supported.

What we could not confirm

  • The script was not run on Windows in this research.
  • A hard limit on addresses per rule: none found in Microsoft documentation; community reports vary.
  • New-ScheduledTaskAction -Argument and Get-NetFirewallRule -Group / Remove-NetFirewallRule pages were not individually read.
  • The wf.msc wizard labels are from memory.
  • The third-party products in the last caveat were not researched in their vendor docs.

Sources

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.