Zero-Days in PaperCut MF Chained to Compromise Active Directory in Education Sector

Analysts at eSentire investigated an attack that chained two zero-days in PaperCut MF, tracked as CVE-2026-81578 and CVE-2026-82078, to move from an internet-exposed print server to a domain controller in an education sector client in under two days. Attackers gained initial access through the card or badge query field, delivering malicious Java code that allowed unauthenticated configuration changes and arbitrary bytecode execution on version 24.0.2. The first stage loader reassembled payload fragments in memory, launched the next stage, and deleted its own files while remaining compatible with multiple Tomcat versions. A web shell followed, accepting commands via a custom HTTP header, reading configurations, and erasing log traces while positioning itself early in the request processing chain. The command-and-control implant was AdaptixC2, hidden inside a modified Microsoft Copilot binary downloaded from Alibaba Cloud infrastructure. Privilege escalation was achieved without passwords by locating a domain-privileged service account, stealing its access token, and relaunching the implant under those rights. On the domain controller the payload arrived via administrative share and was executed by modifying the Windows PlugPlay service, after which the legitimate path was restored to minimize traces. The operators extracted credentials from memory and registry, enabled Restricted Admin mode, used an NTLM hash for RDP access, and copied the full Active Directory database containing passwords for all domain accounts.

BoletimSecTranslated from Portuguese

Read at source

Analysts from eSentire have detailed a sophisticated intrusion that chained two zero-day vulnerabilities in PaperCut MF to reach the domain controller of an education-sector organization in less than two days.

The entry point was the card or badge query field. Attackers used it to deliver malicious Java code that enabled unauthenticated configuration changes and arbitrary bytecode execution on version 24.0.2 of the product. The flaws are tracked as CVE-2026-81578 and CVE-2026-82078.

The first-stage loader reassembled payload fragments directly in memory, started the next stage, and then deleted its own files. It was designed to operate across different versions of Tomcat. The subsequent web shell accepted commands through a custom HTTP header, read configuration data, and wiped its own log traces while sitting early in the request-processing pipeline, thereby blocking competing exploitation attempts by other groups.

The command-and-control implant was AdaptixC2, concealed inside a modified Microsoft Copilot binary downloaded from infrastructure hosted on Alibaba Cloud. After initial contact the implant remained silent for approximately 24 hours before operators resumed manual activity.

Privilege escalation required no password. The attackers located a domain-privileged service account running as an active process, copied its access token, and relaunched the implant with those elevated rights. On the domain controller the payload was delivered via administrative share and executed by temporarily altering the Windows PlugPlay service; the original service path was restored shortly afterward to reduce forensic evidence.

Once inside the domain controller the operators extracted credentials from memory and the registry, enabled Restricted Admin mode, used an NTLM hash to access systems via RDP, and copied the entire Active Directory database containing password hashes for all domain accounts.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulnerabilities & Exploits

CISA Adds Cisco Secure Firewall and GitLab Flaws to Known Exploited Vulnerabilities Catalog
Telegram for Android Patches Voice Call Vulnerability Enabling Code Execution
Yandex Patches Millions of Stations After eMudhra Certificate Keys Compromised