Files
bpfire/config/ipblocklist/sources
Adolf Belka 78e2c1dce5 sources: Removal of ALIENVAULT and SPAMHAUS_EDROP from ipblocklist sources
- ALIENVAULT has not been updated since at least Nov 2022 but probably earlier. There is no
   date for the file to be downloaded but a forum user has log messages from Nov 2022 that
   indicate the file had not changed as therefore no download occurred.
- AT&T aquired AlienVault in August 2018. Somewhere between 2018 and 2022 the list stopped
   getting updated. AlienVault references on the AT&T website are now for a different
   product.
- Discussed in IPFire conf call of April 2024 and agreed to remove the ALIENVAULT
   blocklist.
- On Apr 10th the Spamhaus eDROP list was merged with the Spamhaus DROP list. The eDROP
   list is still available but is now empty. Trying to select the SPAMHAUS_EDROP list
   gives an error message that the blocklist was found to be empty.
- This patch removes both the ALIENVAULT and the SPAMHAUS_EDROP lists from the ipblocklist
   sources file.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-04-19 19:51:01 +00:00

129 lines
9.4 KiB
Plaintext

############################################################################
# #
# IP Address blocklists for IPFire #
# #
# This file contains a list of blocklist sources that will replace the one #
# internal to the updated if it is found at /var/ipfire/blocklist/sources. #
# The intention is to provide a common source of information for both the #
# updater and WUI. #
# #
# The chains created in the packet filter will be named by the top level #
# key and this will also be used in the log message to identify the reason #
# for the dropped packet. #
# #
# The fields are: #
# #
# name The blocklist's full name #
# url URL of the file containing the list #
# info URL giving information about the source #
# parser The parser function used to extract IP addresses from the #
# downloaded list #
# rate Minimum period between checks for updates. Can be specified in #
# days (d), hours (h) or minutes (m) #
# category Used for documentation on the WUI. Can be one of the following #
# 'application' Potentially unwanted applications #
# 'attacker' Generic source of malicious packets #
# 'c and c' Malware Command and Control source #
# 'composite' Composite of other lists #
# 'invalid' Invalid addresses on the public internet #
# 'scanner' Port scanner that is not initself malicious #
# disable Name of another list to disable if this one is enabled. Used #
# when the other list is a subset of this one. #
# #
# The info and category fields are purely for documentation. #
# #
############################################################################
package IPblocklist::List;
our %sources = ( 'EMERGING_FWRULE' => { 'name' => 'Emerging Threats Blocklist',
'url' => 'https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt',
'info' => 'https://doc.emergingthreats.net/bin/view/Main/EmergingFirewallRules',
'parser' => 'ip-or-net-list',
'rate' => '1h',
'category' => 'composite',
'disable' => ['FEODO_RECOMMENDED', 'FEODO_IP', 'FEODO_AGGRESSIVE', 'SPAMHAUS_DROP', 'DSHIELD'] },
'EMERGING_COMPROMISED' => { 'name' => 'Emerging Threats Compromised IPs',
'url' => 'https://rules.emergingthreats.net/blockrules/compromised-ips.txt',
'info' => 'https://doc.emergingthreats.net/bin/view/Main/CompromisedHost',
'parser' => 'ip-or-net-list',
'rate' => '1h',
'category' => 'attacker' },
'SPAMHAUS_DROP' => { 'name' => "Spamhaus Don't Route or Peer List",
'url' => 'https://www.spamhaus.org/drop/drop.txt',
'info' => 'https://www.spamhaus.org/drop/',
'parser' => 'ip-or-net-list',
'rate' => '12h',
'category' => 'reputation' },
'DSHIELD' => { 'name' => 'Dshield.org Recommended Block List',
'url' => 'https://www.dshield.org/block.txt',
'info' => 'https://dshield.org/',
'parser' => 'dshield',
'rate' => '1h',
'category' => 'attacker' },
'FEODO_RECOMMENDED'=> {'name' => 'Feodo Trojan IP Blocklist (Recommended)',
'url' => 'https://feodotracker.abuse.ch/downloads/ipblocklist_recommended.txt',
'info' => 'https://feodotracker.abuse.ch/blocklist',
'parser' => 'ip-or-net-list',
'rate' => '5m',
'category' => 'c and c' },
'FEODO_IP' => { 'name' => 'Feodo Trojan IP Blocklist',
'url' => 'https://feodotracker.abuse.ch/downloads/ipblocklist.txt',
'info' => 'https://feodotracker.abuse.ch/blocklist',
'parser' => 'ip-or-net-list',
'rate' => '5m',
'category' => 'c and c',
'disable' => 'FEODO_RECOMMENDED' },
'FEODO_AGGRESSIVE' => { 'name' => 'Feodo Trojan IP Blocklist (Aggressive)',
'url' => 'https://feodotracker.abuse.ch/downloads/ipblocklist_aggressive.txt',
'info' => 'https://feodotracker.abuse.ch/blocklist',
'parser' => 'ip-or-net-list',
'rate' => '5m',
'category' => 'c and c',
'disable' => ['FEODO_IP', 'FEODO_RECOMMENDED'] },
'CIARMY' => { 'name' => 'The CINS Army List',
'url' => 'https://cinsscore.com/list/ci-badguys.txt',
'info' => 'https://cinsscore.com/#list',
'parser' => 'ip-or-net-list',
'rate' => '15m',
'category' => 'reputation' },
'TOR_ALL' => { 'name' => 'Known Tor Nodes',
'url' => 'https://www.dan.me.uk/torlist',
'info' => 'https://www.dan.me.uk/tornodes',
'parser' => 'ip-or-net-list',
'rate' => '1h',
'category' => 'application',
'disable' => 'TOR_EXIT' },
'TOR_EXIT' => { 'name' => 'Known Tor Exit Nodes',
'url' => 'https://www.dan.me.uk/torlist/?exit',
'info' => 'https://www.dan.me.uk/tornodes',
'parser' => 'ip-or-net-list',,
'rate' => '1h',
'category' => 'application' },
'BOGON' => { 'name' => 'Bogus address list (Martian)',
'url' => 'https://www.team-cymru.org/Services/Bogons/bogon-bn-agg.txt',
'info' => 'https://www.team-cymru.com/bogon-reference',
'parser' => 'ip-or-net-list',
'rate' => '1d',
'category' => 'invalid' },
'BOGON_FULL' => { 'name' => 'Full Bogus Address List',
'url' => 'https://www.team-cymru.org/Services/Bogons/fullbogons-ipv4.txt',
'info' => 'https://www.team-cymru.com/bogon-reference',
'parser' => 'ip-or-net-list',
'rate' => '4h',
'category' => 'invalid',
'disable' => 'BOGON' },
'SHODAN' => { 'name' => 'ISC Shodan scanner blocklist',
'url' => 'https://isc.sans.edu/api/threatlist/shodan?tab',
'info' => 'https://isc.sans.edu',
'parser' => 'ip-or-net-list',
'rate' => '1d',
'category' => 'scanner' },
'BLOCKLIST_DE' => { 'name' => 'Blocklist.de all attacks list',
'url' => 'https://lists.blocklist.de/lists/all.txt',
'info' => 'https://www.blocklist.de',
'parser' => 'ip-or-net-list',
'rate' => '30m',
'category' => 'attacker' }
);