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 |
---|---|---|
92.118.39.133 | - | 10 |
183.81.169.238 | - | 10 |
194.169.175.36 | - | 10 |
194.169.175.35 | - | 10 |
213.109.202.127 | - | 9 |
85.209.11.27 | - | 9 |
95.214.27.253 | - | 9 |
85.209.11.254 | - | 9 |
218.92.0.34 | - | 8 |
218.92.0.31 | - | 8 |
218.92.0.76 | - | 8 |
178.20.55.16 | marcuse.nos-oignons.net | 8 |
95.214.27.196 | - | 8 |
61.177.172.160 | - | 8 |
218.92.0.112 | - | 8 |
218.92.0.113 | - | 8 |
218.92.0.118 | - | 8 |
180.101.88.197 | - | 8 |
180.101.88.196 | - | 8 |
122.8.157.58 | ecs-122-8-157-58.compute.hwclouds-dns.com | 8 |
61.177.172.179 | - | 8 |
27.222.11.186 | - | 8 |
218.92.0.107 | - | 8 |
83.222.191.62 | - | 8 |
218.92.0.56 | - | 8 |
80.82.77.139 | dojo.census.shodan.io | 8 |
61.177.172.140 | - | 8 |
218.92.0.29 | - | 8 |
218.92.0.27 | - | 8 |
180.101.88.205 | - | 8 |
82.151.65.155 | - | 8 |
80.82.77.33 | sky.census.shodan.io | 7 |
45.148.10.69 | - | 7 |
79.110.62.145 | - | 7 |
61.177.172.136 | - | 7 |
178.128.161.183 | - | 7 |
149.50.96.100 | - | 7 |
66.66.116.251 | syn-066-066-116-251.res.spectrum.com | 7 |
211.217.39.221 | - | 7 |
140.246.28.249 | - | 7 |
85.209.11.227 | - | 7 |
54.37.10.124 | vps-1e3810b9.vps.ovh.net | 7 |
209.97.186.17 | - | 7 |
193.32.162.65 | - | 7 |
185.165.191.26 | - | 7 |
218.92.0.117 | - | 7 |
134.209.168.219 | - | 7 |
136.232.98.230 | - | 7 |
192.42.116.208 | 11.tor-exit.nothingtohide.nl | 7 |
202.165.14.21 | - | 7 |
185.129.62.62 | tor01.zencurity.com | 7 |
134.122.8.241 | - | 7 |
89.97.218.142 | 89-97-218-142.ip19.fastwebnet.it | 7 |
77.105.181.192 | - | 7 |
193.32.162.83 | - | 7 |
185.22.67.81 | - | 7 |
89.46.223.34 | 34.223.46.89.baremetal.zare.com | 7 |
42.51.28.151 | - | 7 |
182.93.7.194 | n18293z7l194.static.ctmip.net | 7 |
195.154.176.37 | 195-154-176-37.rev.poneytelecom.eu | 7 |
62.60.204.238 | 62.60.204.238.static.hostiran.name | 7 |
162.142.125.202 | - | 7 |
81.28.167.30 | - | 7 |
120.88.46.226 | 120-88-46-226.snat21.hns.net.in | 7 |
51.89.153.112 | ns3145504.ip-51-89-153.eu | 7 |
221.222.184.230 | - | 7 |
103.251.167.20 | - | 7 |
199.45.154.137 | - | 7 |
71.6.135.131 | soda.census.shodan.io | 7 |
218.92.0.24 | - | 7 |
92.55.190.215 | - | 7 |
65.181.73.155 | 65-181-73-155.static.imsbiz.com | 7 |
66.240.192.138 | census8.shodan.io | 7 |
213.55.85.202 | - | 7 |
45.148.10.202 | - | 7 |
61.93.186.125 | 061093186125.static.ctinets.com | 7 |
182.253.47.126 | - | 7 |
190.85.15.251 | - | 7 |
185.220.101.147 | tor-exit-147.relayon.org | 7 |