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 |
---|---|---|
45.148.10.174 | - | 10 |
183.81.169.238 | - | 10 |
34.172.237.230 | 230.237.172.34.bc.googleusercontent.com | 10 |
211.114.124.31 | - | 10 |
170.64.200.53 | - | 9 |
5.19.118.77 | 5x19x118x77.static-business.spb.ertelecom.ru | 8 |
103.184.192.66 | - | 8 |
85.209.11.227 | - | 8 |
36.110.228.254 | - | 8 |
14.103.61.166 | - | 8 |
170.64.234.60 | - | 8 |
194.169.175.36 | - | 8 |
194.169.175.35 | - | 8 |
23.247.130.85 | - | 8 |
194.50.16.26 | - | 8 |
101.47.6.209 | - | 8 |
141.98.10.106 | - | 8 |
141.98.10.125 | imp-moment.trumpbuyer.com | 8 |
185.196.8.22 | - | 8 |
92.118.39.239 | edc85.daten-de.com | 7 |
165.154.138.34 | mail.appliquebook.com | 7 |
45.148.10.69 | - | 7 |
218.92.0.31 | - | 7 |
79.110.62.145 | - | 7 |
85.209.11.27 | - | 7 |
212.76.27.39 | - | 7 |
61.177.172.179 | - | 7 |
218.92.0.76 | - | 7 |
94.180.247.20 | 94x180x247x20.static-business.kzn.ertelecom.ru | 7 |
193.32.162.38 | pex28.dream-bal.com | 7 |
138.197.14.180 | - | 7 |
218.92.0.107 | - | 7 |
162.142.125.201 | - | 7 |
218.92.0.56 | - | 7 |
103.91.136.18 | - | 7 |
192.42.116.213 | 16.tor-exit.nothingtohide.nl | 7 |
192.42.116.210 | 13.tor-exit.nothingtohide.nl | 7 |
118.253.157.131 | - | 7 |
178.20.55.16 | marcuse.nos-oignons.net | 7 |
170.64.234.254 | - | 7 |
113.250.189.251 | - | 7 |
103.39.93.93 | - | 7 |
125.212.231.16 | - | 7 |
218.92.0.112 | - | 7 |
42.112.16.10 | - | 7 |
113.133.177.77 | - | 7 |
207.90.244.6 | - | 7 |
93.174.95.106 | battery.census.shodan.io | 7 |
218.92.0.34 | - | 7 |
175.6.109.235 | - | 7 |
102.53.9.67 | - | 7 |
61.177.172.136 | - | 7 |
61.177.172.140 | - | 7 |
80.94.95.242 | - | 7 |
218.92.0.29 | - | 7 |
218.92.0.22 | - | 7 |
218.92.0.24 | - | 7 |
218.92.0.27 | - | 7 |
118.43.127.7 | - | 7 |
183.106.216.43 | - | 7 |
92.55.190.215 | - | 7 |
64.23.249.242 | - | 7 |
61.177.172.160 | - | 7 |
193.32.162.29 | mail.whatami.co | 7 |
185.165.191.26 | - | 7 |
106.57.253.254 | - | 7 |
80.82.77.202 | rnd.group-ib.com | 7 |
218.92.0.113 | - | 7 |
218.92.0.118 | - | 7 |
23.90.165.44 | zl-ams-nl-gp1-wk118c.internet-census.org | 7 |
103.60.233.11 | - | 7 |
185.129.62.62 | tor01.zencurity.com | 7 |
180.101.88.197 | - | 7 |
180.101.88.196 | - | 7 |
82.151.65.155 | - | 7 |
171.34.70.28 | 28.70.34.171.adsl-pool.jx.chinaunicom.com | 7 |
89.97.218.142 | 89-97-218-142.ip19.fastwebnet.it | 7 |
218.15.131.154 | 154.131.15.218.broad.yj.gd.dynamic.163data.com.cn | 7 |
85.209.11.254 | - | 7 |
180.101.88.205 | - | 7 |
77.91.78.132 | scintillating-books.aeza.network | 7 |
159.65.91.105 | - | 7 |
92.118.39.133 | - | 7 |
80.67.172.162 | algrothendieck.nos-oignons.net | 7 |