Suspicious Computer Account Name Change
The following analytic detects a suspicious computer account name change in Active Directory. It leverages Event ID 4781, which logs account name changes, to identify instances where a computer account name is…
Description
The following analytic detects a suspicious computer account name change in Active Directory. It leverages Event ID 4781, which logs account name changes, to identify instances where a computer account name is changed to one that does not end with a `$`. This behavior is significant as it may indicate an attempt to exploit CVE-2021-42278 and CVE-2021-42287, which can lead to domain controller impersonation and privilege escalation. If confirmed malicious, this activity could allow an attacker to gain elevated privileges and potentially control the domain.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- windows_event_log_security_4781
Known benign triggers
- Renaming a computer account name to a name that not end with '$' is highly unsual and may not have any legitimate scenarios.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| exploit.ph/cve-2021-42287-cve-2021-42278-weaponisation.html | 4from 2 sources |
| msrc.microsoft.com/update-guide/vulnerability/CVE-2021-42278 | 3 |
| msrc.microsoft.com/update-guide/vulnerability/CVE-2021-42287 | 3 |
From the source
- At source
- Open at source
- Upstream identifier
- 35a61ed8-61c4-11ec-bc1e-acde48001122
- Tagged by the source as
- Active Directory Privilege EscalationCompromised Windows HostsAMAccountName Spoofing and Domain Controller ImpersonationScattered Lapsus$ HuntersEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1