What is Fileless Malware? - Check Point Software

What is Fileless Malware?

Historically, most malware was delivered as files, which would be downloaded to a computer, written to its memory, and then executed. This design made these types of malware easier to detect for certain security solutions. Fileless malware, however, exists only in the infected computer’s memory, writing nothing to the disk.

How It Works

Most applications and file-based malware begin as a file that is written to the disk. When that file is executed, a copy is loaded into memory, and the program’s commands are executed. Fileless malware skips the step of being written to disk, existing only in memory.

Some of the ways in which this can be accomplished include:

What Can Fileless Malware Do?

Fileless malware can do anything that a traditional, file-based malware variant can do. This includes acting as an infostealer, ransomware, remote access toolkit (RAT), and cryptominer.

The main difference between fileless malware and file-based malware is how they implement their malicious code. Fileless malware commonly relies more on built-in features of the operating system rather than implementing malicious functionality in a standalone executable.

Stages of a Fileless Attack

A fileless malware attack looks very similar to a file-based malware attack. Some of the key stages include:

  1. Initial Access: Malware needs a means of gaining access to an organization’s systems. Fileless malware may deliver a malicious document via phishing or exploit a vulnerable web application.
  2. Execution: Fileless malware can achieve code execution via various means. For example, a malicious document may use social engineering to trick the recipient into enabling macros, allowing malicious macros to run PowerShell commands.
  3. Persistence: Once malware gains access to a target system, it wants to maintain that access. Adding autorun keys to the Windows Registry is a common means of achieving persistence and can be accomplished without writing code to disk.
  4. Objectives: Malware is designed to accomplish some task. Fileless malware may attempt to steal credentials, encrypt files, download additional malware, or perform some other malicious activity.

Detecting and Protecting Against Fileless Malware Attacks

Fileless malware is designed to be more difficult to detect than traditional, file-based malware variants. The reason for this is that some endpoint security solutions focus on scanning files on a system and do not inspect actively running processes for malicious code or anomalous activities.

However, harder to detect is not the same as undetectable. Some of the ways in which an organization can protect itself against fileless malware attacks include:

Check Point’s Workspace Security Suite and XDR Platform

Fileless malware is one of several threats that organizations face. To learn more about the current cyber threat landscape, check out Check Point’s 2022 Mid-Year Cyber Attack Trends Report.

Implementing defense in depth is essential to managing the risk of sophisticated malware and other leading cyber threats. Check Point XDR provides centralized visibility and threat management across an organization’s IT infrastructure, while Check Point Endpoint Security secures the endpoint.