Masquerading: Rename Legitimate Utilities T1036.003

Tactic: Stealth

Adversaries may rename legitimate / system utilities to try to evade security mechanisms concerning the usage of those utilities. Security monitoring and control mechanisms may be in place for legitimate utilities adversaries are capable of abusing, including both built-in binaries and tools such as PSExec, AutoHotKey, and IronPython. It may be possible to bypass those security mechanisms by renaming the utility prior to utilization (ex: rename rundll32.exe). An alternative case occurs when a legitimate utility is copied or moved to a different directory and renamed to avoid detections based on these utilities executing from non-standard paths.

Events covered

12 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 (32 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
OriginalFileName30eq 26, contains 2, in 1, is_not_null 1, wildcard 1bitsadmin.exe, msbuild.exe, xcopy.exe, meshagent, msdt.exe
Image23ends_with 20, wildcard 2, contains 1, ne 1\bitsadmin.exe, \cmd.exe, \powershell.exe, \pwsh.exe, *\\framework*\\v*\\*
CommandLine19contains 14, regex_match 4, in 2 /create , /addfile , /transfer , (?i)(copy-item|copy|xcopy|cp|cpi|robocopy)\s+.+(\x5c(syst..., copy
process_name14eq 7, ne 4, in 2, is_not_null 1, match 1, starts_with 1msbuild.exe, ., [a-z0-9]\.exe, copy.exe, cp
event.type9eq 9start
Description4eq 4, starts_with 1Edit resources of exe, Execute processes remotely, Java Update Scheduler, Java(TM) Update Scheduler, Microsoft Access
EventID4eq 41, 4103, 4104, 4663, 4688
EventType4eq 2, in 2rename, ProcessCreated, creation, exec, exec_event
host.os.type3eq 2, in 1
process.args3eq 2, wildcard 2*--as *, *--as-group*, *--as-uid*, */../../../*, *FromBase64*
Product2eq 2Sysinternals PsExec, rcedit
TargetObject2contains 1, ends_with 1\currentcontrolset\control\session..., \microsoft\windows\windows error reporting\hangs\reflectdebugger
file.Ext.original.path2starts_with 2/bin/, /sbin/, /usr/bin/, /usr/lib/vmware/
parent_process_name2eq 1, in 1cmd.exe, cscript.exe, explorer.exe, powershell.exe, pwsh.exe
11eq 11

Top indicator values (635 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
event.typeeq
start
9606
CommandLinecontains
/create
615
CommandLinecontains
/addfile
55
CommandLinecontains
/transfer
55
CommandLinecontains
copy
24
CommandLinecontains
cp
28
CommandLinecontains
--meshservicename
24
CommandLinecontains
copy
212
CommandLinecontains
copy-item
26
CommandLinecontains
cpi
25
Imageends_with
\bitsadmin.exe
529
Imageends_with
\cmd.exe
3130
Imageends_with
\powershell.exe
3182
Imageends_with
\pwsh.exe
3168
Imageends_with
\reg.exe
258
Imageends_with
\robocopy.exe
25
Imageends_with
\xcopy.exe
25
OriginalFileNameeq
bitsadmin.exe
512
OriginalFileNameeq
msbuild.exe
311
OriginalFileNameeq
installutil.exe
211
OriginalFileNameeq
msdt.exe
28
OriginalFileNameeq
powershell.exe
2120
OriginalFileNameeq
powershell_ise.exe
251
OriginalFileNameeq
psexesvc.exe
24
OriginalFileNameeq
pwsh.dll
2112
OriginalFileNameeq
robocopy.exe
24
OriginalFileNameeq
xcopy.exe
24
CommandLineregex_match
(?i)(copy-item|copy|xcopy|cp|cpi|robocopy)\s+.+(\x5c(system32|syswow64)\x5c)
33
OriginalFileNamecontains
meshagent
22
1eq
1
17

Exclusions (160 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
Imageends_with
\cmd.exe
2
Imagein
*:\\windows\\system32\\*
2
Imagein
*:\\windows\\syswow64\\*
2
Imagein
*:\\windows\\winsxs\\*
2
Imagestarts_with
/tmp/newroot/
2
CommandLinecontains
/c copy
1
CommandLinecontains
://7-
1
CommandLinecontains
\avira_system_speedup.exe
1
CommandLinecontains
\temp\
1
CommandLinecontains
c:\program files (x86)\avira\
1
CommandLinecontains
c:\program files\avira\
1
CommandLinecontains
schtasks
1
Datacontains
hostapplication=c:/windows/system32/windowspowershell/v1.0/powershell
1
Datacontains
hostapplication=c:/windows/syswow64/windowspowershell/v1.0/powershell
1
Datacontains
hostapplication=c:\\\\windows\\\\system32\\\\windowspowershell\\\\v1.0\\\\pow...
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.

Platform (all)
Domain (all)

Sigma 27 rules

Elastic 11 rules

Splunk 15 rules

Kusto 2 rules