macOS process using touch to modify file timestamps and hide file changes

Flags on macOS touch indicating file timestamp attribute changes for stealthy file activity.

FreeReviewedSigma · Medium · v2
Product
macos
Category
process_creation
Author
Igor Fits, Mikhail Larin, oscd.community (SigmaHQ), DRL 1.1
Published
2020-10-19
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule identifies macOS process executions of the touch utility with arguments used to set or alter file time attributes. Attackers may use timestamp manipulation to make newly created or modified files appear older and reduce investigation visibility. The detection relies on process creation telemetry, matching the executed image path ending with /touch and the presence of specific timestamp-related flags in the command line.

Related detections8 linkedT1070.006 — drag to rearrange
Suspicious File Timestamp Manipulation via PowerShell (via process_creation)
Suspicious System Time Changed (via security)
Suspicious Timestomping of PHP Webshell in Ivanti CSA Webroot via touch (via process_creation)
Linux Service File Touch with Timestamp Argument
Windows File Creation Time Altered to a Previous Year
PowerShell timestomping via file timestamp property and setter usage (Windows)
Linux: Detect touch commands used to alter file timestamps with -t/-a/-c/-m/-r flags
Windows Security Event 4616 for System Time Changes by Non-Service Accounts
macOS process using touch to modify file timestamps and hide file changes
Pivot detection · T1070.006 · 8 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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