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 |
194.169.175.36 | - | 10 |
194.169.175.35 | - | 10 |
178.20.55.16 | marcuse.nos-oignons.net | 8 |
93.174.95.106 | battery.census.shodan.io | 8 |
143.92.49.143 | - | 8 |
193.32.162.65 | - | 8 |
141.98.10.15 | - | 8 |
92.55.190.215 | - | 8 |
193.32.162.83 | - | 8 |
170.64.209.122 | - | 7 |
92.118.39.239 | edc85.daten-de.com | 7 |
158.101.139.182 | - | 7 |
213.217.31.51 | 213-217-31-51.digiturunc.com | 7 |
80.82.77.33 | sky.census.shodan.io | 7 |
152.89.198.106 | - | 7 |
61.177.172.179 | - | 7 |
219.79.94.102 | n219079094102.netvigator.com | 7 |
211.253.10.96 | - | 7 |
71.6.199.23 | einstein.census.shodan.io | 7 |
117.34.107.232 | - | 7 |
45.148.10.69 | - | 7 |
218.92.0.34 | - | 7 |
79.110.62.145 | - | 7 |
94.102.49.190 | flower.census.shodan.io | 7 |
94.102.49.193 | cloud.census.shodan.io | 7 |
91.243.50.206 | up-bdiff-ztest.jabdisc.com | 7 |
212.76.27.39 | - | 7 |
218.92.0.76 | - | 7 |
85.209.11.27 | - | 7 |
218.92.0.107 | - | 7 |
107.180.88.176 | 176.88.180.107.host.secureserver.net | 7 |
218.92.0.56 | - | 7 |
192.42.116.216 | 19.tor-exit.nothingtohide.nl | 7 |
41.138.54.13 | - | 7 |
80.82.77.139 | dojo.census.shodan.io | 7 |
170.64.228.80 | - | 7 |
213.109.202.127 | - | 7 |
195.133.38.50 | - | 7 |
112.54.220.94 | - | 7 |
199.45.154.156 | - | 7 |
218.92.0.112 | - | 7 |
116.34.154.50 | - | 7 |
116.130.185.126 | - | 7 |
85.209.11.227 | - | 7 |
207.90.244.2 | - | 7 |
207.90.244.3 | - | 7 |
190.211.255.106 | hostedby.privatelayer.com | 7 |
4.240.76.242 | - | 7 |
115.117.173.210 | 115.117.173.210.static-delhi.vsnl.net.in | 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 |
91.92.245.92 | - | 7 |
61.177.172.160 | - | 7 |
104.168.101.176 | bigdatahospit02w.roseirafllores.sbs | 7 |
80.67.172.162 | algrothendieck.nos-oignons.net | 7 |
65.181.73.155 | 65-181-73-155.static.imsbiz.com | 7 |
94.141.120.133 | - | 7 |
143.198.87.140 | - | 7 |
129.80.209.136 | - | 7 |
207.90.244.14 | - | 7 |
218.92.0.31 | - | 7 |
218.92.0.113 | - | 7 |
218.92.0.118 | - | 7 |
185.129.62.62 | tor01.zencurity.com | 7 |
180.101.88.197 | - | 7 |
180.101.88.196 | - | 7 |
220.178.8.154 | - | 7 |
101.47.6.209 | - | 7 |
141.98.10.106 | - | 7 |
82.151.65.155 | - | 7 |
199.45.154.148 | - | 7 |
89.97.218.142 | 89-97-218-142.ip19.fastwebnet.it | 7 |
85.209.11.254 | - | 7 |
180.101.88.205 | - | 7 |
134.122.8.241 | - | 7 |
92.118.39.133 | - | 7 |
190.85.15.251 | - | 7 |