Daily feed of bad IPs (with blacklist hit scores)
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 |
---|---|---|
183.81.169.238 | - | 11 |
179.43.180.108 | hostedby.privatelayer.com | 11 |
179.43.190.218 | hostedby.privatelayer.com | 10 |
183.179.2.185 | 183179002185.ctinets.com | 8 |
211.253.10.96 | - | 8 |
115.241.74.34 | - | 8 |
80.82.77.139 | dojo.census.shodan.io | 8 |
178.20.55.16 | marcuse.nos-oignons.net | 8 |
189.6.45.130 | bd062d82.virtua.com.br | 8 |
85.209.11.227 | - | 8 |
152.89.245.140 | bluerivercommunications.org.uk | 8 |
193.201.9.156 | - | 7 |
211.193.31.52 | - | 7 |
43.133.10.33 | - | 7 |
61.153.208.38 | - | 7 |
159.65.41.104 | - | 7 |
182.93.7.194 | n18293z7l194.static.ctmip.net | 7 |
61.80.179.118 | - | 7 |
211.107.124.218 | - | 7 |
196.20.68.81 | - | 7 |
218.92.0.34 | - | 7 |
218.92.0.31 | - | 7 |
189.7.17.61 | bd07113d.virtua.com.br | 7 |
201.226.239.98 | r1.up.ac.pa | 7 |
203.205.37.233 | static.cmcti.vn | 7 |
122.255.0.85 | - | 7 |
114.199.123.211 | ip-114-199-123-211.netzap.net.id | 7 |
51.159.17.182 | 51-159-17-182.rev.poneytelecom.eu | 7 |
94.102.49.193 | cloud.census.shodan.io | 7 |
218.255.245.10 | static.reserve.wtt.net.hk | 7 |
80.216.158.15 | c80-216-158-15.bredband.tele2.se | 7 |
213.6.203.226 | - | 7 |
85.209.11.27 | - | 7 |
122.160.65.215 | abts-north-static-215.65.160.122.airtelbroadband.in | 7 |
186.67.248.8 | - | 7 |
186.67.248.5 | - | 7 |
186.67.248.6 | - | 7 |
64.227.126.250 | - | 7 |
45.79.181.179 | andorra.scan.bufferover.run | 7 |
103.56.61.144 | - | 7 |
218.92.0.76 | - | 7 |
218.92.0.107 | - | 7 |
82.200.65.218 | gw-bell-xen.ll-nsk.zsttk.ru | 7 |
167.172.157.140 | lti-lms.ntheye.com | 7 |
107.180.88.176 | 176.88.180.107.host.secureserver.net | 7 |
45.161.176.1 | 45.161.176.1.serginetbandalarga.com.br | 7 |
218.92.0.56 | - | 7 |
192.42.116.213 | 16.tor-exit.nothingtohide.nl | 7 |
206.168.34.186 | unused-space.coop.net | 7 |
206.168.34.182 | unused-space.coop.net | 7 |
113.31.119.15 | - | 7 |
180.148.4.194 | - | 7 |
206.168.34.33 | unused-space.coop.net | 7 |
71.6.146.186 | inspire.census.shodan.io | 7 |
147.182.255.133 | - | 7 |
61.177.172.179 | - | 7 |
201.144.8.115 | cajasolidariaguachinango.com.mx | 7 |
199.45.154.20 | scanner-201.hk2.censys-scanner.com | 7 |
42.200.66.164 | 42-200-66-164.static.imsbiz.com | 7 |
192.42.116.179 | 27.tor-exit.nothingtohide.nl | 7 |
185.180.143.76 | sh-phx-us-gp1-wk109.internet-census.org | 7 |
185.180.143.73 | sh-phx-us-gp1-wk107.internet-census.org | 7 |
80.253.31.232 | - | 7 |
94.254.0.234 | h-94-254-0-234.na.cust.bahnhof.se | 7 |
72.253.68.220 | - | 7 |
181.48.60.50 | - | 7 |
165.22.16.134 | - | 7 |
5.35.222.130 | - | 7 |
103.86.180.10 | - | 7 |
201.116.3.194 | static.customer-201-116-3-194.uninet-ide.com.mx | 7 |
212.70.149.150 | - | 7 |
207.90.244.2 | - | 7 |
207.90.244.6 | - | 7 |
167.94.138.33 | scanner-06.ch1.censys-scanner.com | 7 |
167.94.138.36 | scanner-06.ch1.censys-scanner.com | 7 |
122.166.156.246 | abts-kk-static-246.156.166.122.airtelbroadband.in | 7 |
101.112.62.186 | - | 7 |
190.85.51.52 | - | 7 |
167.94.146.55 | - | 7 |
167.94.146.56 | - | 7 |
93.174.95.106 | battery.census.shodan.io | 7 |
45.227.254.49 | - | 7 |
36.110.228.254 | - | 7 |
84.2.226.70 | ktv5402e246.fixip.t-online.hu | 7 |
149.202.90.68 | ns3027549.ip-149-202-90.eu | 7 |
103.48.193.7 | - | 7 |
122.155.0.205 | www.phatan.go.th | 7 |
94.179.133.22 | 22-133-179-94.pool.ukrtel.net | 7 |
61.177.172.136 | - | 7 |
61.177.172.140 | - | 7 |
218.92.0.29 | - | 7 |
218.92.0.22 | - | 7 |
218.92.0.27 | - | 7 |
59.31.148.130 | - | 7 |
68.183.88.186 | - | 7 |
103.63.108.25 | static.cmcti.vn | 7 |
61.177.172.160 | - | 7 |
80.67.172.162 | algrothendieck.nos-oignons.net | 7 |
209.97.186.17 | - | 7 |
223.197.188.206 | 223-197-188-206.static.imsbiz.com | 7 |
121.153.248.180 | - | 7 |
66.240.192.138 | census8.shodan.io | 7 |
210.113.13.66 | - | 7 |
194.169.175.36 | - | 7 |
194.169.175.35 | - | 7 |
71.6.135.131 | soda.census.shodan.io | 7 |
220.80.223.144 | - | 7 |
125.124.199.57 | - | 7 |
218.92.0.112 | - | 7 |
218.92.0.113 | - | 7 |
218.92.0.118 | - | 7 |
51.178.141.222 | vps-222a9171.vps.ovh.net | 7 |
198.57.248.56 | wir.wirefeeds.com | 7 |
220.71.203.203 | - | 7 |
45.125.66.43 | srv-45-125-66-43.minehost.eu | 7 |
87.98.138.142 | ip142.ip-87-98-138.eu | 7 |
211.43.80.245 | - | 7 |
185.74.4.189 | - | 7 |
119.45.211.120 | - | 7 |
185.129.62.63 | tor02.zencurity.com | 7 |
180.101.88.197 | - | 7 |
180.101.88.196 | - | 7 |
201.163.162.179 | static-201-163-162-179.alestra.net.mx | 7 |
185.196.8.151 | - | 7 |
211.62.68.204 | - | 7 |
103.235.34.82 | - | 7 |
115.91.84.132 | - | 7 |
103.92.47.136 | - | 7 |
45.71.68.74 | - | 7 |
159.65.220.18 | ulaportal.com | 7 |
85.209.11.254 | - | 7 |
185.142.236.36 | green.census.shodan.io | 7 |
190.128.230.98 | pool-98-230-128-190.telecel.com.py | 7 |
199.45.154.52 | scanner-203.hk2.censys-scanner.com | 7 |
199.45.154.53 | scanner-203.hk2.censys-scanner.com | 7 |
180.101.88.205 | - | 7 |
183.245.232.31 | - | 7 |
203.81.213.46 | - | 7 |
196.220.67.231 | - | 7 |
128.199.182.19 | - | 7 |