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 |
---|---|---|
183.81.169.238 | - | 10 |
101.47.6.209 | - | 10 |
45.148.10.174 | - | 9 |
190.211.255.106 | hostedby.privatelayer.com | 9 |
141.98.10.15 | - | 9 |
213.217.31.51 | 213-217-31-51.digiturunc.com | 8 |
80.82.77.33 | sky.census.shodan.io | 8 |
171.25.193.77 | tor-exit-read-me.dfri.se | 8 |
212.76.27.39 | - | 8 |
143.92.49.143 | - | 8 |
34.172.237.230 | 230.237.172.34.bc.googleusercontent.com | 8 |
92.55.190.215 | - | 8 |
185.129.62.62 | tor01.zencurity.com | 8 |
92.118.39.239 | edc85.daten-de.com | 7 |
206.168.34.125 | unused-space.coop.net | 7 |
152.89.198.106 | - | 7 |
61.177.172.179 | - | 7 |
45.148.10.69 | - | 7 |
218.92.0.34 | - | 7 |
79.110.62.145 | - | 7 |
101.43.93.18 | - | 7 |
206.238.221.46 | - | 7 |
185.242.226.22 | security.criminalip.com | 7 |
218.92.0.76 | - | 7 |
218.92.0.107 | - | 7 |
82.200.65.218 | gw-bell-xen.ll-nsk.zsttk.ru | 7 |
107.180.88.176 | 176.88.180.107.host.secureserver.net | 7 |
218.92.0.56 | - | 7 |
81.28.167.30 | - | 7 |
103.91.136.18 | - | 7 |
80.82.77.139 | dojo.census.shodan.io | 7 |
51.89.153.112 | ns3145504.ip-51-89-153.eu | 7 |
103.251.167.20 | - | 7 |
112.54.220.94 | - | 7 |
143.110.146.83 | - | 7 |
218.92.0.112 | - | 7 |
193.118.52.30 | zl-ams-nl-gp6-wk117.internet-census.org | 7 |
116.130.185.126 | - | 7 |
85.209.11.227 | - | 7 |
207.90.244.5 | - | 7 |
170.64.224.245 | - | 7 |
93.174.95.106 | battery.census.shodan.io | 7 |
71.6.134.230 | - | 7 |
193.32.162.65 | - | 7 |
206.168.34.119 | unused-space.coop.net | 7 |
61.177.172.136 | - | 7 |
61.177.172.140 | - | 7 |
218.92.0.29 | - | 7 |
218.92.0.22 | - | 7 |
218.92.0.24 | - | 7 |
218.92.0.27 | - | 7 |
94.141.102.96 | - | 7 |
61.177.172.160 | - | 7 |
80.67.172.162 | algrothendieck.nos-oignons.net | 7 |
193.32.162.29 | mail.whatami.co | 7 |
185.165.191.27 | - | 7 |
129.80.209.136 | - | 7 |
194.169.175.36 | - | 7 |
194.169.175.35 | - | 7 |
212.33.202.4 | - | 7 |
178.20.55.16 | marcuse.nos-oignons.net | 7 |
218.92.0.31 | - | 7 |
80.82.77.202 | rnd.group-ib.com | 7 |
80.67.167.81 | nosoignons.cust.milkywan.net | 7 |
218.92.0.113 | - | 7 |
218.92.0.118 | - | 7 |
43.136.95.69 | - | 7 |
79.175.138.68 | - | 7 |
180.101.88.197 | - | 7 |
180.101.88.196 | - | 7 |
193.32.162.83 | - | 7 |
212.113.101.113 | ssds.aeza.network | 7 |
160.153.234.75 | 75.234.153.160.host.secureserver.net | 7 |
143.198.196.174 | - | 7 |
180.101.88.205 | - | 7 |
61.93.186.125 | 061093186125.static.ctinets.com | 7 |
92.118.39.133 | - | 7 |
190.85.15.251 | - | 7 |
14.40.58.161 | - | 7 |
47.245.32.141 | - | 7 |