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 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 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 |
---|---|---|
193.32.162.157 | - | 10 |
80.94.95.115 | - | 9 |
193.46.255.33 | hostingmailto181.statics.servermail.org | 9 |
193.46.255.159 | hostingmailto066.statics.servermail.org | 9 |
193.46.255.244 | hostingmailto161.statics.servermail.org | 9 |
194.0.234.19 | - | 9 |
34.59.175.189 | 189.175.59.34.bc.googleusercontent.com | 8 |
62.60.131.157 | - | 8 |
80.94.93.119 | - | 8 |
80.94.93.176 | - | 8 |
80.94.93.233 | - | 8 |
91.224.92.108 | srv-91-224-92-108.serveroffer.net | 8 |
93.174.95.106 | battery.census.shodan.io | 8 |
193.46.255.7 | hostingmailto221.statics.servermail.org | 8 |
193.46.255.20 | hostingmailto112.statics.servermail.org | 8 |
193.46.255.99 | hostingmailto251.statics.servermail.org | 8 |
193.46.255.103 | hostingmailto005.statics.servermail.org | 8 |
193.46.255.217 | hostingmailto131.statics.servermail.org | 8 |
204.76.203.28 | hosted-by.pfcloud.io | 8 |
2.57.121.25 | hosting25.tronicsat.com | 7 |
2.57.121.112 | dns112.personaliseplus.com | 7 |
3.131.215.38 | ec2-3-131-215-38.us-east-2.compute.amazonaws.com | 7 |
34.85.163.94 | 94.163.85.34.bc.googleusercontent.com | 7 |
34.175.118.185 | 185.118.175.34.bc.googleusercontent.com | 7 |
49.47.217.128 | - | 7 |
64.226.103.63 | - | 7 |
64.227.174.243 | - | 7 |
78.128.112.74 | ip-112-74.4vendeta.com | 7 |
80.82.77.33 | sky.census.shodan.io | 7 |
80.82.77.139 | dojo.census.shodan.io | 7 |
80.94.95.116 | - | 7 |
89.97.218.142 | 89-97-218-142.ip19.fastwebnet.it | 7 |
101.250.60.4 | - | 7 |
107.170.228.16 | wfinancial20230805-s-1vcpu-2gb-sfo1-01-ubuntu-16.04 | 7 |
114.111.54.188 | - | 7 |
118.128.237.197 | - | 7 |
121.186.31.54 | - | 7 |
122.155.0.205 | www.thalaychupsorn.go.th | 7 |
137.131.43.224 | - | 7 |
139.59.64.179 | - | 7 |
162.142.125.44 | scanner-201.ch1.censys-scanner.com | 7 |
162.142.125.113 | - | 7 |
162.142.125.115 | - | 7 |
162.142.125.205 | scanner-202.ch1.censys-scanner.com | 7 |
162.142.125.210 | scanner-207.ch1.censys-scanner.com | 7 |
162.142.125.211 | scanner-207.ch1.censys-scanner.com | 7 |
176.235.182.73 | - | 7 |
185.156.73.233 | - | 7 |
187.16.96.250 | mvx-187-16-96-250.mundivox.com | 7 |
189.217.130.86 | customer-189-217-130-86.cablevision.net.mx | 7 |
192.210.160.141 | 192-210-160-141-host.colocrossing.com | 7 |
193.32.162.145 | - | 7 |
195.87.80.171 | - | 7 |
197.227.8.186 | - | 7 |
198.98.53.110 | - | 7 |
199.45.155.69 | scanner-202.hk2.censys-scanner.com | 7 |
211.253.10.96 | - | 7 |
218.145.181.48 | - | 7 |
220.247.224.226 | - | 7 |
223.197.186.7 | 223-197-186-7.static.imsbiz.com | 7 |