[OpenAFS] Re: OpenAFS 1.7.26 windows and not changed AFS service principle - OK?

Jeffrey Altman jaltman@secure-endpoints.com
Fri, 26 Jul 2013 17:42:03 -0400


This is a cryptographically signed message in MIME format.

--------------ms070802070101090900020702
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 7/26/2013 4:30 PM, Andrew Deason wrote:
> On Fri, 26 Jul 2013 14:07:46 +0200
> Lars Schimmer <l.schimmer@cgv.tugraz.at> wrote:
>=20
>> Ok, now with access to such a machine:
>> krbtgt/CGV.TUGRAZ.AT@CGV.TUGRAZ.AT
>> Etype (skey, tkt): AES-256 CTS mode with 96-bit SHA-1 HMAC, AES-256 CT=
S
>> mode with 96-bit SHA-1 HMAC
>> afs/cgv.tugraz.at/CGV.TUGRAZ.AT
>> Etype /skey, tkt): DES cbc mode with CRC-32, AES-256 CTS mode with
>> 96-bit SHA-1 HMAC
>=20
> By any chance, do you happen to have the registry entry
>=20
> HKLM\SYSTEM\CurrentControlSet\services\kdc\KdcUseRequestedEtypesForTick=
ets
>=20
> set to 1? That seems like it may cause that behavior, from a quck test =
I
> just did.
>=20
> I'm having trouble seeing what on earth that option is for. From what I=

> can find on various sites, that makes the KDC use the client-specified
> enctype list for the service ticket enctype, ignoring the principal
> enctype settings (but still honoring the principal enctypes for the
> session key?). I'm having trouble seeing any scenario where that is not=

> completely inappropriate (and a security issue!), let alone for AFS
> usage.
>=20
> I've seen this mentioned in a few AFS/Active Directory howtos, and I
> have no idea why. If anyone has some info to share...

That was added as a hotfix to Server 2003.  In Server 2000 the KDC
always issued tickets with the session key and service ticket key
configured based upon the client specified enctype list.   This was a
bug that was fixed in Server 2003.  At the time there were a number of
Kerberos implementations which would crash if any of the enctypes in the
ticket were not recognized even if the Kerberos implementation had no
business attempting to decrypt the service ticket portion.  To avoid
crashing these implementations the above hotfix was added.

If this is in fact the problem, a bug report needs to be filed with
Microsoft to address the conflict between the DES_ONLY flag and the
KdcUseRequestedEtypesForTickets option.

Jeffrey Altman





--------------ms070802070101090900020702
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINITCC
BkIwggUqoAMCAQICEDirAC//rpa3Vv85Wvtd5xswDQYJKoZIhvcNAQEFBQAwgcoxCzAJBgNV
BAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1
c3QgTmV0d29yazE6MDgGA1UECxMxKGMpIDE5OTkgVmVyaVNpZ24sIEluYy4gLSBGb3IgYXV0
aG9yaXplZCB1c2Ugb25seTFFMEMGA1UEAxM8VmVyaVNpZ24gQ2xhc3MgMSBQdWJsaWMgUHJp
bWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEczMB4XDTExMDkwMTAwMDAwMFoXDTIx
MDgzMTIzNTk1OVowgaYxCzAJBgNVBAYTAlVTMR0wGwYDVQQKExRTeW1hbnRlYyBDb3Jwb3Jh
dGlvbjEfMB0GA1UECxMWU3ltYW50ZWMgVHJ1c3QgTmV0d29yazEeMBwGA1UECxMVUGVyc29u
YSBOb3QgVmFsaWRhdGVkMTcwNQYDVQQDEy5TeW1hbnRlYyBDbGFzcyAxIEluZGl2aWR1YWwg
U3Vic2NyaWJlciBDQSAtIEc0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxuwn
/R1j9DsdisHTHMjIgoa2uEqGkqqBXHLKMA0vnkEiVzAhJZCao/SsKsaIF4ZhchN2LuwDyyeb
jyCAN+DkitpVplAP/LlcI2mJQqG6H6/vDvmkyQrx+DeyxtmSSq5937hEH5u6P4wG/tgjT0hR
I2pghKjuJy9g35byGiqMPI8AzE/L+iCOvDX24fCatgXz/B0/xhR7DtryBeTTgwKmxWlwtKnk
V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