Security: Digest authentication: unrecognized user

Security__Digest_authentication__unrecognized_user_6_Rule (Rule)

Knowledge Base article:

Summary

Digest Authentication provides the same service as Basic authentication -- except it transmits hashes of the user's credentials, whereas Basic transmits plain text passwords over the wire. To use Digest Authentication, the Web server needs access to passwords in plain text, and it is supported only with a Windows 2000 domain controller.

Resolutions

To use Digest authentication, all the following conditions must be met:

Advanced Digest authentication is only available in Windows Server 2003. To use Advanced Digest authentication, all the following conditions must be met:

The following are some advantages of Advanced Digest authentication over Digest authentication:

The default authentication method for an IIS 6.0 upgrade is Digest authentication, and the default authentication method for a new installation of IIS 6.0 is Advanced Digest authentication.

To verify the setting, examine the value for the UseDigestSSP metabase property on an IIS 6.0 server. This property is a switch between Digest and Advanced Digest SSPI code. To view this value:

cd c:\inetpub\adminscripts

cscript adsutil.vbs get w3svc/UseDigestSSP

Note If the property has not been added to an examined node, you receive the following message, and the default value that IIS sets applies:

The parameter "UseDigestSSP" is not set at this node.

Internet Explorer can be a factor when you use Digest authentication. In versions of IIS that are earlier than 6.0, Digest authentication is listed after Basic authentication in the WWW Authenticate header when both authentication methods are enabled in IIS. Because Internet Explorer uses the first recognized authentication method, it uses Basic authentication instead of Digest authentication.

IIS 6.0 implements a ranking for each supported authentication. The authentication rankings in order are:

Because Digest authentication is ranked higher, Digest authentication is listed before Basic authentication in the WWW Authenticate header in IIS 6.0, and Internet Explorer uses Digest authentication instead of Basic authentication when both are enabled in IIS 6.0.

Note The "Web site authentication" section of the IIS 6.0 Help file discusses configuration and operation details. If you have installed Windows Server 2003 with IIS 6.0, this Help file is available locally as Drive:\WinDir\Help\Iismmc.chm.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2003.WebSite
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Security: Digest authentication: unrecognized user
{0}
Event LogSystem
CommentMom2005ID='{A83D49D0-4313-48D1-B80F-3CE5A4BF330F}'

Member Modules:

ID Module Type TypeId RunAs 
DataSource DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Security__Digest_authentication__unrecognized_user_6_Rule" Comment="Mom2005ID='{A83D49D0-4313-48D1-B80F-3CE5A4BF330F}'" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2003.WebSite" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DataSource" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>IISMAP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/Description$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner>$Data/PublisherName$</AlertOwner>
<AlertMessageId>$MPElement[Name="Security__Digest_authentication__unrecognized_user_6_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>