<?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>Process-Lineage - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/process-lineage/</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>Tue, 15 Sep 2026 18:58:26 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/process-lineage/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>Detection of Fileless Execution via memfd_create on Linux</title><link>https://feed.craftedsignal.io/briefs/2026-09-linux-memfd-detection/</link><pubDate>Tue, 15 Sep 2026 18:58:26 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-linux-memfd-detection/</guid><description>This brief details a detection strategy for identifying potential fileless execution on Linux platforms by monitoring the memfd_create syscall for anomalous process lineage and execution paths.</description><content:encoded><![CDATA[<p>This brief addresses the risk of fileless execution on Linux systems using the <code>memfd_create</code> system call. The technique allows an attacker to decrypt an ELF payload into an anonymous, memory-backed file, effectively bypassing traditional disk-based security controls. By executing the payload directly from memory - often via <code>/proc/self/fd</code> - malicious actors can execute code without leaving persistent disk artifacts.</p>
<p>Defenders can detect this behavior by monitoring for <code>memfd_create</code> events where the combination of host ID, parent executable, and process executable path has not been previously observed. This approach focuses on behavioral anomalies, helping to distinguish between legitimate system utility usage (such as JIT compilation or software self-updates) and malicious reflective code loading. Because this detection relies on baseline behavioral analysis, organizations should tune these detections against their specific Linux environment to reduce false positives from routine administrative or runtime-specific activity.</p>
<h2 id="impact">Impact</h2>
<p>Successful fileless execution enables attackers to maintain stealth, evade host-based security tools, and minimize the footprint of their malicious operations. If used by an adversary, this technique can lead to long-term persistence, credential theft, and unauthorized command execution. Impacts are broad, potentially affecting any enterprise Linux environment, containerized workload, or cloud-native infrastructure that lacks specific behavioral monitoring for process ancestry and memory-backed execution.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy behavioral monitoring for the <code>memfd_create</code> syscall on all critical Linux endpoints using EDR capabilities.</li>
<li>Implement the provided detection logic to baseline process lineage and alert on new, unseen combinations of parent/child executables involving memfd-backed execution.</li>
<li>Establish a process for triaging alerts by reconstructing process ancestry and examining <code>/proc/&lt;pid&gt;/exe</code> mappings before process termination.</li>
<li>Apply host-based sandboxing, such as systemd unit sandboxing or seccomp profiles, to limit the ability of non-privileged services to execute code from memory-backed or temporary filesystem paths.</li>
<li>Regularly audit and baseline software that legitimately requires <code>memfd_create</code> functionality (e.g., container runtimes, language JIT compilers) to prevent alert fatigue.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>linux</category><category>defense-evasion</category><category>fileless-execution</category><category>edr</category><category>process-lineage</category></item></channel></rss>