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:ip
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 -D INPUT -m set --match-set ipsum src -j DROP 2>/dev/null
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).
| IP | DNS lookup | Number of (black)lists |
|---|---|---|
| 183.81.169.238 | - | 10 |
| 45.148.10.174 | - | 9 |
| 94.141.102.96 | - | 9 |
| 213.217.31.51 | 213-217-31-51.digiturunc.com | 8 |
| 152.89.198.106 | - | 8 |
| 212.76.27.39 | - | 8 |
| 192.42.116.179 | 27.tor-exit.nothingtohide.nl | 8 |
| 80.82.77.139 | dojo.census.shodan.io | 8 |
| 51.89.153.112 | ns3145504.ip-51-89-153.eu | 8 |
| 143.110.146.83 | - | 8 |
| 34.172.237.230 | 230.237.172.34.bc.googleusercontent.com | 8 |
| 143.92.49.143 | - | 8 |
| 141.98.10.15 | - | 8 |
| 193.32.162.65 | - | 8 |
| 92.55.190.215 | - | 8 |
| 185.129.62.62 | tor01.zencurity.com | 8 |
| 101.47.6.209 | - | 8 |
| 92.118.39.239 | edc85.daten-de.com | 7 |
| 42.51.28.151 | - | 7 |
| 206.168.34.123 | unused-space.coop.net | 7 |
| 80.82.77.33 | sky.census.shodan.io | 7 |
| 211.253.10.96 | - | 7 |
| 84.54.51.119 | hosted-by.pfcloud.io | 7 |
| 218.92.0.34 | - | 7 |
| 164.52.25.206 | - | 7 |
| 79.110.62.145 | - | 7 |
| 206.168.34.52 | unused-space.coop.net | 7 |
| 221.154.252.222 | - | 7 |
| 64.23.156.175 | - | 7 |
| 95.160.51.102 | 095160051102.tychy.vectranet.pl | 7 |
| 61.177.172.179 | - | 7 |
| 218.92.0.76 | - | 7 |
| 218.92.0.107 | - | 7 |
| 218.92.0.56 | - | 7 |
| 180.148.4.194 | - | 7 |
| 206.168.34.35 | unused-space.coop.net | 7 |
| 170.64.228.80 | - | 7 |
| 178.20.55.16 | marcuse.nos-oignons.net | 7 |
| 103.251.167.20 | - | 7 |
| 218.92.0.112 | - | 7 |
| 116.130.185.126 | - | 7 |
| 85.209.11.227 | - | 7 |
| 207.90.244.2 | - | 7 |
| 190.211.255.106 | hostedby.privatelayer.com | 7 |
| 217.65.82.98 | - | 7 |
| 118.36.15.126 | - | 7 |
| 61.177.172.136 | - | 7 |
| 61.177.172.140 | - | 7 |
| 218.92.0.29 | - | 7 |
| 218.92.0.22 | - | 7 |
| 218.92.0.24 | - | 7 |
| 218.92.0.27 | - | 7 |
| 103.63.108.25 | static.cmcti.vn | 7 |
| 61.177.172.160 | - | 7 |
| 206.168.34.45 | unused-space.coop.net | 7 |
| 80.67.172.162 | algrothendieck.nos-oignons.net | 7 |
| 209.97.186.17 | - | 7 |
| 193.32.162.29 | mail.whatami.co | 7 |
| 65.181.73.155 | 65-181-73-155.static.imsbiz.com | 7 |
| 185.165.191.27 | - | 7 |
| 122.194.13.49 | - | 7 |
| 218.92.0.31 | - | 7 |
| 180.103.103.19 | - | 7 |
| 218.92.0.113 | - | 7 |
| 218.92.0.118 | - | 7 |
| 180.101.88.197 | - | 7 |
| 180.101.88.196 | - | 7 |
| 193.32.162.83 | - | 7 |
| 46.247.172.207 | 46.247.172.207.not.updated.openip-cs.net | 7 |
| 190.145.81.37 | - | 7 |
| 89.97.218.142 | 89-97-218-142.ip19.fastwebnet.it | 7 |
| 160.153.234.75 | 75.234.153.160.host.secureserver.net | 7 |
| 180.101.88.205 | - | 7 |
| 223.247.145.225 | - | 7 |
| 92.118.39.133 | - | 7 |
| 190.85.15.251 | - | 7 |
