mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

The main part of this commit are changes in tests. A lot of the tests that previously relied on analyzer.log or dpd.log now use the new analyzer-failed.log. I verified all the changes and, as far as I can tell, everything behaves as it should. This includes the external test baselines. This change also enables logging of file and packet analyzer to analyzer_failed.log and fixes some small behavior issues. The analyzer_failed event is no longer raised when the removal of an analyzer is vetoed. If an analyzer is no longer active when an analyzer violation is raised, currently the analyzer_failed event is raised. This can, e.g., happen when an analyzer error happens at the very end of the connection. This makes the behavior more similar to what happened in the past, and also intuitively seems to make sense. A bug introduced in the failed service logging was fixed.
161 lines
6.7 KiB
Text
161 lines
6.7 KiB
Text
# This file loads ALL policy scripts that are part of the Zeek distribution.
|
|
#
|
|
# This is rarely makes sense, and is for testing only.
|
|
#
|
|
# Note that we have a unit test that makes sure that all policy files shipped are
|
|
# actually loaded here. If we have files that are part of the distribution yet
|
|
# can't be loaded here, these must still be listed here with their load command
|
|
# commented out.
|
|
|
|
# The base/ scripts are all loaded by default and not included here.
|
|
|
|
@load frameworks/analyzer/analyzer-debug-log.zeek
|
|
# @load frameworks/analyzer/dpd-log.zeek
|
|
@load frameworks/analyzer/packet-segment-logging.zeek
|
|
# @load frameworks/control/controllee.zeek
|
|
# @load frameworks/control/controller.zeek
|
|
@ifdef ( Cluster::CLUSTER_BACKEND_ZEROMQ )
|
|
@load frameworks/cluster/backend/zeromq/__load__.zeek
|
|
# @load frameworks/cluster/backend/zeromq/connect.zeek
|
|
@load frameworks/cluster/backend/zeromq/main.zeek
|
|
@endif
|
|
@load frameworks/cluster/experimental.zeek
|
|
# Loaded via the above through test-all-policy-cluster.test
|
|
# when running as a manager, creates cluster.log entries
|
|
# even in non-cluster mode if loaded like the below.
|
|
# @load frameworks/cluster/nodes-experimental/manager.zeek
|
|
@load frameworks/management/agent/__load__.zeek
|
|
@load frameworks/management/agent/api.zeek
|
|
@load frameworks/management/agent/boot.zeek
|
|
@load frameworks/management/agent/config.zeek
|
|
# @load frameworks/management/agent/main.zeek
|
|
@load frameworks/management/controller/__load__.zeek
|
|
@load frameworks/management/controller/api.zeek
|
|
@load frameworks/management/controller/boot.zeek
|
|
@load frameworks/management/controller/config.zeek
|
|
# @load frameworks/management/controller/main.zeek
|
|
@load frameworks/management/__load__.zeek
|
|
@load frameworks/management/config.zeek
|
|
@load frameworks/management/log.zeek
|
|
@load frameworks/management/persistence.zeek
|
|
# @load frameworks/management/node/__load__.zeek
|
|
@load frameworks/management/node/api.zeek
|
|
@load frameworks/management/node/config.zeek
|
|
# @load frameworks/management/node/main.zeek
|
|
@load frameworks/management/supervisor/__load__.zeek
|
|
@load frameworks/management/supervisor/api.zeek
|
|
@load frameworks/management/supervisor/config.zeek
|
|
@load frameworks/management/supervisor/main.zeek
|
|
@load frameworks/management/request.zeek
|
|
@load frameworks/management/types.zeek
|
|
@load frameworks/management/util.zeek
|
|
@load frameworks/dpd/detect-protocols.zeek
|
|
# @load frameworks/dpd/packet-segment-logging.zeek
|
|
@load frameworks/intel/do_notice.zeek
|
|
@load frameworks/intel/do_expire.zeek
|
|
@load frameworks/intel/whitelist.zeek
|
|
@load frameworks/intel/removal.zeek
|
|
@load frameworks/intel/seen/__load__.zeek
|
|
@load frameworks/intel/seen/conn-established.zeek
|
|
@load frameworks/intel/seen/dns.zeek
|
|
@load frameworks/intel/seen/file-hashes.zeek
|
|
@load frameworks/intel/seen/file-names.zeek
|
|
@load frameworks/intel/seen/http-headers.zeek
|
|
@load frameworks/intel/seen/http-url.zeek
|
|
@load frameworks/intel/seen/manage-event-groups.zeek
|
|
@load frameworks/intel/seen/pubkey-hashes.zeek
|
|
@load frameworks/intel/seen/smb-filenames.zeek
|
|
@load frameworks/intel/seen/smtp-url-extraction.zeek
|
|
@load frameworks/intel/seen/smtp.zeek
|
|
@load frameworks/intel/seen/ssl.zeek
|
|
@load frameworks/intel/seen/where-locations.zeek
|
|
@load frameworks/intel/seen/x509.zeek
|
|
@load frameworks/netcontrol/catch-and-release.zeek
|
|
@load frameworks/files/detect-MHR.zeek
|
|
@load frameworks/files/entropy-test-all-files.zeek
|
|
#@load frameworks/files/extract-all-files.zeek
|
|
@load frameworks/files/hash-all-files.zeek
|
|
@load frameworks/notice/__load__.zeek
|
|
@load frameworks/notice/actions/drop.zeek
|
|
@load frameworks/notice/community-id.zeek
|
|
@load frameworks/notice/extend-email/hostnames.zeek
|
|
@load files/x509/disable-certificate-events-known-certs.zeek
|
|
@load frameworks/packet-filter/shunt.zeek
|
|
# @load frameworks/signatures/iso-9660.zeek
|
|
@load frameworks/software/version-changes.zeek
|
|
@load frameworks/software/vulnerable.zeek
|
|
# @load frameworks/spicy/record-spicy-batch.zeek
|
|
# @load frameworks/spicy/resource-usage.zeek
|
|
@load frameworks/software/windows-version-detection.zeek
|
|
@load frameworks/storage/backend/redis/__load__.zeek
|
|
@load frameworks/storage/backend/redis/main.zeek
|
|
@load frameworks/storage/backend/sqlite/__load__.zeek
|
|
@load frameworks/storage/backend/sqlite/main.zeek
|
|
@load frameworks/telemetry/log.zeek
|
|
@load integration/collective-intel/__load__.zeek
|
|
@load integration/collective-intel/main.zeek
|
|
@load misc/capture-loss.zeek
|
|
@load misc/detect-traceroute/__load__.zeek
|
|
@load misc/detect-traceroute/main.zeek
|
|
# @load misc/dump-events.zeek
|
|
@load misc/loaded-scripts.zeek
|
|
@load misc/profiling.zeek
|
|
@load misc/stats.zeek
|
|
@load misc/weird-stats.zeek
|
|
@load misc/trim-trace-file.zeek
|
|
@load misc/unknown-protocols.zeek
|
|
@load protocols/conn/community-id-logging.zeek
|
|
@load protocols/conn/disable-unknown-ip-proto-support.zeek
|
|
@load protocols/conn/failed-service-logging.zeek
|
|
@load protocols/conn/ip-proto-name-logging.zeek
|
|
@load protocols/conn/known-hosts.zeek
|
|
@load protocols/conn/known-services.zeek
|
|
@load protocols/conn/mac-logging.zeek
|
|
@load protocols/conn/vlan-logging.zeek
|
|
@load protocols/conn/weirds.zeek
|
|
#@load protocols/conn/speculative-service.zeek
|
|
@load protocols/dhcp/msg-orig.zeek
|
|
@load protocols/dhcp/software.zeek
|
|
@load protocols/dhcp/sub-opts.zeek
|
|
@load protocols/dns/auth-addl.zeek
|
|
@load protocols/dns/detect-external-names.zeek
|
|
@load protocols/dns/log-original-query-case.zeek
|
|
@load protocols/ftp/detect-bruteforcing.zeek
|
|
@load protocols/ftp/detect.zeek
|
|
@load protocols/ftp/software.zeek
|
|
# @load protocols/http/detect-sqli.zeek
|
|
@load protocols/http/detect-sql-injection.zeek
|
|
@load protocols/http/detect-webapps.zeek
|
|
@load protocols/http/header-names.zeek
|
|
@load protocols/http/software-browser-plugins.zeek
|
|
@load protocols/http/software.zeek
|
|
@load protocols/http/var-extraction-cookies.zeek
|
|
@load protocols/http/var-extraction-uri.zeek
|
|
@load protocols/krb/ticket-logging.zeek
|
|
@load protocols/modbus/known-masters-slaves.zeek
|
|
@load protocols/modbus/track-memmap.zeek
|
|
@load protocols/mysql/software.zeek
|
|
@load protocols/rdp/indicate_ssl.zeek
|
|
@load protocols/smb/log-cmds.zeek
|
|
@load protocols/smtp/blocklists.zeek
|
|
@load protocols/smtp/detect-suspicious-orig.zeek
|
|
@load protocols/smtp/entities-excerpt.zeek
|
|
@load protocols/smtp/software.zeek
|
|
@load protocols/ssh/detect-bruteforcing.zeek
|
|
@load protocols/ssh/geo-data.zeek
|
|
@load protocols/ssh/interesting-hostnames.zeek
|
|
@load protocols/ssh/software.zeek
|
|
@load protocols/ssl/certificate-request-info.zeek
|
|
@load protocols/ssl/decryption.zeek
|
|
@load protocols/ssl/expiring-certs.zeek
|
|
@load protocols/ssl/heartbleed.zeek
|
|
@load protocols/ssl/known-certs.zeek
|
|
@load protocols/ssl/log-certs-base64.zeek
|
|
@load protocols/ssl/ssl-log-ext.zeek
|
|
@load protocols/ssl/log-hostcerts-only.zeek
|
|
@load protocols/ssl/validate-certs.zeek
|
|
@load protocols/ssl/validate-ocsp.zeek
|
|
@load protocols/ssl/validate-sct.zeek
|
|
@load protocols/ssl/weak-keys.zeek
|
|
@load tuning/json-logs.zeek
|
|
@load tuning/track-all-assets.zeek
|