3.1.0 Feature Release #2318
sebix
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Installation documentation:
https://intelmq.readthedocs.io/en/maintenance/user/installation.html
Upgrade documentation:
https://intelmq.readthedocs.io/en/maintenance/user/upgrade.html
Core
intelmq.lib.upgrades
:intelmq.lib.message
:extra.
namespace (PR#2059 by Sebastian Wagner, fixes Optimize data format key name regular expression #1807).intelmq.lib.bot.SQLBot
was replaced by an SQLMixin inintelmq.lib.mixins.SQLMixin
. The Generic DB Lookup Expert bot and the SQLOutput bot were updated accordingly.intelmq.lib.datatypes
which for now only contains an Enum listing the four bot typesbottype
attribute to CollectorBot, ParserBot, ExpertBot, OutputBotThey now reside in
intelmq.lib.processmanager
which also contains an interface definition the processmanager implementations must adhere to.Both the processmanagers and the
intelmqctl
script were cleaned up a bit.The
LogLevel
andReturnType
Enums were added tointelmq.lib.datatypes
.intelmq.lib.bot
:ParserBot
(PR#2192 by Sebastian Wagner).default_fields
parameter toParserBot
(PR#2293 by Filip Pokorný)intelmq.lib.pipeline
:BRPOPLPUSH
toBLMOVE
, becauseBRPOPLPUSH
has been marked as deprecated by redis in favor ofBLMOVE
(PR#2149 and PR#2240 by Sebastian Waldbauer and Sebastian Wagner, fixes redis pipeline: brpoplpush is deprecated #1827, BLMOVE is also used with clients not supporting it, resulting in broken pipeline #2233).intelmq.lib.utils
:resolve_dns
for querying DNS, with the support for recommended methods fromdnspython
package in versions 1 and 2.RewindableFileHandle
for easier handling and limiting number of temporary objects.intelmq.lib.harmonization
:tzone
argument fromDateTime.from_timestamp
andDateTime.from_epoch_millis
DateTime.from_timstamp
now also allows string argumentpytz
global dependencyDevelopment
Bots
Collectors
intelmq.bots.collectors.mail._lib
:intelmq.bots.collectors.blueliv
: Fix Blueliv collector requirements (PR#2161 by Gethvi).intelmq.bots.collectors.github_api._collector_github_api
: Added personal access token support (PR#2145 by Sebastian Waldbauer, fixes GitHub API collector: support for personal access token #1549).intelmq.bots.collectors.file.collector_file
: Added file lock support, no more race conditions (PR#2147 by Sebastian Waldbauer, fixes race condition in filecollector line 75 #2128)intelmq.bots.collectors.shadowserver.collector_reports_api.py
: Added file_format option to download reports in CSV format for better performance (PR#2246 by elsif2)Parsers
intelmq.bots.parsers.alienvault.parser_otx
: Save CVE data inextra.cve
instead ofextra.CVE
due to the field name restriction on lower-case characters (PR#2059 by Sebastian Wagner).intelmq.bots.parsers.anubisnetworks.parser
: Changed field name format fromextra.communication.http.x_forwarded_for_#1
toextra.communication.http.x_forwarded_for_1
due to the field name restriction on alphanumeric characters (PR#2059 by Sebastian Wagner).intelmq.bots.parsers.dataplane.parser
:Removed
intelmq.bots.parsers.malc0de
: this bot was marked as deprecated and removed from feed due to offline status (PR#2184 by Tamas Gutsohn, fixes malc0de feed is offline #2178).intelmq.bots.parsers.microsoft.parser_ctip
:overwrite
(PR#2112 by Sebastian Wagner, fixes CTIP Parser always overwrites feed.name #2022).Payload.domain
if it contains the same IP address asPayload.serverIp
(PR#2144 by Mikk Margus Möll and Sebastian Wagner).intelmq.bots.parsers.shodan.parser
(PR#2117 by Mikk Margus Möll):extra.ftp.<something>.parameters
, FTP parameters are collected together intoextra.ftp.features
as a list of said features, reducing field count.rsync.modules
is collected.NoValueException
with a string argument to signify that the conversion would not succeed, such as in the case of a single IP address being given in hostnames, which would then be passed intosource.reverse_dns and
fail to validate as a FQDN._common_keys
is moved out of the class._dict_dict_to_obj_list
is introduced, for converting a string-to-dict mapping into a list of dicts with the previous key as an attribute of the dict; this can be useful for preventing issues where, when feeding the data into aggregating tools, you'd end up with many more fields than necessary, e.gvulns.CVE-2010-0001.cvss
,CVE-2010-0002.cvss
etc._get_first
to get the first item from a list, withNoValueException
raised on empty lists._get_first_hostname
to handle the first valid FQDN from a list of hostnames for hostnames in the Shodan banner, if there is one, and givesNoValueException
otherwise.ssl.cert.serial
andssl.dhparams.generator
, which may return both integers and strings, are converted to strings.apply_mapping
, such as reducing needless loop iterations, removing a big try-except, and adding theNoValueException
handling described above.intelmq.bots.parsers.shadowserver._config
:Accessible AMQP
,Device Identification Report
(IPv4 and IPv6) (PR#2134 by Mateo Durante).SSL-POODLE-Vulnerable-Servers IPv6
(file namescan6_ssl_poodle
) (PR#2134 by Mateo Durante).Malware-URL
,Sandbox-Connection
,Sandbox-DNS
,Accessible-AMQP
,Open-AnonymouIs-MQTT
,Accessible-QUIC
,Accessible-SSH
,SYNful-Knock
, andSpecial
(PR#2227 by elsif2)Amplification-DDoS-Victim
,CAIDA-IP-Spoofer
,Darknet
,Drone
,Drone-Brute-Force
,IPv6-Sinkhole-HTTP-Drone
,Microsoft-Sinkhole
, andSinkhole-HTTP-Drone
(PR#2227 by elsif2).destination.fqdn (validate_fqdn)
destination.url (convert_http_host_and_url)
extra.browser_trusted (convert_bool)
extra.duration (convert_int)
extra.end_time (convert_date_utc)
extra.freak_vulnerable (convert_bool)
extra.ok (convert_bool)
extra.password (validate_to_none)
extra.ssl_poodle (convert_bool)
extra.status (convert_int)
extra.uptime (convert_int)
extra.version (convert_to_none)
source.network (validate_network)
scan_rsync:extra.password renamed to extra.has_password
scan_elasticsearch:status renamed to http_code
Accessible-HTTP-proxy
andOpen-HTTP-proxy
(PR#2246 by elsif2).Honeypot-DDoS
report and added theDDoS-Participant
report (PR#2303 by elsif2)Accessible-SLP
,IPv6 Accesssible-SLP
,IPv6-DNS-Open-Resolvers
, andIPv6-Open-LDAP-TCP
reports (PR#2311 by elsif2)Accessible-ICS
andOpen-MSSQL
(PR#2311 by elsif2)intelmq.bots.parsers.cymru.parser_cap_program
: The parser mapped the hostname intosource.fqdn
which is not allowed by the IntelMQ Data Format. Added a check (PR#2215 by Sebastian Waldbauer, fixes Cymru parser_cap_program invalid hostname filtering #2169)intelmq.bots.parsers.generic.parser_csv
:intelmq.bots.parsers.autoshun.parser
: Removed, as the feed is discontinued (PR#2214 by Sebastian Waldbauer, fixes Autoshun feed changed/dead #2162).intelmq.bots.parsers.openphish.parser_commercial
: Refactored complete code (PR#2160 by Filip Pokorný).host
field tosource.fqdn
when the content was an IP address.intelmq.bots.parsers.phishtank.parser
: Refactored code (PR#2270 by Filip Pokorný)intelmq.bots.parsers.dshield.parser_domain
: Has been removed, due to the feed is discontinued. (PR#2276 by Sebastian Waldbauer)intelmq.bots.parsers.abusech.parser_ip
: Removed (PR#2268 by Filip Pokorný).intelmq.bots.parsers.abusech.parser_domain
: Removed (PR#2268 by Filip Pokorný).intelmq.bots.parsers.abusech.parser_feodotracker
: Added new parser bot (PR#2268 by Filip Pokorný)intelmq.bots.parsers.generic.parser_csv
: Parametertype
is deprecated,default_fields
should be used. (PR#2293 by Filip Pokorný)intelmq.bots.parsers.generic.parser_csv
: Parameterskip_header
now allows also integer as a fixed number of lines to skip. (PR#2313 by Filip Pokorný)intelmq.bots.parsers.taichung.parser
: Removed (PR#2266 by Filip Pokorný)Experts
intelmq.bots.experts.domain_valid
: New bot for checking domain's validity (PR#1966 by Marius Karotkis).intelmq.bots.experts.truncate_by_delimiter.expert
: Cut string if its length is higher than a maximum length (PR#1967 by Marius Karotkis).intelmq.bots.experts.remove_affix
: Remove prefix or postfix strings from a field (PR#1965 by Marius Karotkis).intelmq.bots.experts.asn_lookup.expert
: Fixes update-database script on the last few days of a month (PR#2121 by Filip Pokorný, fixes ASN Lookup expert database update fails after the 28th of each month #2088).intelmq.bots.experts.threshold.expert
: Correctly use the standard parameterredis_cache_ttl
instead of the previously used parametertimeout
(PR#2155 by Karl-Johan Karlsson).intelmq.bots.experts.jinja2.expert
: Lift restriction on requirement jinja2 < 3 (PR#2158 by Sebastian Wagner).intelmq.bots.experts.asn_lookup.expert
,intelmq.bots.experts.domain_suffix.expert
,intelmq.bots.experts.maxmind_geoip.expert
,intelmq.bots.experts.recordedfuture_iprisk.expert
,intelmq.bots.experts.tor_nodes.expert
: New parameterautoupdate_cached_database
to disable automatic updates (downloads) of cached databases (PR#2180 by Sebastian Wagner).intelmq.bots.experts.url.expert
: New bot for extracting additional information fromsource.url
and/ordestination.url
(PR#2315 by Filip Pokorný).Outputs
intelmq.bots.outputs.postgresql
: this bot was marked as deprecated in 2019 announced to be removed in version 3 of IntelMQ (PR#2045 by Birger Schacht).intelmq.bots.outputs.rpz_file.output
to create RPZ files (PR#1962 by Marius Karotkis).intelmq.bots.outputs.bro_file.output
to create Bro intel formatted files (PR#1963 by Marius Karotkis).intelmq.bots.outputs.templated_smtp.output
:from_json()
(which just callsjson.loads()
in the standard Python environment), meaning the Templated SMTP output bot can take strings containing JSON documents and do the formatting itself (PR#2120 by Karl-Johan Karlsson).intelmq.bots.outputs.sql
:Documentation
default_fields
parameter (PR#2293 by Filip Pokorný).skip_header
parameter (PR#2313 by Filip Pokorný).Packaging
intelmq.bots.experts.sieve.validator
from executables insetup.py
(PR#2256 by Filip Pokorný).Tests
intelmq.lib.test
:skip_ci
also detectsdpkg-buildpackage
environments by checking the environment variableDEB_BUILD_ARCH
(PR#2123 by Sebastian Wagner).exponential backtracking on strings
fixed. (PR#2148 by Sebastian Waldbauer, fixes Inefficient regular expression #2138)test_invalid_ptr
(PR#2208 by Sebastian Wagner, fixes TestReverseDnsExpertBot.test_invalid_ptr fails because of DNS entry change #2206).requests_mock
to thedevelopment
extra requirements insetup.py
(PR#2210 by Sebastian Wagner).INTELMQ_PIPELINE_HOST
as redis host, analogous to other tests (PR#2209 by Sebastian Wagner, fixes Threshold Expert test uses hardcoded Redis host #2207).intelmq.lib.test.BotTestCase
: Addsskip_checks
variable to not fail on non-empty messages from callingcheck
function (PR#2315 by Filip Pokorný).Tools
intelmqctl
:check
: handleSyntaxError
in bot modules and report it without breaking execution (fixes SyntaxError in bots causesintelmqctl check
to crash #2177)intelmqsetup
: Revised installation of manager by building the static files at setup, not build time, making it behave more meaningful. Requires intelmq-manager >= 3.1.0 (PR#2198 by Sebastian Wagner, fixes intelmqsetup accesses version of intelmq_api wrongly leading to crash #2197).intelmqdump
: Respected global and per-bot custom settings oflogging_path
(fix intelmqdump: logging_path parameter not honoured #1605).Contrib
Known issues
This is short list of the most important known issues. The full list can be retrieved from GitHub.
This discussion was created from the release 3.1.0 Feature Release.
Beta Was this translation helpful? Give feedback.
All reactions