├── .gitignore ├── GoldendMSA.sln ├── GoldendMSA ├── App.config ├── Ask.cs ├── BruteForceDMSA.cs ├── Cryptography.cs ├── GetKey.cs ├── GmsaAccount.cs ├── GmsaPassword.cs ├── GoldendMSA.csproj ├── GroupKeyEnvelope.cs ├── Helpers.cs ├── KdsUtils.cs ├── L0Key.cs ├── LSA.cs ├── LdapEnumeration.cs ├── LdapUtils.cs ├── MsdsManagedPasswordld.cs ├── OPTH.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── RootKey.cs ├── Unsafe │ └── KdsCli.cs ├── dMSAEnumerate.cs ├── lib │ ├── Asn1 │ │ ├── AsnElt.cs │ │ └── AsnException.cs │ ├── Interop.cs │ ├── Luid.cs │ ├── krb_structures │ │ ├── AS_REP.cs │ │ ├── AS_REQ.cs │ │ ├── ETYPE_INFO2_ENTRY.cs │ │ ├── EncKDCRepPart.cs │ │ ├── EncKrbCredPart.cs │ │ ├── EncryptedData.cs │ │ ├── EncryptedPAData.cs │ │ ├── EncryptionKey.cs │ │ ├── HostAddress.cs │ │ ├── KDC_REQ_BODY.cs │ │ ├── KERB_PA_PAC_REQUEST.cs │ │ ├── KRB_CRED.cs │ │ ├── KRB_ERROR.cs │ │ ├── KrbAlgorithmIdentifier.cs │ │ ├── KrbAuthPack.cs │ │ ├── KrbCredInfo.cs │ │ ├── KrbDHRepInfo.cs │ │ ├── KrbKDCDHKeyInfo.cs │ │ ├── KrbPkAuthenticator.cs │ │ ├── KrbSubjectPublicKeyInfo.cs │ │ ├── LastReq.cs │ │ ├── PA_DATA.cs │ │ ├── PA_DMSA_KEY_PACKAGE.cs │ │ ├── PA_ENC_TS_ENC.cs │ │ ├── PA_KEY_LIST_REP.cs │ │ ├── PA_KEY_LIST_REQ.cs │ │ ├── PA_PAC_OPTIONS.cs │ │ ├── PA_PK_AS_REP.cs │ │ ├── PA_PK_AS_REQ.cs │ │ ├── PA_SUPERSEDED_BY_USER.cs │ │ ├── PrincipalName.cs │ │ └── Ticket.cs │ └── math │ │ └── BigInteger.cs └── packages.config ├── LICENSE ├── README.md └── assets ├── Bruteforce.jpg ├── Info.jpg ├── Kds.jpg └── Wordlist.jpg /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/.gitignore -------------------------------------------------------------------------------- /GoldendMSA.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA.sln -------------------------------------------------------------------------------- /GoldendMSA/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/App.config -------------------------------------------------------------------------------- /GoldendMSA/Ask.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/Ask.cs -------------------------------------------------------------------------------- /GoldendMSA/BruteForceDMSA.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/BruteForceDMSA.cs -------------------------------------------------------------------------------- /GoldendMSA/Cryptography.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/Cryptography.cs -------------------------------------------------------------------------------- /GoldendMSA/GetKey.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/GetKey.cs -------------------------------------------------------------------------------- /GoldendMSA/GmsaAccount.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/GmsaAccount.cs -------------------------------------------------------------------------------- /GoldendMSA/GmsaPassword.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/GmsaPassword.cs -------------------------------------------------------------------------------- /GoldendMSA/GoldendMSA.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/GoldendMSA.csproj -------------------------------------------------------------------------------- /GoldendMSA/GroupKeyEnvelope.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/GroupKeyEnvelope.cs -------------------------------------------------------------------------------- /GoldendMSA/Helpers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/Helpers.cs -------------------------------------------------------------------------------- /GoldendMSA/KdsUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/KdsUtils.cs -------------------------------------------------------------------------------- /GoldendMSA/L0Key.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/L0Key.cs -------------------------------------------------------------------------------- /GoldendMSA/LSA.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/LSA.cs -------------------------------------------------------------------------------- /GoldendMSA/LdapEnumeration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/LdapEnumeration.cs -------------------------------------------------------------------------------- /GoldendMSA/LdapUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/LdapUtils.cs -------------------------------------------------------------------------------- /GoldendMSA/MsdsManagedPasswordld.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/MsdsManagedPasswordld.cs -------------------------------------------------------------------------------- /GoldendMSA/OPTH.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/OPTH.cs -------------------------------------------------------------------------------- /GoldendMSA/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/Program.cs -------------------------------------------------------------------------------- /GoldendMSA/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /GoldendMSA/RootKey.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/RootKey.cs -------------------------------------------------------------------------------- /GoldendMSA/Unsafe/KdsCli.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/Unsafe/KdsCli.cs -------------------------------------------------------------------------------- /GoldendMSA/dMSAEnumerate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/dMSAEnumerate.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/Asn1/AsnElt.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/Asn1/AsnElt.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/Asn1/AsnException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/Asn1/AsnException.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/Interop.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/Interop.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/Luid.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/Luid.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/AS_REP.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/AS_REP.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/AS_REQ.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/AS_REQ.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/ETYPE_INFO2_ENTRY.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/ETYPE_INFO2_ENTRY.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/EncKDCRepPart.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/EncKDCRepPart.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/EncKrbCredPart.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/EncKrbCredPart.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/EncryptedData.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/EncryptedData.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/EncryptedPAData.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/EncryptedPAData.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/EncryptionKey.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/EncryptionKey.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/HostAddress.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/HostAddress.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KDC_REQ_BODY.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KDC_REQ_BODY.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KERB_PA_PAC_REQUEST.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KERB_PA_PAC_REQUEST.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KRB_CRED.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KRB_CRED.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KRB_ERROR.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KRB_ERROR.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KrbAlgorithmIdentifier.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KrbAlgorithmIdentifier.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KrbAuthPack.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KrbAuthPack.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KrbCredInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KrbCredInfo.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KrbDHRepInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KrbDHRepInfo.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KrbKDCDHKeyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KrbKDCDHKeyInfo.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KrbPkAuthenticator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KrbPkAuthenticator.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/KrbSubjectPublicKeyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/KrbSubjectPublicKeyInfo.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/LastReq.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/LastReq.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_DATA.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_DATA.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_DMSA_KEY_PACKAGE.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_DMSA_KEY_PACKAGE.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_ENC_TS_ENC.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_ENC_TS_ENC.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_KEY_LIST_REP.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_KEY_LIST_REP.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_KEY_LIST_REQ.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_KEY_LIST_REQ.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_PAC_OPTIONS.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_PAC_OPTIONS.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_PK_AS_REP.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_PK_AS_REP.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_PK_AS_REQ.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_PK_AS_REQ.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PA_SUPERSEDED_BY_USER.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PA_SUPERSEDED_BY_USER.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/PrincipalName.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/PrincipalName.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/krb_structures/Ticket.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/krb_structures/Ticket.cs -------------------------------------------------------------------------------- /GoldendMSA/lib/math/BigInteger.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/lib/math/BigInteger.cs -------------------------------------------------------------------------------- /GoldendMSA/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/GoldendMSA/packages.config -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/README.md -------------------------------------------------------------------------------- /assets/Bruteforce.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/assets/Bruteforce.jpg -------------------------------------------------------------------------------- /assets/Info.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/assets/Info.jpg -------------------------------------------------------------------------------- /assets/Kds.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/assets/Kds.jpg -------------------------------------------------------------------------------- /assets/Wordlist.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Semperis/GoldenDMSA/HEAD/assets/Wordlist.jpg --------------------------------------------------------------------------------