Sigma rule: Space After Filename - macOS

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5a0aa430161a, updated 2023-01-04T00:00:00.000Z.

Rule

Title
Space After Filename - macOS
Status
test
Level
low
Author
remotephone
Date
2021-11-20
Modified
2023-01-04
File
rules/macos/process_creation/proc_creation_macos_space_after_filename.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects attempts to masquerade as legitimate files by adding a space to the end of the filename.

Log source

product
macos
category
process_creation

Detection

selection1:
    CommandLine|endswith: ' '
selection2:
    Image|endswith: ' '
condition: 1 of selection*

False positives (as the rule lists them)

  • Mistyped commands or legitimate binaries named to match the pattern

Tags

  • attack.stealth
  • attack.t1036.006

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_space_after_filename.yml

Sources and licences

  • SigmaHQ

    "Space After Filename - macOS" by remotephone (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_space_after_filename.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Space After Filename - macOS",
entity page, dataset version ref-5a0aa430161a, updated 2023-01-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b6e2a2e3-2d30-43b1-a4ea-071e36595690 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b6e2a2e3-2d30-43b1-a4ea-071e36595690, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.