<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Timestomping - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/timestomping/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 18 Sep 2026 19:13:14 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/timestomping/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Timestomping via Touch Utility</title><link>https://feed.craftedsignal.io/briefs/2026-09-timestomping-touch/</link><pubDate>Fri, 18 Sep 2026 19:13:14 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-timestomping-touch/</guid><description>Adversaries perform timestomping on Linux and macOS systems using the touch command to modify file timestamps and evade forensic detection.</description><content:encoded><![CDATA[<p>Timestomping is an anti-forensics technique employed by adversaries to manipulate file access, modification, and change timestamps. By modifying these metadata attributes, attackers can make malicious files appear as though they were created at the same time as legitimate system files, effectively blending in with their surroundings to evade automated detection and human analysis. On Linux and macOS systems, the 'touch' command is commonly leveraged for this purpose due to its inherent ability to alter timestamp attributes through various command-line arguments.</p>
<p>This activity is particularly concerning for defenders because it complicates timeline analysis during incident response. Defenders must identify anomalous usage of 'touch' by non-root users and distinguish it from legitimate administrative tasks. The threat is platform-agnostic across Unix-like systems and requires granular process monitoring to detect deviations from established baselines in environment-specific workflows.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial access is established on a Linux or macOS endpoint via exploitation or credential compromise.</li>
<li>The attacker identifies a target malicious file or directory intended to be hidden or disguised.</li>
<li>The attacker assesses the timestamps of surrounding legitimate system files to determine the target timeframe.</li>
<li>The attacker executes the 'touch' utility with specific flags, such as -r (reference) or -t (timestamp), to apply the chosen metadata to the malicious file.</li>
<li>The file's timestamp is updated, effectively masking its true creation or modification time in the filesystem.</li>
<li>The attacker may move the file to a system directory to further blend in with existing binaries.</li>
<li>The attacker proceeds with additional malicious activities, such as lateral movement or data exfiltration, while the forensic trail remains obscured.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful timestomping undermines the integrity of forensic investigations by invalidating file-based temporal evidence. This allows attackers to maintain persistence longer and evade detection by security teams relying on file-creation alerts. It is frequently observed in post-compromise stages across a wide variety of sectors, as it allows attackers to bypass baseline monitoring that looks for recently created or modified files.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Detection engineering teams should monitor process execution logs for anomalous 'touch' activity.</p>
<ul>
<li>Enable process-creation logging (e.g., via Auditd or Elastic Defend) to monitor the execution of '/bin/touch'.</li>
<li>Deploy the provided Sigma rule to flag instances where 'touch' is executed with flags like -t, -d, -a, -m, or -r.</li>
<li>Baseline the environment to identify legitimate administrative or build-related usage of the 'touch' command and add these paths to the detection filter list.</li>
<li>Review and tighten file system permissions to ensure only authorized users or service accounts can modify metadata for critical system files.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>defense-evasion</category><category>timestomping</category><category>linux</category><category>macos</category></item></channel></rss>