Kerberos Decode
Synopsis
Decodes Kerberos authentication data including tickets, PAC structures, flags, encryption types, error codes, and principals.
Schema
- kerberos_decode:
field: <ident>
target_field: <string>
format: <string>
decode_type: <string>
parse_timestamps: <boolean>
resolve_names: <boolean>
simplify_output: <boolean>
description: <text>
if: <script>
ignore_failure: <boolean>
ignore_missing: <boolean>
on_failure: <processor[]>
on_success: <processor[]>
tag: <string>
Configuration
The following fields are used to define the processor:
| Field | Required | Default | Description |
|---|---|---|---|
field | Y | - | Source field containing Kerberos data (string, byte array, numeric, or array of strings) |
target_field | N | {field}_decoded | Target field to store decoded information |
format | N | Auto-detect | Input format: base64, hex, string |
decode_type | N | auto | Decode type: auto, ticket, pac, flags, enctype, error, principal |
parse_timestamps | N | false | Convert Kerberos timestamps to readable format |
resolve_names | N | false | Resolve principal names and service descriptions |
simplify_output | N | false | Simplified output with interpretations |
description | N | - | Explanatory note |
if | N | - | Condition to run |
ignore_failure | N | false | Continue processing if decoding fails |
ignore_missing | N | false | Skip processing if referenced field doesn't exist |
on_failure | N | - | See Handling Failures |
on_success | N | - | See Handling Success |
tag | N | - | Identifier |
Details
Decodes multiple Kerberos data types with automatic type detection: ticket flags (FORWARDABLE, RENEWABLE, etc.), encryption types (AES, RC4, DES), error codes (KDC errors, application errors), principals (user@REALM, service/host@REALM), PAC structures, and base64-encoded ticket data.
The processor supports six decode types via decode_type: flags (ticket flags with bit interpretation), enctype (encryption type names with weak/deprecated detection), error (error code names with severity categories), principal (principal parsing with service type detection), pac (PAC buffer parsing with type identification), ticket (base64 ticket data with message type detection).
Auto-detection logic analyzes input patterns: principals contain "@", hex values (0x...) are flags/errors, base64 strings are tickets, numeric values check against error/enctype/flags mappings. Supports arrays of strings for batch processing.
When resolve_names is enabled, principals are resolved to service descriptions (HTTP/→web service, HOST/→host services, krbtgt/→ticket granting service). When simplify_output is enabled, flags are interpreted into semantic meanings (can_be_forwarded, is_renewable, pre_authenticated).
Numeric inputs are decoded as potential flags, error codes, and encryption types simultaneously, showing all possible interpretations.
Examples
Basic Ticket Decoding
Decoding Kerberos ticket structure... | |
extracts ticket information: | |
With Time Decoding
Including ticket validity timestamps... | |
includes timestamp information: | |
TGT Ticket Analysis
Analyzing Ticket Granting Ticket... | |
identifies TGT-specific information: | |
Multiple Tickets
Processing array of ticket data... | |
decodes each ticket: | |