Installation instructions:
https://github.com/certtools/intelmq/blob/1.1.1/docs/INSTALL.md
Upgrade instructions:
https://github.com/certtools/intelmq/blob/1.1.1/docs/UPGRADING.md
Core
lib/harmonization.py
: Changeparse_utc_isoformat
ofDateTime
class from private to public (related to #1322).lib/utils.py
: Add new functionobject_pair_hook_bots
.lib.bot.py
:ParserBot
's methodrecover_line_csv
now also handles giventempdata
.Bot.acknowledge_message()
deletes__current_message
to free the memory, saves memory in idling parsers with big reports.start()
: Warn once per run iferror_dump_message
is set to false.Bot.start()
,ParserBot.process()
: If errors happen on bots without destination pipeline, theon_error
path has been queried and lead to an exception being raised.start()
: Iferror_procedure
is pass and on pipeline errors, the bot retries forever (#1333).
lib/message.py
:lib/pipeline.py
(Redis.receive
): Wait in 1s steps if redis is busy loading its snapshot from disk (#1334).
Default configuration
- Set
error_dump_message
to true by default indefaults.conf
. - Fixed typo in
defaults.conf
:proccess_manager
->process_manager
Development
bin/rewrite_config_files.py
: Fix ordering of BOTS file (#1327).
Harmonization
Update to 2018-09-26 version. New values are per taxonomy:
- Taxonomy 'intrusions':
- "application-compromise"
- "burglary"
- "privileged-account-compromise"
- "unprivileged-account-compromise"
- Taxonomy 'fraud':
- "copyright"
- "masquerade"
- "unauthorized-use-of-resources"
- Taxonomy 'information content security':
- "data-loss"
- Taxonomy 'vulnerable':
- "ddos-amplifier"
- "information-disclosure"
- "potentially-unwanted-accessible"
- "vulnerable-system"
- "weak-crypto"
- Taxonomy 'availability':
- "dos"
- "outage"
- "sabotage"
- Taxonomy 'abusive-content':
- "harmful-speech"
- "violence"
- Taxonomy 'malicious code':
- "malware-distribution"
- Taxonomy 'information-gathering':
- "social-engineering"
- "sniffing"
- Taxonomy 'information content security':
- "Unauthorised-information-access"
- "Unauthorised-information-modification"
Bots
Collectors
intelmq.bots.collectors.http.collector_http
:- Fix parameter name
extract_files
in BOTS (#1331). - Fix handling of
extract_files
parameter if the value is an empty string. - Handle not installed dependency library
requests
gracefully. - Explain
extract_files
parameter in docs and use a sane default in BOTS file.
- Fix parameter name
intelmq.bots.collectors.mail.collector_mail_url
:- Handle HTTP status codes != 2xx the same as HTTP timeouts: No exception, but graceful handling.
- Handle HTTP errors (bad status code and timeouts) with
error_procedure
== 'pass' but marking the mail as read and logging the error. - Handle not installed dependency library
requests
gracefully.
intelmq.bots.collectors.http.collector_http_stream
:- Handle not installed dependency library
requests
gracefully.
- Handle not installed dependency library
intelmq.bots.collectors.microsoft.collector_interflow
:- Handle not installed dependency library
requests
gracefully.
- Handle not installed dependency library
intelmq.bots.collectors.rt.collector_rt
:- Handle not installed dependency library
requests
gracefully.
- Handle not installed dependency library
- added
intelmq.bots.collectors.shodan.collector_stream
for collecting shodan stream data (#1096).- Correctly check the version of the shodan library, it resulted in wrong comparisons with two digit numbers.
intelmq.bots.collectors.microsoft.collector_interflow
:- Add check if Cache's TTL is big enough compared to
not_older_than
and throw an error otherwise.
- Add check if Cache's TTL is big enough compared to
Parsers
intelmq.bots.parsers.misp
: Fix Object attribute (#1318).intelmq.bots.parsers.cymru.parser_cap_program
:- Add support for new format (extra data about botnet of 'bots').
- Handle AS number 0.
intelmq.bots.parsers.shadowserver
:- Spam URL reports: remove
src_naics
,src_sic
columns. - fix parsing of 'spam' events in ShadowServer's 'Botnet Drone Hadoop' Report (#1271).
- Add support in parser to ignore some columns in config file by using
False
as intelmq key. - Add support for the
Outdated-DNSSEC-Key
andOutdated-DNSSEC-Key-IPv6
feeds. - Add support for the
Accessible-Rsync
feed. - Document support for the
Open-LDAP-TCP
feed. - Add support for
Accessible-HTTP
andOpen-DB2-Discovery-Service
(#1349). - Add support for
Accessible-AFP
(#1351). - Add support for
Darknet
(#1353).
- Spam URL reports: remove
intelmq.bots.parsers.generic.parser_csv
: If theskip_header
parameter was set toTrue
, the header was not part of theraw
field as returned by therecover_line
method. The header is now saved and handled correctly by the fixed recovery method.intelmq.bots.parsers.cleanmx.parser
: Use fieldfirst
instead offirsttime
fortime.source
(#1329, #1348).intelmq.bots.parsers.twitter.parser
: Support forurl-normalize
>= 1.4.1 and recommend it. Added new optional parameterdefault_scheme
, passed tourl-normalize
(#1356).
Experts
intelmq.bots.experts.national_cert_contact_certat.expert
:- Handle not installed dependency library
requests
gracefully.
- Handle not installed dependency library
intelmq.bots.experts.ripencc_abuse_contact.expert
:- Handle not installed dependency library
requests
gracefully.
- Handle not installed dependency library
intelmq.bots.experts.sieve.expert
:intelmq.bots.experts.idea.expert
: Add mappings for new harmonizationclassification.type
values, see above.
Outputs
intelmq.bots.outputs.redis
:intelmq.bots.outputs.mongodb
:intelmq.bots.outputs.restapi.output
:- Handle not installed dependency library
requests
gracefully.
- Handle not installed dependency library
Documentation
- FAQ
- Explanation and solution on orphaned queues.
- Section on how and why to remove
raw
data.
- Add or fix the tables of contents for all documentation files.
- Feeds:
- Add SECURITY.md file.
Packaging
- Change the maintainer from Sasche Wilde to Sebastian Wagner (#1320).
Tests
intelmq.tests.lib.test_bot
: Skiptest_logging_level_other
on python 3.7 because of unclear behavior related to copies of loggers (#1269).intelmq.tests.bots.collectors.rt.test_collector
: Remove test because the REST interface of the instance has been closed (see also python-rt/python-rt#28).
Tools
intelmqctl check
: Shows more detailed information on orphaned queues.intelmqctl
:- Correctly determine the status of bots started with
intelmqctl run
. - Fix output of errors during bot status determination, making it compatible to IntelMQ Manager.
check
subcommand: Show bot ID for messages also in JSON output.run [bot-id] process -m [message]
works also with bots without a configured source pipeline (#1307).
- Correctly determine the status of bots started with
Contrib
- elasticsearch/elasticmapper: Add tlp field (#1308).
feeds-config-generator/intelmq_gen_feeds_conf
: