https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.txt Open raw list Description
Filter list covering malware. Format: IPs (IPv4). Maintained by Ming Di Leom. 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://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.txt Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.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://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.txt" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="urlhaus-filter (dnscrypt-proxy IPs)"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="urlhaus-filter (dnscrypt-proxy IPs)"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="urlhaus-filter (dnscrypt-proxy IPs)" 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://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.txt Manual with nftables
wget -qO /tmp/blocklist.txt "https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.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://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.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://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.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://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.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://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.txt curl -fsSL "https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-dnscrypt-blocked-ips-online.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:"urlhaus-filter (dnscrypt-proxy IPs) match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Recent changes
Recently added entries
- 1.62.169.8
- 103.159.152.118
- 103.238.235.250
- 103.43.128.123
- 105.224.36.188
- 107.172.238.46
- 108.170.136.155
- 109.104.189.244
- 109.207.217.114
- 110.86.189.180
- 112.173.233.246
- 112.242.63.35
- 112.248.113.232
- 112.248.190.135
- 113.233.109.131
- 113.238.161.233
- 113.239.221.12
- 114.242.100.72
- 115.178.100.190
- 115.48.146.56
- 115.48.152.72
- 115.63.148.253
- 116.58.51.90
- 117.216.139.127
- 118.179.121.235
Recently removed entries
- 101.43.49.183
- 103.171.168.74
- 103.210.144.11
- 103.54.153.49
- 103.78.81.106
- 105.184.5.89
- 109.166.211.222
- 110.136.97.168
- 110.138.188.141
- 110.186.231.245
- 112.248.114.43
- 112.93.137.160
- 113.232.204.218
- 113.238.193.62
- 113.53.69.165
- 114.227.65.166
- 114.228.131.9
- 115.151.137.9
- 115.48.151.23
- 115.48.163.254
- 115.49.64.47
- 115.55.197.99
- 115.55.246.245
- 115.57.61.62
- 115.58.171.58
