Sigma rule: File and Directory Discovery - Linux

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-832f77838abb, updated 2024-12-01T00:00:00.000Z.

Rule

Title
File and Directory Discovery - Linux
Status
test
Level
informational
Author
Daniil Yugoslavskiy, oscd.community, CheraghiMilad
Date
2020-10-19
Modified
2024-12-01
File
rules/linux/process_creation/proc_creation_lnx_file_and_directory_discovery.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects usage of system utilities such as "find", "tree", "findmnt", etc, to discover files, directories and network shares.

Log source

product
linux
category
process_creation

Detection

selection_file_with_asterisk:
    Image|endswith: '/file'
    CommandLine|re: '(.){200,}' # execution of the 'file */* *>> /tmp/output.txt' will produce huge commandline
selection_recursive_ls:
    Image|endswith: '/ls'
    CommandLine|contains: '-R'
selection_find_execution:
    Image|endswith: '/find'
selection_tree_execution:
    Image|endswith: '/tree'
selection_findmnt_execution:
    Image|endswith: '/findmnt'
selection_locate_execution:
    Image|endswith: '/mlocate'
condition: 1 of selection_*

False positives (as the rule lists them)

  • Legitimate activities

Tags

  • attack.discovery
  • attack.t1083

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/linux/process_creation/proc_creation_lnx_file_and_directory_discovery.yml

Sources and licences

  • SigmaHQ

    "File and Directory Discovery - Linux" by Daniil Yugoslavskiy, oscd.community, CheraghiMilad (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_file_and_directory_discovery.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: File and Directory Discovery - Linux",
entity page, dataset version ref-832f77838abb, updated 2024-12-01T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d3feb4ee-ff1d-4d3d-bd10-5b28a238cc72 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d3feb4ee-ff1d-4d3d-bd10-5b28a238cc72, 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.