<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Event Logging in AD Integration Scenarios</title>
	<atom:link href="http://blog.scottlowe.org/2006/10/23/event-logging-in-ad-integration-scenarios/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scottlowe.org/2006/10/23/event-logging-in-ad-integration-scenarios/</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<pubDate>Thu, 20 Nov 2008 13:59:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: slowe</title>
		<link>http://blog.scottlowe.org/2006/10/23/event-logging-in-ad-integration-scenarios/#comment-5864</link>
		<dc:creator>slowe</dc:creator>
		<pubDate>Fri, 08 Dec 2006 21:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=348#comment-5864</guid>
		<description>David G,

Good information!  Yet another way for readers to be able to determine how users are logging in and authenticating on the network.  Thanks!

Scott</description>
		<content:encoded><![CDATA[<p>David G,</p>
<p>Good information!  Yet another way for readers to be able to determine how users are logging in and authenticating on the network.  Thanks!</p>
<p>Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David G</title>
		<link>http://blog.scottlowe.org/2006/10/23/event-logging-in-ad-integration-scenarios/#comment-5840</link>
		<dc:creator>David G</dc:creator>
		<pubDate>Fri, 08 Dec 2006 14:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=348#comment-5840</guid>
		<description>Scott,

Something you may not be aware of that happens with Linux clients - if you enable failure auditing for Account Logon Events, you will get an Event ID 675 Failure Audit preceeding the Event 672. The text of the event will look like this:

Pre-authentication failed:
 	User Name:	adg
 	User ID:		EXAMPLE\adg
 	Service Name:	krbtgt/EXAMPLE.COM
 	Pre-Authentication Type:	0x0
 	Failure Code:	0x19
 	Client Address:	192.168.192.129


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

These errors are logged because the MS Kerberos implementation expects the initial TGT request to contain a 'preauthentication' blob which is a time stamp encrypted using the user's password hash as an encryption key (PA_ENC_TIMESTAMP in Kerberos-speak) - this preauthentication is used to prevent replay attacks. The Linux Kerberos libraries dont send this blob in their initial TGT request. When it receives the TGT without the preauthentication blob, the AD server:
1. Rejects the initial request
2. In the reject response, indicates that Preauthentication is required and hints with a list of acceptable preauthtcation types.
2. Logs the 675 error in the Event log.
On receiving the rejct response, the Linux Kerberos libraries resend the TGT request but this time include the preauthentication blob in the TGT request. 

You can disable preauthentication on a per-user basis - in AD Users &#38; Computers, tick the 'Do not require Kerberos preauthentication' box in the account properties tab, but it does make the account easier to hack.

The ideal solution would be to patch the Kerberos libraries to offer up a preauthentication blob at the first TGT request but I've yet to see any implementations yet - I suspect because this sort of patch could break interop with other Kerberos implementations - you need to declare what type of crypto (RC4, DES-CBC) you are going to use at the outset rather than negotiate between the client &#38; server what type of crypto is acceptable to both.

David G</description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>Something you may not be aware of that happens with Linux clients - if you enable failure auditing for Account Logon Events, you will get an Event ID 675 Failure Audit preceeding the Event 672. The text of the event will look like this:</p>
<p>Pre-authentication failed:<br />
 	User Name:	adg<br />
 	User ID:		EXAMPLE\adg<br />
 	Service Name:	krbtgt/EXAMPLE.COM<br />
 	Pre-Authentication Type:	0&#215;0<br />
 	Failure Code:	0&#215;19<br />
 	Client Address:	192.168.192.129</p>
<p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp" rel="nofollow">http://go.microsoft.com/fwlink/events.asp</a>.</p>
<p>These errors are logged because the MS Kerberos implementation expects the initial TGT request to contain a &#8216;preauthentication&#8217; blob which is a time stamp encrypted using the user&#8217;s password hash as an encryption key (PA_ENC_TIMESTAMP in Kerberos-speak) - this preauthentication is used to prevent replay attacks. The Linux Kerberos libraries dont send this blob in their initial TGT request. When it receives the TGT without the preauthentication blob, the AD server:<br />
1. Rejects the initial request<br />
2. In the reject response, indicates that Preauthentication is required and hints with a list of acceptable preauthtcation types.<br />
2. Logs the 675 error in the Event log.<br />
On receiving the rejct response, the Linux Kerberos libraries resend the TGT request but this time include the preauthentication blob in the TGT request. </p>
<p>You can disable preauthentication on a per-user basis - in AD Users &amp; Computers, tick the &#8216;Do not require Kerberos preauthentication&#8217; box in the account properties tab, but it does make the account easier to hack.</p>
<p>The ideal solution would be to patch the Kerberos libraries to offer up a preauthentication blob at the first TGT request but I&#8217;ve yet to see any implementations yet - I suspect because this sort of patch could break interop with other Kerberos implementations - you need to declare what type of crypto (RC4, DES-CBC) you are going to use at the outset rather than negotiate between the client &amp; server what type of crypto is acceptable to both.</p>
<p>David G</p>
]]></content:encoded>
	</item>
</channel>
</rss>
