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 |
---|---|---|
37.44.238.88 | ssd5-6208.10083 | 9 |
37.148.204.40 | n1nlgriddb50060-01.shr.prod.ams1.secureserver.net | 8 |
184.168.122.184 | 184.122.168.184.host.secureserver.net | 8 |
185.224.3.215 | - | 8 |
194.0.234.37 | - | 8 |
218.92.0.219 | - | 8 |
218.92.0.221 | - | 8 |
89.44.242.63 | - | 8 |
80.82.77.33 | sky.census.shodan.io | 7 |
2.57.122.189 | - | 7 |
2.57.122.191 | - | 7 |
34.93.121.198 | 198.121.93.34.bc.googleusercontent.com | 7 |
89.96.189.246 | 89-96-189-246.ip13.fastwebnet.it | 7 |
92.118.39.71 | - | 7 |
92.118.39.74 | - | 7 |
92.118.39.75 | - | 7 |
136.29.71.33 | 136-29-71-33.cab.webpass.net | 7 |
164.92.227.178 | - | 7 |
167.94.146.54 | - | 7 |
180.178.94.73 | - | 7 |
181.225.140.68 | - | 7 |
193.32.162.132 | - | 7 |
193.32.162.133 | - | 7 |
193.32.162.134 | - | 7 |
193.32.162.139 | - | 7 |
195.178.110.76 | - | 7 |
218.92.0.112 | - | 7 |
218.92.0.218 | - | 7 |
218.92.0.222 | - | 7 |
218.92.0.226 | - | 7 |
218.92.0.233 | - | 7 |
218.92.0.237 | - | 7 |
164.152.61.233 | - | 7 |