Possible Space After Filename - macOS (via process_creation)

This rule detects attempts to masquerade as legitimate files by adding a space to the end of the filename.

SigmalowmacOSv1
sigma
title: Possible Space After Filename - macOS (via process_creation)
id: 4dbb220b-3375-5340-8691-21df4ccc751f
status: stable
description: This rule detects attempts to masquerade as legitimate files by adding a space to the end of the filename.
references:
    - https://attack.mitre.org/techniques/T1036/006/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1036.006/T1036.006.md
author: Huntrule Team
date: 2026-01-08
tags:
    - attack.stealth
    - attack.t1036.006
logsource:
    product: macos
    category: process_creation
detection:
    selection1:
        CommandLine|endswith: ' '
    selection2:
        Image|endswith: ' '
    condition: 1 of selection*
falsepositives:
    - Unknown
level: low

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.