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 |
---|---|---|
218.92.0.237 | - | 10 |
2.57.122.190 | - | 9 |
5.180.253.220 | ptr.default | 9 |
92.255.85.188 | - | 9 |
92.255.85.189 | - | 9 |
102.211.152.45 | 45.152.211.102.angolacables.ao | 9 |
183.224.219.194 | - | 9 |
194.0.234.37 | - | 9 |
194.0.234.38 | - | 9 |
218.92.0.222 | - | 9 |
2.57.122.186 | - | 8 |
2.57.122.192 | - | 8 |
2.57.122.194 | - | 8 |
36.110.228.254 | - | 8 |
45.148.10.240 | - | 8 |
92.118.39.71 | - | 8 |
92.118.39.75 | - | 8 |
92.255.57.132 | - | 8 |
93.126.53.41 | - | 8 |
134.209.123.225 | - | 8 |
167.94.146.61 | - | 8 |
185.213.174.118 | - | 8 |
193.32.162.134 | - | 8 |
193.32.162.139 | - | 8 |
195.178.110.76 | - | 8 |
218.92.0.217 | - | 8 |
218.92.0.235 | - | 8 |
80.82.77.33 | sky.census.shodan.io | 7 |
80.82.77.139 | dojo.census.shodan.io | 7 |
93.174.95.106 | battery.census.shodan.io | 7 |
1.247.155.239 | - | 7 |
2.57.122.193 | - | 7 |
4.213.162.155 | - | 7 |
64.226.94.213 | www.indiaclubdubai.com1 | 7 |
71.6.146.185 | pirate.census.shodan.io | 7 |
71.6.199.23 | einstein.census.shodan.io | 7 |
80.82.77.202 | rnd.group-ib.com | 7 |
83.118.88.66 | - | 7 |
92.118.39.72 | - | 7 |
92.118.39.73 | - | 7 |
92.118.39.74 | - | 7 |
98.175.165.229 | wsip-98-175-165-229.dc.dc.cox.net | 7 |
111.67.194.39 | - | 7 |
134.209.149.183 | cyntel.csworkcenter.com | 7 |
147.185.132.177 | - | 7 |
154.216.18.50 | - | 7 |
161.132.48.181 | - | 7 |
162.142.125.46 | - | 7 |
162.142.125.112 | scanner-19.ch1.censys-scanner.com | 7 |
162.142.125.114 | scanner-19.ch1.censys-scanner.com | 7 |
162.142.125.115 | scanner-19.ch1.censys-scanner.com | 7 |
162.142.125.200 | - | 7 |
162.142.125.202 | - | 7 |
162.142.125.209 | scanner-05.ch1.censys-scanner.com | 7 |
162.142.125.221 | scanner-25.ch1.censys-scanner.com | 7 |
162.142.125.223 | scanner-25.ch1.censys-scanner.com | 7 |
167.94.138.185 | - | 7 |
167.94.145.96 | - | 7 |
167.94.145.102 | - | 7 |
167.94.145.107 | - | 7 |
167.94.145.109 | - | 7 |
167.94.146.55 | - | 7 |
167.94.146.63 | - | 7 |
178.160.211.111 | - | 7 |
185.165.191.26 | - | 7 |
185.165.191.27 | - | 7 |
193.32.162.130 | - | 7 |
193.32.162.131 | - | 7 |
193.32.162.132 | - | 7 |
193.32.162.135 | - | 7 |
193.32.162.136 | - | 7 |
193.32.162.137 | - | 7 |
199.45.154.157 | scanner-205.hk2.censys-scanner.com | 7 |
218.92.0.111 | - | 7 |
218.92.0.112 | - | 7 |
218.92.0.114 | - | 7 |
218.92.0.198 | - | 7 |
218.92.0.216 | - | 7 |
218.92.0.218 | - | 7 |
218.92.0.219 | - | 7 |
218.92.0.220 | - | 7 |
218.92.0.221 | - | 7 |
218.92.0.223 | - | 7 |
218.92.0.225 | - | 7 |
218.92.0.226 | - | 7 |
218.92.0.227 | - | 7 |
218.92.0.228 | - | 7 |
218.92.0.229 | - | 7 |
218.92.0.230 | - | 7 |
218.92.0.231 | - | 7 |
218.92.0.232 | - | 7 |
218.92.0.233 | - | 7 |
218.92.0.236 | - | 7 |
104.131.67.146 | - | 7 |
141.94.23.12 | vps-a8927881.vps.ovh.net | 7 |
14.241.229.103 | static.vnpt.vn | 7 |
157.230.129.177 | - | 7 |
180.100.217.164 | - | 7 |
209.38.228.147 | core1.bbe.masterit-dev.cloud | 7 |
220.80.223.144 | - | 7 |
27.254.235.13 | - | 7 |
37.58.18.237 | - | 7 |
51.178.43.161 | prod1.masterit.fr | 7 |
51.68.126.207 | 207.ip-51-68-126.eu | 7 |
111.67.194.254 | - | 7 |
112.172.189.90 | - | 7 |
193.32.162.133 | - | 7 |