heroui logo

Space After Filename

Sigma Rules

View Source
Summary
The 'Space After Filename' rule is designed to detect potential exploitation techniques leveraging spaces after filenames in Linux environments. This type of attack can occur when attackers manipulate file names, such as appending a space at the end of a filename to create confusion or to execute malicious scripts without alerting the system administrators. The rule specifically looks for two conditions: the execution of a command that creates files with trailing spaces using "echo" and "chmod", and a command that moves files while adding a trailing space using the "mv" command. Detection occurs if both patterns are observed, indicating that malicious activity may be taking place. It's important to note that while the rule aims to flag unusual behavior, common typing errors (e.g., typos) can lead to false positives, necessitating a careful review of the alerts generated by this rule.
Categories
  • Linux
Data Sources
  • Command
  • Logon Session
ATT&CK Techniques
  • T1064
Created: 2020-06-17