Possible Hidden Files and Directories (via auditd)
This rule detects adversary creating hidden file or directory, by detecting directories or files with . as the first character
SigmalowLinuxv1
sigma
possible-hidden-files-and-directories-via-auditd
title: Possible Hidden Files and Directories (via auditd)
id: df27934a-aeb0-5ccf-a9cd-22b14c9d2b93
status: stable
description: This rule detects adversary creating hidden file or directory, by detecting directories or files with . as the first character
references:
- https://attack.mitre.org/techniques/T1564/001/
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.001/T1564.001.md
author: 'Huntrule Team'
date: 2026-06-05
tags:
- attack.stealth
- attack.t1564.001
logsource:
product: linux
service: auditd
detection:
selection_commands:
type: 'EXECVE'
a0:
- 'mkdir'
- 'nano'
- 'touch'
- 'vi'
- 'vim'
selection_arguments:
- a1|re: '(^|\/)\.[^.\/]'
- a2|re: '(^|\/)\.[^.\/]'
condition: all 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.