← All posts

ThreatLocker researchers describe CookieMorpher, malware hidden in a fake cookie file

On 2 December 2026 ThreatLocker's Threat Intelligence team published an analysis of a malware campaign it calls CookieMorpher. The download changes slightly every time, so checks that rely on a known file signature miss it, the company says.

What happened

On 2 December 2026 the Threat Intelligence team at ThreatLocker published an analysis of a malware campaign it has named CookieMorpher. The team says the campaign is active and uses websites that pose as a VPN service called StaticVPN.

According to ThreatLocker, a visitor sent to the malicious site automatically downloads a file named cookies.txt. It is dressed up as an ordinary browser cookie file, but it carries hidden commands. Those commands start a chain of PowerShell scripts that fetch more code in stages. The last stage is a remote access tool that runs only in the computer's memory, inside the PowerShell process, so no program file for it is saved to disk.

How it avoids detection

ThreatLocker's main finding is that the first file is different on every download. The team downloaded 10 samples and found that each had its own file hash, while doing exactly the same thing. The differences are small changes in how text strings inside the file are built.

A hash is the fingerprint many security tools and public malware databases use to recognise a known bad file. If the fingerprint changes each time, a lookup finds nothing. ThreatLocker says several of its samples passed Windows Defender's real-time scan on download, and that this can give a curious victim "a false sense of security".

The scripts also try to switch off AMSI, the Windows feature that lets security software inspect scripts as they run. ThreatLocker says that in its own tests the attempt did not change AMSI's behaviour on PowerShell 5.1 and 7.7.

What the final tool can do

ThreatLocker says the remote access tool matches no known malware family and is not linked to any known group. The commands the team found let an attacker run commands and scripts, upload and download files, move into other processes and open firewall ports. There are also options to deploy a cryptocurrency miner and to try passwords against Microsoft SQL Server databases.

The team concludes that the main purpose is to run staged code while avoiding detection, with the other functions as secondary.

Why it matters

The report is a reminder of the limit of security that depends on recognising known bad files. A file that looks like harmless text and never has the same fingerprint twice is hard to catch that way. The steps the chain relies on are easier to control: a script starting PowerShell, PowerShell connecting to the internet, and code being loaded into a running process.

ThreatLocker sells controls of that kind, so its interest in the conclusion should be kept in mind. The post itself does not say which products would have stopped the chain.

What is not known

ThreatLocker does not say how many people or organisations were affected, how victims are led to the site, or who is behind the campaign. The findings come from ThreatLocker's own analysis; no independent confirmation was found at the time of writing. The post lists file names, web addresses and commands that security teams can search for in their own logs.

Sources

Disclaimer. This news brief is for general information only and is not professional advice. It is compiled automatically from the public sources listed above and written in our own words. We do not guarantee that it is accurate, complete or up to date, and products, features and prices can change. Product and company names, and any video shown, belong to their owners, who have not reviewed or endorsed this post. Please check the original source before relying on it. Read the full disclaimer.

Want to know what this means for your own systems?

Talk to us

Related service: Zero Trust security with ThreatLocker