Skip to main content
Mallory
← Back to News
actively-exploited-vulnerabilitybotnet-infrastructureremote-access-implantgovernment-vulnerability-catalog

Critical UniFi Flaws Exploited for Botnet Deployment; GHOSTWORKER Implant Uncovered

Active Exploitation · 2 sources · Updated 2mo ago · First seen Jul 9, 2026

Critical UniFi Flaws Exploited for Botnet Deployment; GHOSTWORKER Implant Uncovered

Attackers are exploiting critical UniFi OS Server vulnerabilities to deploy an IoT botnet, while a separate investigation uncovered a stealth implant on a UniFi Dream Machine Pro. Ubiquiti advisory SAB-064 covers three independently rated CVSS 10.0 flaws, including CVE-2026-34910; Ubiquiti disclosed them in May 2026, and CISA added them to its Known Exploited Vulnerabilities Catalog in June. PwnDefend captured an attack chaining authentication-gateway bypass, path traversal, and package-update command injection to achieve unauthenticated remote code execution. The attacker downloaded the zok multi-architecture loader to install azsxd v2.0, a Mirai/Gafgyt-derived bot that deleted its executable while continuing to run. Static analysis did not recover its live command-and-control endpoint.

During an authorized penetration test, OffSeq found an exploitable authentication bypass, rogue super-administrator accounts, and evidence of an earlier compromise involving GHOSTWORKER. The implant persisted through a root cron job, masqueraded as a kernel worker, altered its ELF header to hinder analysis, and used Google's DNS-over-HTTPS service for command-and-control. Audit records linked installation and subsequent administrator access to the same external IP address, but investigators did not establish the initial intrusion method or attribute the operation to a named actor. Defenders should upgrade affected UniFi OS Server installations to 5.0.8 or later, restrict management exposure, and investigate suspicious administrators, cron entries, payload downloads, and processes running deleted executables. Confirmed compromised devices should be rebuilt from clean firmware and their credentials and secrets rotated.

Why it matters

Summary

Internet-exposed UniFi OS deployments face confirmed exploitation of critical vulnerabilities that permit unauthenticated root-level compromise, botnet installation, and unauthorized administrator access. A separate UniFi Dream Machine Pro investigation uncovered GHOSTWORKER persistence and credential-collection capabilities, creating exposure for stored secrets, network administration, and downstream access. Botnet exploitation is opportunistic and widespread; the GHOSTWORKER evidence concerns one investigated environment and does not establish a shared campaign or actor.

  • Affected population: Organizations operating vulnerable UniFi management systems, including UDM, UDM-Pro, UDM-SE, and UDM-Pro-Max; verify model-specific applicability against Ubiquiti advisory SAB-064.
  • Business risk: Compromised controllers can expose administrative credentials and network-service secrets, enable unauthorized configuration changes, and require disruptive device rebuilding and credential rotation. Botnet enrollment also creates infrastructure-abuse and reputational risk.
  • Exploitation status: PwnDefend documented live exploitation on June 9, 2026. CISA added CVE-2026-34908, CVE-2026-34909, and CVE-2026-34910 to its Known Exploited Vulnerabilities Catalog on June 23, 2026.
  • OffSeq incident: Investigators found two rogue super-administrator accounts and a persistent root implant. An unauthenticated request exposed seven local user records, including usernames, email addresses, and fields named api_keys, nfc_token, and password_revision; the supplied evidence does not establish the contents or usability of every field.
  • Attribution limits: OffSeq did not establish the initial intrusion method, connect the compromise to the botnet campaign, or attribute the operation to Linfosys BV or another named actor.
This is being exploited nowSee which actors are running it and whether you're in range.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

12 events · May 21, 2026 – Jul 9, 2026
  1. Reported Aug 31, 20263mo ago

    OffSeq reveals GHOSTWORKER evasion and DNS-over-HTTPS command-and-control

    OffSeq's analysis found that GHOSTWORKER falsified its ELF byte-order flag, masqueraded as kernel-worker processes, and used Google's DNS-over-HTTPS resolver for command-and-control, with functionality consistent with credential collection and follow-on payload retrieval. Investigators assessed a single operator as likely but did not establish the initial intrusion method or attribute the operation to a named actor or Linfosys BV.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
  2. Reported Aug 31, 20263mo ago

    Authorized penetration test uncovers an existing UniFi gateway compromise

    An outside-in penetration test of a client's internet-facing UniFi Dream Machine Pro exposed seven local user records and demonstrated unauthorized administrator-level changes through an authentication bypass. Investigators also discovered the rogue super-administrator accounts and the unpackaged, root-owned GHOSTWORKER executable.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
  3. Reported Aug 31, 20263mo ago

    Bishop Fox demonstrates the complete UniFi exploit chain

    Bishop Fox demonstrated the complete exploit chain against UniFi OS Server 5.0.6, showing how the vulnerabilities could be combined to compromise an affected installation.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
  4. Reported Aug 31, 20263mo ago

    Ubiquiti fixes the vulnerabilities in UniFi OS Server 5.0.8

    Ubiquiti addressed the vulnerabilities in UniFi OS Server 5.0.8, including unifi-core 5.0.153. UniFi OS Server versions 5.0.6 and earlier were identified as affected, with product-specific applicability detailed in the vendor advisory.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
  5. Jul 9, 20265mo ago

    Second rogue administrator account is created and used

    The supports_unifi_system super-administrator account was created at 19:56:12 UTC, followed six seconds later by a login from 185.44.78.8. The same external address appeared in evidence associated with GHOSTWORKER installation.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
  6. Jun 27, 20265mo ago

    GHOSTWORKER implant and root cron persistence are installed

    The GHOSTWORKER executable at /bin/unifi_updater and its root reboot cron entry were written in the same minute on the compromised gateway. The cron entry was written 61 seconds after the last administrator-panel action associated with external address 185.44.78.8.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
  7. Jun 23, 20265mo ago

    CISA adds all three UniFi vulnerabilities to its KEV catalog

    CISA added CVE-2026-34908, CVE-2026-34909, and CVE-2026-34910 to its Known Exploited Vulnerabilities Catalog, confirming observed exploitation in the wild.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
  8. Jun 17, 20266mo ago

    Unauthorized unifi_support super-administrator account is created

    Controller records on the compromised UniFi Dream Machine Pro showed creation of the support-lookalike super-administrator account unifi_support. Investigators later concluded that the rogue accounts had been added outside the normal account-creation flow.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
  9. Reported Jun 9, 20266mo ago

    PwnDefend publishes azsxd analysis and detection rules

    PwnDefend analyzed an azsxd v2.0 sample as a Mirai/Gafgyt-derived implant and supplied Suricata, YARA, and Microsoft Sentinel detections for the exploit and payload activity. Static analysis did not recover the implant's live command-and-control endpoint.

    CVE-2026-34910 Exploitation ITW - building a botnet (MIRAI) - PwnDefend
  10. Reported Jun 9, 20266mo ago

    Captured UniFi exploitation deploys a Mirai/Gafgyt-derived bot

    PwnDefend documented an exploitation request from 176.65.148.183 that combined authentication bypass, traversal, and package-update command injection to retrieve the zok loader from 185.228.26.16. The loader deployed architecture-specific azsxd implants and deleted their executable files while leaving the processes running.

    CVE-2026-34910 Exploitation ITW - building a botnet (MIRAI) - PwnDefend
  11. Reported Jun 9, 20266mo ago

    Public exploit and detection tooling appears after SAB-064

    Public proof-of-concept and detection tooling reportedly appeared within days of the advisory, preceding opportunistic mass exploitation of exposed UniFi systems.

    CVE-2026-34910 Exploitation ITW - building a botnet (MIRAI) - PwnDefend
  12. May 21, 20267mo ago

    Ubiquiti discloses three critical UniFi vulnerabilities in advisory SAB-064

    Ubiquiti published SAB-064 covering CVE-2026-34908, CVE-2026-34909, and CVE-2026-34910, each rated CVSS 10.0. The vulnerabilities can be chained to obtain unauthenticated remote root-level access to affected UniFi systems.

    GHOSTWORKER: a stealth UniFi gateway implant that phones home over Google's DNS - OffSeq
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

2 linked

Affected products

2 linked
Unifi OsUnifi Os Server

Observables

22 linked

Indicator values are masked on this page. View all 22 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Correlate live exploitation activity against the software you actually run, and see where you're exposed.
See Who's Exploiting This
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.