Security event 4781
The name of an account was changed
Channel: Security. Category: User Account Management.
What it records
Records a change to a user or computer account's sAMAccountName (logon name), showing both the old and new account names.
Why it matters
Renaming a well-known privileged account (e.g. renaming a dormant admin account to something innocuous, or renaming a malicious account to impersonate a legitimate one) is a lightweight way to hide an identity in plain sight; tracking renames preserves a clean chain of custody for a given SID across name changes.
What triggers it
Legitimately triggered by HR-driven name changes or account-naming cleanup projects; suspicious when a high-privilege account is renamed to a generic or camouflaged name, or coincides with other account-management activity on the same SID.
Fields that carry the answer
| Field | What it tells you |
|---|---|
| Old Account Name | The account's logon name before the rename. Needed to trace the account's identity across the change. |
| New Account Name | The account's logon name after the rename. Check whether a privileged or malicious account was renamed to something innocuous or impersonating a legitimate name. |
| Target Account > Security ID | The SID stays constant across the rename. Use it, not the name, to maintain a clean chain of custody for the account through the change. |
In practice
A 4781 might show Subject Account Name CORP\jsmith renaming Target Account Old Account Name svc-backup-adm to New Account Name svc-helpdesk, with the Target Account's Security ID unchanged across the rename: a privileged service account renamed to something innocuous outside a known change ticket is worth flagging, and the constant SID lets an analyst trace the account's full history under both names.
Sample record
The name of an account was changed. Subject: Security ID: CORP\administrator Account Name: administrator Account Domain: CORP Logon ID: 0x3E7 Target Account: Security ID: S-1-5-21-3623811015-3361044348-30300820-1105 Account Domain: CORP Changed Attributes: Old Account Name: jdoe New Account Name: jdoe2
Sources
Paste a record into Event XML or open a log in EVTX Reader.