Security researchers at ReversingLabs have identified a sophisticated malware loader dubbed BubbleLoader that compromises legitimate Windows software to deliver secondary malicious payloads. By modifying the entry points of well-known applications, the loader turns otherwise benign programs into vehicles for executing hidden code. Confirmed hosts for this malware include WinRAR, Windows Media Player, the x64dbg debugger, the Firefox launcher, and virtiofs.
The infection process begins when attackers rewrite a small number of instructions at the program’s entry point, which is the location where the Windows operating system initiates execution. This modification reserves a block of memory and injects two PNG image files. While the first image is a legitimate red-to-blue gradient, the second image is a deceptive file that contains encrypted malicious code disguised as image data.
The loader utilizes the bytes of the legitimate image as a rolling XOR key to decrypt the hidden payload. However, this encryption method is flawed; because the gradient image contains long strings of zeros, large portions of the loader remain unencrypted and readable. Furthermore, the fake PNG image displays a structural anomaly where the width field contains encrypted data rather than standard image dimensions, a characteristic that serves as a potential indicator of compromise for security analysts.
A notable feature of BubbleLoader is its ability to evade traditional hash-based detection. During the decryption process, the malware identifies filler bytes typically left by compilers between functions and overwrites them with values derived from the processor’s timestamp counter. Because these values are generated dynamically during each execution, the resulting hash of the payload changes every time the program runs, rendering static file-based signatures ineffective.
To maintain stability and evade analysis, the loader hooks the RtlPcToFileHeader routine within the ntdll library and registers an exception table for the payload. This allows the malicious code to manage errors effectively, a tactic often used to confuse investigators. The loader also includes internal checks to prevent itself from running multiple times, a necessary precaution for DLL-based payloads, even when the carrier is an executable file.
Evidence suggests that BubbleLoader is a modular, unified codebase capable of supporting various hosts and diverse final payloads. Researchers have observed that the loader attempts multiple string formats for the same Windows function calls, indicating a design intended for broad compatibility. While the specific delivery mechanism for these compromised binaries remains unconfirmed, the malware has been active since at least February 2026, with significant spikes in activity noted in mid-September and early October of the same year.
ReversingLabs has identified 24 distinct SHA-256 hashes associated with the patched programs found on disk. Because the final payload’s fingerprint shifts with every execution, security teams are advised to shift their focus away from static file hashes and toward behavioral monitoring. Analysts should prioritize inspecting program entry points for unauthorized modifications and monitoring for suspicious memory allocation patterns.
Defensive recommendations include the implementation of strict application allowlisting and rigorous code-signing verification to ensure that software binaries have not been tampered with since their release by the original publishers. Organizations should also configure security alerts for memory regions that are simultaneously marked as readable, writable, and executable, as well as for unauthorized protection changes targeting ntdll exception routines.
Finally, security teams can develop static detection rules to flag PNG files that exhibit truncated headers or abnormal width fields. By focusing on these behavioral and structural artifacts, responders can better identify instances of BubbleLoader even as the attackers continue to rotate their payloads and obfuscation techniques.





