VeriKQL by Kaushik Saha

T1564.002 Hidden Users

Stealthon attack.mitre.org

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

How MITRE detects it

DET0353 Detection Strategy for Hidden User Accounts

AN1001 Windows

Registry modifications to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList setting user visibility to 0, or creation of user accounts not shown on login screen. Defender view: correlation of account creation with registry edits that mark users hidden.

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=13, 14
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (13, 14)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (13, 14)

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

AN1002 Linux

Use of gsettings or direct Display Manager modifications to hide users from greeter login screen. Defender view: anomalous command execution modifying org.gnome.login-screen or other greeter configurations.

MITRE log sourceIn Microsoft Sentinel
auditd:EXECVEExecution of gsettings set org.gnome.login-screen disable-user-list trueNot mapped to Sentinel yet.
auditd:FILEModification of Display Manager configuration files (/etc/gdm3/*, /etc/lightdm/*)Not mapped to Sentinel yet.

AN1003 macOS

User creation or modification via dscl with IsHidden=1, UID<500, or plist edits to com.apple.loginwindow Hide500Users flag. Defender view: correlation of hidden account attributes with login screen exclusion.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogExecution of dscl . create with IsHidden=1Not mapped to Sentinel yet.
macos:unifiedlogModification of /Library/Preferences/com.apple.loginwindow plistNot mapped to Sentinel yet.
macos:unifiedlogCreation of user account with UID <500Not mapped to Sentinel yet.

Content Hub rules tagged with it (0)

No Content Hub rule is tagged with this technique.

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

In Sigma rules

4 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.