/ipsum

Daily feed of bad IPs (with blacklist hit scores)

Logo

License

About

IPsum is a threat intelligence feed based on 30+ different publicly available lists of suspicious and/or malicious IP addresses. All lists are automatically retrieved and parsed on a daily (24h) basis and the final result is pushed to this repository. List is made of IP addresses together with a total number of (black)list occurrence (for each). Greater the number, lesser the chance of false positive detection and/or dropping in (inbound) monitored traffic. Also, list is sorted from most (problematic) to least occurent IP addresses.

As an example, to get a fresh and ready-to-deploy auto-ban list of "bad IPs" that appear on at least 3 (black)lists you can run:

curl --compressed https://raw.githubusercontent.com/stamparm/ipsum/master/ipsum.txt 2>/dev/null | grep -v "#" | grep -v -E "\s[1-2]$" | cut -f 1

If you want to try it with ipset, you can do the following:

sudo su
apt-get -qq install iptables ipset
ipset -q flush ipsum
ipset -q create ipsum hash:net
for ip in $(curl --compressed https://raw.githubusercontent.com/stamparm/ipsum/master/ipsum.txt 2>/dev/null | grep -v "#" | grep -v -E "\s[1-2]$" | cut -f 1); do ipset add ipsum $ip; done
iptables -I INPUT -m set --match-set ipsum src -j DROP

In directory levels you can find preprocessed raw IP lists based on number of blacklist occurrences (e.g. levels/3.txt holds IP addresses that can be found on 3 or more blacklists).

Wall of shame (2020-10-15)

IP DNS lookup Number of (black)lists
54.38.81.231 ns31251136.ip-54-38-81.eu 7
162.247.72.199 jaffer.tor-exit.calyxinstitute.org 7
51.75.144.43 ns3129517.ip-51-75-144.eu 7
51.75.64.187 relay4.tor.ian.sh 7
18.27.197.252 wholesomeserver.media.mit.edu 7
185.191.126.212 - 7
54.39.16.73 ns555166.ip-54-39-16.net 7
51.195.148.18 relay2.tor.ian.sh 7