System Owner/User Discovery T1033

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

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

Authoring guide

Patterns shared across the 55 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (22 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine32contains 21, match 7, regex_match 3, eq 2, starts_with 2, ends_with 1, in 1(?i)((tracert)|(query)|(net\s+((localgroup)|(group)|(conf..., -filter \, /c, /l, >
OriginalFileName19eq 18, contains 1whoami.exe, powershell.exe, pwsh.dll, query.exe, quser.exe
process_name19eq 16, match 3arp.exe, whoami.exe, atbroker.exe, bginfo.exe, (?i)(whoami|systeminfo|ipconfig|arp|nltest|tasklist|net1?...
Image17ends_with 16, regex_match 1\whoami.exe, \cmd.exe, \net.exe, \powershell.exe, \pwsh.exe
EventID12eq 124104, 1, 4688, 4103
ScriptBlockText7contains 6, eq 2, starts_with 2, in 1, match 1 -filter \, | select , $env:username, > , *[system.environment]::username*
event.type7eq 7start
ParentImage6ends_with 5, contains 2, eq 2, is_null 1, starts_with 1-tomcat-, \caddy.exe, \httpd.exe, -, :\program files\microsoft monitoring...
dc_process_name6gt 62, 1
parent_process_name5eq 4, match 1(?i)(powershell\.exe)|(cmd\.exe), AcroRd32.exe, Acrobat.exe, FoxitPhantomPDF.exe, eqnedt32.exe
Type3eq 3
IntegrityLevel2eq 2System
dc_process2gt 23
process.Ext.token.integrity_level_name2eq 2System
Processes.process_original_file_name1eq 1whoami.exe

Top indicator values (441 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
Imageends_with
\whoami.exe
1020
OriginalFileNameeq
whoami.exe
99
process_nameeq
whoami.exe
911
process_nameeq
quser.exe
68
process_nameeq
qwinsta.exe
68
process_nameeq
dsget.exe
57
process_nameeq
dsquery.exe
512
process_nameeq
net.exe
520
process_nameeq
net1.exe
534
process_nameeq
powershell.exe
599
process_nameeq
arp.exe
48
process_nameeq
cmd.exe
475
process_nameeq
gpresult.exe
47
process_nameeq
hostname.exe
47
process_nameeq
ipconfig.exe
48
process_nameeq
nbtstat.exe
47
process_nameeq
netsh.exe
418
process_nameeq
netstat.exe
47
process_nameeq
nltest.exe
410
process_nameeq
ping.exe
49
process_nameeq
qprocess.exe
47
process_nameeq
reg.exe
420
process_nameeq
sc.exe
427
process_nameeq
systeminfo.exe
47
process_nameeq
tasklist.exe
49
process_nameeq
tracert.exe
46
event.typeeq
start
7241
EventIDeq
4104
6268
dc_process_namegt
2
44
CommandLinecontains
user
316

Exclusions (55 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
CommandLinematch
(?i)\x5cSplunkUniversalForwarder\x5c(etc|bin)\x5c
2
usermatch
\$$
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

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Sigma 21 rules

Elastic 7 rules

Splunk 23 rules

Kusto 1 rule

YARA-L 3 rules