Poisoned Pipeline / Techniques / T0275

T0275 · Defense Evasion · TA07 · observed in 1 incident(s)

Compress the appended payload and leave filler behind it so signature scanners see nothing

Artifact Security AI Posture

An appended executable still begins with an MZ header, and a scanner that
reads the last few kilobytes of a file will find it unless something else
is there. Mir2k's first model puts about half a megabyte of filler after
the program, so the tail of the file is unremarkable. The second
compresses the same 11.47 MB program with raw Deflate and appends it with
no wrapper, which removes the MZ header, the PE structure and every string
a signature would match. The template decompresses it with .NET's
DeflateStream before writing and starting it.

The compression costs nothing at run time because PowerShell does the work
on the victim's machine. The detection in the report rebuilds the file
structurally instead of matching bytes: gguf-radar computes where the model
data must end, reports anything after that point, and writes a canonical
file with 32-byte alignment, zeroed padding and the trailing bytes removed.
Every specimen was tested; antivirus and pickle scanners raised no alert on
either live Mir2k file and both GGUF parsers loaded them normally, and the
rebuild left the dequantized weights identical.

Distinct from T0237, where a dangerous call is resolved by name to miss a
text match, and from T0220, where the payload arrives later from a server.
Here the payload is present in the artifact from the first upload, and
compression is what removes the signature.

Where this idea came from

Public incident / advisory

From the same two models, whose first file ends in 0.5 MB of filler after the executable and whose second is raw Deflate with no wrapper, so no MZ header or signature survives; antivirus and pickle scanners raised no alert and both GGUF parsers loaded them normally. Distinct from T0237 (a dangerous call resolved by name) and from T0220 (the payload arrives later from a server).

Mitigations

None linked yet.

Detections

None linked yet.

Observed in incidents (1)

References