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
Uh oh!
There was an error while loading. Please reload this page.
-
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.SQLBotwas replaced by an SQLMixin inintelmq.lib.mixins.SQLMixin. The Generic DB Lookup Expert bot and the SQLOutput bot were updated accordingly.intelmq.lib.datatypeswhich for now only contains an Enum listing the four bot typesbottypeattribute to CollectorBot, ParserBot, ExpertBot, OutputBotThey now reside in
intelmq.lib.processmanagerwhich also contains an interface definition the processmanager implementations must adhere to.Both the processmanagers and the
intelmqctlscript were cleaned up a bit.The
LogLevelandReturnTypeEnums were added tointelmq.lib.datatypes.intelmq.lib.bot:ParserBot(PR#2192 by Sebastian Wagner).default_fieldsparameter toParserBot(PR#2293 by Filip Pokorný)intelmq.lib.pipeline:BRPOPLPUSHtoBLMOVE, becauseBRPOPLPUSHhas 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_dnsfor querying DNS, with the support for recommended methods fromdnspythonpackage in versions 1 and 2.RewindableFileHandlefor easier handling and limiting number of temporary objects.intelmq.lib.harmonization:tzoneargument fromDateTime.from_timestampandDateTime.from_epoch_millisDateTime.from_timstampnow also allows string argumentpytzglobal 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.cveinstead ofextra.CVEdue 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_#1toextra.communication.http.x_forwarded_for_1due 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.domainif 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.featuresas a list of said features, reducing field count.rsync.modulesis collected.NoValueExceptionwith 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 andfail to validate as a FQDN._common_keysis moved out of the class._dict_dict_to_obj_listis 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.cvssetc._get_firstto get the first item from a list, withNoValueExceptionraised on empty lists._get_first_hostnameto handle the first valid FQDN from a list of hostnames for hostnames in the Shodan banner, if there is one, and givesNoValueExceptionotherwise.ssl.cert.serialandssl.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 theNoValueExceptionhandling 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-proxyandOpen-HTTP-proxy(PR#2246 by elsif2).Honeypot-DDoSreport and added theDDoS-Participantreport (PR#2303 by elsif2)Accessible-SLP,IPv6 Accesssible-SLP,IPv6-DNS-Open-Resolvers, andIPv6-Open-LDAP-TCPreports (PR#2311 by elsif2)Accessible-ICSandOpen-MSSQL(PR#2311 by elsif2)intelmq.bots.parsers.cymru.parser_cap_program: The parser mapped the hostname intosource.fqdnwhich 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ý).hostfield tosource.fqdnwhen 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: Parametertypeis deprecated,default_fieldsshould be used. (PR#2293 by Filip Pokorný)intelmq.bots.parsers.generic.parser_csv: Parameterskip_headernow 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_ttlinstead 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_databaseto disable automatic updates (downloads) of cached databases (PR#2180 by Sebastian Wagner).intelmq.bots.experts.url.expert: New bot for extracting additional information fromsource.urland/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.outputto create RPZ files (PR#1962 by Marius Karotkis).intelmq.bots.outputs.bro_file.outputto 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_fieldsparameter (PR#2293 by Filip Pokorný).skip_headerparameter (PR#2313 by Filip Pokorný).Packaging
intelmq.bots.experts.sieve.validatorfrom executables insetup.py(PR#2256 by Filip Pokorný).Tests
intelmq.lib.test:skip_cialso detectsdpkg-buildpackageenvironments by checking the environment variableDEB_BUILD_ARCH(PR#2123 by Sebastian Wagner).exponential backtracking on stringsfixed. (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_mockto thedevelopmentextra requirements insetup.py(PR#2210 by Sebastian Wagner).INTELMQ_PIPELINE_HOSTas 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_checksvariable to not fail on non-empty messages from callingcheckfunction (PR#2315 by Filip Pokorný).Tools
intelmqctl:check: handleSyntaxErrorin bot modules and report it without breaking execution (fixes SyntaxError in bots causesintelmqctl checkto 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