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 |
---|---|---|
179.43.190.218 | hostedby.privatelayer.com | 11 |
183.81.169.238 | - | 9 |
179.43.180.108 | hostedby.privatelayer.com | 9 |
206.168.34.126 | unused-space.coop.net | 8 |
80.82.77.33 | sky.census.shodan.io | 8 |
192.42.116.179 | 27.tor-exit.nothingtohide.nl | 8 |
192.42.116.214 | 17.tor-exit.nothingtohide.nl | 8 |
80.82.77.139 | dojo.census.shodan.io | 8 |
85.209.11.227 | - | 8 |
92.118.39.229 | edc74.daten-de.com | 8 |
93.174.95.106 | battery.census.shodan.io | 8 |
36.110.228.254 | - | 8 |
167.94.138.122 | scanner-27.ch1.censys-scanner.com | 8 |
180.232.75.76 | 76.75.232.180.dsl.static.inet.as18190 | 8 |
192.42.116.209 | 12.tor-exit.nothingtohide.nl | 8 |
199.45.154.16 | scanner-201.hk2.censys-scanner.com | 8 |
193.201.9.156 | - | 7 |
206.168.34.125 | unused-space.coop.net | 7 |
206.168.34.123 | unused-space.coop.net | 7 |
185.180.143.148 | sh-ams-nl-gp1-wk113.internet-census.org | 7 |
179.43.188.106 | hostedby.privatelayer.com | 7 |
218.92.0.34 | - | 7 |
218.92.0.31 | - | 7 |
206.168.34.50 | unused-space.coop.net | 7 |
128.14.209.26 | zl-dal-us-gp1-wk119.internet-census.org | 7 |
218.92.0.107 | - | 7 |
192.42.116.178 | 26.tor-exit.nothingtohide.nl | 7 |
218.92.0.56 | - | 7 |
128.14.209.42 | zl-dal-us-gp1-wk123.internet-census.org | 7 |
206.168.34.184 | unused-space.coop.net | 7 |
71.6.167.142 | census9.shodan.io | 7 |
206.168.34.38 | unused-space.coop.net | 7 |
206.168.34.39 | unused-space.coop.net | 7 |
206.168.34.36 | unused-space.coop.net | 7 |
206.168.34.37 | unused-space.coop.net | 7 |
206.168.34.34 | unused-space.coop.net | 7 |
206.168.34.33 | unused-space.coop.net | 7 |
213.109.202.127 | - | 7 |
193.118.52.78 | zl-ams-nl-gp1-wk131.internet-census.org | 7 |
103.251.167.20 | - | 7 |
185.180.143.76 | sh-phx-us-gp1-wk109.internet-census.org | 7 |
141.98.10.96 | - | 7 |
199.45.154.69 | scanner-205.hk2.censys-scanner.com | 7 |
212.70.149.150 | - | 7 |
71.6.135.131 | soda.census.shodan.io | 7 |
206.168.34.187 | unused-space.coop.net | 7 |
189.6.45.130 | bd062d82.virtua.com.br | 7 |
207.90.244.2 | - | 7 |
207.90.244.3 | - | 7 |
68.183.213.31 | - | 7 |
66.240.219.146 | burger.census.shodan.io | 7 |
167.94.146.51 | - | 7 |
211.253.10.96 | - | 7 |
188.166.27.237 | - | 7 |
61.241.173.53 | - | 7 |
61.177.172.136 | - | 7 |
152.89.245.140 | bluerivercommunications.org.uk | 7 |
207.154.250.186 | - | 7 |
218.92.0.29 | - | 7 |
218.92.0.22 | - | 7 |
218.92.0.27 | - | 7 |
61.177.172.160 | - | 7 |
206.168.34.46 | unused-space.coop.net | 7 |
185.165.191.27 | - | 7 |
185.165.191.26 | - | 7 |
213.55.85.202 | - | 7 |
147.75.125.17 | - | 7 |
207.90.244.14 | - | 7 |
122.224.37.86 | - | 7 |
183.62.20.2 | - | 7 |
80.67.167.81 | nosoignons.cust.milkywan.net | 7 |
218.92.0.112 | - | 7 |
218.92.0.113 | - | 7 |
218.92.0.118 | - | 7 |
167.94.145.103 | - | 7 |
45.125.66.43 | srv-45-125-66-43.minehost.eu | 7 |
206.168.34.191 | unused-space.coop.net | 7 |
87.98.138.142 | ip142.ip-87-98-138.eu | 7 |
190.144.14.170 | - | 7 |
180.101.88.197 | - | 7 |
185.196.8.151 | - | 7 |
185.235.146.29 | - | 7 |
36.92.248.137 | - | 7 |
103.56.61.130 | - | 7 |
137.184.47.45 | - | 7 |
64.226.77.135 | - | 7 |
199.45.154.53 | scanner-203.hk2.censys-scanner.com | 7 |
180.101.88.205 | - | 7 |
144.172.73.11 | hosted-by.100up.net | 7 |