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 |
---|---|---|
47.84.32.175 | - | 9 |
37.44.238.68 | ssd5-5196.9995 | 8 |
45.148.10.119 | - | 8 |
45.148.10.240 | - | 8 |
46.19.143.66 | hostedby.privatelayer.com | 8 |
47.84.73.221 | - | 8 |
47.236.252.254 | - | 8 |
47.237.81.18 | - | 8 |
141.98.10.198 | 1rja.talonted.eu.com | 8 |
144.126.229.46 | - | 8 |
195.178.110.112 | - | 8 |
218.92.0.111 | - | 8 |
218.92.0.114 | - | 8 |
218.92.0.198 | - | 8 |
218.92.0.216 | - | 8 |
218.92.0.217 | - | 8 |
218.92.0.218 | - | 8 |
218.92.0.219 | - | 8 |
218.92.0.220 | - | 8 |
218.92.0.221 | - | 8 |
218.92.0.222 | - | 8 |
218.92.0.223 | - | 8 |
218.92.0.225 | - | 8 |
218.92.0.226 | - | 8 |
218.92.0.227 | - | 8 |
218.92.0.228 | - | 8 |
218.92.0.229 | - | 8 |
218.92.0.230 | - | 8 |
218.92.0.231 | - | 8 |
218.92.0.232 | - | 8 |
218.92.0.233 | - | 8 |
218.92.0.235 | - | 8 |
218.92.0.236 | - | 8 |
218.92.0.237 | - | 8 |
195.178.110.6 | - | 8 |
80.82.77.139 | dojo.census.shodan.io | 7 |
82.200.65.218 | gw-bell-xen.ll-nsk.zsttk.ru | 7 |
89.97.218.142 | 89-97-218-142.ip19.fastwebnet.it | 7 |
45.148.10.46 | - | 7 |
45.148.10.117 | - | 7 |
45.148.10.118 | - | 7 |
47.245.119.234 | - | 7 |
77.221.158.97 | 31Haip.aeza.network | 7 |
78.153.131.174 | 43548.ip-ptr.tech | 7 |
89.248.172.16 | house.census.shodan.io | 7 |
92.255.85.188 | - | 7 |
92.255.85.189 | - | 7 |
94.159.104.177 | yvk.ua | 7 |
141.98.10.82 | - | 7 |
167.94.145.110 | - | 7 |
167.94.146.58 | - | 7 |
194.169.175.37 | - | 7 |
195.178.110.34 | - | 7 |
195.178.110.67 | - | 7 |
195.178.110.113 | - | 7 |
195.178.110.114 | - | 7 |
199.45.154.148 | scanner-205.hk2.censys-scanner.com | 7 |
207.90.244.2 | - | 7 |
128.14.129.10 | - | 7 |
147.45.42.188 | angry-knee.aeza.network | 7 |
156.59.199.78 | - | 7 |
185.220.101.110 | tor-exit-110.digitalcourage.de | 7 |
202.95.12.147 | - | 7 |
203.81.86.34 | - | 7 |
213.55.85.202 | - | 7 |
36.139.63.123 | - | 7 |
45.140.192.46 | - | 7 |
47.237.24.160 | - | 7 |
64.226.117.7 | - | 7 |
64.23.156.175 | - | 7 |
8.221.105.3 | - | 7 |
92.42.96.51 | - | 7 |
192.42.116.179 | 27.tor-exit.nothingtohide.nl | 7 |
192.42.116.214 | 17.tor-exit.nothingtohide.nl | 7 |