Skip to content
Threat Feed
critical advisory PoC updated

Computer Account Changes via Anonymous Logon Detected

Detection of Windows Event 4742 indicating a computer account change performed by an ANONYMOUS LOGON account, which is abnormal and could signify malicious activity, particularly Zerologon exploitation.

CVE search metadata

CVE search record: CVE-2020-1472. Severity: medium. CVSS: 5.5. EPSS: 99.51%. KEV: no. Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud, Windows Server 1903, Windows Server 1909, Windows Server 2004, Windows Server 2008. Brief: Computer Account Changes via Anonymous Logon Detected. Brief link: https://feed.craftedsignal.io/briefs/2024-01-anonymous-computer-change/

What's new

  • 1. poc_available; added CVE-2020-1472; OS windows server 1903; OS windows server 1909; OS windows server 2004; OS windows server 2008 Aug 31, 17:06 via sploitus
  • 2. new IOCs May 28, 17:47 via splunk-escu

This threat brief addresses the detection of anomalous computer account modifications within a Windows environment. The activity is flagged by monitoring Windows Security Event Log ID 4742 ("A computer account was changed") where the SubjectUserName is "ANONYMOUS LOGON". This event sequence is highly unusual because computer account changes should not originate from anonymous logons. It's often associated with exploitation attempts against CVE-2020-1472 (Zerologon), which allows attackers to reset the computer account password to an empty value. Successful exploitation can grant attackers domain administrator privileges. This poses a critical threat to organizations as it can lead to complete domain compromise. The detection focuses on the specific event sequence as a reliable indicator of potential Zerologon exploitation or related unauthorized activities.

Attack Chain

  1. Attacker gains initial access to the network (often internal).
  2. Attacker sends a series of Netlogon messages to the domain controller using the "ANONYMOUS LOGON" account.
  3. These messages exploit a cryptographic flaw (CVE-2020-1472) in the Netlogon protocol.
  4. The attacker successfully resets the domain controller's computer account password to an empty string.
  5. Windows Security Event 4742 is generated with SubjectUserName of "ANONYMOUS LOGON", indicating the computer account change.
  6. The attacker uses the now-empty password to authenticate to the domain controller as the computer account.
  7. Attacker obtains domain administrator privileges by leveraging the compromised computer account.
  8. Attacker performs malicious activities such as data exfiltration, ransomware deployment, or establishing persistent access.

Impact

Successful exploitation of this vulnerability and subsequent account takeover results in complete compromise of the Active Directory domain. This allows the attacker to steal sensitive data, deploy ransomware across the network, and gain persistent access to critical systems. This could result in millions of dollars in damages, regulatory fines, and reputational damage. The Zerologon vulnerability (CVE-2020-1472) has been widely exploited, and unpatched systems remain at high risk.

Recommendation

  • Deploy the Sigma rule "Detect Computer Changed with Anonymous Logon" to your SIEM and tune for your environment to detect Event ID 4742 with "ANONYMOUS LOGON" as SubjectUserName (see "rules" section).
  • Ensure that the "Audit Computer Account Management" sub-category within the Windows Audit Policy is enabled to generate Event ID 4742 (see "how_to_implement" section).
  • Prioritize patching systems vulnerable to CVE-2020-1472 to prevent exploitation via the Netlogon protocol. (see "cve" tag)
  • Review systems for evidence of CVE-2020-1472 exploitation attempts using references provided such as https://www.lares.com/blog/from-lares-labs-defensive-guidance-for-zerologon-cve-2020-1472/.

Detection coverage 2

Detect Computer Changed with Anonymous Logon

critical

Detects changes to computer accounts using an anonymous logon, indicative of potential Zerologon exploitation.

sigma tactics: credential_access, privilege_escalation techniques: T1210 sources: windows, windows

Detect Anonymous Logon followed by Computer Change

high

Detects Event ID 4624 (Anonymous Logon) followed by Event ID 4742 (Computer Account Change) within a short timeframe.

sigma tactics: credential_access, privilege_escalation techniques: T1210 sources: windows, windows

Detection queries are available on the platform. Get full rules →