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 |
---|---|---|
159.65.147.193 | panel.mydigitalads.in | 11 |
183.81.169.238 | - | 10 |
45.148.10.242 | - | 9 |
77.73.131.144 | prime-relation.aeza.network | 9 |
109.120.156.102 | healthy-story.aeza.network | 9 |
125.122.12.36 | - | 9 |
154.213.184.15 | - | 9 |
194.169.175.37 | - | 9 |
45.119.84.81 | - | 8 |
45.139.122.176 | - | 8 |
45.148.10.240 | - | 8 |
62.122.184.252 | - | 8 |
80.82.77.33 | sky.census.shodan.io | 8 |
80.82.77.202 | rnd.group-ib.com | 8 |
85.209.11.27 | - | 8 |
85.209.11.254 | - | 8 |
89.235.116.181 | - | 8 |
93.174.95.106 | battery.census.shodan.io | 8 |
103.72.62.167 | nudd2.dynuddns.net | 8 |
109.74.204.123 | academyforinternetresearch.org | 8 |
109.120.176.11 | AKoryakin.aeza.network | 8 |
110.175.220.250 | 110-175-220-250.static.tpgi.com.au | 8 |
128.199.225.7 | - | 8 |
134.209.80.181 | - | 8 |
141.98.10.116 | - | 8 |
159.223.3.111 | - | 8 |
165.232.183.195 | - | 8 |
174.138.26.166 | - | 8 |
176.124.207.132 | - | 8 |
178.20.55.16 | marcuse.nos-oignons.net | 8 |
209.38.249.215 | - | 8 |
221.222.184.230 | - | 8 |
15.204.37.22 | schroeder.probe.onyphe.net | 7 |
35.207.98.222 | 222.98.207.35.bc.googleusercontent.com | 7 |
43.155.35.224 | - | 7 |
45.84.89.2 | server-0-2.survey.inspici.com | 7 |
45.84.89.3 | server-0-3.survey.inspici.com | 7 |
45.148.10.46 | - | 7 |
45.156.128.58 | sh-ams-nl-gp1-wk112b.internet-census.org | 7 |
46.101.1.149 | - | 7 |
58.26.142.33 | - | 7 |
68.116.41.2 | syn-068-116-041-002.biz.spectrum.com | 7 |
71.6.199.23 | einstein.census.shodan.io | 7 |
80.67.167.81 | nosoignons.cust.milkywan.net | 7 |
80.67.172.162 | algrothendieck.nos-oignons.net | 7 |
80.82.77.139 | dojo.census.shodan.io | 7 |
83.222.191.62 | - | 7 |
91.212.166.37 | - | 7 |
92.42.96.51 | - | 7 |
92.255.85.253 | - | 7 |
93.113.63.8 | - | 7 |
101.126.5.109 | - | 7 |
103.142.86.221 | - | 7 |
103.188.177.46 | - | 7 |
103.252.88.6 | rw-hosting.fr | 7 |
104.236.66.17 | - | 7 |
107.172.50.166 | 107-172-50-166-host.colocrossing.com | 7 |
113.134.211.242 | - | 7 |
117.186.238.82 | - | 7 |
118.123.105.89 | - | 7 |
122.46.16.230 | - | 7 |
134.209.205.125 | - | 7 |
136.228.161.66 | - | 7 |
142.93.129.88 | - | 7 |
147.185.132.57 | - | 7 |
154.68.39.6 | wimax-154.68.39.6.aviso.ci | 7 |
164.77.117.10 | - | 7 |
172.104.4.17 | 172-104-4-17.ip.linodeusercontent.com | 7 |
172.168.40.238 | azpdcs72.stretchoid.com | 7 |
175.178.40.24 | - | 7 |
178.20.55.182 | marcuse-2.nos-oignons.net | 7 |
182.93.7.194 | n18293z7l194.static.ctmip.net | 7 |
185.11.61.88 | - | 7 |
185.142.236.34 | hat.census.shodan.io | 7 |
185.165.191.26 | - | 7 |
185.220.101.12 | berlin01.tor-exit.artikel10.org | 7 |
192.42.116.173 | 21.tor-exit.nothingtohide.nl | 7 |
192.42.116.178 | 26.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 |
193.32.162.38 | pex28.dream-bal.com | 7 |
193.32.162.65 | - | 7 |
193.111.248.94 | tube-hosting.com | 7 |
194.50.16.26 | what.are.you.looking.for | 7 |
194.169.175.38 | - | 7 |
194.233.67.204 | vmi1221256.contaboserver.net | 7 |
206.168.34.46 | unused-space.coop.net | 7 |
206.168.34.49 | unused-space.coop.net | 7 |
207.90.244.2 | - | 7 |
207.90.244.3 | - | 7 |
207.90.244.4 | - | 7 |
213.55.85.202 | - | 7 |
213.109.202.127 | - | 7 |