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.50.16.221 | what.are.you.looking.for | 11 |
218.92.0.34 | - | 9 |
218.92.0.31 | - | 9 |
61.177.172.172 | - | 9 |
61.177.172.179 | - | 9 |
61.177.172.136 | - | 9 |
140.246.28.249 | - | 9 |
61.177.172.161 | - | 9 |
61.177.172.160 | - | 9 |
61.177.172.168 | - | 9 |
218.92.0.112 | - | 9 |
218.92.0.113 | - | 9 |
218.92.0.118 | - | 9 |
180.101.88.197 | - | 9 |
218.92.0.107 | - | 9 |
218.92.0.56 | - | 9 |
61.177.172.140 | - | 9 |
218.92.0.29 | - | 9 |
218.92.0.22 | - | 9 |
218.92.0.24 | - | 9 |
218.92.0.27 | - | 9 |
156.248.75.197 | - | 8 |
144.217.180.194 | ns541144.ip-144-217-180.net | 8 |
80.67.167.81 | nosoignons.cust.milkywan.net | 8 |
202.95.13.245 | - | 8 |
212.113.102.134 | server4.aeza.network | 8 |
212.113.102.130 | server2.aeza.network | 8 |
193.32.162.83 | - | 8 |
178.62.14.74 | - | 8 |
104.248.194.114 | - | 8 |
185.224.128.83 | i.see.u | 8 |
93.174.95.106 | battery.census.shodan.io | 8 |
193.32.162.29 | mail.whatami.co | 8 |
193.201.9.156 | - | 7 |
120.224.50.233 | - | 7 |
79.110.62.145 | - | 7 |
45.148.10.251 | - | 7 |
212.113.102.128 | server3.aeza.network | 7 |
49.248.154.177 | static-177.154.248.49-tataidc.co.in | 7 |
189.7.17.61 | bd07113d.virtua.com.br | 7 |
85.209.11.227 | - | 7 |
80.82.77.33 | sky.census.shodan.io | 7 |
77.91.85.126 | chummy-activity.aeza.network | 7 |
185.129.62.62 | tor01.zencurity.com | 7 |
92.118.39.133 | - | 7 |
45.139.122.176 | - | 7 |
71.6.134.233 | centos7134233.aspadmin.net | 7 |
192.42.116.178 | 26.tor-exit.nothingtohide.nl | 7 |
49.249.156.130 | static-130.156.249.49-tataidc.co.in | 7 |
90.230.237.250 | 90-230-237-250-no600.tbcn.telia.com | 7 |
221.222.184.230 | - | 7 |
193.32.162.65 | - | 7 |
207.90.244.6 | - | 7 |
206.189.126.229 | - | 7 |
128.199.52.228 | - | 7 |
162.142.125.38 | - | 7 |
134.209.21.147 | - | 7 |
158.51.124.56 | - | 7 |