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 -qq install iptables ipset
ipset -q flush ipsum
ipset -q create ipsum hash:net
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 -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 |
---|---|---|
171.25.193.25 | tor-exit5-readme.dfri.se | 10 |
51.15.43.205 | tor4thepeople3.torexitnode.net | 9 |
185.100.87.72 | iclnm.worlpeed.net | 9 |
185.38.175.132 | - | 9 |
45.13.104.179 | nosoignons.cust.milkywan.net | 9 |
45.153.160.133 | - | 9 |
185.220.100.254 | tor-exit-3.zbau.f3netze.de | 8 |
171.25.193.77 | tor-exit1-readme.dfri.se | 8 |
171.25.193.78 | tor-exit4-readme.dfri.se | 8 |
81.17.18.62 | block1-che.interlayer.co.uk | 8 |
195.254.135.76 | - | 8 |
185.220.102.4 | communityexit.torservers.net | 8 |
185.220.102.8 | 185-220-102-8.torservers.net | 8 |
5.2.72.124 | - | 8 |
107.189.4.203 | luxembourgtor24.lu | 8 |
171.25.193.20 | tor-exit0-readme.dfri.se | 8 |
89.58.19.2 | tor-exit4-vie.linkspartei.org | 8 |
185.220.102.254 | tor-exit-relay-8.anonymizing-proxy.digitalcourage.de | 8 |
80.67.172.162 | algrothendieck.nos-oignons.net | 8 |
185.56.80.65 | onion.xor.sc | 8 |
185.129.61.6 | tor-project-exit6.dotsrc.org | 8 |
45.153.160.137 | - | 8 |
31.7.57.130 | srv1.mailserver.to | 8 |
64.113.32.29 | tor.t-3.net | 8 |
107.189.6.166 | - | 8 |
37.123.163.58 | h-37-123-163-58.a785.priv.bahnhof.se | 8 |
206.189.103.89 | - | 7 |
205.185.120.66 | smtp6.jreamc.shop | 7 |
185.117.215.9 | tor3.digineo.de | 7 |
5.183.209.217 | - | 7 |
89.234.157.254 | marylou.nos-oignons.net | 7 |
89.163.249.192 | srv1116.dedicated.server-hosting.expert | 7 |
209.141.58.254 | - | 7 |
221.131.165.65 | - | 7 |
5.2.69.50 | - | 7 |
185.191.127.231 | - | 7 |
185.220.101.5 | berlin01.tor-exit.artikel10.org | 7 |
185.220.101.4 | berlin01.tor-exit.artikel10.org | 7 |
185.220.101.1 | berlin01.tor-exit.artikel10.org | 7 |
104.244.72.115 | tor-exit-hermes.greektor.net | 7 |
185.191.127.212 | - | 7 |
109.248.201.48 | 479095.cloud4box.ru | 7 |
104.244.75.199 | exitrelay69.medvideos-tor.org | 7 |
185.100.87.133 | - | 7 |
45.153.160.2 | - | 7 |
45.153.160.129 | - | 7 |
185.220.100.253 | tor-exit-2.zbau.f3netze.de | 7 |
185.220.100.255 | tor-exit-4.zbau.f3netze.de | 7 |
104.244.78.168 | luxembourgtor47.lu | 7 |
107.189.8.33 | luxembourgtor46.lu | 7 |
192.42.116.16 | tor-exit.hartvoorinternetvrijheid.nl | 7 |
192.42.116.17 | this-is-a-tor-exit-node-hviv117.hviv.nl | 7 |
192.42.116.14 | this-is-a-tor-exit-node-hviv114.hviv.nl | 7 |
185.130.44.108 | tor-exit-se1.privex.cc | 7 |
5.2.72.168 | - | 7 |
45.153.160.140 | - | 7 |
222.187.238.58 | - | 7 |
46.19.139.18 | theta.pokemon-vortex.com | 7 |
62.233.50.53 | - | 7 |
162.247.74.27 | turing.tor-exit.calyxinstitute.org | 7 |
185.220.102.6 | 185-220-102-6.torservers.net | 7 |
5.2.72.73 | - | 7 |
222.187.254.41 | - | 7 |
213.202.216.189 | h176.helix.dedi.server-hosting.expert | 7 |
185.220.102.250 | tor-exit-relay-4.anonymizing-proxy.digitalcourage.de | 7 |
199.195.250.77 | ny1.exit.tor.alkyl.eu.org | 7 |
23.154.177.6 | - | 7 |
62.102.148.69 | - | 7 |
104.244.76.13 | tor-exit-node.spongebob.nicdex.com | 7 |
185.129.61.2 | tor-project-exit2.dotsrc.org | 7 |
45.153.160.130 | - | 7 |
45.153.160.134 | - | 7 |
107.189.1.90 | luxembourgtor56.lu | 7 |
185.220.100.243 | tor-exit-16.zbau.f3netze.de | 7 |
81.17.18.58 | block1-che.interlayer.co.uk | 7 |
221.181.185.111 | - | 7 |
152.89.107.127 | tor-exit2-nur.linkspartei.org | 7 |
91.149.225.120 | - | 7 |
107.189.31.112 | exitrelay65.medvideos-tor.org | 7 |
92.255.85.28 | - | 7 |
46.166.139.111 | - | 7 |
185.100.87.202 | - | 7 |