Skip to content
Write-up Advanced

They Told Me to Press Win+R to Fix My Mic: Inside a Steganographic PNG & In-Memory C# Malware

A ClickFix social-engineering lure tricks users into pasting a PowerShell command into the Windows Run dialog, which downloads a PNG image and carves encrypted payloads out of its metadata chunks. The script then compiles a C# loader in memory and reflectively maps a DLL, with a disk fallback, while showing fake Windows update progress and a fake antivirus error.

Guru Follow

Published on medium.com

How a 9.45 KB PowerShell script, a hidden PNG metadata chunk, and a 0/92 VirusTotal server bypass enterprise email defenses without touching disk.

Guru, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 9 min read.

## Context

This is a walkthrough of an active ClickFix initial-access campaign rather than a bug bounty report against a named product. The lure is the familiar fake browser or system error: a broken conference microphone, a missing font update, a failed CAPTCHA. The page tells the victim to press Win + R, paste a command with Ctrl + V and hit Enter, so the payload runs directly in the Windows Run dialog. There is no email attachment and no macro prompt, which is the whole point: email gateways, attachment sandboxes and macro blocking never see the payload.

The author dissects a 9.45 KB (9,680-byte) obfuscated PowerShell dropper, referred to as `full.ps1` / `6u57ij.exe`, flagged by only 2/61 vendors on VirusTotal. The dropper stages an in-memory C# loader, carves encrypted payloads out of a PNG image, and is served from an origin server that VirusTotal reports as 0/92.


{{media:0}}


The chain has five stages: the PowerShell dropper, a decoded PowerShell script, a C# loader class named `CxvWPnPA`, the carved PNG payloads, and the final follow-on PE. The diagram below shows the end-to-end flow.


{{media:1}}


Key findings as the author lists them:

| Area | Detail |
|---|---|
| Dropper footprint | 9.45 KB (9,680 bytes), dual Base64 + GZip stream wrapper, SHA-256 `[redacted]` |
| Execution model | In-memory via PowerShell `Add-Type` compiling C# class `CxvWPnPA` and reflective PE mapping (`VirtualAlloc`), with a `%TEMP%\dlv<GUID>.dll` disk fallback |
| Steganography | Payloads hidden inside uncompressed PNG `tEXt` metadata chunks (`qnprn`, `bt*`, `RT*`) before the `IEND` trailer |
| Deception | Fake Windows KB update progress bars, then a red `ENGINE HALTED 0x80075360` error telling the victim to turn off antivirus |
| Infrastructure | Hosted on AS210457 (Kyonix Networks Limited) without Cloudflare masking (`150[.]241[.]66[.]170` and `2[.]27[.]60[.]213`), alongside co-located `*.ll0[.]space` nodes |

## Setup

All forensic extraction was performed statically inside an isolated Kali Linux VirtualBox environment named `Clean_Baseline`, with zero shared folders, bidirectional clipboard and drag-and-drop disabled, and virtual networking severed. No live Windows binary was executed. The analysis therefore relies on native Unix utilities to unwrap the PowerShell stages without running PowerShell.

## Finding it

The author came across the campaign while digging into recent initial-access lures. The dropper is small, 9.45 KB, and its structure is visible statically: two fragmented Base64 variables, `$pxswc` and `$pnNab`, are concatenated and piped into .NET `IO.Compression.GZipStream`. That split is a static-signature evasion trick, and it is also what makes the file easy to unwrap by hand.

## Exploitation

### Step 1: Static extraction of the two PowerShell stages

The two Base64 fragments are joined, decoded and gunzipped with Unix tools. The nested C# loader is then extracted from the decoded script by grepping for the marker `qOgWL`.

```bash
# 1. Static extraction of split Base64 ($pxswc + $pnNab) into stage_decode.ps1cut -d "'" -f2,4 [redacted].ps1 | tr -d "'" | tr -d '\n' | base64 -d | gunzip > stage_decode.ps1# 2. Extract nested C# loader class CxvWPnPA into stage2_loader.csgrep qOgWL stage_decode.ps1 | cut -d"'" -f2 | base64 -d | gunzip > stage2_loader.cs# 3. Secure lab cleanup and VM snapshot rollbackcd ~ && rm -rf ~/malware_lab && ls -la ~
```

The first command cuts the quoted Base64 fields out of the dropper, strips quotes and newlines, decodes and gunzips them into `stage_decode.ps1`. The second pulls the quoted blob following `qOgWL`, decodes and gunzips it into `stage2_loader.cs`. The third removes the lab directory and rolls the VM back to a snapshot.


{{media:2}}


The extraction reveals a 48-character crypto seed, the C2 endpoints and the PNG `tEXt` chunk carver.

### Step 2: Phase 1, dual Base64 stream decompression

The dropper concatenates `$pxswc` and `$pnNab` to fragment static signatures, decodes the result with `[Convert]::FromBase64String`, and decompresses `stage_decode.ps1` in memory through `GZipStream`.

### Step 3: Phase 2, steganographic PNG chunk carving

The decoded script checks in and downloads a PNG:

```http
hxxps://tunnel-activation[.]cc/b/clickfix?r=cf7755fd
hxxps://tunnel-activation[.]cc/i/clickfix/642ee42fdd0c7213.png
```

Instead of rendering pixels, a custom parser walks the raw byte stream `$PxHAs` before the PNG `IEND` trailer and carves three `tEXt` metadata chunks:

- `qnprn`: encrypted JSON configuration manifest
- `bt*`: intermediate loader DLL
- `RT*`: final follow-on PE payload

The chunks sit in uncompressed metadata rather than pixel data, so the payloads are carried outside the image data itself.

### Step 4: Phase 3, dynamic C# compilation via Add-Type

PowerShell decompresses `$qOgWL` into raw C# source and compiles it on the fly with `Add-Type`. The class `CxvWPnPA` is loaded directly into the active AppDomain and exposes unmanaged Win32 P/Invoke APIs: `VirtualAlloc`, `LoadLibraryW`, `LoadLibraryA` and `GetProcAddress`.


{{media:3}}


The decompiled class shows the P/Invoke declarations and the HMACSHA256 key derivation.

### Step 5: Phase 4, HMACSHA256 rolling XOR key derivation

Method `X(string b64, string seed)` initialises an `HMACSHA256` instance keyed with a 48-character hex seed passed from PowerShell (`$mMj = [redacted]`) and hashes a hardcoded ASCII salt (`[redacted]`). The first 16 bytes of the digest act as a rolling XOR stream cipher (`d[i] ^= ky[i % 16]`) to decrypt the carved PNG payloads in memory.

### Step 6: Phase 5, reflective PE injection with a disk fallback

Entry method `Go()` allocates RWX memory and reflectively maps the decrypted DLL via `MapDll()`, resolves its `Run` and `SetLog` exports, and executes them via `CallRun()`. If EDR or memory protections block manual PE mapping, an exception handler drops the DLL to `%TEMP%\dlv<GUID>.dll` and loads it with `LoadLibraryW`.


{{media:4}}


### Step 7: The social-engineering finale

While the loader runs, the console is not left blank. Array `$ghciY` prints simulated Windows Update progress bars (`[KB4126395]`, `[KB3843457]`) with randomised delays to mimic a legitimate patch. It then throws a fabricated red console alert, `ENGINE HALTED 0x80075360` (HRESULT `0F00D2049`, `gpu.shim KB4775314`), with the instruction:

> Endpoint protection flagged the staging folder. Source: security suite. Turn off antivirus, then repeat the installation.


{{media:5}}


If a later stage is blocked, the script does not fail silently: it fakes a crash and blames the user's antivirus, pushing the victim to disable protection and retry.

### Step 8: Infrastructure pivoting

Passive DNS, TLS Subject Alternative Name (SAN) pivots and Censys/Shodan/VirusTotal telemetry show that `tunnel-activation[.]cc` (registered 2026-11-20 via NameSilo, LLC; 1/90 VT) skips Cloudflare masking and resolves directly to dedicated hosting on Kyonix Networks Limited (AS210457):

| Indicator | Detail |
|---|---|
| `150[.]241[.]66[.]170` | AS210457 Kyonix; ports 80, 135 (DCERPC), 443, 3389 (RDP); TLS SAN `detf[.]ll0[.]space` (Let's Encrypt); 0/92 VT |
| `2[.]27[.]60[.]213` | AS210457 Frankfurt, DE; ports 22 (SSH), 80, 443, 2083, 2443; TLS SAN `depn[.]ll0[.]space` (Russian decoy "Те�
ника без лишнего шума" on :2083); 0/92 VT |
| `tunnel-activation[.]cc` | Resolves directly to `150[.]241[.]66[.]170`; 1/90 VT |
| `vkcdn[.]ll0[.]space` | REG.RU LLC, active 2026-11-20; port 443 (F5 Nginx 403); 0/92 VT |
| `vkmedia[.]ll0[.]space` | REG.RU LLC, active 2026-11-17; port 443 (F5 Nginx 403); unflagged |
| `vknew[.]ll0[.]space` | REG.RU LLC, active 2026-11-09; port 443 (F5 Nginx 403); unflagged |

## Root cause

The weakness is not a software bug but a design assumption: perimeter email controls, attachment sandboxes, macro blocking and DKIM/DMARC enforcement all assume the payload arrives as a file. ClickFix removes the file from the delivery path and puts the command in the user's clipboard, so the victim executes it in Windows Run. Routine IT muscle memory does the rest: "Audio failure: Press Win+R, Ctrl+V, Enter to fix conference microphone" looks like everyday helpdesk troubleshooting.

On the host side, the dropper avoids disk for as long as possible. The dual Base64 and GZip wrapper fragments static signatures, the payloads live in PNG `tEXt` chunks rather than in an executable, the C# loader is compiled at runtime with `Add-Type` so no loader binary exists on disk, and the PE is mapped reflectively with `VirtualAlloc`. The `%TEMP%\dlv<GUID>.dll` drop only happens when memory mapping fails. The fake `ENGINE HALTED` message turns a blocked stage into a reason for the user to disable antivirus, so endpoint protection is attacked socially as well as technically.

## Impact

An attacker using this chain gets code execution on a Windows host after the user pastes the command, with the initial stages running in memory and the final PE either mapped reflectively or, as a fallback, loaded from `%TEMP%`. The victim is whoever is convinced by the fake microphone, font or CAPTCHA error. The report does not describe what the final follow-on PE does once loaded, so the post-exploitation impact is not stated. The infrastructure is hosted directly on AS210457 without Cloudflare masking, and the origin server is reported as 0/92 on VirusTotal, which the author presents as evidence that the staging cluster is not yet widely detected.

## Fix

The report does not describe a vendor fix. It closes with detection and hardening guidance:

1. Monitor Win+R and PowerShell execution chains.
2. Enable AMSI script-block logging for runtime `Add-Type` calls.
3. Block newly registered staging clusters such as `*.ll0[.]space`.

The author provides a YARA rule and a Sigma concept. The YARA rule matches the loader class name, the salt, the seed and the two lure strings:

```text
rule ClickFix_CxvWPnPA_Loader {    meta:        description = "Detects CxvWPnPA loader class and ClickFix lure strings"        hash = "[redacted]"    strings:        $class = "CxvWPnPA" ascii wide        $salt = "[redacted]" ascii wide        $seed = "[redacted]" ascii wide        $lure_title = "ENGINE HALTED 0x80075360" ascii wide        $lure_msg = "Turn off antivirus, then repeat the installation" ascii wide    condition:        2 of ($class, $salt, $seed) or         ($lure_title and $lure_msg)}
```

The Sigma concept targets the disk fallback:

```text
title: ClickFix CxvWPnPA Temp Fallback DLL Dropstatus: experimentaldescription: Detects suspicious %TEMP%\dlv<GUID>.dll generated upon reflective load failurelogsource:    category: file_event    product: windowsdetection:    selection:        TargetFilename|contains: '\AppData\Local\Temp\dlv'        TargetFilename|endswith: '.dll'    condition: selectionlevel: high
```

The consolidated indicators are:

```text
[FILE HASHES — SHA-256][redacted]   # Stage-1 PowerShell Dropper (6u57ij.exe / full.ps1, 9.45 KB)[C2 & STAGING URLs]hxxps://tunnel-activation[.]cc/b/clickfix?r=cf7755fd               # Initial ClickFix check-in endpointhxxps://tunnel-activation[.]cc/i/clickfix/642ee42fdd0c7213.png     # Steganographic PNG carrying qnprn, bt*, RT* chunks[INFRASTRUCTURE — IPv4]150[.]241[.]66[.]170                                               # AS210457 (Kyonix Networks) | 0/92 VT2[.]27[.]60[.]213                                                  # AS210457 (Frankfurt, DE)  | 0/92 VT[DOMAINS]tunnel-activation[.]cc                                             # Primary C2 (NameSilo, 2026-11-20)detf[.]ll0[.]space                                                 # TLS SAN on 150[.]241[.]66[.]170:443depn[.]ll0[.]space                                                 # TLS SAN on 2[.]27[.]60[.]213:2083 (Russian decoy)vkcdn[.]ll0[.]space                                                # REG.RU LLC (2026-11-20) | 0/92 VTvkmedia[.]ll0[.]space                                              # REG.RU LLC (2026-11-17) | Unflaggedvknew[.]ll0[.]space                                                # REG.RU LLC (2026-11-09) | Unflagged[CRYPTOGRAPHIC ARTIFACTS][redacted]                   # HMACSHA256 48-char hex seed ($mMj)[redacted]                                   # Hardcoded salt in CxvWPnPA.X()[HOST ARTIFACTS]%TEMP%\dlv*.dll                                                    # Disk-drop fallback path if MapDll() fails
```

## Variants to test

1. **Other metadata carriers.** The same carving logic should work with any PNG ancillary chunk that survives re-encoding, such as `zTXt` or `iTXt`. A positive result is a valid image that renders normally while the parser extracts a decryptable blob from the chunk.
2. **Other image formats.** JPEG comment segments or GIF application extensions could carry the same encrypted blobs. A positive result is a file that passes image validation and still yields the carved payload.
3. **Different key derivation salts.** The `X(string b64, string seed)` method takes the seed from PowerShell and hardcodes the salt. Swapping either should still decrypt if the same HMACSHA256-then-XOR construction is used. A positive result is a decrypted PE with a valid MZ header.
4. **Fallback path variants.** The disk fallback uses `%TEMP%\dlv<GUID>.dll`. Other samples may use a different prefix or directory. A positive result is a file event matching the Sigma concept with a different name pattern.
5. **Lure text variants.** The `ENGINE HALTED 0x80075360` string and the antivirus instruction are specific to this sample. Hunting for the same structure with different KB numbers or HRESULT values should surface related builds. A positive result is a script that prints fake update progress and then asks the user to disable protection.
6. **Infrastructure pivots.** TLS SAN pivots on the `*.ll0[.]space` pattern and passive DNS on AS210457 should reveal sibling staging nodes. A positive result is another host resolving to the same ASN with a matching SAN and a low VirusTotal detection ratio.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 25 min read.

## What happened, in plain words

Someone built a fake error message on a web page. The page says your conference microphone is broken, or a font needs updating, or a CAPTCHA failed. It then tells you to press Win + R, paste a command with Ctrl + V and press Enter. If you do that, you run the attacker's code on your own computer. This trick is called ClickFix.

There is no email attachment and no macro warning, because nothing arrives as a file. That is the whole point. The security tools that companies put in front of email never get a chance to look at anything.

The author of this write-up took apart the small program that gets run this way. It is a PowerShell script of 9.45 KB (9,680 bytes), also referred to as `full.ps1` / `6u57ij.exe`. VirusTotal, a website where people upload files to see whether security products detect them, flagged it with only 2 of 61 vendors. The script then pulls a hidden payload out of a PNG image and runs it in memory. The origin server is reported by VirusTotal as 0/92, meaning none of the 92 engines there flagged it.


{{media:0}}


The chain has five stages: the PowerShell dropper, a decoded PowerShell script, a C# loader class named `CxvWPnPA`, the carved PNG payloads, and the final follow-on PE. The diagram below shows the end-to-end flow.


{{media:1}}


Here are the key findings as the author lists them:

| Area | Detail |
|---|---|
| Dropper footprint | 9.45 KB (9,680 bytes), dual Base64 + GZip stream wrapper, SHA-256 `[redacted]` |
| Execution model | In-memory via PowerShell `Add-Type` compiling C# class `CxvWPnPA` and reflective PE mapping (`VirtualAlloc`), with a `%TEMP%\dlv<GUID>.dll` disk fallback |
| Steganography | Payloads hidden inside uncompressed PNG `tEXt` metadata chunks (`qnprn`, `bt*`, `RT*`) before the `IEND` trailer |
| Deception | Fake Windows KB update progress bars, then a red `ENGINE HALTED 0x80075360` error telling the victim to turn off antivirus |
| Infrastructure | Hosted on AS210457 (Kyonix Networks Limited) without Cloudflare masking (`150[.]241[.]66[.]170` and `2[.]27[.]60[.]213`), alongside co-located `*.ll0[.]space` nodes |

A few of those words need unpacking before we go further.

- **PowerShell** is a tool built into Windows for running commands and small programs. It is meant for administrators, which is exactly why attackers like it: it is already there and it is trusted.
- **Dropper** is the first small program in an attack. Its only job is to fetch and start the next part.
- **Base64** is a way of writing any data using only letters, digits and a couple of symbols, so it can travel safely inside text. It is not encryption; anyone can reverse it. Think of it as packing a suitcase so it fits a standard luggage rack.
- **GZip** is a compression format, like zipping a folder to make it smaller. Compressed data looks like noise, which also helps hide what is inside.
- **SHA-256** is a fingerprint function. Feed it any file and it produces a long string of characters. Two different files practically never share the same fingerprint, so people use it to name and recognise a specific sample.
- **In-memory** means the code runs inside the computer's working memory (RAM) and never gets saved as a file on the disk. Files on disk are what most antivirus products scan, so staying in memory is a way to be missed.
- **C#** is a programming language from Microsoft. **PE** stands for Portable Executable, the standard file format for Windows programs (`.exe`, `.dll`).
- **Steganography** is hiding a secret inside something ordinary, the way a letter can be hidden inside a picture frame. Here the ordinary thing is a PNG image.
- **AS210457** is an Autonomous System number, an identifier for a network on the internet, in this case a hosting company called Kyonix Networks Limited. **Cloudflare** is a large service that sits in front of many websites and hides the real server; this campaign does not use it.
- **VirusTotal** is the site that runs uploaded files and URLs through many antivirus engines and shows how many flagged them. "0/92" means zero out of ninety-two engines raised a hand.

## Setup

The author did not run the malware. All extraction was done statically, meaning by reading and transforming the files without executing them, inside an isolated Kali Linux VirtualBox environment named `Clean_Baseline`. VirtualBox is software that runs a whole computer inside a window; Kali Linux is a Linux distribution popular with security people.

Isolation matters here. The virtual machine had zero shared folders, bidirectional clipboard and drag-and-drop disabled, and virtual networking severed. In plain terms: it could not pass files to the real computer, could not copy and paste between them, and had no internet. No live Windows binary was executed.

Because the sample is a PowerShell script and the lab is Linux, the author used native Unix utilities to unwrap the stages by hand instead of running PowerShell.

## Finding it

The author came across the campaign while digging into recent initial-access lures. "Initial access" is the security term for the first step of a break-in: how the attacker gets a foothold. A "lure" is the bait that convinces the victim to act.

The dropper is small, 9.45 KB, and its structure is visible statically. Two fragmented Base64 variables, `$pxswc` and `$pnNab`, are concatenated and piped into .NET `IO.Compression.GZipStream`. Splitting one blob into two variables is a static-signature evasion trick: a detection rule that looks for one long known string will not match two halves. It is also what makes the file easy to unwrap by hand, because the pieces are sitting there in quotes.

## Exploitation

### Step 1: Static extraction of the two PowerShell stages

The two Base64 fragments are joined, decoded and gunzipped with Unix tools. The nested C# loader is then extracted from the decoded script by grepping for the marker `qOgWL`.

```bash
# 1. Static extraction of split Base64 ($pxswc + $pnNab) into stage_decode.ps1cut -d "'" -f2,4 [redacted].ps1 | tr -d "'" | tr -d '\n' | base64 -d | gunzip > stage_decode.ps1# 2. Extract nested C# loader class CxvWPnPA into stage2_loader.csgrep qOgWL stage_decode.ps1 | cut -d"'" -f2 | base64 -d | gunzip > stage2_loader.cs# 3. Secure lab cleanup and VM snapshot rollbackcd ~ && rm -rf ~/malware_lab && ls -la ~
```

Line by line, in plain words:

1. The first command reads the dropper file, whose name is the SHA-256 fingerprint. `cut -d "'" -f2,4` splits each line at the single-quote character and keeps the second and fourth pieces, which are the two Base64 fragments. `tr -d "'"` deletes any remaining quotes, `tr -d '\n'` deletes line breaks so the pieces join into one long string, `base64 -d` turns the text back into raw bytes, and `gunzip` decompresses those bytes. The `>` sends the result into a new file, `stage_decode.ps1`. Why: this reproduces what the malware would do in memory, but on our terms and without running it.
2. The second command searches `stage_decode.ps1` for the marker `qOgWL`, takes the quoted blob that follows it, decodes and decompresses it the same way, and writes `stage2_loader.cs`. Why: the decoded script carries a second, nested program, and this pulls it out as readable C# source.
3. The third command goes to the home directory, deletes the lab folder and lists what is left. Why: hygiene. Malware samples should not linger, and the virtual machine is rolled back to a snapshot, which is like restoring a saved state of the whole computer.


{{media:2}}


The extraction reveals a 48-character crypto seed, the C2 endpoints and the PNG `tEXt` chunk carver. A **seed** here is a secret string used to derive a decryption key. **C2** stands for command and control: the server the malware talks to. A **chunk** is a labelled block inside a PNG file, and `tEXt` is the chunk type meant for text metadata such as a title or a comment.

### Step 2: Phase 1, dual Base64 stream decompression

The dropper concatenates `$pxswc` and `$pnNab` to fragment static signatures, decodes the result with `[Convert]::FromBase64String`, and decompresses `stage_decode.ps1` in memory through `GZipStream`.

In everyday terms: the attacker cut a message into two pieces so a scanner looking for the whole message finds nothing, then the script glues the pieces back together, unpacks them and keeps the result in RAM. `[Convert]::FromBase64String` is the PowerShell instruction that reverses Base64, and `GZipStream` is the .NET component that reverses GZip.

### Step 3: Phase 2, steganographic PNG chunk carving

The decoded script checks in and downloads a PNG:

```http
hxxps://tunnel-activation[.]cc/b/clickfix?r=cf7755fd
hxxps://tunnel-activation[.]cc/i/clickfix/642ee42fdd0c7213.png
```

A word on the notation: `hxxps` and the square brackets around the dots are a safety convention. They stop the text from becoming a clickable link and stop chat tools from turning it into a live address, while a human can still read it. The first URL is a check-in, meaning the script tells the server "I am here". The second downloads an image.

Instead of rendering pixels, a custom parser walks the raw byte stream `$PxHAs` before the PNG `IEND` trailer and carves three `tEXt` metadata chunks:

- `qnprn`: encrypted JSON configuration manifest
- `bt*`: intermediate loader DLL
- `RT*`: final follow-on PE payload

To understand this, picture a PNG file as a stack of labelled boxes. Some boxes hold the picture data, and some hold notes about the picture, such as who made it. The last box is always called `IEND` and marks the end of the file. A normal image viewer only cares about the picture boxes and ignores the notes. The malware's parser ignores the picture entirely and reads the notes. **JSON** is a simple text format for structured settings, and a **manifest** here is a configuration file. A **DLL** is a library of code that a program can load and use.

The chunks sit in uncompressed metadata rather than pixel data, so the payloads are carried outside the image data itself.

### Step 4: Phase 3, dynamic C# compilation via Add-Type

PowerShell decompresses `$qOgWL` into raw C# source and compiles it on the fly with `Add-Type`. The class `CxvWPnPA` is loaded directly into the active AppDomain and exposes unmanaged Win32 P/Invoke APIs: `VirtualAlloc`, `LoadLibraryW`, `LoadLibraryA` and `GetProcAddress`.


{{media:3}}


This paragraph is dense, so let us take it apart.

- **Compiling** means turning source code that humans write into something the computer can run. Normally you compile on a developer's machine and ship the result. Here the malware ships source code and compiles it on the victim's machine at the moment of use. That is why no loader program exists on disk to be scanned.
- **`Add-Type`** is the PowerShell command that performs this compilation.
- A **class** is a named bundle of code, here called `CxvWPnPA`.
- An **AppDomain** is a compartment inside a running .NET program where code lives. Loading the class into the active AppDomain means it runs inside the already-trusted PowerShell process, wearing PowerShell's coat.
- **P/Invoke** is the bridge that lets .NET code call old-style Windows functions written in C. Those functions are called **Win32 APIs**. An **API** is simply a defined way for one piece of software to ask another to do something, like a service counter with named windows.
- `VirtualAlloc` asks Windows for a block of memory. `LoadLibraryW` and `LoadLibraryA` ask Windows to load a DLL into the process. `GetProcAddress` asks where a particular function inside a loaded DLL lives, so it can be called. The `W` and `A` variants differ in how they handle text encoding.

The decompiled class shows the P/Invoke declarations and the HMACSHA256 key derivation.

### Step 5: Phase 4, HMACSHA256 rolling XOR key derivation

Method `X(string b64, string seed)` initialises an `HMACSHA256` instance keyed with a 48-character hex seed passed from PowerShell (`$mMj = [redacted]`) and hashes a hardcoded ASCII salt (`[redacted]`). The first 16 bytes of the digest act as a rolling XOR stream cipher (`d[i] ^= ky[i % 16]`) to decrypt the carved PNG payloads in memory.

This is the encryption step, and it deserves a slow read.

- **HMACSHA256** is a standard recipe that mixes a secret key with some data and produces a fixed-size result, called a digest. Change the key or the data and the result changes completely. Here it is used not to check integrity but as a key-stretching machine: feed it a seed and a salt, get bytes out.
- A **salt** is extra fixed data added to the mix so that the output is not just a plain function of the seed. In this sample the salt is hardcoded in the loader, which is why it is a useful detection string.
- **Hex** means the characters 0 to 9 and a to f, a common way to write raw bytes as text.
- **XOR** is a simple mathematical operation on bits with a handy property: applying it twice with the same value returns the original. That makes it usable as a lock and key in one. A **stream cipher** applies such an operation byte by byte along the data.
- **Rolling** here means the key bytes are reused in a cycle: `d[i] ^= ky[i % 16]` takes data byte number `i`, XORs it with key byte number `i` modulo 16, and stores the result back. So a 16-byte key repeats over and over.

In everyday terms: the attacker derives a short repeating key from a seed and a salt, then uses it to scramble the payloads hidden in the image. The loader derives the same key and unscrambles them in memory. Without the seed and salt, the chunks in the PNG are just noise.

### Step 6: Phase 5, reflective PE injection with a disk fallback

Entry method `Go()` allocates RWX memory and reflectively maps the decrypted DLL via `MapDll()`, resolves its `Run` and `SetLog` exports, and executes them via `CallRun()`. If EDR or memory protections block manual PE mapping, an exception handler drops the DLL to `%TEMP%\dlv<GUID>.dll` and loads it with `LoadLibraryW`.


{{media:4}}


Again, term by term:

- **RWX** stands for read, write and execute: memory that the program is allowed to read, modify and run code from. Normal programs rarely need all three at once, which is why security tools watch for it.
- **Reflective mapping** means loading a program into memory by hand, the way Windows would normally do it from a file, but without ever writing a file. The program essentially assembles itself in RAM.
- An **export** is a named function that a DLL offers to whoever loads it. `Run` and `SetLog` are the two names this DLL offers.
- **EDR** stands for endpoint detection and response: security software on the computer that watches for suspicious behaviour, not just known bad files.
- An **exception handler** is code that runs when something goes wrong, like a catch block. Here it is a plan B.
- **`%TEMP%`** is the Windows temporary folder, a scratch area programs use for short-lived files. A **GUID** is a long random-looking identifier, so `dlv<GUID>.dll` means a file whose name starts with `dlv` followed by a unique string.

So the preferred path is: get memory, build the DLL there, call its functions. The fallback path is: if that is blocked, write the DLL to the temp folder and load it the ordinary way. The fallback writes the DLL to disk, and the author provides a Sigma concept for it later.

### Step 7: The social-engineering finale

While the loader runs, the console is not left blank. Array `$ghciY` prints simulated Windows Update progress bars (`[KB4126395]`, `[KB3843457]`) with randomised delays to mimic a legitimate patch. It then throws a fabricated red console alert, `ENGINE HALTED 0x80075360` (HRESULT `0F00D2049`, `gpu.shim KB4775314`), with the instruction:

> Endpoint protection flagged the staging folder. Source: security suite. Turn off antivirus, then repeat the installation.


{{media:5}}


An **array** is an ordered list of values in code, here a list of messages to print. **KB** numbers are how Microsoft labels Windows updates, so `[KB4126395]` looks like a patch identifier. An **HRESULT** is a numeric code Windows uses to report results and errors, and the long hex-looking value is meant to look like one.

Why bother with all this theatre? Because the victim is watching. A black window that prints update progress feels like something legitimate is happening. Then the red error gives the victim a story: my antivirus is in the way, I should turn it off and try again. If a later stage is blocked, the script does not fail silently: it fakes a crash and blames the user's antivirus, pushing the victim to disable protection and retry.

### Step 8: Infrastructure pivoting

Passive DNS, TLS Subject Alternative Name (SAN) pivots and Censys/Shodan/VirusTotal telemetry show that `tunnel-activation[.]cc` (registered 2026-11-20 via NameSilo, LLC; 1/90 VT) skips Cloudflare masking and resolves directly to dedicated hosting on Kyonix Networks Limited (AS210457):

| Indicator | Detail |
|---|---|
| `150[.]241[.]66[.]170` | AS210457 Kyonix; ports 80, 135 (DCERPC), 443, 3389 (RDP); TLS SAN `detf[.]ll0[.]space` (Let's Encrypt); 0/92 VT |
| `2[.]27[.]60[.]213` | AS210457 Frankfurt, DE; ports 22 (SSH), 80, 443, 2083, 2443; TLS SAN `depn[.]ll0[.]space` (Russian decoy "Те�
ника без лишнего шума" on :2083); 0/92 VT |
| `tunnel-activation[.]cc` | Resolves directly to `150[.]241[.]66[.]170`; 1/90 VT |
| `vkcdn[.]ll0[.]space` | REG.RU LLC, active 2026-11-20; port 443 (F5 Nginx 403); 0/92 VT |
| `vkmedia[.]ll0[.]space` | REG.RU LLC, active 2026-11-17; port 443 (F5 Nginx 403); unflagged |
| `vknew[.]ll0[.]space` | REG.RU LLC, active 2026-11-09; port 443 (F5 Nginx 403); unflagged |

This section is about following clues from one piece of infrastructure to its neighbours, the way you might find a person's other accounts from one username.

- **Passive DNS** is a historical record of which domain name pointed at which IP address, collected by sensors around the internet. It lets you look back in time.
- **TLS** is the encryption behind the padlock in a browser. A **certificate** proves a server's identity, and a **Subject Alternative Name (SAN)** is the list of other names the same certificate is valid for. If two domains share a certificate, they are probably run by the same people.
- **Censys** and **Shodan** are search engines for internet-connected machines. They record what is listening on which port.
- A **port** is a numbered door on a computer. Port 80 is plain web, 443 is encrypted web, 22 is SSH (remote command line), 3389 is RDP (Windows remote desktop), 135 is DCERPC (a Windows service protocol), and 2083 and 2443 are alternative web ports.
- **Let's Encrypt** is a free certificate authority, which issues certificates automatically.
- **F5 Nginx 403** describes a response: an F5 load balancer in front of an Nginx web server returned HTTP status 403, meaning "forbidden".
- **REG.RU LLC** is another hosting provider, and the dates are when each domain became active.

The picture: the main domain skips Cloudflare, so its real server is exposed, and it sits on dedicated hosting. Around it are sibling domains on the same network and on another provider, some sharing certificates. Several of these hosts are reported as 0/92 on VirusTotal, which the author presents as evidence that the staging cluster is not yet widely detected.

## Root cause

The weakness is not a software bug but a design assumption: perimeter email controls, attachment sandboxes, macro blocking and DKIM/DMARC enforcement all assume the payload arrives as a file. Let us define those. **Perimeter email controls** are the filters at the edge of a company's mail system. An **attachment sandbox** is a separate safe machine where attachments are opened and watched before delivery. **Macro blocking** stops the small scripts embedded in Office documents from running. **DKIM** and **DMARC** are email standards that prove a message really came from the domain it claims.

ClickFix removes the file from the delivery path and puts the command in the user's clipboard, so the victim executes it in Windows Run. Routine IT muscle memory does the rest: "Audio failure: Press Win+R, Ctrl+V, Enter to fix conference microphone" looks like everyday helpdesk troubleshooting. The clipboard is the temporary storage behind Ctrl + V, and Windows Run is the small box that opens with Win + R and starts a program by name.

On the host side, the dropper avoids disk for as long as possible. The dual Base64 and GZip wrapper fragments static signatures, the payloads live in PNG `tEXt` chunks rather than in an executable, the C# loader is compiled at runtime with `Add-Type` so no loader binary exists on disk, and the PE is mapped reflectively with `VirtualAlloc`. The `%TEMP%\dlv<GUID>.dll` drop only happens when memory mapping fails. The fake `ENGINE HALTED` message turns a blocked stage into a reason for the user to disable antivirus, so endpoint protection is attacked socially as well as technically.

## Impact

An attacker using this chain gets code execution on a Windows host after the user pastes the command, with the initial stages running in memory and the final PE either mapped reflectively or, as a fallback, loaded from `%TEMP%`. **Code execution** means the attacker's instructions run on the machine, which is the goal of every initial-access step.

The victim is whoever is convinced by the fake microphone, font or CAPTCHA error. The report does not describe what the final follow-on PE does once loaded, so the post-exploitation impact is not stated. The infrastructure is hosted directly on AS210457 without Cloudflare masking, and the origin server is reported as 0/92 on VirusTotal, which the author presents as evidence that the staging cluster is not yet widely detected.

## Fix

The report does not describe a vendor fix. It closes with detection and hardening guidance:

1. Monitor Win+R and PowerShell execution chains. In other words, keep records of when the Run box and PowerShell start things, and look for the pattern.
2. Enable AMSI script-block logging for runtime `Add-Type` calls. **AMSI** is the Antimalware Scan Interface, a Windows feature that lets security software inspect scripts as they run. Turning on its logging records what scripts try to do, including compiling code on the fly.
3. Block newly registered staging clusters such as `*.ll0[.]space`. The asterisk is a wildcard meaning any name ending in that domain.

The author provides a YARA rule and a Sigma concept. **YARA** is a language for writing patterns that describe a file, so a scanner can say "this looks like that family". **Sigma** is a similar idea for log entries: a written description of a suspicious event that can be translated into the query language of different monitoring systems.

The YARA rule matches the loader class name, the salt, the seed and the two lure strings:

```text
rule ClickFix_CxvWPnPA_Loader {    meta:        description = "Detects CxvWPnPA loader class and ClickFix lure strings"        hash = "[redacted]"    strings:        $class = "CxvWPnPA" ascii wide        $salt = "[redacted]" ascii wide        $seed = "[redacted]" ascii wide        $lure_title = "ENGINE HALTED 0x80075360" ascii wide        $lure_msg = "Turn off antivirus, then repeat the installation" ascii wide    condition:        2 of ($class, $salt, $seed) or         ($lure_title and $lure_msg)}
```

Reading it in plain words: the `meta` block is notes for humans, including the sample's fingerprint. The `strings` block lists the text to look for. `ascii wide` means match both the normal one-byte-per-character form and the two-byte form Windows often uses, so the rule catches either. The `condition` is the logic: either at least two of the three technical strings are present, or both lure strings are present.

The Sigma concept targets the disk fallback:

```text
title: ClickFix CxvWPnPA Temp Fallback DLL Dropstatus: experimentaldescription: Detects suspicious %TEMP%\dlv<GUID>.dll generated upon reflective load failurelogsource:    category: file_event    product: windowsdetection:    selection:        TargetFilename|contains: '\AppData\Local\Temp\dlv'        TargetFilename|endswith: '.dll'    condition: selectionlevel: high
```

In plain words: watch file-creation events on Windows. If the file name contains `\AppData\Local\Temp\dlv` and ends with `.dll`, raise a high-level alert. `AppData\Local\Temp` is the real path behind `%TEMP%` for a user. This rule targets the disk fallback path.

The consolidated indicators are:

```text
[FILE HASHES — SHA-256][redacted]   # Stage-1 PowerShell Dropper (6u57ij.exe / full.ps1, 9.45 KB)[C2 & STAGING URLs]hxxps://tunnel-activation[.]cc/b/clickfix?r=cf7755fd               # Initial ClickFix check-in endpointhxxps://tunnel-activation[.]cc/i/clickfix/642ee42fdd0c7213.png     # Steganographic PNG carrying qnprn, bt*, RT* chunks[INFRASTRUCTURE — IPv4]150[.]241[.]66[.]170                                               # AS210457 (Kyonix Networks) | 0/92 VT2[.]27[.]60[.]213                                                  # AS210457 (Frankfurt, DE)  | 0/92 VT[DOMAINS]tunnel-activation[.]cc                                             # Primary C2 (NameSilo, 2026-11-20)detf[.]ll0[.]space                                                 # TLS SAN on 150[.]241[.]66[.]170:443depn[.]ll0[.]space                                                 # TLS SAN on 2[.]27[.]60[.]213:2083 (Russian decoy)vkcdn[.]ll0[.]space                                                # REG.RU LLC (2026-11-20) | 0/92 VTvkmedia[.]ll0[.]space                                              # REG.RU LLC (2026-11-17) | Unflaggedvknew[.]ll0[.]space                                                # REG.RU LLC (2026-11-09) | Unflagged[CRYPTOGRAPHIC ARTIFACTS][redacted]                   # HMACSHA256 48-char hex seed ($mMj)[redacted]                                   # Hardcoded salt in CxvWPnPA.X()[HOST ARTIFACTS]%TEMP%\dlv*.dll                                                    # Disk-drop fallback path if MapDll() fails
```

An **indicator of compromise**, or IOC, is a concrete clue you can search for: a fingerprint, an address, a file name. The list is grouped by type. The hash identifies the dropper. The two URLs are what the script contacts. The IPv4 addresses are the servers. The domains are the names involved, with notes on which certificate they appear on and which provider registered them. The seed and salt are the cryptographic values from the loader. The last line is the fallback file path, with `*` standing for the random GUID part.

## Variants to test

The author lists follow-up experiments. Each one is a way to check whether the technique generalises beyond this single sample.

1. **Other metadata carriers.** The same carving logic should work with any PNG ancillary chunk that survives re-encoding, such as `zTXt` or `iTXt`. A positive result is a valid image that renders normally while the parser extracts a decryptable blob from the chunk. In plain words: PNG has other note boxes besides `tEXt`, and the trick may work in those too.
2. **Other image formats.** JPEG comment segments or GIF application extensions could carry the same encrypted blobs. A positive result is a file that passes image validation and still yields the carved payload. JPEG and GIF also have places for comments and extensions, so the hiding spot is not unique to PNG.
3. **Different key derivation salts.** The `X(string b64, string seed)` method takes the seed from PowerShell and hardcodes the salt. Swapping either should still decrypt if the same HMACSHA256-then-XOR construction is used. A positive result is a decrypted PE with a valid MZ header. **MZ** is the two-character signature at the start of every Windows executable, so finding it proves you recovered a real program.
4. **Fallback path variants.** The disk fallback uses `%TEMP%\dlv<GUID>.dll`. Other samples may use a different prefix or directory. A positive result is a file event matching the Sigma concept with a different name pattern. In other words, the detection rule may need widening.
5. **Lure text variants.** The `ENGINE HALTED 0x80075360` string and the antivirus instruction are specific to this sample. Hunting for the same structure with different KB numbers or HRESULT values should surface related builds. A positive result is a script that prints fake update progress and then asks the user to disable protection.
6. **Infrastructure pivots.** TLS SAN pivots on the `*.ll0[.]space` pattern and passive DNS on AS210457 should reveal sibling staging nodes. A positive result is another host resolving to the same ASN with a matching SAN and a low VirusTotal detection ratio. In everyday terms: look for the neighbours of the servers we already know about.

## Glossary

- **Add-Type**: a PowerShell command that compiles source code into a runnable program at the moment it is called.
- **AMSI**: the Antimalware Scan Interface, a Windows feature that lets security software inspect scripts while they run.
- **API**: a defined way for one piece of software to ask another to do something.
- **AppDomain**: a compartment inside a running .NET program where code is loaded and executed.
- **Array**: an ordered list of values in code.
- **AS210457**: an Autonomous System number identifying a network on the internet, here Kyonix Networks Limited.
- **Attachment sandbox**: a separate safe machine where email attachments are opened and observed before delivery.
- **Base64**: a way of writing any data using only letters, digits and a couple of symbols so it can travel as text; easily reversed, not encryption.
- **C2 (command and control)**: the server that malware contacts for instructions or to fetch more payloads.
- **C#, .NET**: a Microsoft programming language and the runtime that executes it.
- **Censys, Shodan**: search engines for internet-connected machines and the services they expose.
- **Chunk**: a labelled block inside a file format such as PNG.
- **Class**: a named bundle of code.
- **ClickFix**: a social-engineering technique that shows a fake error and tells the victim to paste and run a command themselves.
- **Clipboard**: the temporary storage behind copy and paste.
- **Cloudflare**: a service that sits in front of many websites and hides the real server.
- **Code execution**: the attacker's instructions running on a machine.
- **Compiling**: turning human-written source code into something the computer can run.
- **DCERPC**: a Windows protocol that uses port 135.
- **Digest**: the fixed-size output of a hash function.
- **DKIM, DMARC**: email standards that prove a message came from the domain it claims.
- **DLL**: a library of code that a program can load and use.
- **Dropper**: the first small program in an attack, whose job is to fetch and start the next part.
- **EDR**: endpoint detection and response, security software that watches behaviour on a computer.
- **Exception handler**: code that runs when something goes wrong, like a catch block.
- **Export**: a named function a DLL offers to whoever loads it.
- **F5, Nginx**: a load balancer and a web server; together they returned HTTP 403 (forbidden) on the hosts listed.
- **GUID**: a long random-looking identifier.
- **GZip**: a compression format, like zipping a folder to make it smaller.
- **Hex**: writing raw bytes as the characters 0 to 9 and a to f.
- **HMACSHA256**: a standard recipe that mixes a secret key with data and produces a fixed-size digest.
- **HRESULT**: a numeric code Windows uses to report results and errors.
- **IEND**: the final chunk of a PNG file, marking its end.
- **In-memory**: running inside RAM without being saved as a file on disk.
- **Indicator of compromise (IOC)**: a concrete clue you can search for, such as a fingerprint, address or file name.
- **Initial access**: the first step of a break-in, how the attacker gets a foothold.
- **JSON**: a simple text format for structured settings.
- **KB number**: how Microsoft labels Windows updates.
- **Let's Encrypt**: a free certificate authority that issues certificates automatically.
- **Lure**: the bait that convinces a victim to act.
- **Macro blocking**: stopping the small scripts embedded in Office documents from running.
- **Manifest**: a configuration file describing settings.
- **MZ header**: the two-character signature at the start of every Windows executable.
- **Passive DNS**: a historical record of which domain name pointed at which IP address.
- **PE (Portable Executable)**: the standard Windows file format for programs and libraries.
- **Perimeter email controls**: the filters at the edge of a company's mail system.
- **P/Invoke**: the bridge that lets .NET code call old-style Windows functions written in C.
- **Port**: a numbered door on a computer through which a service listens.
- **PowerShell**: a tool built into Windows for running commands and small programs.
- **RDP**: Windows Remote Desktop, which uses port 3389.
- **Reflective mapping**: loading a program into memory by hand, without writing a file.
- **REG.RU LLC**: a hosting provider named in the infrastructure list.
- **RWX**: memory that can be read, written and executed.
- **Salt**: extra fixed data mixed into a key derivation so the output is not a plain function of the seed.
- **SAN (Subject Alternative Name)**: the list of other names a TLS certificate is valid for.
- **Seed**: a secret string used to derive a decryption key.
- **SHA-256**: a fingerprint function that turns any file into a long, practically unique string.
- **Sigma**: a written description of a suspicious log event that can be translated into different monitoring systems' query languages.
- **SSH**: a remote command line, which uses port 22.
- **Static analysis**: examining a file by reading and transforming it without executing it.
- **Steganography**: hiding a secret inside something ordinary, such as an image.
- **Stream cipher**: an encryption method that applies an operation byte by byte along the data.
- **tEXt**: a PNG chunk type meant for text metadata such as a title or comment.
- **TLS**: the encryption behind the padlock in a browser; certificates prove a server's identity.
- **VirtualBox**: software that runs a whole computer inside a window.
- **VirtualAlloc**: a Windows function that asks for a block of memory.
- **VirusTotal**: a website that runs uploaded files and URLs through many antivirus engines and shows how many flagged them.
- **Win32 API**: the old-style Windows functions written in C that programs can call.
- **Windows Run**: the small box that opens with Win + R and starts a program by name.
- **XOR**: a bit operation that, applied twice with the same value, returns the original.
- **YARA**: a language for writing patterns that describe a file so a scanner can recognise it.
- **%TEMP%**: the Windows temporary folder, a scratch area for short-lived files.

Similar reports

Same bug class and techniques, clearest first.