Skip to content

Windows Event ID 4741: A computer account was created

Written when a new computer object (machine account) is created. Besides the legitimate act of domain join, it can be a foothold for some privilege-escalation attacks.

Overview

The subcategory is Audit Computer Account Management. It is generated when a new computer object is created, recorded only on domain controllers. It includes the creating subject, computer name, and main attributes.

How it is triggered

  • Computer account creation via a machine’s domain join, New-ADComputer, djoin, and so on.
  • By default, ordinary users can also create machine accounts up to the MachineAccountQuota (default 10).

Security review points

  • There are attacks that abuse machine-account creation by ordinary users. A prime example is noPac / sAMAccountName spoofing, where an attacker disguises the sAMAccountName of a machine account they created as a DC name to attempt privilege escalation. A 4741 by an unexpected creator (a non-administrator user) is notable.
  • Attacks abusing resource-based constrained delegation (RBCD) also begin with creating an attacker-controlled machine account. Track it together with the following account change 4742 (setting delegation attributes and so on).

Notes for log review

  • It occurs daily during legitimate domain joins. Weight it by whether the creator is an administrator/provisioning system or an ordinary user. Focus monitoring on creation by ordinary users.
  • If you set MachineAccountQuota to 0, 4741 by ordinary users essentially disappears, making detection clear-cut.

MITRE ATT&CK mapping

TechniqueTacticWhat this event shows
T1136.002 Domain AccountPersistenceMachine accounts created by regular users through MachineAccountQuota
T1068 Exploitation for Privilege EscalationPrivilege EscalationThe first step of noPac (CVE-2021-42278 / CVE-2021-42287) or RBCD abuse

Mapping as of ATT&CK v19.2. To search by technique, see the ATT&CK reverse lookup.

Detection rules

SigmaHQ has 1 public detection rule that uses this event ID as a condition.

RuleTypeSeverity
Add or Remove Computer from DCSigmaLow

Rules are collected from SigmaHQ r2026-07-01 and from Azure-Sentinel as of 2026-10-09, limited to those whose conditions include this event ID. Sentinel rules are limited to those that query the SecurityEvent or WindowsEvent table. “Threat-specific” rules target a particular threat group or malware, and “needs setup” rules require values for your environment. Severity is the value each rule’s author assigned.

Key fields

FieldMeaning
New Computer Account\Account NameThe created computer account
Subject\Account NameThe creating subject (notable if non-administrator)

Glossary

  • MachineAccountQuota — the cap on the number of machine accounts an ordinary user can create (default 10). It is a precondition for attacks like noPac.

References