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 |
|---|---|---|
| 45.148.10.121 | - | 9 |
| 46.151.182.230 | - | 9 |
| 61.245.11.87 | - | 9 |
| 5.187.35.21 | - | 8 |
| 45.93.168.13 | 45-93-168-13.digiturunc.com | 8 |
| 80.82.77.139 | dojo.census.shodan.io | 8 |
| 93.174.95.106 | battery.census.shodan.io | 8 |
| 43.134.184.20 | - | 7 |
| 45.79.181.104 | monaco.scan.bufferover.run | 7 |
| 66.132.153.113 | - | 7 |
| 66.240.236.109 | pdcscan2.scanning.cybcube.com | 7 |
| 66.240.236.116 | ubtuntu20236116.aspadmin.net | 7 |
| 80.82.77.33 | sky.census.shodan.io | 7 |
| 80.94.92.164 | - | 7 |
| 80.94.92.166 | - | 7 |
| 92.154.95.236 | lstlambert-656-1-48-236.w92-154.abo.wanadoo.fr | 7 |
| 103.232.121.71 | nick8472839 | 7 |
| 103.252.73.37 | - | 7 |
| 107.172.252.231 | 107-172-252-231-host.colocrossing.com | 7 |
| 118.69.199.170 | - | 7 |
| 129.45.84.119 | host-119.84.45.129.djezzycloud.dz | 7 |
| 143.20.185.79 | - | 7 |
| 152.32.202.244 | - | 7 |
| 162.142.125.113 | - | 7 |
| 162.142.125.219 | scanner-207.ch1.censys-scanner.com | 7 |
| 163.5.148.15 | - | 7 |
| 165.154.231.140 | - | 7 |
| 167.94.146.51 | - | 7 |
| 167.94.146.52 | - | 7 |
| 171.243.149.218 | dynamic-ip-adsl.viettel.vn | 7 |
| 172.104.11.4 | jersey.scan.bufferover.run | 7 |
| 172.105.128.11 | oslo.scan.bufferover.run | 7 |
| 172.203.245.49 | azpdes1pz4fb.stretchoid.com | 7 |
| 176.65.132.210 | - | 7 |
| 193.32.162.146 | - | 7 |
| 213.55.85.202 | - | 7 |
| 220.80.223.144 | - | 7 |
