ATT&CK Reference
Portfolio

TA0005 · DEFENSE EVASION

Space after Filename

T1036.006Sub-technique of MasqueradingLinux · macOSattack.mitre.org

Adversaries can hide a program's true filetype by changing the extension of a file.

Detect it with

It's not common for spaces to be at the end of filenames, so this is something that can easily be checked with file monitoring. From the user's perspective though, this is very hard to notice from within the Finder.app or on the command-line in Terminal.app.

Why it matters on shift

Space after Filename is one of the concrete ways adversaries achieve defense evasion. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After defense evasion, the next tactic is usually Credential Access. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforePrivilege EscalationDefense Evasionafter →Credential Access