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 |
---|---|---|
93.113.63.8 | - | 10 |
109.120.176.11 | AKoryakin.aeza.network | 10 |
154.213.184.15 | - | 10 |
194.169.175.37 | - | 10 |
45.118.144.54 | - | 9 |
51.222.115.81 | ip81.ip-51-222-115.net | 9 |
80.64.30.138 | - | 9 |
80.64.30.139 | - | 9 |
107.172.50.166 | 107-172-50-166-host.colocrossing.com | 9 |
128.199.225.7 | - | 9 |
146.190.102.143 | - | 9 |
159.65.147.193 | panel.mydigitalads.in | 9 |
176.124.207.132 | - | 9 |
194.169.175.38 | - | 9 |
221.222.184.230 | - | 9 |
8.220.201.94 | - | 8 |
45.84.89.2 | server-0-2.survey.inspici.com | 8 |
45.84.89.3 | server-0-3.survey.inspici.com | 8 |
45.148.10.128 | - | 8 |
80.82.77.139 | dojo.census.shodan.io | 8 |
80.82.77.202 | rnd.group-ib.com | 8 |
89.97.218.142 | 89-97-218-142.ip19.fastwebnet.it | 8 |
91.92.120.31 | - | 8 |
93.174.95.106 | battery.census.shodan.io | 8 |
102.165.46.208 | ambitis-soitdet.edgeshriek.com | 8 |
106.12.222.76 | - | 8 |
110.175.220.250 | 110-175-220-250.static.tpgi.com.au | 8 |
122.155.223.101 | - | 8 |
154.213.187.14 | - | 8 |
156.238.246.165 | - | 8 |
185.165.191.26 | - | 8 |
186.96.145.241 | fixed-186-96-145-241.totalplay.net | 8 |
188.34.205.173 | static.173.205.34.188.clients.your-server.de | 8 |
195.133.2.209 | imminent-ocean.aeza.network | 8 |
196.241.66.194 | - | 8 |
206.168.34.212 | unused-space.coop.net | 8 |
8.216.86.85 | - | 7 |
8.216.121.252 | - | 7 |
8.216.122.147 | - | 7 |
15.204.37.22 | schroeder.probe.onyphe.net | 7 |
42.228.19.165 | hn.kd.ny.adsl | 7 |
45.90.12.5 | hosted-by.royalehosting.net | 7 |
45.119.84.81 | - | 7 |
45.147.46.99 | - | 7 |
45.156.128.93 | sh-ams-nl-gp1-wk141c.internet-census.org | 7 |
45.156.129.87 | sh-chi-us-gp1-wk135c.internet-census.org | 7 |
47.117.37.29 | - | 7 |
49.0.116.196 | - | 7 |
52.183.224.78 | azpdssb25.stretchoid.com | 7 |
66.66.116.251 | syn-066-066-116-251.res.spectrum.com | 7 |
71.6.134.232 | - | 7 |
71.6.135.131 | soda.census.shodan.io | 7 |
71.6.146.186 | inspire.census.shodan.io | 7 |
77.73.131.144 | prime-relation.aeza.network | 7 |
79.110.62.40 | - | 7 |
80.75.212.9 | tube-hosting.com | 7 |
80.82.77.33 | sky.census.shodan.io | 7 |
80.242.208.68 | - | 7 |
87.255.193.50 | - | 7 |
89.248.167.131 | mason.census.shodan.io | 7 |
92.255.85.253 | - | 7 |
94.102.49.193 | cloud.census.shodan.io | 7 |
94.156.104.80 | - | 7 |
94.182.171.4 | 94-182-171-4.shatel.ir | 7 |
103.156.224.210 | - | 7 |
106.57.253.254 | - | 7 |
109.226.44.144 | static.109.226.44.144.ccc.net.il | 7 |
111.67.193.179 | - | 7 |
122.155.0.205 | www.phatan.go.th | 7 |
124.156.37.142 | - | 7 |
137.184.183.44 | - | 7 |
138.68.140.83 | - | 7 |
143.244.167.116 | - | 7 |
144.22.192.181 | - | 7 |
147.185.132.103 | - | 7 |
147.185.132.141 | - | 7 |
152.32.158.35 | - | 7 |
170.64.189.229 | - | 7 |
172.245.180.234 | 172-245-180-234-host.colocrossing.com | 7 |
178.128.18.18 | - | 7 |
178.128.118.46 | - | 7 |
183.239.25.115 | - | 7 |
185.165.191.27 | - | 7 |
185.220.101.1 | berlin01.tor-exit.artikel10.org | 7 |
185.220.101.21 | berlin01.tor-exit.artikel10.org | 7 |
185.224.128.67 | - | 7 |
185.242.226.46 | security.criminalip.com | 7 |
190.144.14.170 | - | 7 |
192.42.116.177 | 25.tor-exit.nothingtohide.nl | 7 |
192.42.116.198 | 8.tor-exit.nothingtohide.nl | 7 |
192.42.116.208 | 11.tor-exit.nothingtohide.nl | 7 |
195.144.21.56 | red3.census.shodan.io | 7 |
197.5.145.59 | - | 7 |
200.12.252.210 | static-200-12-252-210.lpz.vuela.net.bo | 7 |
202.4.115.172 | - | 7 |
202.125.139.10 | webconcepts.lhr63d1.pie.net.pk | 7 |
206.168.34.48 | unused-space.coop.net | 7 |
206.168.34.116 | unused-space.coop.net | 7 |
206.168.34.120 | unused-space.coop.net | 7 |
206.168.34.192 | unused-space.coop.net | 7 |
207.90.244.2 | - | 7 |
207.90.244.3 | - | 7 |
207.90.244.5 | - | 7 |
207.90.244.14 | - | 7 |
211.43.80.245 | - | 7 |
217.182.253.127 | vps-3dc069bf.vps.ovh.net | 7 |
221.229.218.50 | - | 7 |
222.186.13.132 | - | 7 |
60.191.23.20 | - | 7 |
185.220.101.105 | tor-exit-105.digitalcourage.de | 7 |