Technique:  System Owner
Action RAT has the ability to collect the username from an infected host.
Agent Tesla can collect the username from the victim’s machine.
Agent.btz obtains the victim username and saves it to a file.
Amadey has collected the user name from a compromised host using GetUserNameA.
It used an HTTP malware variant and a Port 22 malware variant to collect the victim’s username.
An It downloader uses the Windows command "cmd.exe" /C whoami to verify that it is running with the elevated privileges of "System."
It collected the victim's username and executed the whoami command on the victim's machine. It executed shellcode to collect the username on the victim's machine.
It identifies the victim username.
It has identified primary users, currently logged in users, sets of users that commonly use a system, or inactive users.
It used Remexi to collect usernames from the system.
It used the WMIEXEC utility to execute whoami commands on remote machines.
Aria-body has the ability to identify the username on a compromised host.
AsyncRAT can check if the current user of a compromised system is an administrator.
AuTo Stealer has the ability to collect the username from an infected host.
Azorult can collect the username from the victim’s machine.
BabyShark has executed the whoami command.
Backdoor.Oldrea collects the current username from the victim.
BADHATCH can obtain logged user information from a compromised machine and can execute the command whoami.exe.
Bazar can identify the username of the infected user.
BISCUIT has a command to gather the username from the system.
BlackCat can utilize net use commands to discover the user name on a compromised host.
BloodHound can collect information on user sessions.
BLUELIGHT can collect the username on a compromised host.
Bonadan has discovered the username of the user running the backdoor.
BoomBox can enumerate the username on a compromised host.
Bumblebee has the ability to identify the user name.
During C0017, It used whoami to gather information from victim machines.
During C0018, the threat actors collected whoami information via PowerShell scripts.
Cannon can gather the username from the system.
Cardinal RAT can collect the username from a victim machine.
Caterpillar WebShell can obtain a list of user accounts from a victim's machine.
Chaes has collected the username and UID from the infected machine.
It has used the quser command to show currently logged on users.
Chrommme can retrieve the username from a targeted system.
Clambling can identify the username on a compromised host.
CreepySnail can execute getUsername on compromised systems.
Crimson can identify the user on a targeted system.
Cryptoistic can gather data on the user of a compromised host.
DarkComet gathers the username from the victim’s machine.
DarkWatchman has collected the username from a victim machine.
Denis enumerates and collects the username from the victim’s machine.
A Linux version of Derusbi checks if the victim user ID is anything other than zero (normally used for root), and the malware will not execute if it does not have root privileges. Derusbi also gathers the username of the victim.
Diavol can collect the username from a compromised host.
DnsSystem can use the Windows user name to create a unique identification for infected users and systems.
DownPaper collects the victim username and sends it to the C2 server.
It used the command query user on victim hosts.
DRATzarus can obtain a list of users from an infected machine.
Dyre has the ability to identify the users on a compromised host.
It collected information on user accounts via the whoami command.
Egregor has used tools to gather information about users.
Emotet has enumerated all users connected to network shares.
Empire can enumerate the username on targeted hosts.
Epic collects the user name from the victim’s machine.
EVILNUM can obtain the username from the victim's machine.
Exaramel for Linux can run whoami to identify the system owner.
Explosive has collected the username from the infected host.
Felismus collects the current username and sends it to the C2 server.
FELIXROOT collects the username from the victim’s machine.
It has used Meterpreter to enumerate users on remote systems.
It has used the command cmd.exe /C quser to collect user session information.
It has executed the command quser to display the session details of a compromised machine.
Flagpro has been used to run the whoami command on the system.
FlawedAmmyy enumerates the current user during the initial infection.
During Frankenstein, the threat actors used Empire to enumerate hosts and gather username, machine name, and administrative permissions information.
FunnyDream has the ability to gather user information from the targeted system using whoami/upn&whoami/fqdn&whoami/logonid&whoami/all.
It used whoami and query user to obtain information about the victim user.
A It file stealer can gather the victim's username to send to a C2 server.
Gazer obtains the current user's security identifier.
Gelsemium has the ability to distinguish between a standard user and an administrator on a compromised host.
Get2 has the ability to identify the current username of an infected host.
Gold Dragon collects the endpoint victim's username and uses it as a basis for downloading additional components from the C2 server.
Goopy has the ability to enumerate the infected system's user name.
Grandoreiro can collect the username from the victim's machine.
GravityRAT collects the victim username along with other account information (account type, description, full name, SID and status).
GrimAgent can identify the user id on a target machine.
It has used whoami to gather user information.
can collect the victim user name.
HAWKBALL can collect the user name of the system.
It has run whoami on compromised machines to identify the current user.
HotCroissant has the ability to collect the username on the infected host.
InvisiMole lists local users and session information.
Ixeshe collects the username from the victim’s machine.
JPIN can obtain the victim user name.
Kazuar gathers information on users.
It has used implants capable of collecting the signed-in username.
Koadic can identify logged in users across the domain and views user sessions.
The OsInfo function in Komplex collects the current running username.
KONNI can collect the username from the victim’s machine.
KOPILUWAK can conduct basic network reconnaissance on the victim machine with whoami, to get user details.
Kwampirs collects registered owner details by using the commands systeminfo and net config workstation.
Various It malware enumerates logged-on users.
Linux Rabbit opens a socket on port 22 and if it receives a response it attempts to obtain the machine's hostname and Top-Level Domain.
LiteDuke can enumerate the account name on a targeted system.
LitePower can determine if the current user has admin privileges.
Lizar can collect the username from the system.
Lokibot has the ability to discover the username on the infected host.
Lucifer has the ability to identify the username on a compromised host.
It has used a malicious DLL to collect the username from compromised hosts.
MacMa can collect the username from the compromised machine.
Mafalda can collect the username from a compromised host.
It malware has obtained the victim username and sent it to the C2 server.
MarkiRAT can retrieve the victim’s username.
MechaFlounder has the ability to identify the username and hostname on a compromised host.
metaMain can collect the username from a compromised host.
Metamorfo has collected the username from the victim's machine.
Micropsia collects the username from the victim’s machine.
Milan can identify users registered to a targeted machine.
MirageFox can gather the username from the victim’s machine.
Mis-Type runs tests to determine the privilege level of the compromised user.
MoonWind obtains the victim username.
More_eggs has the capability to gather the username from the victim's machine.
Mosquito runs whoami on the victim’s machine.
It has used malware that can collect the victim’s username.
NanHaiShu collects the username from the victim.
NBTscan can list active users on the system.
NDiskMonitor obtains the victim username and encrypts the information to send over its C2 channel.
Neoichor can collect the user name from a victim's machine.
During Night Dragon, threat actors used password cracking and pass-the-hash tools to discover usernames and passwords.
njRAT enumerates the current user during the initial infection.
NOKKI can collect the username from the victim’s machine.
ObliqueRAT can check for blocklisted usernames on infected endpoints.
Octopus can collect the username from the victim’s machine.
It has run whoami on a victim.
Okrum can collect the victim username.
During Operation CuckooBees, the threat actors used the query user and whoami commands as part of their advanced reconnaissance.
During Operation Wocao, threat actors enumerated sessions and users on a remote host, and identified privileged users logged into a targeted system.
It collected the victim username and whether it was running as admin, then sent the information to its C2 server.
PoetRAT sent username, computer name, and the previously generated UUID in reply to a "who" command from C2.
PowerDuke has commands to get the current user's name and SID.
PowerShower has the ability to identify the current user on the infected host.
POWERSTATS has the ability to identify the username on the compromised host.
POWRUNER may collect information about the currently logged in user by running whoami on a victim.
A module in Prikormka collects information from the victim about the current user name.
Pupy can enumerate local information for Linux hosts and find currently logged on users for Windows hosts.
PyDCrypt has probed victim machines with whoami and has collected the username from the machine.
QakBot can identify the user name on a compromised system.
QUADAGENT gathers the victim username.
QuasarRAT can enumerate the username and account type.
RATANKBA runs the whoami and query user commands.
RCSession can gather system owner information, including user and administrator privileges.
Reaver collects the victim's username.
RedLeaves can obtain information about the logged on user both locally and for Remote Desktop sessions.
Remsec can obtain information about the current user.
Revenge RAT gathers the username from the system.
RGDoor executes the whoami on the victim’s machine.
Rifdoor has the ability to identify the username on the compromised host.
Rising Sun can detect the username of the infected host.
RogueRobin collects the victim’s username and whether that user is an admin.
ROKRAT can collect the username from a compromised host.
It can obtain the victim username and permissions.
S-Type has run tests to determine the privilege level of the compromised user.
Saint Bot can collect the username from a compromised host.
It has collected the username from a compromised host.
SDBbot has the ability to identify the user on a compromised host.
ServHelper will attempt to enumerate the username of the victim.
ShadowPad has collected the username of the victim system.
SHARPSTATS has the ability to identify the username on the compromised host.
SideTwist can collect the username on a targeted system.
It has used tools to identify the user of a compromised host.
SILENTTRINITY can gather a list of logged on users.
SLOTHFULMEDIA has collected the username from a victim machine.
Small Sieve can obtain the id of a logged in user.
SMOKEDHAM has used whoami commands to identify system owners.
SodaMaster can identify the username on a compromised host.
SombRAT can execute getinfo  to identify the username on a compromised host.
Spark has run the whoami command and has a built-in command to identify the user logged in.
SpeakUp uses the whoami command.
Squirrelwaffle can collect the user name from a compromised host.
SslMM sends the logged-on username to its hard-coded C2.
STARWHALE can gather the username from an infected host.
It malware gathers the registered user and primary owner name via WMI.
StrifeWater can collect the user name from the victim's machine.
SUNBURST collected the username from a compromised host.
SVCReady can collect the username from an infected host.
SynAck gathers user names from infected hosts.
Sys10 collects the account name of the logged-in user and sends it to the C2.
SysUpdate can collect the username from a compromised host.
T9000 gathers and beacons the username of the logged in account during installation. It will also gather the username of running processes to determine if it is running as SYSTEM.
It has used whoami to collect system user information.
TrickBot can identify the user and groups the user belongs to on a compromised host.
Trojan.Karagany can gather information about the user on a compromised host.
It used letmein to scan for saved usernames on the target system.
Turian can retrieve usernames.
Unknown Logger can obtain information about the victim usernames.
UPPERCUT has the capability to collect the current logged on user’s username from a machine.
Valak can gather information regarding the user.
VERMIN gathers the username from the victim’s machine.
It has executed the PowerShell command Get-EventLog security -instanceid 4624 to identify associated user and computer account names.
WellMail can identify the current username on the victim system.
WellMess can collect the username on the victim machine to send to C2.
WINDSHIELD can gather the victim user name.
It has used malware to identify the username on a compromised host.
WINERACK can gather information on the victim username.
WinMM uses NetUser-GetInfo to identify that it is running under an "Admin" account on the local system.
It has used "whoami" to identify the local user and their privileges.
Woody RAT can retrieve a list of user accounts and usernames from an infected machine.
XAgentOSX contains the getInfoOSX function to return the OS X version as well as the current user.
yty collects the victim’s username.
Zebrocy gets the username from the system.
ItM has used a tool to capture the username on a compromised host in order to register it with C2.
zwShell can obtain the name of the logged-in user on the victim.
ZxShell can collect the owner and organization information from the target workstation.
ZxxZ can collect the username from a compromised host.