System Owner/User Discovery T1033

Tactic: Discovery

Adversaries may attempt to identify the primary user, currently logged in user, set of users that commonly uses a system, or whether a user is actively using the system. They may do this, for example, by retrieving account usernames or by using OS Credential Dumping. The information may be collected in a number of different ways using other Discovery techniques, because user and username details are prevalent throughout a system and include running process ownership, file/directory ownership, session information, and system logs. Adversaries may use the information from System Owner/User Discovery during automated discovery to shape follow-on behaviors, including whether or not the adversary fully infects the target and/or attempts specific actions.

Events covered

17 catalog events are tagged with this technique by at least one rule.

Authoring guide

These 84 rules share fields, values, and exclusions.

Fields filtered most (49 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
CommandLine39contains 27, regex_match 9, ends_with 2, eq 2, in 1, is_not_null 1, match 1 list, get, (?i)((tracert)|(query)|(net\s+((localgroup)|(group)|(conf..., -Filter \*, /all
process_basename28eq 22, in 6, starts_with 1, wildcard 1arp.exe, dscl, id, whoami.exe, Microsoft.Workflow.Compiler.exe
Image25ends_with 21, eq 2, starts_with 2, is_not_null 1, regex_match 1, wildcard 1\whoami.exe, /esxcli, \cmd.exe, \net.exe, \powershell.exe
OriginalFileName20eq 19, contains 1whoami.exe, PowerShell.EXE, pwsh.dll, query.exe, quser.exe
event.type19eq 19start
EventType14eq 8, in 6exec, exec_event, ProcessRollup2, GetCallerIdentity, executed
EventID12eq 124104, 1, 4688, 4103
parent_process_basename11eq 6, in 5bash, sh, zsh, AcroRd32.exe, Acrobat.exe
ParentImage8ends_with 5, contains 2, eq 2, starts_with 2, is_not_null 1, is_null 1, -tomcat-, \caddy.exe, \httpd.exe, -
ScriptBlockText8contains 6, in 2, match 1 -Filter \*, | Select , > , $env:UserName, *$env:UserName*
process.args7eq 5, in 3, contains 2, wildcard 2%appdata%, %homepath%, %localappdata%, */bin/*sh*, */inet/tcp/*
dc_process_name6gt 62, 1
process_name4regex_match 3, contains 1(?i)(whoami|systeminfo|ipconfig|arp|nltest|tasklist|net1?..., %/usr/bin/crontab%, %/usr/bin/sudo%, (?i)((netstat)|(netsh)|(schtasks)|(tasklist)|(driverquery..., (?i)((tracert)|(query)|(net\s+((localgroup)|(group)|(conf...
event.category3eq 3process
process.args_count3eq 32, 1

Top indicator values (789 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
181036
Imageends_with
\whoami.exe
1019
Imageends_with
/esxcli
59
OriginalFileNameeq
whoami.exe
1011
process_basenameeq
whoami.exe
914
process_basenameeq
quser.exe
610
process_basenameeq
qwinsta.exe
69
process_basenameeq
dsget.exe
58
process_basenameeq
dsquery.exe
512
process_basenameeq
net.exe
530
process_basenameeq
net1.exe
540
process_basenameeq
powershell.exe
5187
process_basenameeq
arp.exe
410
process_basenameeq
cmd.exe
4122
process_basenameeq
gpresult.exe
47
process_basenameeq
hostname.exe
47
process_basenameeq
ipconfig.exe
411
process_basenameeq
nbtstat.exe
49
process_basenameeq
netsh.exe
421
process_basenameeq
netstat.exe
410
process_basenameeq
nltest.exe
412
process_basenameeq
ping.exe
412
EventTypeeq
exec
7547
EventIDeq
4104
6269
process_basenamein
whoami
510
CommandLinecontains
get
44
CommandLinecontains
list
44
EventTypein
exec
4180
EventTypein
start
4157
dc_process_namegt
2
44

Exclusions (191 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
CommandLineregex_match
(?i)\x5cSplunkUniversalForwarder\x5c(etc|bin)\x5c
2
userregex_match
\$$
2
CommandLinecontains
rmdir
1
CommandLinecontains
.dll
1
CommandLinecontains
/active
1
CommandLinecontains
/add
1
CommandLinecontains
/delete
1
CommandLinecontains
/domain
1
CommandLinecontains
/expires
1
CommandLinecontains
/passwordreq
1
CommandLinecontains
/scriptpath
1
CommandLinecontains
/times
1
CommandLinecontains
/workstations
1
CommandLinein
*/server:127.0.0.1*
1
CommandLinein
*/server:localhost*
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 30 rules

Elastic 23 rules

Splunk 27 rules

Kusto 1 rule

YARA-L 3 rules