NetLogon Secure Channel Noncompliant Device Rule

OpsLogix.NetLogon.RPC.NonCompliantDeviceEvents.Alert.Rule (Rule)

This rule alerts on NetLogon vulnerable connection events (ID 5829) in the System eventlog on Domain Controllers

Knowledge Base article:

Summary

NetLogon Secure Channel Connection is vulnerable according to CVE-2020-1472

Causes

A Domain Controller allowed a vulnerable NetLogon request from a noncompliant device

Resolution

Identify the noncompliant device and take appropriate actions to make it compliant

Element properties:

TargetOpsLogix.NetLogon.RPC.DomainController.Class
CategoryCustom
EnabledFalse
Event_ID5829
Event SourceNetlogon
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
NetLogon Secure Channel Connection Is Vulnerable
{0}
Event LogSystem

Member Modules:

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

Source Code:

<Rule ID="OpsLogix.NetLogon.RPC.NonCompliantDeviceEvents.Alert.Rule" Target="OpsLogix.NetLogon.RPC.DomainController.Class" Enabled="false">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Netlogon</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">5829</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="OpsLogix.NetLogon.RPC.NonCompliantDeviceEvents.Alert.Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>