-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
7,995 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,326 @@ | ||
```powershell | ||
PS C:\Users> .\KerberosRun.exe --asktgs --user normaluser --pass [...] --spn time/win10.corplab.local --verbose --decrypttgs [...] --decryptetype aes256 --srvname adminuser | ||
__ __ | ||
/ /_____ ____/ / ___ _______ ___ ______ _____ | ||
/ '_/ -_) __/ _ \/ -_) __/ _ \(_-</ __/ // / _ \ | ||
/_/\_\\__/_/ /_.__/\__/_/ \___/___/_/ \_,_/_//_/ | ||
v1.0.0 | ||
[*] Starting Kerberos Authentication ... | ||
[*] Sending AS-REQ ... | ||
* MessageType : KRB_AS_REQ | ||
* pvno : 5 | ||
* PaData : | ||
- PA_PAC_REQUEST : | ||
- IncludePac : True | ||
* Body : | ||
- KdcOptions : RenewableOk, Canonicalize, Renewable, Forwardable | ||
- CName : | ||
- Type : NT_PRINCIPAL | ||
- Name : normaluser | ||
- Realm : CORPLAB.LOCAL | ||
- SName : | ||
- Type : NT_SRV_INST | ||
- Name : krbtgt | ||
- Name : CORPLAB.LOCAL | ||
- Till : 9/13/2037 2:48:05 AM +00:00 | ||
- RTime : 9/13/2037 2:48:05 AM +00:00 | ||
- Nonce : 637261653 | ||
- EType : | ||
- EncType : AES256_CTS_HMAC_SHA1_96 | ||
- EncType : AES128_CTS_HMAC_SHA1_96 | ||
- EncType : RC4_HMAC_NT | ||
- EncType : RC4_HMAC_NT_EXP | ||
- EncType : RC4_HMAC_OLD_EXP | ||
- Addresses : | ||
- Type : NetBios | ||
- Addresses : ADMINSTAT | ||
- AdditionalTickets : | ||
- EncAuthorizationData : | ||
- From : | ||
[*] Sending AS-REQ ... | ||
* MessageType : KRB_AS_REQ | ||
* pvno : 5 | ||
* PaData : | ||
- PA_PAC_REQUEST : | ||
- IncludePac : True | ||
* Body : | ||
- KdcOptions : RenewableOk, Canonicalize, Renewable, Forwardable | ||
- CName : | ||
- Type : NT_PRINCIPAL | ||
- Name : normaluser | ||
- Realm : CORPLAB.LOCAL | ||
- SName : | ||
- Type : NT_SRV_INST | ||
- Name : krbtgt | ||
- Name : CORPLAB.LOCAL | ||
- Till : 9/13/2037 2:48:05 AM +00:00 | ||
- RTime : 9/13/2037 2:48:05 AM +00:00 | ||
- Nonce : 637261654 | ||
- EType : | ||
- EncType : AES256_CTS_HMAC_SHA1_96 | ||
- EncType : AES128_CTS_HMAC_SHA1_96 | ||
- EncType : RC4_HMAC_NT | ||
- EncType : RC4_HMAC_NT_EXP | ||
- EncType : RC4_HMAC_OLD_EXP | ||
- Addresses : | ||
- Type : NetBios | ||
- Addresses : ADMINSTAT | ||
- AdditionalTickets : | ||
- EncAuthorizationData : | ||
- From : | ||
[*] Receiving AS-REP... | ||
* MessageType : KRB_AS_REP | ||
* pvno : 5 | ||
* PaData : | ||
- PA_ETYPE_INFO2 : | ||
- EType : AES256_CTS_HMAC_SHA1_96 | ||
- S2kParams : | ||
- Salt : CORPLAB.LOCALnormaluser | ||
* CRealm : CORPLAB.LOCAL | ||
* CName : | ||
- Type : NT_PRINCIPAL | ||
- Name : normaluser | ||
* Ticket : | ||
- tkt-vno : 5 | ||
- Realm : CORPLAB.LOCAL | ||
- SName : | ||
- Name : krbtgt | ||
- Type : NT_SRV_INST | ||
- EncryptedPart : | ||
- kvno : 11 | ||
- EType : AES256_CTS_HMAC_SHA1_96 | ||
- Cipher : [krbtgtEncryptedCipher...] | ||
* Enc-Part : | ||
- kvno : 6 | ||
- EType : AES256_CTS_HMAC_SHA1_96 | ||
- Cipher : [ClientEncryptedCipher...] | ||
[+] TGT Kirbi: | ||
- doIFHDCCBRigAwIBBaEDAgEWooIEHDCCBBhhggQU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6zET6lF7D54NbaHv8Y6izRzyt2JlRbR2uXVzTMtOr3LoOu3UJW0yf7batnf6ZQSKSDE4ez7gfEBZXDHhFhFkiae08/cgIk/qZd3Ijr3SkhSaaktXbTqeLI4r9URbcY7N1phFJOzmy4CuGk2X8gFBepY21F7s9UQJCHqjRzlqEOlPspYf6UxurgcIRq10KuS7WTZAY1debbiI/7NRQ2G+heeqmmOrrGyTAKWpvJVPRZWiZzO6MzuKYgOBgSmq8twiSxNoL/R019h/qpus48gQzOQpchBjGQ6WJT/ReJFD6VGVlo4HrMIHooAMCAQCigeAEgd19gdowgdeggdQwgdEwgc6gKzApoAMCARKhIgQgzkMboQVwYSHS19ZADYZ32x1nJh6ubF1OlC++rN/9hU2hDxsNQ09SUExBQi5MT0NBTKIXMBWgAwIBAaEOMAwbCm5vcm1hbHVzZXKjBwMFAEDBAAClERgPMjAyMDA1MjcwODM0MTJaphEYDzIwMjAwNTI3MTgzNDEyWqcRGA8yMDIwMDYwMzA4MzQxMlqoDxsNQ09SUExBQi5MT0NBTKkiMCCgAwIBAqEZMBcbBmtyYnRndBsNQ09SUExBQi5MT0NBTA== | ||
[*] Sending TGS-REQ ... | ||
* MessageType : KRB_TGS_REQ | ||
* pvno : 5 | ||
* PaData : | ||
- PA_TGS_REQ : | ||
- KRB_AP_REQ : | ||
- pvno : 5 | ||
- ApOptions : Reserved | ||
- Ticket : | ||
- tkt-vno : 5 | ||
- Realm : CORPLAB.LOCAL | ||
- SName : | ||
- Type : NT_SRV_INST | ||
- Name : krbtgt | ||
- Name : CORPLAB.LOCAL | ||
- EncryptedPart : | ||
- kvno : 11 | ||
- EType : AES256_CTS_HMAC_SHA1_96 | ||
- Cipher : [krbtgtEncryptedCipher...] | ||
- Authenticator : | ||
- kvno : | ||
- EType : AES256_CTS_HMAC_SHA1_96 | ||
- Realm : CORPLAB.LOCAL | ||
- SequenceNumber : 637261656 | ||
- Subkey : | ||
- EType : AES256_CTS_HMAC_SHA1_96 | ||
- KeyValue : 23E8CB62AD98396C032A76845F3EEC24EA828082CC98F76D4B0E0947C10DE85E | ||
- CTime : 5/27/2020 8:34:12 AM +00:00 | ||
- CuSec : 810 | ||
- CName : | ||
- Type : NT_PRINCIPAL | ||
- Name : normaluser | ||
- Checksum : | ||
- Type : HMAC_SHA1_96_AES256 | ||
- Checksum : D8389B6B07E8793C11B7FEC3 | ||
- AuthorizationData : | ||
- AuthenticatorVersionNumber : 5 | ||
- PA_PAC_OPTIONS : | ||
- Flags : BranchAware | ||
* Body : | ||
- KdcOptions : RenewableOk, Canonicalize, Renewable, Forwardable | ||
- Realm : corplab.local | ||
- SName : | ||
- Type : NT_SRV_INST | ||
- Name : time | ||
- Name : win10.corplab.local | ||
- Till : 9/13/2037 2:48:05 AM +00:00 | ||
- RTime : | ||
- Nonce : 637261655 | ||
- EType : | ||
- EncType : RC4_HMAC_NT | ||
- EncAuthorizationData : | ||
- From : | ||
- AdditionalTickets : | ||
[*] Receiving TGS-REP ... | ||
* MessageType : KRB_TGS_REP | ||
* pvno : 5 | ||
* PaData : | ||
* CRealm : CORPLAB.LOCAL | ||
* CName : | ||
- Type : NT_PRINCIPAL | ||
- Name : normaluser | ||
* Ticket : | ||
- tkt-vno : 5 | ||
- Realm : CORPLAB.LOCAL | ||
- SName : | ||
- Name : time | ||
- Type : NT_SRV_INST | ||
- EncryptedPart : | ||
- kvno : 5 | ||
- EType : AES256_CTS_HMAC_SHA1_96 | ||
- Cipher : [ServiceEncryptedCipher...] | ||
* Enc-Part : | ||
- EType : AES256_CTS_HMAC_SHA1_96 | ||
- kvno : | ||
- Cipher : [SubSessionKeyEncryptedCipher..] | ||
* [Decrypted Enc-Part]: | ||
- AuthTime : 5/27/2020 8:34:12 AM +00:00 | ||
- StartTime : 5/27/2020 8:34:12 AM +00:00 | ||
- EndTime : 5/27/2020 6:34:12 PM +00:00 | ||
- RenewTill : 6/3/2020 8:34:12 AM +00:00 | ||
- Nonce : 637261655 | ||
- Realm : CORPLAB.LOCAL | ||
- SName : | ||
- Type : NT_SRV_INST | ||
- Name : time | ||
- Name : win10.corplab.local | ||
- EncryptedPaData : | ||
- PA_SUPPORTED_ETYPES : | ||
- Value : 1F000000 | ||
- PA_PAC_OPTIONS : | ||
- Flags : BranchAware | ||
- Key : | ||
- EType : RC4_HMAC_NT | ||
- Value : 4C76CFB5C06C436BD30E203D00C5CAEF | ||
- KeyExpiration : | ||
- Flags : EncryptedPreAuthentication, Renewable, Forwardable | ||
- LastReq | ||
- Type : 0 | ||
- Type : 5/27/2020 8:34:12 AM +00:00 | ||
* [Decrypted Ticket Enc-Part]: | ||
- AuthTime : 5/27/2020 8:34:12 AM +00:00 | ||
- StartTime : 5/27/2020 8:34:12 AM +00:00 | ||
- EndTime : 5/27/2020 6:34:12 PM +00:00 | ||
- RenewTill : 6/3/2020 8:34:12 AM +00:00 | ||
- CRealm : CORPLAB.LOCAL | ||
- CName : | ||
- Type : NT_PRINCIPAL | ||
- Name : normaluser | ||
- AuthorizationData : | ||
- Type : AdIfRelevant | ||
- Type : AdWin2kPac | ||
- Type : AdWin2kPac | ||
- Version : 0 | ||
- LogonInfo : | ||
- PacType : | ||
- DomainId : | ||
- Revision : 1 | ||
- IdentifierAuthority : NTAuthority | ||
- SubAuthority : 21, 1977317821, 1772133574, 954835042 | ||
- SubAuthorityCount : 4 | ||
- ExtraIds : | ||
- Attributes : SE_GROUP_MANDATORY, SE_GROUP_ENABLED_BY_DEFAULT, SE_GROUP_ENABLED | ||
- Sid : S-1-18-1 | ||
- Revision : 1 | ||
- IdentifierAuthority : AuthenticationAuthority | ||
- SubAuthority : 1 | ||
- SubAuthorityCount : 1 | ||
- DomainSid : | ||
- Attributes : 0 | ||
- Id : 954835042 | ||
- Value : S-1-5-21-1977317821-1772133574-954835042 | ||
- ExtraSidCount : 1 | ||
- ExtraSids : | ||
- Id : 1 | ||
- Attributes : 0 | ||
- Value : S-1-18-1 | ||
- GroupCount : 1 | ||
- GroupId : 513 | ||
- GroupIds : | ||
- RelativeId : 513 | ||
- Attributes : SE_GROUP_MANDATORY, SE_GROUP_ENABLED_BY_DEFAULT, SE_GROUP_ENABLED | ||
- GroupSid : S-1-5-21-1977317821-1772133574-954835042-513 | ||
- GroupSids : | ||
- Id : 513 | ||
- Attributes : SE_GROUP_MANDATORY, SE_GROUP_ENABLED_BY_DEFAULT, SE_GROUP_ENABLED | ||
- Value : S-1-5-21-1977317821-1772133574-954835042-513 | ||
- HomeDirectory : | ||
- HomeDrive : | ||
- KickOffTime : 1/1/0001 12:00:00 AM +00:00 | ||
- LastFailedILogon : 1/1/1601 12:00:00 AM +00:00 | ||
- LastSuccessfulILogon : 1/1/1601 12:00:00 AM +00:00 | ||
- LogoffTime : 1/1/0001 12:00:00 AM +00:00 | ||
- LogonCount : 397 | ||
- LogonScript : | ||
- LogonTime : 5/27/2020 8:34:12 AM +00:00 | ||
- ProfilePath : | ||
- PwdCanChangeTime : 5/1/2020 3:58:59 AM +00:00 | ||
- PwdLastChangeTime : 4/30/2020 3:58:59 AM +00:00 | ||
- PwdMustChangeTime : 1/1/0001 12:00:00 AM +00:00 | ||
- Reserved1 : 0, 0 | ||
- Reserved3 : 0 | ||
- ResourceDomainId : | ||
- ResourceDomainSid : | ||
- ResourceGroupCount : 0 | ||
- ResourceGroupIds : | ||
- ResourceGroups : | ||
- SubAuthStatus : 0 | ||
- UserAccountControl : ADS_UF_LOCKOUT, ADS_UF_DONT_EXPIRE_PASSWD | ||
- UserDisplayName : | ||
- UserFlags : LOGON_EXTRA_SIDS | ||
- UserId : 1607 | ||
- UserName : normaluser | ||
- UserSessionKey : 00000000000000000000000000000000 | ||
- UserSid : S-1-5-21-1977317821-1772133574-954835042-1607 | ||
- DomainName : CORP | ||
- ServerName : DC1 | ||
- BadPasswordCount : 0 | ||
- FailedILogonCount : 0 | ||
- ClientInformation : | ||
- PacType : CLIENT_NAME_TICKET_INFO | ||
- ClientId : 5/27/2020 8:34:12 AM +00:00 | ||
- Name : normaluser | ||
- NameLength : 20 | ||
- KdcSignature : | ||
- PacType : 0 | ||
- RODCIdentifier : 0 | ||
- Signature : 3945EBABAECF5A1D97FBA860 | ||
- SignatureData : [...] | ||
- Type : HMAC_SHA1_96_AES256 | ||
- Validated : False | ||
- Validator : | ||
- Validator : PaForUserChecksum | ||
- Validator : 3945EBABAECF5A1D97FBA860 | ||
- ServerSignature : | ||
- PacType : 0 | ||
- RODCIdentifier : 0 | ||
- Signature : 5E71809C20696561C147D5DD | ||
- SignatureData : [...] | ||
- Type : HMAC_SHA1_96_AES256 | ||
- Validated : False | ||
- Validator : | ||
- Validator : PaForUserChecksum | ||
- Validator : 5E71809C20696561C147D5DD | ||
- UpnDomainInformation : | ||
- PacType : UPN_DOMAIN_INFO | ||
- Upn : [email protected] | ||
- UpnLength : 48 | ||
- UpnOffset : 16 | ||
- Domain : CORPLAB.LOCAL | ||
- DnsDomainNameLength : 26 | ||
- DnsDomainNameOffset : 64 | ||
- DecodingErrors : | ||
- HasRequiredFields : True | ||
- CAddr : | ||
- Flags : EncryptedPreAuthentication, Renewable, Forwardable | ||
- Key : | ||
- EType : RC4_HMAC_NT | ||
- Value : 4C76CFB5C06C436BD30E203D00C5CAEF | ||
- Transited : | ||
- Type : DomainX500Compress | ||
- Contents : | ||
[+] TGS Kirbi: | ||
- doIFBDCCBQCgAwIBBaEDAgEWooIEEDCCBAxhggQIMIIEBKADAgEFoQ8bDUNPUlBMQUIuTE9DQUyiJjAkoAMCAQKhHTAbGwR0aW1lGxN3aW4xMC5jb3JwbGFiLmxvY2Fso4IDwjCCA76gAwIBEqEDAgEFooIDsASCA6wylVGOtQXK+t94IKXAaKeuN00l5M6bjit7CU9QDCnH6kBOYrpQljKvbnpX+E2MbkAJoV2BXjES7Xs/pPdYGkbuzyYckgF+cbsmRpd6z0vV82Aavl71mqoN9nDHG+jPFKtNe5iFC8Alri3cAJsEd/aO2m8w5U7T52bdUAH4mYp5pgAue2LFUOvY/s6TTe7l3xlR+tT4nhaYYaBafuV2lCAD8V75G8DZqixGg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