.text ; disassembly of ivanti-inband-root.md

In-Band Root: The Ivanti Zero-Day Chain and the Operators Who Automated Themselves

On 4 November 2026 a 36,730-byte file named ivanti-exploit.txt appeared on VirusTotal. Sixty-three engines looked at it and none of them flagged anything. It is a working privilege-escalation exploit for Ivanti Connect Secure, it was uploaded five days after the intrusion it belongs to started, and its own source code says the whole attack rode a single HTTPS request.

This is the story of that file: what it does, how it connects to a zero-day campaign disclosed on 13 October, and what came out of pulling the thread. The short version is that the file led to a dead staging server whose full working directory Shodan had quietly photographed while it was still alive, then to a second, independent operator running the same chain from a different box, and finally to 1,173 files of live tooling on a platform that also runs a Zimbra zero-day, a database implant, a cryptomining business, and a custom Apache module that has never been seen on any scanning service. Along the way the same pattern kept repeating: an AI coding agent’s memory file sitting at the center of the operation.


What the file does

The sample is a shell and Python polyglot, one heredoc long. Strip the wrapper and you get a self-contained program that turns code execution in Ivanti’s low-privilege web compartment into a root shell, leaves no persistence behind, and erases the logs on its way out. Volexity documented the technique in their 13 October analysis of the UTA0576 campaign; this file is that stage, generation two, in file form for the first time.

It works in four moves.

First it locates a single byte in /home/lib/libdsplibs.so, the DSCache client library. The locator is genuinely careful work: it parses the ELF from raw bytes, resolves the DSCacheServerContext constructor through the dynamic symbol table, walks the PLT relocations to identify the call to open, and finds the one instruction that loads the constant 2 into the flags argument. Two is O_RDWR. The web compartment cannot open the root-owned DSCache database read-write, so the client fails there. The exploit patches the 2 to a 0 through /proc/self/mem, which quietly turns the open read-only and lets the client come up. One byte is the entire privilege boundary between the web tier and the cache that the root broker trusts.

Second, it uses the now-working client to rewrite a scheduled task definition inside the cache: the ScriptUtil / updateOpswatSDK entry, which normally points at /home/bin/updateOpswatSDK.pl, gets repointed at /usr/bin/perl.

Third, it speaks the broker protocol itself. There is a UNIX socket at /home/runtime/tmp/.invoke where dsinvoked, running as root in an unconfined domain, accepts invoke requests. The script parses /proc/net/unix first and refuses to continue unless the broker has exactly one listener and zero active connections, then hand-crafts the frame: a 52-byte header and seven NUL-separated fields naming the target, the method, and one argument. The broker duly runs command plus argument, which after the cache swap is perl plus a script path. Root code execution, in-band, no callback, no second connection.

The Perl payload it launches is written to /home/runtime/tmp, unlinked before it runs so it executes from a deleted inode, and produces its proof: uid=0(root), the SELinux domain, and a readability check on /etc/shadow. Then it dumps the appliance logs covering the intrusion window, and this is the part every defender should read twice. It does not truncate them. It rewrites /home/runtime/dlogs/debuglog and /var/log/audit/audit.log line by line, deleting exactly the entries newer than the attack’s start timestamp and keeping everything older. File sizes stay plausible. Only the window disappears.

Finally the Python side restores the cache entry, writes the patched byte back to 2, verifies every restore by reading it again, confirms the broker went idle, deletes its temporaries, and checks its own output for six required success markers before declaring victory. The closing line is transport=https-inband. The entire round trip, including root output and loot, rode the one HTTPS request that carried the exploit in.

Ivanti’s Integrity Checker Tool sees none of this. The on-disk library never changed; the patch lived in process memory and was undone before exit.

The campaign it belongs to

The chain was disclosed by Ivanti on 13 October 2026 and attributed by Volexity to an actor they track as UTA0576: an authentication bypass via a mismatched X-DSCGI-PATH header (CVE-2026-104935), an upload race in wu.cgi, and the local escalation to root now tracked as CVE-2026-111357. Both sides of the chain were added to CISA’s KEV catalog by the end of October. Patches for the escalation shipped 29 October. The sample above carries a baked-in cleanup window opening 30 October at 09:45 UTC, which means someone generated a fresh copy of this tool about a day after the fix was published. Generation is per-run: the timestamps and a run identifier are templated in, which is one reason the file has a unique hash and zero detections every time.

Volexity’s writeup matches this file’s family exactly, down to the appliance artifact names and the diagnostic strings. Their YARA rule for the stage, built from a memory sample their responders recovered, hits this file on all four of its strings.

Finding the operators

The published IOC list for this campaign was one rented IP, already retired. Etugen chased it a different way: they content-searched the published YARA strings across open directories their crawlers had indexed, and every hit lived on one host, 208.85.17[.]99, a Vultr box in Spain serving its own working directory over port 9999. Roughly 7,000 files: the exploit framework, 168 per-victim run logs, staged loot, and the operation’s notes. Those notes are the finding. OPERATION_MEMORY.md, 391 KB, written in Russian, is a canonical memory file for a coding agent called kimi-code, Moonshot AI’s open-source terminal agent. It opens with operating invariants: work quietly and professionally, like APT or NSA. It documents the proxy rotation, including the retired IP from the public IOC list, named and dated. Volexity had assessed LLM assistance at medium confidence. This is stronger than assistance. The agent’s memory file is the operation’s system of record.

That box was killed within a day of Etugen’s post, so it could not be fetched directly. But Shodan had crawled the open directory on 17 October, and Shodan stores the HTTP response body in its banner history. The full top-level listing was still sitting there: 471 entries, served by a bare Python SimpleHTTP server. The inventory reframes the whole campaign. The Ivanti chain is one lane of a business that runs around thirty product families, with probe/take/loot script sets for GLPI, MLflow, MinIO, CyberPanel, Elasticsearch, Kong gateways, Facebook, Microsoft 365, Odoo, HESK, LibreNMS, ownCloud, IceWarp and more, alongside a loot packaging pipeline, a fake-IMAP credential capture server, Impacket tooling, and payment scripts.

The same banner-history method, applied more broadly, found two more boxes. One is a live operations platform at 38.60.227[.]210 running a VShell panel and four open directories, including a 2,185-file staging root refreshed the morning I looked at it. Another is 157.173.102[.]203 on Contabo, whose staging directory holds HANDOVER.md, findings.md, and session.json next to exploit_log_1.txt through exploit_log_4.txt and its own ivanti/ folder. That is a second operator, working the same Ivanti chain, also leaving agent working files at the scene. It went dark before its files could be captured; the listing survives in Shodan. A third box runs a console that calls itself “ARTEX, Autonomous Penetration Testing Console”, and a search for that title returns about ninety live installs, mostly on bulletproof hosts.

At minimum there are three operator lineages on this chain within four weeks of disclosure.

What the tooling corpus actually does

The live platform at 38.60.227[.]210 could be fetched, so I pulled its tooling: 1,173 files, 296 MB, all of it downloaded read-only over plain HTTP. Victim data, credential dumps, and wordlists were excluded from the pull and are not discussed here. What follows is the attacker-side tooling only.

A Zimbra zero-day campaign with miners attached. The busiest current lane is CVE-2026-73570, an SMTP injection against Zimbra. The entry script sends a RCPT TO address of the shape "x: Service status change: localhost <command> changed from stopped to running"@cve.invalid, with EHLO and STARTTLS handled. Commented in Chinese, the follow-on kit does internal reconnaissance, extracts Zimbra localconfig credentials in key/value pairs so truncation cannot split them, and exfiltrates in base64 chunks to an out-of-band receiver port. Persistence is a polling beacon hidden in ~/.cache/.jvbd that fetches a command every 45 seconds, executes it, and posts base64-wrapped output back, with cron and an @reboot revival line. One comment notes that the re-entry channel in the Zimbra config must be left intact. A diagnostic script titled, plainly, “why miner not up”, confirms what the payload staging already suggested: the end state on Zimbra victims is a Monero miner.

A database implant. The Oracle tooling connects with a hardcoded victim database credential (censored here), runs shell commands through DBMS_SCHEDULER executable jobs, and reads output back through utl_file. Then implant.php installs the part worth remembering: a scheduler job named WPOLL that polls a command file over HTTP every 20 seconds, executes it with bash, and uploads the output. No webshell, no filesystem artifact, no new account. The command channel lives inside the database itself, and it survives nearly everything short of a DBA reading DBA_SCHEDULER_JOBS.

A weaponized php2shell. CVE-2026-109618/109619, the PHP session handling pair, is implemented as a standalone exploit with two chains: session upload-progress filename injection into local file inclusion, and a serialize-handler mismatch where php_serialize writes and php reads, driving object injection whose gadget fires in the destructor even on the decode-failure path. The operators built a lab to develop it, benchmarked the chain against DVWA, and kept a diff of the vendor’s PHP 8.4.27 session fix annotated with what changed. The root cause they studied is the same one behind the php2shell wave autopsied here in October. The demand side of that research now has faces.

A custom Apache module. mod_waibian.so is a purpose-built Apache connection-filter module, unstripped, registering an inject directive and doing curl callbacks with a user agent that calls itself SearchEngineModule. It is the persistence layer for injecting content into every page a compromised host serves, which pairs with the WordPress implant file and an SEO keyword list found alongside it. It has never appeared on any public scanning service. Neither has the kernel local-privilege-escalation binary from the same corpus, which patches the page-cache entry of /usr/bin/su with shellcode and empties root’s password field, and which the run scripts invoke through a unified multi-CVE runner alongside PwnKit and Baron Samedit builds.

Windows stealth. A PowerShell kit creates a hidden local administrator with a service-style name and censors to nothing here, hides it through the SpecialAccounts registry key, escalates via a reflectively loaded PrintSpoofer assembly, and runs a watchdog that watches for Task Manager. When the victim opens Task Manager, the miner service, disguised with an Edge-update name, stops. When Task Manager closes, it starts again. Overnight, the watchdog kills Task Manager itself after an hour.

The mining business ties the lanes together. The miner is a stock XMRig 6.26.0 renamed to look like a Java runtime, mining to a fixed wallet through two pools, one of them a domain the operator controls. Payment-level attribution is a lookup away on any public pool dashboard.

The pattern worth naming

Three operators, three staging environments, one shared habit: the working files of an AI coding agent left where the exploit staging was. A 391 KB memory file with OPSEC invariants, written for an agent that must reread it when its context is compressed. A handover file and session state next to the exploit logs. And a branded autonomous pentest console with ninety live nodes. The discipline these operators bring to the exploit side, memory-only patches, verified restores, surgical log surgery, per-run templated hashes, is real. The failure mode is uniform and it is never the exploit. Every single one of them was burned by an open working directory.

There is also a lesson in how they were found. The published IP was dead before publication. What worked was content-searching the operation’s own artifact vocabulary, the strings that exist nowhere else, first across indexed open directories, then across internet-wide scan banner history. Shodan photographed a directory listing that no longer exists on any live host, and that photograph carried the whole investigation. Unique artifact strings are the tripwire: a second hit anywhere is the next proxy, and the query costs nothing to save.

Detection

File and memory:

rule Ivanti_Stage2_Inband_Family
{
    strings:
        $a1 = "dsinvoked broker is busy; stop retries and clear its current child" ascii
        $a2 = "PATCH_LOCATOR arch=%s offset=%s sha256=%s encoding=%s open=%s call=%s evidence=%s" ascii
        $a3 = "ics-root-run-inband-" ascii
        $a4 = "transport=https-inband" ascii
        $b1 = "import os,socket,time,_frozen_importlib_external as ie" ascii
        $b2 = "_ZN20DSCacheServerContext8filenameEj" ascii
    condition:
        filesize < 5MB and ( 2 of ($a*) or ( 1 of ($a*) and 2 of ($b*) ) )
}

rule Apache_Mod_Waibian_SEOInject
{
    strings:
        $m1 = "mod_waibian.c" ascii
        $m2 = "WAIBIAN_INJECT" ascii
        $u1 = "Mozilla/5.0 (compatible; SearchEngineModule/1.0)" ascii
    condition:
        2 of them
}

rule Oracle_Scheduler_C2_WPOLL
{
    strings:
        $p1 = "DBMS_SCHEDULER.CREATE_JOB" ascii
        $p2 = "job_name=>'WPOLL'" ascii
        $p3 = "miner/cmd.txt" ascii
    condition:
        all of them
}

On hosts: cron entries or @reboot lines running a script under ~/.cache/.jvbd; Zimbra mail logs containing changed from stopped to running in an RCPT address; Oracle databases with WPOLL or short-hash JX* scheduler jobs; Apache module directories containing mod_waibian; root authorized_keys entries whose key fingerprint is SHA256:xghUIIibJFPufcJNXC0O0iN+5Rt8sX5GTWQxc2egUGo; hidden local accounts with service-style names; user-visible services impersonating Edge updates. The stage-2 reference sample is 17277527c95289a7ce8d9f69b07829edfd2e099bd664d79e54d3e9cad2d8307b.

For Ivanti owners the guidance from the vendor and CISA stands: patch to the fixed releases, treat a clean Integrity Checker result as non-evidence, and hunt for the windowed gaps in debuglog and audit.log against any external copy you hold.

Open questions

Two things this investigation could not settle. Whether the escalation still works against the 29 October patch, since the post-patch sample exists but its target’s version is not recorded anywhere in it. And whether the ecosystem boxes that Etugen clustered as separate actors are one collective with shared conventions, which the naming evidence suggests, or operators who trade tooling, which the overlap alone cannot decide. Both questions have a method attached: more file-form sightings of the stage will date the tool’s viability, and more listings will decide the clustering.


Methodology and handling: research was passive throughout. The stage-2 sample was retrieved after it appeared on a public scanning service; staging directories were read over plain HTTP; Shodan banner history, certificate logs, and public reporting were used for infrastructure. No exploit was run against any system. No victim organization, victim address, or victim credential is identified in this article, and attacker credentials are censored to detection-grade identifiers only: hashes, fingerprints, usernames, and infrastructure. Full indicators exist privately for incident response and can be shared with verified defenders and the tracked researchers on request.

← back to listing