Discovery

T1087.001: Local Account

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

T1087.001 · Sub-technique ·4 platforms ·18 groups

Description

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.(Citation: Mandiant APT1)(Citation: id man page)(Citation: groups man page) On Linux, local users can also be enumerated through the use of the /etc/passwd file. On macOS, the dscl . list /Users command can be used to enumerate local accounts. On ESXi servers, the esxcli system account list command can list local user accounts.(Citation: Crowdstrike Hypervisor Jackpotting Pt 2 2021)

Platforms

ESXiLinuxmacOSWindows

Mitigations (1)

Operating System ConfigurationM1028

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 HKLM\ SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI\EnumerateAdministrators. It can be disabled through GPO: Computer Configuration > [Policies] > Administrative Templates > Windows Components

Threat Groups (18)

IDGroupContext
G0022APT3[APT3](https://attack.mitre.org/groups/G0022) has used a tool that can obtain info about local and global group users, power users, and administrators...
G0018admin@338[admin@338](https://attack.mitre.org/groups/G0018) actors used the following commands following exploitation of a machine with [LOWBALL](https://attac...
G1017Volt Typhoon[Volt Typhoon](https://attack.mitre.org/groups/G1017) has executed `net user` and `quser` to enumerate local account information.(Citation: CISA AA24-...
G0096APT41[APT41](https://attack.mitre.org/groups/G0096) used built-in <code>net</code> commands to enumerate local administrator groups.(Citation: Rostovcev AP...
G0050APT32[APT32](https://attack.mitre.org/groups/G0050) enumerated administrative users using the commands <code>net localgroup administrators</code>.(Citation...
G1009Moses Staff[Moses Staff](https://attack.mitre.org/groups/G1009) has collected the administrator username from a compromised host.(Citation: Checkpoint MosesStaff...
G0049OilRig[OilRig](https://attack.mitre.org/groups/G0049) has run <code>net user</code>, <code>net user /domain</code>, <code>net group “domain admins” /domain<...
G0004Ke3chang[Ke3chang](https://attack.mitre.org/groups/G0004) performs account discovery using commands such as <code>net localgroup administrators</code> and <co...
G0006APT1[APT1](https://attack.mitre.org/groups/G0006) used the commands <code>net localgroup</code>,<code>net user</code>, and <code>net group</code> to find ...
G0010Turla[Turla](https://attack.mitre.org/groups/G0010) has used <code>net user</code> to enumerate local accounts on the system.(Citation: ESET ComRAT May 202...
G0033Poseidon Group[Poseidon Group](https://attack.mitre.org/groups/G0033) searches for administrator accounts on both the local victim machine and the network.(Citation...
G1039RedCurl[RedCurl](https://attack.mitre.org/groups/G1039) has collected information about local accounts.(Citation: group-ib_redcurl1)(Citation: group-ib_redcu...
G0030Lotus Blossom[Lotus Blossom](https://attack.mitre.org/groups/G0030) has used commands such as `net` to profile local system users.(Citation: Cisco LotusBlossom 202...
G0114Chimera[Chimera](https://attack.mitre.org/groups/G0114) has used <code>net user</code> for account discovery.(Citation: NCC Group Chimera January 2021)
G1051Medusa Group[Medusa Group](https://attack.mitre.org/groups/G1051) has leveraged `net user` for account discovery.(Citation: Broadcom Medusa Ransomware Medusa Grou...
G1044APT42[APT42](https://attack.mitre.org/groups/G1044) has used the PowerShell-based POWERPOST script to collect local account names from the victim machine.(...
G0117Fox Kitten[Fox Kitten](https://attack.mitre.org/groups/G0117) has accessed ntuser.dat and UserClass.dat on compromised hosts.(Citation: CISA AA20-259A Iran-Base...
G0027Threat Group-3390[Threat Group-3390](https://attack.mitre.org/groups/G0027) has used <code>net user</code> to conduct internal discovery of systems.(Citation: SecureWo...

Associated Software (45)

IDNameTypeContext
S0266TrickBotMalware[TrickBot](https://attack.mitre.org/software/S0266) collects the users of the system.(Citation: S2 Grupo TrickBot June 2017)(Citation: Trend Micro Tri...
S1145PikabotMalware[Pikabot](https://attack.mitre.org/software/S1145) will retrieve the name of the user associated with the thread under which the malware is executing....
S0233MURKYTOPMalware[MURKYTOP](https://attack.mitre.org/software/S0233) has the capability to retrieve information about users on remote hosts.(Citation: FireEye Periscop...
S0603StuxnetMalware[Stuxnet](https://attack.mitre.org/software/S0603) enumerates user accounts of the local host.(Citation: Nicolas Falliere, Liam O Murchu, Eric Chien F...
S0049GeminiDukeMalware[GeminiDuke](https://attack.mitre.org/software/S0049) collects information on local user accounts from the victim.(Citation: F-Secure The Dukes)
S1245InvisibleFerretMalware[InvisibleFerret](https://attack.mitre.org/software/S1245) has queried the victim device using Python scripts to obtain the User and Hostname.(Citatio...
S0239BankshotMalware[Bankshot](https://attack.mitre.org/software/S0239) gathers domain and account names/information through process monitoring.(Citation: McAfee Bankshot...
S0453PonyMalware[Pony](https://attack.mitre.org/software/S0453) has used the <code>NetUserEnum</code> function to enumerate local accounts.(Citation: Malwarebytes Pon...
S0537HyperStackMalware[HyperStack](https://attack.mitre.org/software/S0537) can enumerate all account names on a remote share.(Citation: Accenture HyperStack October 2020)
S1159DUSTTRAPMalware[DUSTTRAP](https://attack.mitre.org/software/S1159) can enumerate local user accounts.(Citation: Google Cloud APT41 2024)
S9001SystemBCMalware[SystemBC](https://attack.mitre.org/software/S9001) has collected the Windows account username on the victim machine.(Citation: SophosGnGal_SystemBC_D...
S0260InvisiMoleMalware[InvisiMole](https://attack.mitre.org/software/S0260) has a command to list account information on the victim’s machine.(Citation: ESET InvisiMole Jun...
S0598P.A.S. WebshellMalware[P.A.S. Webshell](https://attack.mitre.org/software/S0598) can display the /etc/passwd file on a compromised host.(Citation: ANSSI Sandworm January 20...
S0265KazuarMalware[Kazuar](https://attack.mitre.org/software/S0265) gathers information on local groups and members on the victim’s machine.(Citation: Unit 42 Kazuar Ma...
S0063SHOTPUTMalware[SHOTPUT](https://attack.mitre.org/software/S0063) has a command to retrieve information about connected users.(Citation: Palo Alto CVE-2015-3113 July...
S0196PUNCHBUGGYMalware[PUNCHBUGGY](https://attack.mitre.org/software/S0196) can gather user names.(Citation: Morphisec ShellTea June 2019)
S0085S-TypeMalware[S-Type](https://attack.mitre.org/software/S0085) has run the command `net user` on a victim.(Citation: Cylance Dust Storm)
S0125RemsecMalware[Remsec](https://attack.mitre.org/software/S0125) can obtain a list of users.(Citation: Kaspersky ProjectSauron Technical Analysis)
S0091EpicMalware[Epic](https://attack.mitre.org/software/S0091) gathers a list of all user accounts, privilege classes, and time of last logon.(Citation: Kaspersky Tu...
S0081EliseMalware[Elise](https://attack.mitre.org/software/S0081) executes <code>net user</code> after initial communication is made to the remote server.(Citation: Lo...

References

Frequently Asked Questions

What is T1087.001 (Local Account)?

T1087.001 is a MITRE ATT&CK technique named 'Local Account'. It belongs to the Discovery tactic(s). 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 a...

How can T1087.001 be detected?

Detection of T1087.001 (Local Account) typically involves monitoring system logs, network traffic, and endpoint telemetry. Use SIEM rules, EDR solutions, and behavioral analytics to identify suspicious activity associated with this technique.

What mitigations exist for T1087.001?

There are 1 documented mitigations for T1087.001. Key mitigations include: Operating System Configuration.

Which threat groups use T1087.001?

Known threat groups using T1087.001 include: APT3, admin@338, Volt Typhoon, APT41, APT32, Moses Staff, OilRig, Ke3chang.