Possible File and Directory Enumeration - MacOS (via process_creation)

This rule detects use of system utilities to discover files and directories

SigmainformationalmacOSv1
sigma
title: Possible File and Directory Enumeration - MacOS (via process_creation)
id: dabdf36c-51a0-54a0-a3f3-d09377eb6abc
status: stable
description: This rule detects use of system utilities to discover files and directories
references:
    - https://attack.mitre.org/techniques/T1083/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1083/T1083.md
author: Huntrule Team
date: 2026-03-24
tags:
    - attack.discovery
    - attack.t1083
logsource:
    category: process_creation
    product: macos
detection:
    select_file_with_asterisk:
        Image: '/usr/bin/file'
        CommandLine|re: '(.){200,}'
    select_recursive_ls:
        Image: '/bin/ls'
        CommandLine|contains: '-R'
    select_find_execution:
        Image: '/usr/bin/find'
    select_mdfind_execution:
        Image: '/usr/bin/mdfind'
    select_tree_execution|endswith:
        Image: '/tree'
    condition: 1 of select*
falsepositives:
    - Unknown
level: informational

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.