base/protocols/krb/main.zeek
- KRB
Implements base functionality for KRB analysis. Generates the kerberos.log file.
- Namespace:
KRB
- Imports:
base/protocols/conn/removal-hooks.zeek, base/protocols/krb/consts.zeek
Summary
Runtime Options
The server response error texts which are not logged. |
Redefinable Options
Well-known ports for KRB over TCP. |
|
Well-known ports for KRB over UDP. |
Types
Redefinitions
|
Events
Event that can be handled to access the KRB record as it is sent on to the logging framework. |
Hooks
Kerberos finalization hook. |
|
Detailed Interface
Runtime Options
- KRB::ignored_errors
- Type:
- Attributes:
- Default:
{ "NEEDED_PREAUTH", "Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ" }
The server response error texts which are not logged.
Redefinable Options
- KRB::tcp_ports
-
Well-known ports for KRB over TCP.
- KRB::udp_ports
-
Well-known ports for KRB over UDP.
Types
- KRB::Info
- Type:
- Fields:
-
-
request_type:
string&log&optional Request type - Authentication Service (“AS”) or Ticket Granting Service (“TGS”)
-
client_cert:
Files::Info&optional (present if base/protocols/krb/files.zeek is loaded)
Client certificate
-
client_cert_subject:
string&log&optional (present if base/protocols/krb/files.zeek is loaded)
Subject of client certificate, if any
-
client_cert_fuid:
string&log&optional (present if base/protocols/krb/files.zeek is loaded)
File unique ID of client cert, if any
-
server_cert:
Files::Info&optional (present if base/protocols/krb/files.zeek is loaded)
Server certificate
-
server_cert_subject:
string&log&optional (present if base/protocols/krb/files.zeek is loaded)
Subject of server certificate, if any
-
server_cert_fuid:
string&log&optional (present if base/protocols/krb/files.zeek is loaded)
File unique ID of server cert, if any
-
auth_ticket_sha256:
string&log&optional (present if policy/protocols/krb/ticket-logging.zeek is loaded)
SHA256 hash of ticket used to authorize request/transaction
-
new_ticket_sha256:
string&log&optional (present if policy/protocols/krb/ticket-logging.zeek is loaded)
SHA256 hash of ticket returned by the KDC
-
auth_ticket:
string&log&optional (present if policy/protocols/krb/md5-ticket-logging.zeek is loaded)
MD5 hash of ticket used to authorize request/transaction
-
new_ticket:
string&log&optional (present if policy/protocols/krb/md5-ticket-logging.zeek is loaded)
MD5 hash of ticket returned by the KDC
-
request_type:
Events
- KRB::log_krb
-
Event that can be handled to access the KRB record as it is sent on to the logging framework.
Hooks
- KRB::finalize_krb
- Type:
Kerberos finalization hook. Remaining Kerberos info may get logged when it’s called.