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 |
---|---|---|
194.0.234.37 | - | 9 |
194.0.234.38 | - | 9 |
92.118.39.72 | - | 8 |
134.209.120.69 | - | 8 |
193.32.162.132 | - | 8 |
193.32.162.139 | - | 8 |
207.90.244.11 | - | 8 |
218.92.0.112 | - | 8 |
218.92.0.219 | - | 8 |
218.92.0.220 | - | 8 |
218.92.0.226 | - | 8 |
218.92.0.231 | - | 8 |
218.92.0.232 | - | 8 |
218.92.0.236 | - | 8 |
218.92.0.237 | - | 8 |
80.82.77.33 | sky.census.shodan.io | 7 |
93.174.95.106 | battery.census.shodan.io | 7 |
2.57.122.194 | - | 7 |
2.57.122.196 | - | 7 |
36.110.228.254 | - | 7 |
92.118.39.71 | - | 7 |
92.118.39.73 | - | 7 |
92.118.39.75 | - | 7 |
92.255.85.188 | - | 7 |
92.255.85.189 | - | 7 |
116.105.217.67 | - | 7 |
116.110.65.134 | - | 7 |
162.142.125.212 | scanner-05.ch1.censys-scanner.com | 7 |
167.94.145.109 | - | 7 |
167.94.146.48 | - | 7 |
167.94.146.55 | - | 7 |
193.32.162.133 | - | 7 |
193.32.162.136 | - | 7 |
206.168.34.71 | - | 7 |
206.168.34.112 | - | 7 |
207.90.244.2 | - | 7 |
218.92.0.111 | - | 7 |
218.92.0.114 | - | 7 |
218.92.0.198 | - | 7 |
218.92.0.216 | - | 7 |
218.92.0.217 | - | 7 |
218.92.0.218 | - | 7 |
218.92.0.221 | - | 7 |
218.92.0.222 | - | 7 |
218.92.0.223 | - | 7 |
218.92.0.225 | - | 7 |
218.92.0.227 | - | 7 |
218.92.0.228 | - | 7 |
218.92.0.229 | - | 7 |
218.92.0.230 | - | 7 |
218.92.0.233 | - | 7 |
218.92.0.235 | - | 7 |
103.188.177.46 | - | 7 |
118.193.77.158 | - | 7 |
184.168.122.184 | 184.122.168.184.host.secureserver.net | 7 |
185.157.223.126 | 185-157-223-126-static.glesys.net | 7 |
207.90.244.12 | - | 7 |
212.49.70.200 | autodiscover.interdistalliances.com | 7 |
220.80.223.144 | - | 7 |
35.222.117.243 | 243.117.222.35.bc.googleusercontent.com | 7 |
45.233.58.140 | - | 7 |
111.67.194.206 | - | 7 |
164.152.61.233 | - | 7 |
183.224.219.194 | - | 7 |
193.32.162.131 | - | 7 |
211.105.213.144 | - | 7 |