Defense Evasion (TA0005)(external, opens in a new tab or window)
text code block:host.os.type:"linux" and event.category:process and event.type:start and event.action:memfd_create and process.executable:( *memfd\:* or /tmp/* or /var/tmp/* or /dev/shm/* or ./* or /run/user/* or /var/run/user/* or /boot/* or /sys/* or /lost+found/* or /proc/* or /var/mail/* or /root/* or *\(deleted\)* or /proc/*/fd/* ) and process.parent.executable:*
Install detection rules in Elastic Security
Detect Potential Fileless Execution via Unusual memfd Create Call in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).