Elastic medium stable kql

Potential Fileless Execution via Unusual memfd Create Call

This rule detects a memfd_create syscall event on Linux where the combination of host and process lineage (parent executable and executable path) has not been seen before. This can indicate fileless execution using memfd-backed executables.

View Source

Detection Logic

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:*

Field Validations

Loading…

Comments (0)

Loading comments...