Kerberos-trace - #1
Closed
eve0805 wants to merge 126 commits into
Closed
Conversation
Co-authored-by: Simon Janusz <85949464+sjanusz-r7@users.noreply.github.com>
Co-authored-by: msutovsky-r7 <martin_sutovsky@rapid7.com>
Add auxiliary/gather/leakix_search module with 6 actions: SEARCH, HOST, DOMAIN, SUBDOMAINS, PLUGINS, and BULK streaming. Includes chunked NDJSON streaming for bulk API, MAXRESULTS limiting, subdomain enumeration, and database reporting.
Co-authored-by: msutovsky-r7 <martin_sutovsky@rapid7.com>
Co-authored-by: Julien Voisin <jvoisin@users.noreply.github.com>
- Remove IOC_IN_LOGS (payload is in POST body, not logged) - Remove redundant early filter (regex handles it) - Use non-capturing groups in static asset regex - Filter protocol-relative URLs before link resolution - Clarify relative vs absolute path handling in crawler Co-Authored-By: jvoisin <325724+jvoisin@users.noreply.github.com>
…/updates_description Updates description for BeyondTrust command injection
… FreePBX filestore (CVE-2025-64328) Add authenticated RCE module for FreePBX filestore (CVE-2025-64328)
Docs for pop3_login
- Fix DB permissions (bind mount creates files as www-data instead of mysql) - Force table creation (cli.php skips it when configuration.php already exists) - Revert entire Encoder working tree, not just getImage.php (78178d1 patched multiple files) - Run git checkout from inside the container to avoid safe.directory issues
…-generation-script Improve payload size generation script
…check Fix version check in ldap_esc_vulnerable_cert_finder
Introduce OptTimedelta
…e-cmd-injection Add AVideo Encoder getImage.php command injection (CVE-2026-29058)
This reverts commit 28814ed.
|
Thanks for your pull request! As part of our landing process, we manually verify that all modules work as expected. We've added the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces
KerberosTicketTracesupport for Metasploit's Kerberos authentication flows.The goal is to improve visibility into Kerberos ticket acquisition and service-authentication behavior directly during module execution. The implementation uses a Rex-layer subscriber/logger design.
Perspective
Kerberos authentication is widely used in Active Directory and enterprise environments. When Kerberos authentication fails, it can be difficult to tell whether the issue comes from pre-authentication, encryption type negotiation, ticket selection, service principal selection, delegation behavior, AP exchange handling, or the protocol wrapper carrying the Kerberos blob.
This PR adds operator-readable Kerberos trace output for AS/TGS/AP-related paths while keeping tracing opt-in and disabled by default.
Features Implemented
Adds
KerberosTicketTraceas an opt-in Boolean trace optionAdds
KerberosTicketTraceColorsfor request/response trace coloringRegisters Kerberos trace options through the shared
kerberos_auth_optionshelperTraces core Kerberos request and response messages:
AS-REQ、AS-REP、TGS-REQ、TGS-REP、KRB-ERRORUses the Rex Kerberos client subscriber path for request/response tracing
Adds readable Kerberos trace output through a logger subscriber and presenter
Handles credential trace output for TGT, TGS, and delegation-related credential paths
Technical Implementation
kerberos_auth_optionsKerberosTicketTraceis enabledTesting & Validation
Example Usage
Enable Kerberos ticket tracing in a Kerberos-enabled module:
Optionally configure trace colors:
Impact
Future Work
KerberosTicketTraceLevelwith levels such asmeta,ticket, andfullNotes on Usage
The new advanced options can be viewed from a Kerberos-enabled module:
References