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 |
94.156.152.38 | - | 9 |
193.46.255.20 | hostingmailto112.statics.servermail.org | 9 |
36.140.33.10 | - | 8 |
43.252.231.122 | - | 8 |
62.60.131.157 | - | 8 |
80.82.77.33 | sky.census.shodan.io | 8 |
80.94.93.119 | - | 8 |
80.94.93.233 | - | 8 |
93.174.95.106 | battery.census.shodan.io | 8 |
176.65.148.44 | hosted-by.pfcloud.io | 8 |
192.210.160.141 | 192-210-160-141-host.colocrossing.com | 8 |
193.46.255.7 | hostingmailto221.statics.servermail.org | 8 |
193.46.255.33 | hostingmailto181.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.159 | hostingmailto066.statics.servermail.org | 8 |
193.46.255.217 | hostingmailto131.statics.servermail.org | 8 |
193.46.255.244 | hostingmailto161.statics.servermail.org | 8 |
198.98.53.110 | - | 8 |
2.57.121.25 | hosting25.tronicsat.com | 7 |
2.57.121.112 | dns112.personaliseplus.com | 7 |
27.254.235.2 | - | 7 |
34.59.175.189 | 189.175.59.34.bc.googleusercontent.com | 7 |
45.119.212.196 | - | 7 |
71.6.146.186 | inspire.census.shodan.io | 7 |
80.82.77.139 | dojo.census.shodan.io | 7 |
80.94.95.115 | - | 7 |
86.54.31.32 | hat.census.shodan.io | 7 |
86.54.31.42 | green.census.shodan.io | 7 |
88.147.30.59 | 88-147-30-59.static.eolo.it | 7 |
89.97.218.142 | 89-97-218-142.ip19.fastwebnet.it | 7 |
114.111.54.188 | - | 7 |
119.8.169.21 | ecs-119-8-169-21.compute.hwclouds-dns.com | 7 |
121.186.31.54 | - | 7 |
123.30.249.49 | static.vnpt.vn | 7 |
134.122.95.85 | - | 7 |
162.142.125.121 | - | 7 |
162.142.125.126 | - | 7 |
162.142.125.127 | - | 7 |
162.142.125.204 | scanner-202.ch1.censys-scanner.com | 7 |
162.142.125.214 | scanner-207.ch1.censys-scanner.com | 7 |
167.94.146.51 | - | 7 |
167.94.146.53 | - | 7 |
167.94.146.55 | - | 7 |
167.94.146.57 | - | 7 |
167.94.146.58 | - | 7 |
167.94.146.62 | - | 7 |
176.235.182.73 | - | 7 |
185.213.165.65 | static.65.165.213.185.clients.irandns.com | 7 |
194.0.234.19 | - | 7 |
195.87.80.171 | - | 7 |
203.154.162.168 | ess.peopleplus.co.th | 7 |
204.76.203.28 | hosted-by.pfcloud.io | 7 |
206.168.34.194 | unused-space.coop.net | 7 |
223.123.92.149 | - | 7 |