BubbleLoader Malware: Two PNGs Turn WinRAR Into a Loader

By 13 min read
BubbleLoader malware summary card showing two PNG images hidden inside a patched WinRAR program

Your copy of WinRAR opens, looks normal and still unpacks archives. It may also be decrypting a hidden program from a picture of a red-to-blue gradient. That is the trick behind BubbleLoader, a Windows loader that ReversingLabs analysed in a report published on 17 November 2026.

In short: BubbleLoader malware is a loader that patches a few bytes at the start of legitimate programs and adds two PNG images, one real and one fake, which together decrypt and run a second piece of malware in memory. It has been active since February 2026. This guide explains how the chain works, what is still unknown, how it compares with other image-based loaders and what defenders can check today.

What is BubbleLoader malware?

BubbleLoader is a malware loader: a small program whose only job is to get another, more capable piece of malware running on a machine without being noticed. It does not steal data itself. ReversingLabs researcher Robert Simmons describes it as an evolving loader used in recent campaigns, and the report covers the newest variant available when it was written.

What makes it unusual is where it lives. Instead of shipping as a standalone file, BubbleLoader is grafted onto real programs. ReversingLabs names five host programs as examples:

Host program What it normally is
WinRAR Archive tool
x64dbg Open-source debugger
Windows Media Player Media player
Firefox launcher Browser launcher
virtiofs File-sharing driver component for virtual machines

Help Net Security, which covered the report on 18 November, stresses the same point: these are tampered copies, not flaws in the applications. A user who runs a genuine, signed copy from the publisher is not exposed through that program.

Why is it called a loader and not a trojan?

A trojan usually means malware that pretends to be something useful. BubbleLoader is closer to an infection of a useful program. The host still works; the loader rides along at start-up and hands control to the real payload. This matters for defenders, because the file name, icon and much of the code are genuine.

How does BubbleLoader work?

ReversingLabs says the loader generally runs in four stages. The design is compact: almost everything happens in memory, and the only unusual content on disk is the patched entry point and the two images.

Four-stage BubbleLoader malware chain from a patched entry point to a reflectively loaded payload.
BubbleLoader needs only four steps to go from a normal program start to a payload running in memory. Data: ReversingLabs.

Stage 1: the patched entry point

The entry point is the address where Windows starts running a program. BubbleLoader overwrites a few instructions there. The new code finds where the program sits in memory, then calls three Windows functions (GetModuleHandle, GetProcAddress and VirtualAlloc) through the host program’s own import table.

It does not use normal call instructions. ReversingLabs says the calls are assembled from jumps and fabricated return addresses, which makes the patch harder to read in a disassembler. The patch allocates executable memory, copies both PNG images into it and jumps into the second image. ReversingLabs adds that the offsets in the patch are almost certainly adjusted for each host program.

Stage 2: the fake PNG

The second image is not really an image. It begins with the correct PNG magic bytes, the fixed signature that tells software a file is a PNG. Then the header stops short. Where the image width should be, the encrypted data begins.

Inside it sits a small piece of shellcode, which is position-independent machine code that can run wherever it is placed. It locates itself in memory and starts decrypting the next stage.

Stage 3: decryption with a gradient

The first PNG is a valid picture of a red-to-blue gradient, in varying sizes. Its bytes are the key. The shellcode applies them as a rolling XOR, a simple cipher where each byte of data is combined with a byte of the key in turn.

Two details from ReversingLabs are useful. First, the shellcode compares the magic bytes of both images, and if they do not match it falls back to running without decryption. Second, a gradient image compresses into long runs of zero bytes, and XOR with zero changes nothing. As a result, stretches of the third stage, including some loader strings, sit unencrypted in the file.

Stage 4: reflective loading

Reflective loading means a program maps another executable into memory itself, instead of asking Windows to load it from disk. The stage 3 loader decrypts the final payload, maps its headers and sections, applies relocations, runs TLS callbacks, resolves imports and sets memory protections. It then calls the payload’s entry point and, when the payload returns, exits the process.

ReversingLabs notes two extras. The loader registers the payload’s exception table with RtlAddFunctionTable and places an inline hook on RtlPcToFileHeader in ntdll.dll, the core Windows library. Together these let structured exception handling work inside the payload, which payload features such as exception-based control-flow obfuscation and API unhooking rely on. A guard also stops the payload from being loaded twice; ReversingLabs found it even in a sample carrying an EXE, which suggests one code base serves both DLL and EXE payloads.

How does BubbleLoader evade analysis?

The loader is small but deliberately awkward to study. ReversingLabs lists several measures.

Calls built from pieces

As in stage 1, calls are assembled from move, add, subtract and jump instructions. Tools that build a call graph from normal call instructions see less than is really there.

A trap instruction in the decryption loop

Opaque predicates, conditions whose result is fixed but hard to see statically, make the decryption loop jump over an IN instruction. IN is a privileged instruction; executed in user mode it raises an exception. An emulator or analyst that follows the wrong branch hits that exception.

A payload hash that changes every run

This is the feature most likely to break existing playbooks. While decrypting, the loader overwrites the padding bytes that compilers place between functions with values from RDTSC, the CPU’s timestamp counter. Help Net Security describes these as the 0xCC filler bytes. The payload in memory therefore has a new hash on every execution.

ReversingLabs says patching out that loop restores the original hash. For a responder, the practical lesson is that hashing a memory dump and searching for it elsewhere will not find matches.

A string fallback for both character sets

The first attempt to find kernel32 uses an ASCII string and falls back to a wide-character string. That lets one code base work in host programs that import either version of the Windows functions.

When was BubbleLoader active?

ReversingLabs and Help Net Security give the same outline: early samples appeared in February 2026, and two distinct clusters of activity followed in mid-September and early October 2026. The report gives no sighting later than the October cluster.

Timeline of BubbleLoader sightings from February 2026 to the November 2026 ReversingLabs report.
BubbleLoader was around for nine months before the public write-up. Data: ReversingLabs, Help Net Security, The Hacker News.

The report was published on 17 November. Help Net Security covered it on 18 November, and The Hacker News included it in its ThreatsDay roundup on 19 November. The patch at the entry point, according to ReversingLabs, has gone through several variants as the loader evolved.

Who is affected, and how do you check exposure?

Anyone who runs a tampered copy of one of the host programs, or of any other program the operators choose to patch next. ReversingLabs does not say how the modified programs reach victims, and Help Net Security repeats that the distribution method is not disclosed. Any claim about specific download sites or lures would be guesswork until a vendor publishes it.

We have covered cases where the official download itself was tampered with, such as the Q-Dir and DesktopOK supply chain attack and the AOMEI Backupper supply chain attack. BubbleLoader has not been linked to any vendor compromise. The publishers of the host programs are not accused of anything.

A quick exposure check

  1. Inventory where WinRAR, x64dbg, Windows Media Player, Firefox and virtiofs binaries live on your endpoints, especially outside standard install paths.
  2. Verify each binary’s Authenticode signature and compare its hash with the publisher’s release. A patched entry point breaks the signature of a signed file.
  3. Search your endpoint and file telemetry for the 24 SHA-256 hashes ReversingLabs published. Help Net Security notes they describe the patched programs on disk, not the payloads.
  4. Look for unsigned or invalidly signed copies of these tools in user download folders, temporary folders and portable-app directories.
Four figures: five named host programs, four stages, 24 published hashes and the 0x55 width byte.
The public indicators are thin: 24 file hashes and one structural tell in the fake PNG. Data: ReversingLabs.

How do you detect BubbleLoader?

Because the payload hash changes and no network indicators were published, detection has to rest on structure and behaviour. ReversingLabs gives four recommendations, and each maps to a log source most teams already have.

Four places to catch BubbleLoader: disk signatures, PNG structure, executable memory and an ntdll hook.
Each stage of the chain leaves a different trace, from the file on disk to a hook in ntdll. Based on ReversingLabs recommendations.

On disk: signatures and entry-point integrity

Application control or EDR file events can flag a well-known utility that is unsigned or carries an invalid signature. ReversingLabs singles out third-party utilities such as WinRAR whose entry points have been altered. Entry-point integrity checks, comparing the first bytes at the entry point against a known-good build, catch the patch directly.

In the file: a PNG that is not a PNG

In a real PNG, the four-byte width field starts with 0x00 for any normal image size. In BubbleLoader’s fake image, ReversingLabs says the first width byte is 0x55, and calls this a simple way to spot the invalid PNG. A static rule can look for PNG magic bytes inside an executable followed by a truncated IHDR header (the header chunk that holds width and height) and a non-zero first width byte.

In memory: executable allocations by desktop tools

The entry-point patch calls VirtualAlloc to create memory that is readable, writable and executable at once. EDR products that record memory allocation events can alert when a media player or archive tool does this early in its life, before it has done anything a user asked for.

In ntdll: the RtlPcToFileHeader hook

ReversingLabs recommends alerting on VirtualProtect calls that change protection on ntdll.dll’s RtlPcToFileHeader. Legitimate programs rarely modify ntdll code in memory. Memory scanners that compare loaded ntdll against the copy on disk will also see the inline hook.

MITRE ATT&CK mapping

ReversingLabs does not publish ATT&CK technique IDs. The mapping below is our own reading of the behaviour it describes, offered as a starting point for hunts.

Behaviour from the report ATT&CK technique (our mapping)
Legitimate program patched at its entry point T1554 Compromise Host Software Binary
Code hidden in PNG data T1027.003 Steganography
XOR-encrypted stages T1027 Obfuscated Files or Information
Payload mapped into memory by the loader T1620 Reflective Code Loading

How does BubbleLoader compare with other image-based loaders?

Hiding malware in pictures is not new, and the comparison shows what is distinctive here. Two recent cases are well documented: the PNG files from Microsoft’s TerminalFix campaign, analysed by Didier Stevens on the SANS Internet Storm Center on 21 September 2026, and a .NET steganography loader that delivered Lokibot, described by Splunk’s Threat Research Team on 14 November 2025.

  BubbleLoader TerminalFix PNGs .NET loader (Lokibot)
Where the image lives Copied in by a patched legitimate program Separate PNG files Inside .NET resources
Is the image valid? One real (key), one fake Valid, payload in pixel data PNG and BMP images
How the code is hidden Encrypted data where the width should be All pixel bits used, image looks scrambled Encrypted stagers in the images
What comes out Variable payload, reflectively loaded Microsoft binary plus DLL for sideloading Lokibot
Reported by ReversingLabs Microsoft, analysed by SANS ISC Splunk

TerminalFix kept its PNGs structurally valid. Stevens found no appended data; the payload was in the decompressed pixels, with one image holding a genuine Microsoft executable used for sideloading and two more each holding half of a malicious DLL. Splunk’s loader hid two stager modules in a BMP and a PNG stored in .NET resource metadata.

BubbleLoader takes the opposite approach: one image is honest and serves only as a key, while the other barely pretends to be an image. That makes it cheaper to build and easier to spot statically, if you look inside executables for PNG data at all. Its real strength is the host: a familiar, mostly genuine program.

For more on how attackers keep endpoint tools blind once code is running, see our pieces on Process Parameter Poisoning and the GodDamn EDR killer.

What should defenders do now?

In priority order:

  1. Search for the 24 published hashes. It is cheap, and a hit tells you a patched program is or was present.
  2. Enforce signature checks on common utilities. Application allowlisting and code-signing verification are ReversingLabs’ first recommendation. Block or alert on unsigned copies of WinRAR, x64dbg, Windows Media Player and Firefox components.
  3. Standardise where tools come from. Distribute utilities from an internal software catalogue built from publisher downloads, and remove portable or user-downloaded copies.
  4. Alert on executable memory from desktop tools. Tune EDR rules for RWX allocations by archive tools, media players and launchers.
  5. Watch ntdll integrity. Flag protection changes or inline hooks on RtlPcToFileHeader.
  6. Add a static PNG rule. Scan executables for embedded PNG signatures followed by a truncated IHDR header.
  7. Change responder habits. Because the in-memory payload hash changes on every run, rely on behaviour, memory analysis and entry-point checks rather than payload hashes, as both ReversingLabs and Help Net Security advise.

Is BubbleLoader a serious threat? The limits of what is known

It is a capable loader, but the public picture is incomplete, and it is worth being honest about that.

  • No delivery method. Neither ReversingLabs nor the news coverage says how the patched programs reach victims.
  • No named payloads. The report says only that the final payload varies by malware family.
  • No actor. No group is named and no attribution is offered at any confidence level.
  • No network indicators. The IOC list is 24 file hashes; there are no domains or IP addresses.
  • No victim count. The report describes activity clusters, not how many machines were infected.

Some coverage also describes the PNGs as appended to the executables. ReversingLabs’ own description is that the patched entry point copies the two images into newly allocated memory; it does not state exactly where they sit in the file, so treat claims about file layout with care.

The bottom line

BubbleLoader hides a modular loader in tampered copies of trusted tools such as WinRAR and uses a gradient image as its decryption key. Hash hunting on its payload will fail by design, so the reliable checks are signatures, entry-point integrity, executable memory in desktop tools and hooks in ntdll. The biggest open question is how these programs reach users in the first place.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is BubbleLoader malware?

BubbleLoader is a malware loader for Windows that turns tampered copies of legitimate programs into carriers for other malware. ReversingLabs published an analysis of its latest variant on 17 November 2026.

Is WinRAR vulnerable to BubbleLoader?

No vulnerability in WinRAR is involved. BubbleLoader uses modified copies of the program whose entry point has been patched. A genuine WinRAR from the publisher, with a valid signature, is not affected.

Which programs does BubbleLoader hide in?

ReversingLabs names WinRAR, the x64dbg debugger, Windows Media Player, the Firefox launcher and virtiofs as examples of host programs. It introduces them as examples, so the list may not be complete.

How does BubbleLoader use PNG images?

It carries two PNG files. The first is a real red-to-blue gradient image whose bytes serve as a rolling XOR key. The second starts like a PNG but breaks off at the width field and contains encrypted code instead of an image.

What malware does BubbleLoader deliver?

ReversingLabs does not name the payloads. It says the final payload varies depending on which malware family a given sample is distributing.

How can I detect BubbleLoader?

Check that common utilities are signed by their publisher, alert when a desktop tool allocates readable, writable and executable memory, watch for changes to RtlPcToFileHeader in ntdll.dll and flag PNG data whose width field does not begin with a zero byte.

Who is behind BubbleLoader?

Nobody has said. The ReversingLabs report names no threat actor and gives no attribution, and the news coverage does not add one.

Why does the BubbleLoader payload hash change every time?

During decryption the loader overwrites compiler padding bytes in the payload with values from the CPU timestamp counter. The payload in memory therefore has a different hash on every run, which defeats hash matching on memory dumps.

Keep reading

BubbleLoader malwaremalware loadersteganographyReversingLabstrojanized softwarethreat detectionreflective loading