Obfuscated Files or Information: Indicator Removal from Tools T1027.005

Tactic: Stealth

Adversaries may remove indicators from tools if they believe their malicious tool was detected, quarantined, or otherwise curtailed. They can modify the tool by removing the indicator and using the updated version that is no longer detected by the target's defensive systems or subsequent targets that may use similar systems.

Events covered

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

Authoring guide

Patterns shared across the 6 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 (8 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
Image3ends_with 3\defendercheck.exe, \powershell.exe, \pwsh.exe, \rcedit-x64.exe, \rcedit-x86.exe
CommandLine2contains 1, match 1( $PSHome[*]+$PSHOME[*]+, ( $ShellId[1]+$ShellId[13]+'x'), ( $env:ComSpec[4,*,25]-Join''), --set-, companyname
Description2eq 2DefenderCheck, Edit resources of exe
EventID2eq 24104
ScriptBlockText2contains 2enable-windowsoptionalfeature, smb1protocol, threading.mutex
ObjectName1ends_with 1.AAA, .ZZZ
OriginalFileName1eq 1powershell.exe, pwsh.dll
Product1eq 1rcedit

Top indicator values (29 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
EventIDeq
4104
2268
CommandLinecontains
--set-
1
CommandLinecontains
companyname
1
CommandLinecontains
filedescription
1
CommandLinecontains
legalcopyright
1
CommandLinecontains
originalfilename
1
CommandLinecontains
productname
1
CommandLinecontains
productversion
1
CommandLinematch
( $PSHome[*]+$PSHOME[*]+
1
CommandLinematch
( $ShellId[1]+$ShellId[13]+'x')
1
CommandLinematch
( $env:ComSpec[4,*,25]-Join'')
1
CommandLinematch
( $env:Public[13]+$env:Public[5]+'x')
1
CommandLinematch
[1,3]+'x'-Join'')
1
CommandLinematch
join*split
1
Descriptioneq
DefenderCheck
1
Descriptioneq
Edit resources of exe
1
Imageends_with
\defendercheck.exe
1
Imageends_with
\powershell.exe
1182
Imageends_with
\pwsh.exe
1168
Imageends_with
\rcedit-x64.exe
1
Imageends_with
\rcedit-x86.exe
1
ObjectNameends_with
.AAA
1
ObjectNameends_with
.ZZZ
1
OriginalFileNameeq
powershell.exe
1120
OriginalFileNameeq
pwsh.dll
1112
Producteq
rcedit
1
ScriptBlockTextcontains
enable-windowsoptionalfeature
13
ScriptBlockTextcontains
smb1protocol
12
ScriptBlockTextcontains
threading.mutex
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 4 rules

Splunk 2 rules