Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / WINDOWS / AUTHENTICATION

User Changes

This note documents detection patterns related to User Changes within Windows environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security4720User account createdCriticalCore event for new local or domain user creation.
Security4722User account enabledCriticalDetects activation of disabled account.
Security4723Password change attemptedHighSelf-password modification.
Security4724Password reset attemptedCriticalAdmin or attacker resets another account password.
Security4725User account disabledHighPossible attacker cleanup or disruption.
Security4726User account deletedCriticalRemoval after abuse or cleanup.
Security4738User account changedCriticalAttribute modification, including password and flags.
Security4688Process creationHighDetects net.exe, PowerShell, dsmod, wmic.
Sysmon1Process creationCriticalBest execution source for user modification tooling.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
New admin-capable user appearsFresh account with later privilege assignmentCriticalPersistence or escalation signal.
Dormant account enabledPreviously unused account activatedCriticalStrong attacker tactic.
Password reset on service/admin accountSensitive account targetedCriticalLateral movement clue.
User created then immediate logonFast operational useCriticalStrong malicious chain.
User deleted after short lifespanTemporary persistence accountHighCleanup clue.
Attribute changes outside admin windowOdd time / hostHighStrong anomaly.

Common Tools

ToolUsage
net.exeUser create / modify
net1.exeLegacy account manipulation
PowerShellNew-LocalUser / Set-LocalUser
dsadd.exeDomain user creation
dsmod.exeDomain user modification
lusrmgr.mscGUI local account changes
Active Directory Users and ComputersGUI domain changes

Relevant Artifacts

  • Security Event IDs 4720, 4722, 4723, 4724, 4725, 4726, 4738
  • Security Event ID 4688
  • Sysmon Event ID 1
  • Prefetch:
    • NET.EXE
    • POWERSHELL.EXE
    • DSADD.EXE
    • DSMOD.EXE
  • Amcache / ShimCache
  • EDR process tree
  • Account logon events after change

MITRE ATT&CK References

  • T1136 Create Account
  • T1098 Account Manipulation
  • T1078 Valid Accounts

Decision Tree

  1. What changed?

    • Create
    • Enable
    • Reset
    • Delete
  2. Which account affected?

    • Admin
    • Service
    • Dormant
    • New user
  3. Which process executed change?

    • net.exe
    • PowerShell
    • AD tooling
  4. Follow-up activity?

    • Logon
    • Group add
    • RDP / SMB use
  5. Expand:

    • Privilege assignment
    • Lateral movement
    • Persistence
  6. Scope:

    • Single account
    • Multiple users
    • Domain-wide changes

Example Detection Templates

KQL

SecurityEvent
| where EventID in (4720,4722,4724,4726,4738)
| project TimeGenerated, Computer, Account, TargetAccount, EventID
Sysmon
| where EventID == 1
| where CommandLine has_any ("net user","New-LocalUser","dsadd","dsmod")
| project TimeGenerated, Computer, User, CommandLine

EQL

iam where event.code in ("4720","4722","4724","4726","4738")
sequence by host.name with maxspan=10m
  [ any where event.code == "4720" ]
  [ authentication where event.code == "4624" ]

Sigma

title: User Changes Detection
id: 5f2d3a81-user-changes
status: experimental
description: Detects creation and modification of user accounts
references:
  - https://attack.mitre.org/
author: Vergil
date: 2026-03-07
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID:
      - 4720
      - 4722
      - 4724
      - 4726
      - 4738
  condition: selection
fields:
  - EventID
  - TargetAccount
falsepositives:
  - Legitimate administration
level: high
tags:
  - attack.persistence
  - attack.t1136

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
Alert on user creationImmediate reviewCriticalHigh-confidence signal
Protect admin accountsRestrict who can modify usersCriticalReduce abuse
Baseline dormant accountsDetect unusual enablementHighStrong anomaly detection
Correlate with logonsCatch operational useCriticalConfirms attacker intent
Central audit retentionPreserve account timelineHighSupports full reconstruction