Cross-source coverage

T1027.011 / ATT&CK

Obfuscated Files or Information: Fileless Storage

5 rules across 3 sources.

From MITRE ATT&CK 19.2

Adversaries may store data in "fileless" formats to conceal malicious activity from defenses. Fileless storage can be broadly defined as any format other than a file. Common examples of non-volatile fileless storage in Windows systems include the Windows Registry, event logs, or WMI repository. Shared memory directories on Linux systems (/dev/shm, /run/shm, /var/run, and /var/lock) and volatile directories on Network Devices (/tmp and /volatile) may also be considered fileless storage, as files written to these directories are mapped directly to RAM and not stored on the disk..

Similar to fileless in-memory behaviors such as Reflective Code Loading and Process Injection, fileless data storage may remain undetected by antivirus and other endpoint security tools that can only access specific file formats from disk storage. Leveraging fileless storage may also allow adversaries to bypass the protections offered by read-only file systems in Linux.

Adversaries may use fileless storage to conceal various types of stored data, including payloads/shellcode (potentially being used as part of Persistence) and collected data not yet exfiltrated from the victim (e.g., Local Data Staging). Adversaries also often encrypt, encode, splice, or otherwise obfuscate this fileless data when stored.

Some forms of fileless storage activity may indirectly create artifacts in the file system, but in central and otherwise difficult to inspect formats such as the WMI (e.g., %SystemRoot%\System32\Wbem\Repository) or Registry (e.g., %SystemRoot%\System32\Config) physical files.

Tactics
Stealth
Platforms
Linux · Windows
Telemetry
WinEventLog:SecurityWinEventLog:Applicationauditd:SYSCALLlinux:osquery

How MITRE says to detect it DET0344

Detection Strategy for Fileless Storage via Registry, WMI, and Shared Memory

Windows Analytic 0973

Detects abuse of fileless storage mechanisms such as Registry keys, WMI classes, and Event Logs used to stage payloads, scripts, or encoded content outside traditional files.

  • WinEventLog:Security EventCode=4657
  • WinEventLog:Application WMI Object Creation Events

Linux Analytic 0974

Detects usage of shared memory directories (/dev/shm, /run/shm) for temporary storage of obfuscated, encoded, or executable data without persistence to disk.

  • auditd:SYSCALL open, write, unlink
  • linux:osquery file_events.path

splunk/security_content

3 rules
Detection Severity Format
PowerShell WebRequest Using Memory Stream Undefined SPL
Windows Njrat Fileless Storage via Registry Undefined SPL
Windows Registry Payload Injection Undefined SPL

SigmaHQ/sigma

1 rule
Detection Severity Format
Process Execution From Shared Memory Directory High Sigma

socfortress/Wazuh-Rules

1 rule
Detection Severity Format
Powershell script: Web download to memory stream (fileless malware staging) High Wazuh XML

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.