VeriKQL by Kaushik Saha

T1136.001 Local Account

Persistenceon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0447 T1136.001 Detection Strategy - Local Account Creation Across Platforms

AN1235 Windows

Adversary uses built-in tools like 'net user /add', PowerShell, or WMI to create a local user. Sequence: Account creation event (4720) follows process creation of a suspicious executable (e.g., powershell.exe or net.exe).

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4720
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4720)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4720)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4720)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:SysmonEventCode=1
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (1)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (1)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

AN1236 Linux

Local user accounts are created via binaries like 'useradd', 'adduser', or by editing passwd/shadow. Behavior chain includes execution of user management binaries or modification of user database files.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLuseradd or adduser executedNot mapped to Sentinel yet.
auditd:SYSCALLwrite operation on /etc/passwd or /etc/shadowNot mapped to Sentinel yet.

AN1237 macOS

Account creation using 'dscl -create' or via GUI tools. Detection involves command execution and file changes to the local directory services database.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogdscl -createNot mapped to Sentinel yet.
macos:unifiedlogmodification to /var/db/dslocal/nodes/Default/users/Not mapped to Sentinel yet.

AN1238 ESXi

Account created using esxcli commands. Sequence includes esxcli execution and successful modification to account DB.

MITRE log sourceIn Microsoft Sentinel
esxi:vmkernelesxcli system account addNot mapped to Sentinel yet.

AN1239 Containers

Account created in a running container (e.g., via 'useradd' or by modifying /etc/passwd directly). Detectable via runtime telemetry (e.g., Falco or eBPF hooks).

MITRE log sourceIn Microsoft Sentinel
ebpf:syscallsuseradd or /etc/passwd modified inside containerNot mapped to Sentinel yet.

AN1240 Network Devices

Account created via CLI using 'username' command or REST API. Detectable through AAA logging or CLI history telemetry.

MITRE log sourceIn Microsoft Sentinel
networkdevice:syslogusername <user> privilege <level>Not mapped to Sentinel yet.

Content Hub rules tagged with it (3)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1136.001 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

18 SigmaHQ community rules name it in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.