Rubeus MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RUBEUS_DC | No | Default domain controller | |
| RUBEUS_PATH | No | Path to Rubeus.exe (Windows) | Rubeus.exe |
| IMPACKET_PATH | No | Path to impacket scripts, default is system PATH | |
| RUBEUS_DOMAIN | No | Default AD domain | |
| RUBEUS_TIMEOUT | No | Command timeout (ms) | 300000 |
| RUBEUS_OUTPUT_DIR | No | Directory for output files | $TMPDIR/rubeus-mcp |
| RUBEUS_USE_IMPACKET | No | Force impacket mode, auto-detected by default |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| rubeus_asktgtA | Request a Ticket Granting Ticket (TGT) using user credentials. Supports multiple authentication methods:
The TGT can be saved to a file, applied to the current session (PTT), or returned as base64. Example use cases:
|
| rubeus_asktgsA | Request Service Tickets (TGS) for specified Service Principal Names (SPNs). Requires a valid TGT (provided as ticket parameter or from current session). Can request tickets for multiple SPNs in one operation. Use cases:
|
| rubeus_renewA | Renew an existing TGT to extend its validity period. Can optionally auto-renew continuously until the renewable lifetime expires. Useful for maintaining persistent access without re-authentication. |
| rubeus_kerberoastA | Perform Kerberoasting attack to extract service account password hashes. Requests TGS tickets for accounts with SPNs, which are encrypted with the service account's password hash. These can be cracked offline. Features:
Output format compatible with hashcat (mode 13100/19700) or John. |
| rubeus_asreproastB | Perform AS-REP Roasting against accounts that don't require pre-authentication. Targets accounts with "Do not require Kerberos preauthentication" enabled. The AS-REP response contains data encrypted with the user's password hash. Features:
Output format: hashcat mode 18200 or John (jumbo). |
| rubeus_tgtdelegA | Extract a usable TGT for the current user without elevation. Uses Kerberos GSS-API to abuse the delegation mechanism and retrieve the current user's TGT. This is the "tgt::deleg" technique from Kekeo. No admin/elevation required - works with standard user permissions. The extracted TGT can be used for pass-the-ticket attacks. |
| rubeus_dumpA | Dump all Kerberos tickets from memory (current or all sessions). Extracts tickets from the current logon session or, with elevation, from all logon sessions on the system. Tickets are output as base64-encoded kirbi format. |
| rubeus_harvestB | Continuously monitor for and harvest new TGTs. Runs in a loop, extracting new TGTs as they appear and optionally auto-renewing them to maintain access. Useful for capturing tickets from other users logging in. |
| rubeus_monitorA | Monitor for new TGTs without harvesting/renewal. Watches for new TGT events and displays them as they occur. Lighter weight than harvest - just observation. |
| rubeus_triageA | Display a quick summary of all tickets in current/all sessions. Shows ticket information without full extraction - useful for reconnaissance of what tickets are available. |
| rubeus_klistA | List detailed information about Kerberos tickets. Similar to the native klist command but with more detail and filtering options. |
| rubeus_pttA | Pass-the-ticket: Apply a Kerberos ticket to the current logon session. Imports a ticket (from base64 or .kirbi file) into the current session, enabling access to resources as the ticket's principal. |
| rubeus_purgeA | Purge Kerberos tickets from a logon session. Removes all tickets from the current session, or with elevation, from a specific LUID. |
| rubeus_describeA | Parse and display detailed information about a Kerberos ticket. Can decrypt ticket contents if the appropriate key is provided. Useful for analyzing captured tickets. |
| rubeus_tgssubA | Substitute the service name in a service ticket. Replaces the SPN in an existing TGS with a different service name. Useful when you have a ticket for one service but need access to another on the same server (requires same service account). |
| rubeus_s4uA | Perform S4U (Service for User) constrained/unconstrained delegation abuse. Implements:
This is a powerful technique for privilege escalation when you control an account with delegation rights. Supports:
|
| rubeus_goldenA | Forge a Golden Ticket (forged TGT with krbtgt hash). Creates a TGT that grants domain-wide access. Requires:
The golden ticket bypasses normal authentication and can be used for persistent domain access. |
| rubeus_silver | Forge a Silver Ticket (forged TGS with service account hash). Creates a service ticket for a specific service. Requires:
Silver tickets grant access to a specific service without touching the DC. |
| rubeus_diamondA | Forge a Diamond Ticket (modified legitimate TGT). Requests a legitimate TGT and then modifies it with new PAC data. More stealthy than golden tickets as it starts with a real ticket. Requires krbtgt key for re-signing. |
| rubeus_hashA | Calculate Kerberos password hashes from plaintext. Computes the various Kerberos encryption keys from a password:
These hashes can be used for ticket requests and other operations. |
| rubeus_changepwA | Change/reset a user's password using a TGT. Uses the Kerberos Set Password protocol (Aorato technique) to change a user's password with just their TGT. Can target other users with appropriate permissions. |
| rubeus_createnetonlyA | Create a new process with network credentials (logon type 9). Creates a process that uses different credentials for network authentication. Useful for applying tickets to a separate process. The process can be hidden or visible. |
| rubeus_currentluidA | Display the current user's Logon Unique ID (LUID). Returns the LUID of the current logon session, which is needed for various ticket operations. |
| rubeus_logonsessionC | Display information about logon sessions. Shows detailed information about the current or specified logon session. |
| rubeus_asrep2kirbiB | Convert an AS-REP response to kirbi ticket format. Takes a raw AS-REP response and converts it to a usable kirbi ticket using the provided key. |
| rubeus_kirbiB | Modify a kirbi ticket's session key. Changes the session key in an existing kirbi ticket. Useful for advanced ticket manipulation. |
| rubeus_check_environmentA | Check the current environment and available tools. Detects whether running on Windows (native Rubeus) or Linux/macOS (impacket mode). Lists available tools and configuration. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/schwarztim/sec-rubeus-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server