AN0846 Analytic 0846
Adversary enumeration of local user accounts using Net.exe, WMI, or PowerShell.
Platforms: Windows.
- Process Creation — WinEventLog:Sysmon; channel EventCode=1.
1200KM / simulation
Adversaries may attempt to get a listing of local system accounts. This information can help adversaries determine which local accounts exist on a system to aid in follow-on behavior. Commands such as net user and net localgroup of the Net utility and id and groups on macOS and Linux can list local users and groups. On Linux, local users can also be enumerated through the use of the /etc/passwd file. On macOS, the dscl . list /Users command can…
Adversaries may attempt to get a listing of local system accounts. This information can help adversaries determine which local accounts exist on a system to aid in follow-on behavior.
Commands such as <code>net user</code> and <code>net localgroup</code> of the Net utility and <code>id</code> and <code>groups</code> on macOS and Linux can list local users and groups.[Mandiant APT1][id man page][groups man page] On Linux, local users can also be enumerated through the use of the <code>/etc/passwd</code> file. On macOS, the <code>dscl . list /Users</code> command can be used to enumerate local accounts. On ESXi servers, the `esxcli system account list` command can list local user accounts.[Crowdstrike Hypervisor Jackpotting Pt 2 2021]
Official technique definition · Open in the interactive matrix
Related pages are navigation context. Their tools, rules and lab results are not automatically inherited.
These contracts are selected through exact technique-to-data-component relationships or explicitly labelled planning overrides. Configure a collector at the relevant observation point; a telemetry name alone is not coverage.
DC0055 collection page — Enable Audit File System plus a narrow SACL on a lab directory; on Linux select path/syscall rules and join associated Audit records.
Required normalized fields: path, access, actor, result.
Project-normalized synthetic JSON, not a native provider log, captured event, attack verdict or validated detection. A parser/adapter is required for a real SIEM. Example names, IPs and values are fictional.
{
"schema": "1200km.telemetry.example.v1",
"synthetic": true,
"timestamp": "2026-09-27T12:00:00Z",
"telemetry_id": "DC0055",
"collector": "illustrative-lab-collector",
"observation": {
"path": "C:\\Lab\\demo.txt",
"access": "read",
"actor": "LAB\\analyst",
"result": "success"
}
}Visibility limits: A policy checkbox alone does not guarantee an event. Host role, SACL, success/failure selection and audit policy precedence matter. Directory changes may arrive as multiple records.
DC0032 collection page — Collect Sysmon ProcessCreate (1); preserve ProcessGuid and parent identifiers. Security 4688 is an alternative with separate audit/command-line settings.
Required normalized fields: process_guid, image, parent_image, command_line, user.
<EventFiltering>
<ProcessCreate onmatch="include">
<Image condition="is">C:\Windows\System32\whoami.exe</Image>
</ProcessCreate>
</EventFiltering>This fragment only selects the named process. It is not a complete production policy. Inspect the installed schema with sysmon64 -s; preserve existing rules, then apply the reviewed complete configuration with sysmon64 -c <configuration-file>.
Project-normalized synthetic JSON, not a native provider log, captured event, attack verdict or validated detection. A parser/adapter is required for a real SIEM. Example names, IPs and values are fictional.
{
"schema": "1200km.telemetry.example.v1",
"synthetic": true,
"timestamp": "2026-09-27T12:00:00Z",
"telemetry_id": "DC0032",
"collector": "illustrative-lab-collector",
"observation": {
"process_guid": "lab-process-001",
"image": "C:\\Windows\\System32\\whoami.exe",
"parent_image": "C:\\Windows\\System32\\cmd.exe",
"command_line": "whoami",
"user": "LAB\\analyst"
}
}Visibility limits: Event filtering and sensor versions change coverage. High-volume image-load and process-access collection needs tuning; endpoint events alone do not establish intent.
DC0013 collection page — Export an authorized directory/account inventory with stable IDs, roles, enabled state and collection time; compare snapshots without exposing credentials.
Required normalized fields: account_id, enabled, roles, inventory_time.
Project-normalized synthetic JSON, not a native provider log, captured event, attack verdict or validated detection. A parser/adapter is required for a real SIEM. Example names, IPs and values are fictional.
{
"schema": "1200km.telemetry.example.v1",
"synthetic": true,
"timestamp": "2026-09-27T12:00:00Z",
"telemetry_id": "DC0013",
"collector": "illustrative-lab-collector",
"observation": {
"account_id": "user-lab-1",
"enabled": true,
"roles": [
"lab-reader"
],
"inventory_time": "2026-09-27T12:00:00Z"
}
}Visibility limits: Snapshots miss short-lived objects and do not identify who caused a change. A generic inventory agent is not guaranteed to expose firmware or kernel-level details.
Open the dedicated detection workspace · Existing query engineering
Adversary enumeration of local user accounts using Net.exe, WMI, or PowerShell.
Platforms: Windows.
Enumeration of local users or groups via file access (/etc/passwd) or commands like id, groups.
Platforms: Linux.
Enumeration of macOS local users using dscl, id, dscacheutil, or /etc/passwd access.
Platforms: macOS.
Enumeration of local ESXi accounts using esxcli or vSphere API from unauthorized sessions.
Platforms: ESXi.
12 exact-tagged source rules. A source tag is a discovery aid, not a relevance verdict. Check the observation point and actual condition of each rule.
No exact technique-specific Atlas model is present for T1087.001 in the selected source snapshot. The following is a design worksheet, not a newly validated model.
Start from the exact analytic above. The collection-specific lenses below are analyst recommendations; they do not assert that an arbitrary statistical deviation detects this technique.
Anomaly Detection Atlas · Baseline, validation and blind spots
These are exact ATT&CK software-use relationships, including malware. They provide behavior context, not recommendations to download or execute malware. No safety or detector claim is inherited.
The discovery modules used with Duqu can collect information on accounts and permissions.[Symantec W32.Duqu]
Exact relationship: relationship--2db406cf-667d-4ad6-b768-7645f6663ac9Commands under <code>net user</code> can be used in Net to gather information about and manipulate user accounts.[Savill 1999]
Exact relationship: relationship--15f74597-d92d-406f-9941-c0dfef3cb609GeminiDuke collects information on local user accounts from the victim.[F-Secure The Dukes]
Exact relationship: relationship--2e69a835-6443-455e-8ff0-775bb8c823f1SHOTPUT has a command to retrieve information about connected users.[Palo Alto CVE-2015-3113 July 2015]
Exact relationship: relationship--33630ee4-24dc-4339-b29f-3d8b39e7daaeElise executes <code>net user</code> after initial communication is made to the remote server.[Lotus Blossom Jun 2015]
Exact relationship: relationship--c987dc63-ef3d-43aa-9344-bd9fd528c55dMis-Type may create a file containing the results of the command <code>cmd.exe /c net user {Username}</code>.[Cylance Dust Storm]
Exact relationship: relationship--a33c172b-9910-4f36-8373-32126201144bS-Type has run the command `net user` on a victim.[Cylance Dust Storm]
Exact relationship: relationship--fb0aef48-57f5-4331-acdd-25fdfdf1babbEpic gathers a list of all user accounts, privilege classes, and time of last logon.[Kaspersky Turla Aug 2014]
Exact relationship: relationship--8e876e40-06b7-4830-a281-85c070b6f854Remsec can obtain a list of users.[Kaspersky ProjectSauron Technical Analysis]
Exact relationship: relationship--9e587add-08b7-4ecb-a40a-664b9cff1d0fOSInfo enumerates local and domain users[Symantec Buckeye]
Exact relationship: relationship--30c5a160-c42d-4bee-bcc6-b85f083136d7Pupy uses PowerView and Pywerview to perform discovery commands such as net user, net group, net local group, etc.[GitHub Pupy]
Exact relationship: relationship--bdb0d192-3d82-4e5b-92bc-7ef24fd3e65bPowerSploit's <code>Get-ProcessTokenGroup</code> Privesc-PowerUp module can enumerate all SIDs associated with its current token.[GitHub PowerSploit May 2012][PowerSploit Documentation]
Exact relationship: relationship--b70e19d8-9602-4795-9d9b-ef18cdbe5d51PUNCHBUGGY can gather user names.[Morphisec ShellTea June 2019]
Exact relationship: relationship--2b2026c2-eb71-4c78-825d-5c4d0a747741POWERSTATS can retrieve usernames from compromised hosts.[FireEye MuddyWater Mar 2018]
Exact relationship: relationship--2d1bee29-c394-48ca-8ded-21fd86e3ff43MURKYTOP has the capability to retrieve information about users on remote hosts.[FireEye Periscope March 2018]
Exact relationship: relationship--ef699184-4191-4fc0-8525-6fa1dcfc61d7Kwampirs collects a list of accounts with the command <code>net users</code>.[Symantec Orangeworm April 2018]
Exact relationship: relationship--11fef36d-e857-4e0e-93e0-f0361df83cedBankshot gathers domain and account names/information through process monitoring.[McAfee Bankshot]
Exact relationship: relationship--a35c951b-5987-4028-b002-a2078ad9c0a7RATANKBA uses the <code>net user</code> command.[RATANKBA]
Exact relationship: relationship--7d181964-875f-4132-8882-46e9dd18e893Comnie uses the <code>net user</code> command.[Palo Alto Comnie]
Exact relationship: relationship--47a10b36-7f39-480c-8708-410eb3af46caInvisiMole has a command to list account information on the victim’s machine.[ESET InvisiMole June 2018]
Exact relationship: relationship--ab3fe31a-051e-4db5-bcf0-20a93b4bae9bKazuar gathers information on local groups and members on the victim’s machine.[Unit 42 Kazuar May 2017]
Exact relationship: relationship--da11f44a-5af0-4b71-a049-a9ff85e2ba9bTrickBot collects the users of the system.[S2 Grupo TrickBot June 2017][Trend Micro Trickbot Nov 2018]
Exact relationship: relationship--76d7d7fa-94a4-4fa6-9fd2-e9af9ab0f356Agent Tesla can collect account information from the victim’s machine.[DigiTrust Agent Tesla Jan 2017]
Exact relationship: relationship--0d93e75b-e13d-4bd5-97d2-b4f8d05e9efdEmpire can acquire local and domain user account information.[Github PowerShell Empire]
Exact relationship: relationship--bce07a45-9955-4466-86ad-35fef741087dPoshC2 can enumerate local and domain user account information.[GitHub PoshC2]
Exact relationship: relationship--426daf58-7fab-49c8-b5cb-722f3e46a75aUSBferry can use <code>net user</code> to gather information about local accounts.[TrendMicro Tropic Trooper May 2020]
Exact relationship: relationship--0bbf5be7-e1de-419e-85ee-afaa431f60bePony has used the <code>NetUserEnum</code> function to enumerate local accounts.[Malwarebytes Pony April 2016]
Exact relationship: relationship--d5ecfa68-2027-4dd5-adf0-1eb82463cfc5Valak has the ability to enumerate local admin accounts.[Cybereason Valak May 2020]
Exact relationship: relationship--d670ddce-d32a-4165-a56e-5bb183f4c904SoreFang can collect usernames from the local system via <code>net.exe user</code>.[CISA SoreFang July 2016]
Exact relationship: relationship--962d745e-7771-4c8b-a887-04d3a521943cBloodHound can identify users with local administrator rights.[CrowdStrike BloodHound April 2018]
Exact relationship: relationship--63895b27-aeba-4001-8039-b7b1bc41f8fcBazar can identify administrator accounts on an infected host.[NCC Group Team9 June 2020]
Exact relationship: relationship--cc81f8f0-111c-4932-bc75-7704eaf17f73HyperStack can enumerate all account names on a remote share.[Accenture HyperStack October 2020]
Exact relationship: relationship--c5fef08a-e2ca-4bd1-880e-80fd90dc3d6aBitPaymer can enumerate the sessions for each user logged onto the infected host.[Crowdstrike Indrik November 2018]
Exact relationship: relationship--d17ee0b3-4f2b-4d6f-ae10-7934d4e9126dP.A.S. Webshell can display the /etc/passwd file on a compromised host.[ANSSI Sandworm January 2021]
Exact relationship: relationship--f78eb569-6e16-4103-bc17-265f2d1b1bb2Stuxnet enumerates user accounts of the local host.[Nicolas Falliere, Liam O Murchu, Eric Chien February 2011]
Exact relationship: relationship--b65d643e-ff0b-4cf1-8c3f-7d31f39f2efbSMOKEDHAM has used <code>net.exe user</code> and <code>net.exe users</code> to enumerate local accounts on a compromised host.[FireEye SMOKEDHAM June 2021]
Exact relationship: relationship--e91c647e-7076-4290-b7c4-017822fdfd59Milan has run `C:\Windows\system32\cmd.exe /c cmd /c dir c:\users\ /s 2>&1` to discover local accounts.[ClearSky Siamesekitten August 2021]
Exact relationship: relationship--b0d9045a-448e-40f6-848a-7d852b1f197bPikabot will retrieve the name of the user associated with the thread under which the malware is executing.[Elastic Pikabot 2024]
Exact relationship: relationship--6d719666-23d9-44a7-afb1-2afb5263cf09MgBot includes modules for identifying local administrator accounts on victim systems.[Symantec Daggerfly 2023]
Exact relationship: relationship--2b55e889-243f-412b-b5cd-fa1d59f1a999Raccoon Stealer checks the privileges of running processes to determine if the running user is equivalent to `NT Authority\System`.[Sekoia Raccoon2 2022]
Exact relationship: relationship--d0460046-cd33-46b4-948e-1f46139eec6eDUSTTRAP can enumerate local user accounts.[Google Cloud APT41 2024]
Exact relationship: relationship--57bf3d4d-788c-43f9-b35b-a76b68a0b02dRedLine Stealer has collected account information from the victim’s machine.[Proofpoint RedLine Stealer March 2020][Splunk RedLine Stealer June 2023]
Exact relationship: relationship--5b2c1413-9760-4867-8fe4-3b7c55f1e780Qilin can list all local users found on a targeted system.[Trend Micro Agenda Ransomware AUG 2022]
Exact relationship: relationship--2f2f5731-3c6c-4c08-a39a-2afa45f3bc9cInvisibleFerret has queried the victim device using Python scripts to obtain the User and Hostname.[Recorded Future Contagious Inteview BeaverTail InvisibleFerret OtterCookie February 2025][PaloAlto ContagiousInterview BeaverTail InvisibleFerret November 2023]
Exact relationship: relationship--6b2974dc-91ee-4c37-9d2c-a7312a6bc3f6SystemBC has collected the Windows account username on the victim machine.[SophosGnGal_SystemBC_Dec2020]
Exact relationship: relationship--179cb2c1-5069-479d-ab51-6e1adfd2d983Atomic evidence: 11 compatible documented candidates. Live lab status: not run for these imported procedures.
Use disposable lab hosts and test accounts, explicit target allowlists, a clean snapshot, bounded egress and a restore plan. Review every candidate and dependency before any execution.
Show if a user account has ever logged in remotely
Pinned Atomic procedure · 0f0b6a29-08c3-44ad-a30b-47fd996b2110 · linux · sh.
Elevation: not declared required. Cleanup: defined upstream; review required. This is source documentation, not an execution approval.
output_file: Path where captured results will be placed (type path; source default /tmp/T1087.001.txt)Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
1 prerequisite definitions:
Utilize local utilities to enumerate users and groups
Pinned Atomic procedure · 319e9f6c-7a9e-432e-8c62-9385c803b6f2 · macos · sh.
Elevation: not declared required. Cleanup: not declared. This is source documentation, not an execution approval.
No input arguments declared.
Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
List opened files by user
Pinned Atomic procedure · 7e46c7a5-0142-45be-a858-1a3ecb4fd3cb · linux, macos · sh.
Elevation: not declared required. Cleanup: not declared. This is source documentation, not an execution approval.
No input arguments declared.
Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
1 prerequisite definitions:
Enumerate all accounts
Upon execution, multiple enumeration commands will be run and their output displayed in the PowerShell session
Pinned Atomic procedure · 80887bec-5a9b-4efc-a81d-f83eb2eb32ab · windows · command_prompt.
Elevation: not declared required. Cleanup: not declared. This is source documentation, not an execution approval.
No input arguments declared.
Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
An adversary can use ESXCLI to enumerate a list of all local accounts on an ESXi host.
Reference"
Pinned Atomic procedure · 9762ac6e-aa60-4449-a2f0-cbbd0e1fd22c · windows · command_prompt.
Elevation: not declared required. Cleanup: not declared. This is source documentation, not an execution approval.
vm_host: Specify the host name or IP of the ESXi server. (type string; source default atomic.local)vm_user: Specify the privilege user account on the ESXi server. (type string; source default root)vm_pass: Specify the privileged user's password. (type string; source default password)plink_file: Path to Plink (type path; source default PathToAtomicsFolder\..\ExternalPayloads\plink.exe)Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
1 prerequisite definitions:
Enumerate logged on users. Upon execution, logged on users will be displayed.
Pinned Atomic procedure · a138085e-bfe5-46ba-a242-74a6fb884af3 · windows · command_prompt.
Elevation: not declared required. Cleanup: not declared. This is source documentation, not an execution approval.
No input arguments declared.
Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
Enumerate all accounts via PowerShell. Upon execution, lots of user account and group information will be displayed.
Pinned Atomic procedure · ae4b6361-b5f8-46cb-a3f9-9cf108ccfe7b · windows · powershell.
Elevation: not declared required. Cleanup: not declared. This is source documentation, not an execution approval.
No input arguments declared.
Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
View accounts with UID 0
Pinned Atomic procedure · c955a599-3653-4fe5-b631-f11c00eb0397 · linux, macos · sh.
Elevation: not declared required. Cleanup: defined upstream; review required. This is source documentation, not an execution approval.
output_file: Path where captured results will be placed (type path; source default /tmp/T1087.001.txt)Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
Utilize groups and id to enumerate users and groups
Pinned Atomic procedure · e6f36545-dc1e-47f0-9f48-7f730f54a02e · linux, macos · sh.
Elevation: not declared required. Cleanup: not declared. This is source documentation, not an execution approval.
No input arguments declared.
Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
Enumerate all accounts by copying /etc/passwd to another file
Pinned Atomic procedure · f8aab3dd-5990-4bf8-b8ab-2226c951696f · linux · sh.
Elevation: not declared required. Cleanup: defined upstream; review required. This is source documentation, not an execution approval.
output_file: Path where captured results will be placed (type path; source default /tmp/T1087.001.txt)Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
(requires root)
Pinned Atomic procedure · fed9be70-0186-4bde-9f8a-20945f9370c2 · linux, macos · sh.
Elevation: required. Cleanup: defined upstream; review required. This is source documentation, not an execution approval.
output_file: Path where captured results will be placed (type path; source default /tmp/T1087.001.txt)Review the upstream command, dependencies and cleanup at the source link. Source defaults may refer to real infrastructure or destructive actions; they are not authorized targets. No automatic install, prerequisite download or command execution is provided.
Download synthetic collection fixture (JSON) · Download the complete engineering workbook
This fixture exercises the listed collection fields. It does not reproduce Local Account, label its example events as malicious, or measure detection effectiveness. Use the exact analytic and selected procedure to build an independently labelled behavior-positive dataset.
Not run in this browser. No network scan or attack command is executed by this control.
All-page audit and evidence inventory · This page’s machine-readable workbook
Pinned MITRE STIX source · SHA-256 81113ba98afa2928f3dcff62022539f7ce30c315c32e14422f11ff95ce534352. Definition and procedure context are reproduced from this snapshot, not independently re-investigated incidents.
Prevent administrator accounts from being enumerated when an application is elevating through UAC since it can lead to the disclosure of account names. The Registry key is located at <code>HKLM\ SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI\EnumerateAdministrators</code>. It can be disabled through GPO: Computer Configuration > [Policies] > Administrative Templates > Windows Components > Credential User Interface: Enumerate administrator accounts on elevation.[UCF STIG Elevation Account Enumeration]
Source procedure platform / method / executor tags:
These are explicit actor-to-technique associations in the existing Threat Matrix snapshot, not attribution of an event or proof that a detector identifies the actor. No tool-to-actor relationship is inferred.
Pinned research references. No browser attack runner or production-validated detector is asserted. Imported procedures remain unvalidated; any bounded lab evidence has its own scope. ATT&CK / Atomic provenance · Detection provenance.