T1036.006 Space after Filename

sub-techniqueEnterprise

Adversaries can hide a program's true filetype by changing the extension of a file. With certain file types (specifically this does not work with.app extensions), appending a space to the end of a filename will change how the file is processed by the operating system. For example, if there is a Mach-O executable file called <code>evil.bin</code>, when it is double clicked by a user, it will launch Terminal.app and execute. If this file is renamed to <code>evil.txt</code>, then when double clicked by a user, it will launch with the default text editing application (not executing the binary). However, if the file is renamed to <code>evil.txt </code> (note the space at the end), then when double clicked by a user, the true file type is determined by the OS and handled appropriately and the binary will be executed. Adversaries can use this feature to trick users into double clicking benign-looking files of any format and ultimately executing something malicious.

01

platforms

Platforms this applies to.

LinuxmacOS
02

tactics

ATT&CK tactics this technique serves.

03

sub-technique of

The broader entity this sits under.

04

detected by (3)

Data components that detect this.

06

attack patterns (2)

CAPEC attack patterns that exploit this.

07

groups (1)

Threat groups associated with this.

08

software (1)

Malware and tools associated with this.

09

Detected by (Sigma) (1)

Sigma detection rules related to this.

10

source

Where this definition is published.