The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Saturday, 21 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

BubbleLoader Malware Hides Payloads in PNG Files

By The Daily Byte ·21 Nov 2026 ·4 min read
Hands typing on a laptop showing green computer code on screen in a dark room

A new malware loader is turning trusted Windows programs into carriers for other malware, hiding its payload inside image files that look harmless. Security researchers at ReversingLabs have taken apart the tool, called BubbleLoader, and found it rewrites a handful of instructions in legitimate software, then smuggles its code in through two PNG images. The technique makes infected programs hard to spot, because the host application still looks and behaves like the real thing.

BubbleLoader targets common software as its host, including WinRAR, the x64dbg debugger, Windows Media Player, the Firefox launcher and virtiofs. The earliest samples appeared in February 2026, and ReversingLabs tracked two distinct clusters of activity in mid-September and early October, showing the tool is in active use by attackers right now. The final payload varies from sample to sample, so the loader can deliver whatever malware a particular campaign needs.

Two images, one of them fake

The attack works in four stages. First, the attackers patch the entry point of the host program, the spot where Windows begins running it, with a small set of instructions. That patch reserves a block of memory, copies both PNG images into it, and jumps into the second one. Only the first image is a real picture, a gradient running from red to blue. The second opens with the correct PNG signature, then breaks off where the image's width should be and continues as encrypted code.

A short piece of shellcode hidden in the fake image uses the real image's bytes as a rolling XOR key, combining each byte of hidden data with a byte of the key to decrypt the next stage. That stage decrypts the final payload and loads it directly into memory, without ever writing it to disk as a file. The gradient makes a poor key: the image contains long runs of zeros, and XOR with zero changes nothing, so stretches of the loader sit in the file unencrypted, readable strings included. The fake image also gives itself away. The first byte of a PNG's width field should be zero for an image of normal size, but in the fake image that is where the encrypted data begins. In the sample ReversingLabs shows, that byte is 0x55, which would imply an absurdly wide picture for one stored inside a program.

It changes its fingerprint every time it runs

BubbleLoader also uses anti-forensics tricks to frustrate investigators. Its runtime polymorphism means the payload's in-memory hash comes out different on every execution, which undercuts one of the first checks an analyst reaches for when hunting malware. Analysts can recover the original payload by patching that scrambling loop out of the loader, but that takes deliberate work. The loader also hooks RtlPcToFileHeader, a routine in Windows' ntdll library, and registers the payload's exception table, further blending the malicious code into the host process.

ReversingLabs has listed 24 SHA-256 hashes for BubbleLoader samples, giving defenders something concrete to hunt for. But the researchers are careful about what they do not know. They do not say how the tampered programs reach victims, and they name no payload malware families. There is also no indication that official versions of the host programs, distributed by their developers on their official download pages, were affected. The research found altered copies of these programs, which points to victims downloading software from untrusted sources rather than a compromise of the developers themselves.

How to defend against it

The company's advice is aimed at organisations rather than home users. It recommends strict application allowlisting and code-signing verification, so that only approved, unmodified binaries are allowed to run. It also advises alerts on memory allocated as readable, writable and executable at the same time, alerts on protection changes aimed at ntdll's exception routines, and static rules that flag PNG files with truncated headers. For ordinary users the practical lesson is simpler: download software only from the developer's official site, and treat a copy of WinRAR or Windows Media Player from a random download portal as suspect, because that is exactly the kind of copy BubbleLoader hides in.

Sources

ReversingLabs: Threat Researcher's Notebook: BubbleLoader
Help Net Security: BubbleLoader malware turns copies of WinRAR and Windows Media Player into carriers