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 |
---|---|---|
194.50.16.221 | what.are.you.looking.for | 10 |
183.81.169.238 | - | 10 |
95.214.27.253 | - | 10 |
218.92.0.34 | - | 9 |
218.92.0.31 | - | 9 |
61.177.172.172 | - | 9 |
61.177.172.179 | - | 9 |
61.177.172.136 | - | 9 |
61.177.172.161 | - | 9 |
61.177.172.160 | - | 9 |
61.177.172.168 | - | 9 |
218.92.0.112 | - | 9 |
218.92.0.113 | - | 9 |
218.92.0.118 | - | 9 |
180.101.88.197 | - | 9 |
212.113.102.130 | server2.aeza.network | 9 |
85.209.11.27 | - | 9 |
218.92.0.56 | - | 9 |
61.177.172.140 | - | 9 |
218.92.0.29 | - | 9 |
218.92.0.22 | - | 9 |
218.92.0.24 | - | 9 |
218.92.0.27 | - | 9 |
85.209.11.254 | - | 9 |
80.82.77.33 | sky.census.shodan.io | 8 |
140.246.28.249 | - | 8 |
212.113.102.134 | server4.aeza.network | 8 |
182.93.7.194 | n18293z7l194.static.ctmip.net | 8 |
218.92.0.107 | - | 8 |
178.62.14.74 | - | 8 |
104.248.194.114 | - | 8 |
93.174.95.106 | battery.census.shodan.io | 8 |
194.169.175.37 | - | 8 |
194.169.175.38 | - | 8 |
193.201.9.156 | - | 7 |
156.248.75.197 | - | 7 |
45.148.10.69 | - | 7 |
120.224.50.233 | - | 7 |
45.148.10.251 | - | 7 |
178.20.55.16 | marcuse.nos-oignons.net | 7 |
185.220.100.255 | tor-exit-4.zbau.f3netze.de | 7 |
189.7.17.61 | bd07113d.virtua.com.br | 7 |
66.66.116.251 | syn-066-066-116-251.res.spectrum.com | 7 |
80.67.167.81 | nosoignons.cust.milkywan.net | 7 |
199.45.154.154 | - | 7 |
45.139.122.176 | - | 7 |
194.50.16.5 | what.are.you.looking.for | 7 |
54.37.10.124 | vps-1e3810b9.vps.ovh.net | 7 |
68.183.42.43 | - | 7 |
47.180.114.229 | - | 7 |
80.67.172.162 | algrothendieck.nos-oignons.net | 7 |
212.113.102.66 | cozy-baseball.aeza.network | 7 |
185.165.191.27 | - | 7 |
211.43.80.245 | - | 7 |
77.91.85.126 | chummy-activity.aeza.network | 7 |
193.32.162.83 | - | 7 |
104.143.77.8 | - | 7 |
92.118.39.133 | - | 7 |
176.97.210.30 | tube-hosting.com | 7 |
193.32.162.79 | - | 7 |
64.23.244.21 | - | 7 |
147.185.132.162 | - | 7 |
138.68.9.83 | - | 7 |
115.134.17.209 | - | 7 |
192.42.116.179 | 27.tor-exit.nothingtohide.nl | 7 |
192.42.116.215 | 18.tor-exit.nothingtohide.nl | 7 |
175.206.113.91 | - | 7 |
90.230.237.250 | 90-230-237-250-no600.tbcn.telia.com | 7 |
221.222.184.230 | - | 7 |
185.224.128.83 | i.see.u | 7 |
161.35.23.69 | - | 7 |
182.227.130.233 | - | 7 |
207.90.244.6 | - | 7 |
115.117.173.210 | 115.117.173.210.static-delhi.vsnl.net.in | 7 |
202.51.82.167 | - | 7 |
5.42.76.224 | resonant-sign.aeza.network | 7 |
82.151.65.155 | - | 7 |
178.20.55.182 | marcuse-2.nos-oignons.net | 7 |
190.85.15.251 | - | 7 |