https://www.binarydefense.com/banlist.txt Open raw list Description
Filter list covering malware. Format: IPs (IPv4). See the project homepage for details and inclusion criteria.
Integration
- Go to Firewall → pfBlockerNG → DNSBL → DNSBL Groups (or IP for IP lists).
- Click Add, give the group a name and add the URL below as source (Format: Auto).
- Save, then run Update → Force Reload.
https://www.binarydefense.com/banlist.txt Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://www.binarydefense.com/banlist.txt" dst-path=blocklist.rsc
/import blocklist.rsc If the list is a plain text file with one address or CIDR per line, convert it first:
/tool fetch url="https://www.binarydefense.com/banlist.txt" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="Binary Defense Systems Artillery Threat Intelligence Feed and Banlist Feed"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="Binary Defense Systems Artillery Threat Intelligence Feed and Banlist Feed"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="Binary Defense Systems Artillery Threat Intelligence Feed and Banlist Feed" Schedule the fetch with /system scheduler to keep the list current. Very large lists consume RAM, so check the available memory of your device first.
banIP (recommended)
- Install the package:
opkg update && opkg install banip luci-app-banip - Open LuCI → Services → banIP → Feeds and add a custom feed with the URL below.
- Enable the feed and click Save & Apply.
https://www.binarydefense.com/banlist.txt Manual with nftables
wget -qO /tmp/blocklist.txt "https://www.binarydefense.com/banlist.txt"
nft add set inet fw4 blocklist { type ipv4_addr; flags interval; }
nft -f - <<EOF
$(awk '!/^[#;]/ && NF {print "add element inet fw4 blocklist { " $1 " }"}' /tmp/blocklist.txt)
EOF
nft add rule inet fw4 forward ip saddr @blocklist drop ipset create blocklist hash:net -exist
curl -fsSL "https://www.binarydefense.com/banlist.txt" | grep -Eo '^[0-9]{1,3}(.[0-9]{1,3}){3}(/[0-9]{1,2})?' |
while read -r net; do ipset add blocklist "$net" -exist; done
iptables -I INPUT -m set --match-set blocklist src -j DROP
iptables -I FORWARD -m set --match-set blocklist src -j DROP Persist the set and re-run the download from cron to keep it current:
ipset save blocklist -f /etc/ipset.blocklist
# /etc/cron.daily/blocklist
Add the list as an ipset in /etc/firehol/firehol.conf:
ipset4 create blocklist hash:net
ipset4 addfile blocklist "https://www.binarydefense.com/banlist.txt"
blacklist4 full inface any src ipset:blocklist Reload with firehol try and confirm before making it permanent.
- Go to Firewall → Aliases and click +.
- Choose type URL Table (IPs), set a refresh interval (for example 1 day) and paste the URL below.
- Save and apply, then use the alias as source in a block rule under Firewall → Rules.
https://www.binarydefense.com/banlist.txt - Go to Firewall → pfBlockerNG → IP → IPv4 and click Add.
- Paste the URL below as source, set State to ON and pick the action (Deny Both is the usual choice).
- Save, then run Update → Force Reload → IP.
https://www.binarydefense.com/banlist.txt curl -fsSL "https://www.binarydefense.com/banlist.txt" -o /var/lib/suricata/data/blocklist.txt Reference the file from a rule using a dataset:
alert ip [!$HOME_NET] any -> $HOME_NET any (msg:"Binary Defense Systems Artillery Threat Intelligence Feed and Banlist Feed match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Recent changes
Recently added entries
- 16.5.0.179
- 16.5.0.193
- 20.14.93.240
- 20.172.68.78
- 31.77.219.118
- 36.32.3.224
- 45.74.28.232
- 45.86.208.115
- 45.86.208.123
- 45.225.135.21
- 47.250.180.183
- 54.213.101.209
- 60.208.176.243
- 62.60.130.242
- 64.227.15.156
- 66.132.224.231
- 66.240.223.240
- 69.55.62.54
- 74.118.172.101
- 80.94.95.115
- 80.94.95.116
- 89.109.4.241
- 104.152.52.128
- 104.152.52.131
- 104.152.52.136
Recently removed entries
- 1.7.51.205
- 1.15.14.29
- 1.71.91.53
- 2.57.17.8
- 2.57.17.25
- 2.57.17.53
- 2.57.17.68
- 2.57.17.81
- 2.57.17.90
- 2.57.17.123
- 2.57.17.124
- 2.57.17.158
- 2.57.17.167
- 2.57.17.179
- 2.57.17.185
- 2.57.17.196
- 2.57.17.197
- 2.57.17.219
- 2.57.122.76
- 2.57.122.150
- 2.57.122.168
- 2.57.122.238
- 3.85.30.112
- 3.91.159.225
- 3.101.142.98
