Last Updated On

CCTTII--22002266--11001199
CCrriittiiccaall
AAccttiivvee  EExxppllooiittaattiioonn  CCoonnffiirrmmeedd

Citrix NetScaler Flaws and ConnectWise OAuth Breaches Demand Immediate Defense

A major cloud supply chain intrusion compromised ConnectWise multi tenant application secrets, granting unauthenticated adversaries administrative Microsoft Graph access across at least 173 customer Microsoft 365 tenants. In response, ConnectWise severed seven enterprise application identities and halted cloud backup and management operations internationally.

Concurrently, CISA confirmed active in the wild exploitation of critical flaws in enterprise infrastructure, including Citrix NetScaler memory buffer overflow vulnerability CVE-2026-88779 and BeyondTrust Remote Support zero day CVE-2026-102764. The BeyondTrust flaw has been actively exploited since late August 2026 by suspected China nexus group ARMORY CASTLE to deploy SAWFLY webshells, dump internal credential vaults, and tunnel traffic via BARECLAW proxies.

Simultaneously, active attacks are weaponizing SiteGuard Web Application Firewall flaw CVE-2026-106931 for root privilege escalation, while open source supply chain campaigns GhostAction and REF8801 target developers with trojanized font files and malicious npm packages. Enterprise defenders must immediately audit Entra ID service principal logs, isolate unpatched management appliances, and enforce rigorous secrets governance across all cloud integrations.

#CyberSecurity #ThreatIntelligence #CloudSecurity #Microsoft365 #SupplyChain #ApplicationSecurity #IncidentResponse #SOC

9.3

CVSS Score

21

IOC Count

18

Source Count

88

Confidence Score

CVEs

CVE-2026-88779, CVE-2026-102764, CVE-2026-106931, CVE-2026-88771, CVE-2026-88772, CVE-2026-96652, CVE-2026-96654, CVE-2026-96655, CVE-2026-96656

Actors

ARMORY CASTLE (formerly UNC5221), GhostAction Campaign Group, REF8801 Cluster, Unattributed Threat Groups

Sectors

Managed Service Providers, Cloud Infrastructure Providers, Information Technology, Financial Services, Software Development, Web3 and Cryptocurrency Startups, Media Streaming Services, Telecommunications, Architecture and Engineering, Education and Government Services

Regions

North America, Europe, Asia Pacific, Belgium, Global Cloud Environments

Chapter 01 - Executive Overview

[+] ConnectWise Cloud Identity Compromise: Threat actors acquired valid multi tenant OAuth application secrets for ConnectWise Cloud Backup (formerly SkyKick), authenticating directly against Microsoft Entra ID to breach at least 173 downstream Microsoft 365 customer environments without triggering multi factor authentication or conditional access rules.

[+] Citrix NetScaler Memory Corruption Zero Day: CISA confirmed active exploitation of CVE-2026-88779 in Citrix NetScaler ADC and Gateway appliances, warning that forced memory buffer overflows cause reboots that can trigger execution of payloads previously staged via related zero days CVE-2026-88771 and CVE-2026-88772.

[+] BeyondTrust Remote Support Espionage: Suspected China nexus actor ARMORY CASTLE exploited unauthenticated origin validation flaw CVE-2026-102764 from late August 2026 to obtain root control, harvest credential vaults, deploy the SAWFLY webshell, establish BARECLAW proxy tunnels, and pivot into internal networks via legitimate support jump sessions.

[+] SiteGuard Web Application Firewall Command Injection: Threat actors are actively weaponizing CVE-2026-106931 in SiteGuard Server Edition, exploiting statistics processing routines to achieve local privilege escalation to root on Linux hosts and SYSTEM on Windows IIS instances.

[+] Developer Supply Chain Poisoning Operations: The GhostAction campaign compromised 94 GitHub repositories using malicious workflows and fake font files (fa-solid-400.woff2) to steal cloud keys, while the REF8801 cluster weaponized npm package @apexacc/cli under the guise of a Web3 accelerator to hijack artificial intelligence coding agent traffic.

[+] Unpatched Broadcom Wireless Firmware Flaw: Independent security research demonstrated that improper reassembly of fragmented WiFi Protected Setup packets allows unauthenticated adversaries within radio range to execute code as root on home and small business routers without knowing the network password.

[+] Immediate Strategic Priorities: Enterprise security leaders must immediately verify the disablement of seven ConnectWise Entra application identities, audit tenant logs for unauthorized Graph activity, deploy vendor security updates across Citrix NetScaler and BeyondTrust appliances, and quarantine suspicious developer dependencies.

Chapter 02 - Threat & Exposure Analysis

[+] ConnectWise Multi Tenant OAuth Secret Exploitation: Unidentified threat actors abused compromised API secrets belonging to ConnectWise Cloud Backup application identity 506e08f9-6e9a-4da4-942b-a099a03644ae and MS Teams identity 24205314-2b89-4e07-a2a4-579e898a5640. Authenticating directly to hxxps://login[.]microsoftonline[.]com via the OAuth 2.0 client credentials grant, the attackers bypassed user level authentication controls entirely. Telemetry reveals unauthorized requests originating from 144.172.64[.]128, 144.172.64[.]99, and 144.172.64[.]60, querying high privilege scopes (Directory.Read.All, Mail.ReadWrite, Files.ReadWrite.All) across 173 enterprise customer tenants to harvest mailboxes and SharePoint repositories.

[+] Citrix NetScaler Appliance Memory Buffer Manipulation: Adversaries are actively weaponizing CVE-2026-88779 across internet accessible NetScaler ADC and Gateway deployments. The weakness stems from improper memory buffer boundary restrictions. While vendor advisories initially characterized the flaw as leading to denial of service, CISA alert telemetry highlights a dangerous exploitation chain: adversaries induce controlled service crashes and appliance reboots to force the execution of arbitrary code previously injected through zero day flaws CVE-2026-88771 and CVE-2026-88772.

[+] ARMORY CASTLE Infiltration of BeyondTrust Remote Support: Threat group ARMORY CASTLE (formerly UNC5221) maintained covert footholds in self hosted BeyondTrust Remote Support appliances running version 26.2.3 and earlier since August 29, 2026. Exploiting origin validation weakness CVE-2026-102764 (CWE 290), the attackers sent unauthenticated POST requests to staging endpoints, dropping the SAWFLY webshell (mangoapi.php) inside Laravel web paths. They elevated privileges by copying /bin/sh to /usr/bin/dbus-authd with SUID bits set, modified HAProxy configurations to route incoming WebSocket traffic on path /uidchanarge to internal listener port 19800 running the BARECLAW SOCKS5 proxy, and extracted secrets using /ns/sbin/bt-secrets get vault. The actor systematically purged /ns/log/* files to hinder local forensics.

[+] SiteGuard Server Edition Statistics Processing Vulnerability: Host based SiteGuard WAF installations running version 2.20 through 8.00 Update 4 (excluding specific IIS builds) contain an active command injection vulnerability in their statistics module, tracked as CVE-2026-106931. An attacker possessing local low privilege access passes unvalidated metacharacters into the statistics processing routines, triggering shell execution as root or NT AUTHORITY SYSTEM. This allows adversaries who have gained an initial low privilege foothold on a web server to completely seize underlying host operating systems.

[+] GhostAction and REF8801 Developer Targeted Supply Chain Operations: The GhostAction campaign compromised 94 public GitHub repositories, weaponizing automated actions and distributing stealer binaries hidden within font files (fa-solid-400.woff2). These stealers harvest cloud infrastructure tokens, Kubernetes configs, and artificial intelligence API keys, maintaining persistence via recurring five minute cron tasks. Simultaneously, threat group REF8801 launched the Apex Accelerator campaign, publishing weaponized npm packages including @apexacc/cli. The malware installs cross platform stealers and backdoors while intercepting artificial intelligence coding agents, redirecting model requests through adversary controlled servers and returning fabricated security audit findings.

[+] Broadcom Wireless Protected Setup Memory Corruption: Security research revealed that Broadcom router firmware incorrectly reassembles fragmented WiFi Protected Setup messages. A remote adversary located within physical wireless radio range can transmit crafted frame sequences that corrupt kernel memory, allowing complete pre authentication remote code execution as root and cleartext extraction of the WiFi pre shared key without needing network association or PIN authentication.

Chapter 03 - Operational Response

[+] Immediate ConnectWise Containment Actions: Access the Microsoft Entra admin center under Enterprise Applications and immediately verify that Enabled for users to sign in? is set to No for all seven reported application identities, including 506e08f9-6e9a-4da4-942b-a099a03644ae and 24205314-2b89-4e07-a2a4-579e898a5640. Do not delete the service principals, as deletion erases critical sign in audit history necessary for scoping adversary access. Execute Microsoft Graph PowerShell commands to revoke active service principal OAuth refresh tokens and invalidate established non interactive sessions. Query Entra ID service principal logs and Microsoft 365 Unified Audit Logs for sign ins from 144.172.64[.]128, 144.172.64[.]99, and 144.172.64[.]60 dating back to October 1, 2026.

[+] Citrix NetScaler Remediation and Integrity Verification: Inventory all customer managed NetScaler ADC and Gateway appliances, identifying publicly exposed virtual servers and management interfaces. Immediately apply vendor recommended security update builds for CVE-2026-88779. If emergency maintenance windows cannot be scheduled immediately, isolate appliance management interfaces behind administrative jump hosts, enforce strict access control lists, and implement upstream rate limiting. Conduct immediate forensic sweeps for unexpected appliance reboots, core dumps, and modified system binaries that would indicate prior staging of code via CVE-2026-88771.

[+] BeyondTrust Appliance Response and Credential Rotation: Isolate vulnerable self hosted BeyondTrust Remote Support appliances running version 26.2.3 or earlier. Snapshot system memory and disks to preserve evidence before applying vendor patch BT26-05-RS. Check file systems for known adversary artifacts including /usr/bin/dbus-authd, /home/bomgar/sbin/post_boot.d/zz-root-persist, and Laravel web paths containing mangoapi.php. Because ARMORY CASTLE extracts vaulted credentials and establishes persistent sudo templates that survive restarts, any compromised appliance must be cleanly rebuilt rather than patched in place. Following rebuild, rotate all administrative credentials, API keys, Active Directory service accounts, SAML signing certificates, and local vault secrets in strict sequence.

[+] SiteGuard WAF Patching Protocol: Verify SiteGuard Server Edition platform versions and check if statistics processing is active. Apply official vendor update 8.00 Update 5 (or 7.00 Update 6 for FreeBSD architectures). For legacy or end of life instances unable to undergo immediate full version upgrades, apply the standalone vendor statistics component replacement patch. Ensure diagnostic logging and access logs are mirrored to an off box syslog repository prior to patch application to prevent evidence destruction.

[+] Developer Workspace and Dependency Sanitation: Scan developer endpoints, build pipelines, and package lock files for @apexacc/cli, imgdecode, and unauthorized GitHub Actions workflows referencing my-github[.]com. Terminate developer crontabs executing unrecognized scripts every 300 seconds. Developers who executed untrusted packages must immediately rotate all local AWS credentials, Google Cloud tokens, Kubernetes cluster certificates, and external artificial intelligence provider keys (Anthropic, OpenAI, Google Gemini). Configure network boundaries to restrict developer workstations from transmitting model inference traffic to unauthorized endpoints.

[+] Broadcom Wireless Infrastructure Hardening: Identify all enterprise and teleworker network routers utilizing Broadcom wireless chipsets. Disable WiFi Protected Setup functionality across all wireless access points. Segment corporate networks from unmanaged wireless routers, transition administrative traffic to dedicated encrypted virtual private network tunnels, and monitor access point logs for anomalous fragmented frame bursts.

Timestamp

Incident Association

Event Description

Source Validation

2026-08-29 00:00 UTC

BeyondTrust Remote Support

Initial zero day exploitation of self hosted appliance observed by threat researchers

Vendor Advisory and Consulted Sources

2026-09-27 00:00 UTC

Citrix NetScaler

CISA issues emergency KEV alert regarding active zero day exploitation of CVE-2026-88771 and CVE-2026-88772

Consulted Sources

2026-09-30 00:00 UTC

Developer Supply Chain

Malicious npm package imgdecode published by actor malfexteste8

Consulted Sources

2026-10-09 17:00 UTC

GhostAction Campaign

Adversary registers phishing and distribution domain my-github[.]com resolving to 193.32.204[.]199

Consulted Sources

2026-10-14 00:00 UTC

SiteGuard WAF

JVN coordinates public disclosure of CVE-2026-106931 following confirmed active exploitation

Consulted Sources

2026-10-14 00:00 UTC

ConnectWise Cloud

ConnectWise security operations identify suspicious access patterns within application infrastructure

Vendor Bulletin

2026-10-15 06:13 UTC

ConnectWise Cloud

First confirmed unauthorized service principal authentication from adversary IP 144.172.64[.]128

Consulted Sources

2026-10-15 07:11 UTC

ConnectWise Cloud

Managed security providers detect irregular Microsoft Graph API directory scraping across client tenants

Consulted Sources

2026-10-16 00:00 UTC

OpenCode Console

Threat actor accesses legacy server, potentially exposing user stored third party artificial intelligence API keys

Vendor Notice

2026-10-16 00:00 UTC

Broadcom Wireless

Security researcher publicly demonstrates root remote code execution proof of concept against Broadcom WPS

Consulted Sources

2026-10-16 00:00 UTC

BeyondTrust Remote Support

CISA adds CVE-2026-102764 to Known Exploited Vulnerabilities catalog with immediate compliance mandate

Consulted Sources

2026-10-17 05:11 UTC

ConnectWise Cloud

ConnectWise issues global service suspension notice for Cloud Backup and associated SaaS management tools

Vendor Bulletin

2026-10-17 07:00 UTC

ConnectWise Cloud

ConnectWise revokes shared OAuth credentials and disables seven multi tenant Entra application identities

Vendor Bulletin

2026-10-17 00:00 UTC

Plex Media Server

Security researchers observe public exploit weaponization in honeypots deploying XMRig and proxy tooling

Consulted Sources

2026-10-18 00:00 UTC

Citrix NetScaler

CISA officially adds memory buffer overflow vulnerability CVE-2026-88779 to the KEV catalog

Consulted Sources

2026-10-18 18:45 UTC

ConnectWise Cloud

ConnectWise publishes updated threat advisory adding adversary ingress IPs 144.172.64[.]99 and 144.172.64[.]60

Vendor Bulletin

2026-10-19 19:24 UTC

Consolidated Synthesis

Comprehensive intelligence cutoff establishing unified cross incident threat matrix

Analytical Synthesis

Chapter 04 - Detection Intelligence

[+] Mechanics of ConnectWise Application Identity Impersonation: Adversaries capitalized on compromised client secrets and certificates belonging to high privilege multi tenant applications. Using the standard OAuth 2.0 client credentials grant, the threat actor issued HTTP POST requests directly to Microsoft Entra token endpoints: hxxps://login[.]microsoftonline[.]com/{tenant-id}/oauth2/v2.0/token with parameters specifying client_id=506e08f9-6e9a-4da4-942b-a099a03644ae, scope=hxxps://graph[.]microsoft[.]com/.default, and grant_type=client_credentials. Upon receipt of valid JSON Web Tokens (JWT), the adversary automated calls to Graph endpoints, enumerating directory structures via /v1.0/users, accessing executive mailboxes via /v1.0/users/{id}/messages, and scraping sensitive corporate documentation via /v1.0/drives/{id}/root/children. Because authentication operated at the application layer rather than in user context, traditional conditional access policies requiring multi factor authentication and compliant device state were completely bypassed.

+-----------------------------------------------------------------------------------+
| Adversary Ingress Infrastructure                                                  |
| IPs: 144.172.64[.]128 / 144.172.64[.]99 / 144.172.64[.]60                        |
+-----------------------------------------------------------------------------------+
                                         |
                                         | 1. HTTP POST with Leaked Client Secret
                                         v
+-----------------------------------------------------------------------------------+
| Microsoft Entra ID Token Endpoint (login[.]microsoftonline[.]com)                |
| App ID: 506e08f9-6e9a-4da4-942b-a099a03644ae (ConnectWise Cloud Backup)          |
+-----------------------------------------------------------------------------------+
                                         |
                                         | 2. Issues High Privilege Graph Bearer JWT
                                         v
+-----------------------------------------------------------------------------------+
| 173 Downstream Customer Microsoft 365 Tenants                                     |
| [+] Scopes: Directory.Read.All, Mail.ReadWrite, Files.ReadWrite.All               |
| [+] Unchecked Extraction: Mailboxes, Teams Chats, SharePoint File Trees           |
| [+] Complete User Level MFA and Conditional Access Bypass

[+] BeyondTrust Infiltration and Persistence Toolchain: In the ARMORY CASTLE intrusion sequence, exploitation of CVE-2026-102764 begins with unauthenticated file manipulation via a staging script /app_84304470%2Ephp. This script drops the SAWFLY webshell into /%SITE_SERVICE_ACCOUNT%/ingredi/app/laravel/public/mangoapi.php. SAWFLY checks incoming HTTP POST requests for parameter _c94mfe. If missing, it returns a deceptive HTTP 404 status. When present, the webshell Base32 decodes the payload, decrypts it using RC4 with a hardcoded 32 byte key, and executes the code via @eval(). Output is encrypted and encoded symmetrically. The adversary then creates an elevated SUID shell by executing cp /bin/sh /usr/bin/dbus-authd && chmod 4755 /usr/bin/dbus-authd. For persistence, the actor installs /home/bomgar/sbin/post_boot.d/zz-root-persist, which appends ALL=(ALL) NOPASSWD: ALL to /ns/config/sudoers.template and invokes bt-sysconfig --no-restart misc, ensuring root access survives system restarts and firmware rebuilds. Ingress tunneling is maintained via BARECLAW, a compiled C binary (/tmp/ingredi_ws) listening on localhost port 19800. The actor injects an ACL rule wswsws into /ns/config/haproxy.conf matching path /uidchanarge, allowing external attackers to tunnel raw SOCKS5 traffic directly into the appliance over standard HTTPS connections.

[+] Citrix NetScaler Memory Corruption and Reboot Trigger Mechanics: Vulnerability CVE-2026-88779 manifests in the NetScaler Packet Processing Engine (PPE) due to bounds verification errors when handling crafted TCP packet sequences. When an attacker delivers malformed payloads to public facing virtual server listeners, an internal buffer overflow occurs in non paged kernel memory. While excessive memory corruption results in an immediate daemon crash and kernel panic, adversaries strategically weaponize this crash state. Under NetScaler High Availability (HA) configurations or standalone watchdog architectures, the crash forces an automated system restart. If an attacker has previously placed an in memory implant or modified local boot files via CVE-2026-88771, the forced reboot triggered by CVE-2026-88779 executes the dormant secondary payload with elevated privileges during the boot cycle.

Observable Value

Indicator Type

Context and Attribution

Verification Status

144.172.64[.]128

IPv4 Address

ConnectWise adversary authentication source

Confirmed Malicious

144.172.64[.]99

IPv4 Address

ConnectWise secondary attack infrastructure

Confirmed Malicious

144.172.64[.]60

IPv4 Address

ConnectWise tertiary attack infrastructure

Confirmed Malicious

193.32.204[.]199

IPv4 Address

GhostAction C2 and exfiltration endpoint

Confirmed Malicious

my-github[.]com

Domain Name

GhostAction phishing and payload hosting

Confirmed Malicious

my-gitlab[.]com

Domain Name

Suspected GhostAction staging infrastructure

Low Confidence Tracking

506e08f9-6e9a-4da4-942b-a099a03644ae

Entra App GUID

ConnectWise Cloud Backup (SkyKick)

Compromised Application

24205314-2b89-4e07-a2a4-579e898a5640

Entra App GUID

ConnectWise Cloud Management MS Teams

Compromised Application

239d300-6fca-4e6a-a686-399fefe75b83

Entra App GUID

ConnectWise Cloud Management

Suspended Application

b78f6a77-d4e5-46fb-87e5-d1648bd02519

Entra App GUID

ConnectWise Cloud Management Exchange Online

Suspended Application

0de14c77-b9b0-4137-9360-34878a929827

Entra App GUID

ConnectWise Cloud Management MS Graph

Suspended Application

412dcf96-176d-4b1a-4da4-942b-a099a03644ae

Entra App GUID

ConnectWise Cloud Management Partner Center

Suspended Application

b2b55f5b-7758-4719-8d8f-88ae172e6bdb

Entra App GUID

ConnectWise Cloud Management SharePoint Online

Suspended Application

@apexacc/cli

npm Package

REF8801 malicious CLI tool

Confirmed Malicious

imgdecode

npm Package

MALFEX supply chain dependency

Confirmed Malicious

malfexteste8

npm User Account

Author of malicious supply chain packages

Confirmed Malicious

dc14e215269a93fdbc4c1a80b984c23faf7af0911c6dbb85309796a6f2ae95fb

SHA-256 Hash

SAWFLY webshell mangoapi.php

Confirmed Malicious

1f19b9a27d79c11bda00a1e8faf74a7fdd683d38ccef1b60df2fd0307e3aa462

SHA-256 Hash

BARECLAW tunneling binary ingredi_ws

Confirmed Malicious

/usr/bin/dbus-authd

File Path

SUID root shell dropped by ARMORY CASTLE

Confirmed Host Artifact

/home/bomgar/sbin/post_boot.d/zz-root-persist

File Path

Persistent sudo template injection script

Confirmed Host Artifact

public/fonts/fa-solid-400.woff2

File Path

GhostAction stealer executable disguised as font

Confirmed Malicious

1. SIGMA Rule: Suspicious ConnectWise Service Principal Sign In

title: Unauthorized ConnectWise Service Principal Sign In From Known Adversary IP
id: c4e8b2a1-7d3f-4e92-b816-f308945a192b
status: experimental
description: Detects Microsoft Entra ID service principal sign ins associated with ConnectWise application identities originating from documented adversary IP infrastructure.
references:
    - hxxps://www.connectwise[.]com/company/trust/advisories
author: CTI Detection Engineering
date: 2026-10-19
logsource:
    service: signinlogs
    product: azure
detection:
    selection_apps:
        AppId:
            - '506e08f9-6e9a-4da4-942b-a099a03644ae'
            - '24205314-2b89-4e07-a2a4-579e898a5640'
            - '239d300-6fca-4e6a-a686-399fefe75b83'
            - 'b78f6a77-d4e5-46fb-87e5-d1648bd02519'
            - '0de14c77-b9b0-4137-9360-34878a929827'
            - '412dcf96-176d-4b1a-4da4-942b-a099a03644ae'
            - 'b2b55f5b-7758-4719-8d8f-88ae172e6bdb'
    selection_network:
        IPAddress:
            - '144.172.64.128'
            - '144.172.64.99'
            - '144.172.64.60'
    condition: selection_apps or selection_network
falsepositives:
    - Highly unlikely unless IP addresses are legitimately reassigned to corporate infrastructure.
level: critical
tags:
    - attack.initial_access
    - attack.t1199
    - attack.t1078.004

2. YARA Rule: ARMORY CASTLE Backdoors and Webshells

rule Backdoor_Linux_ARMORYCASTLE_BARECLAW {
    meta:
        description = "Detects BARECLAW SOCKS5 WebSocket tunneling utility deployed by ARMORY CASTLE"
        author = "CTI Detection Engineering"
        date = "2026-10-19"
        severity = "CRITICAL"
        reference = "BT26-05-Analysis"
    strings:
        $s1 = "[%s ws_socks5d] " ascii wide
        $s2 = "--obfs requires --token" ascii wide
        $s3 = "mux: %s (frame[%lu]: %s)" ascii wide
        $s4 = "cannot create stream pump/writer thread" ascii wide
        $s5 = "--ws-path must start with '/'" ascii wide
        $b_xorshift = { 48 c1 e0 17 48 31 c1 48 89 f0 48 c1 e8 1a 48 31 f0 48 31 c8 48 c1 e9 11 48 31 c8 }
    condition:
        uint32(0) == 0x464c457f and (3 of ($s*) or $b_xorshift)
}

rule Webshell_PHP_ARMORYCASTLE_SAWFLY {
    meta:
        description = "Detects SAWFLY obfuscated PHP webshell deployed on BeyondTrust appliances"
        author = "CTI Detection Engineering"
        date = "2026-10-19"
        severity = "CRITICAL"
    strings:
        $param = "_c94mfe" ascii wide
        $b32 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567" ascii wide
        $rc4 = "range(0,255)" ascii wide
        $eval = "@eval(" ascii wide
        $code404 = "http_response_code(404)" ascii wide
    condition:
        filesize < 25KB and all of them
}

3. YARA Rule: GhostAction Disguised Font Infostealer

rule Infostealer_GhostAction_FakeFont_Payload {
    meta:
        description = "Identifies executable binaries masquerading as font files in developer repositories"
        author = "CTI Detection Engineering"
        date = "2026-10-19"
        severity = "HIGH"
    strings:
        $magic_pe = { 4D 5A }
        $magic_elf = { 7F 45 4C 46 }
        $tok1 = "api.anthropic.com" ascii wide
        $tok2 = "generativelanguage.googleapis.com" ascii wide
        $tok3 = "/.aws/credentials" ascii wide
        $tok4 = "/.kube/config" ascii wide
        $font_name = "fa-solid-400.woff2" ascii wide
    condition:
        ($magic_pe at 0 or $magic_elf at 0) and 2 of ($tok1, $tok2, $tok3, $tok4, $font_name)
}

4. Microsoft Sentinel KQL Hunting Queries

// Hunt for unauthorized service principal operations across Microsoft 365 services
AADServicePrincipalSignInLogs
| where TimeGenerated >= ago(14d)
| where AppId in (
    "506e08f9-6e9a-4da4-942b-a099a03644ae",
    "24205314-2b89-4e07-a2a4-579e898a5640",
    "239d300-6fca-4e6a-a686-399fefe75b83",
    "b78f6a77-d4e5-46fb-87e5-d1648bd02519",
    "0de14c77-b9b0-4137-9360-34878a929827",
    "412dcf96-176d-4b1a-4da4-942b-a099a03644ae",
    "b2b55f5b-7758-4719-8d8f-88ae172e6bdb"
  )
| where IPAddress in ("144.172.64.128", "144.172.64.99", "144.172.64.60") or Location !in ("ApprovedCorporateLocations")
| project TimeGenerated, AppId, ServicePrincipalName, IPAddress, Location, ResourceDisplayName, ResultType, CorrelationId
// Hunt for mailbox manipulation or mass file access following service principal authentication
CloudAppEvents
| where TimeGenerated >= ago(7d)
| where ActionType in ("New-InboxRule", "Set-Mailbox", "Add-MailboxPermission", "FileDownloaded", "MailItemsAccessed")
| where RawEventData has_any ("506e08f9-6e9a-4da4-942b-a099a03644ae", "24205314-2b89-4e07-a2a4-579e898a5640")
| project TimeGenerated, AccountDisplayName, ActionType, IPAddress, RawEventData

Technique ID

Technique Name

D3FEND Countermeasure

Behavioral Context and Mapping Rationale

T1199

Trusted Relationship

D3-URA User Rights Allocation

Abuse of trusted multi tenant OAuth application authorizations granted to ConnectWise services

T1195.002

Supply Chain: Compromise Software Supply Chain

D3-SCA Software Composition Analysis

Weaponization of npm packages by REF8801 and GitHub Actions workflows by GhostAction

T1190

Exploit Public Facing Application

D3-IBF Inbound Traffic Filtering

Exploitation of unauthenticated flaws in Citrix NetScaler, BeyondTrust, and SiteGuard WAF

T1078.004

Valid Accounts: Cloud Accounts

D3-MFA Multi Factor Authentication

Threat actors authenticating as multi tenant Entra ID service principals using leaked secrets

T1098

Account Manipulation

D3-CAA Credential Access Analysis

Modification of BeyondTrust user jump roles and tampering with Entra application permissions

T1068

Exploitation for Privilege Escalation

D3-PEA Process Execution Analysis

SiteGuard statistics parsing flaw weaponized to execute shell commands as root or SYSTEM

T1505.003

Web Shell

D3-FIM File Integrity Monitoring

Implantation of SAWFLY PHP webshell (mangoapi.php) inside web directories

T1548.001

Setuid and Setgid

D3-FPA File Permission Analysis

ARMORY CASTLE copying /bin/sh to /usr/bin/dbus-authd with SUID root privileges

T1548.003

Sudo and Sudo Caching

D3-SCA Sudo Configuration Analysis

Persistent injection of passwordless sudo privileges into sudoers.template

T1555

Credentials from Password Stores

D3-CBA Credential Bound Authentication

Extraction of encrypted appliance secrets via /ns/sbin/bt-secrets get vault

T1552.001

Credentials In Files

D3-SCS Secret Scanning

Scraping of .aws/credentials, Kubernetes tokens, and AI keys from developer environments

T1053.003

Cron Execution

D3-POA Process Origin Analysis

Execution of scheduled crontabs every 300 seconds to maintain developer workstation footholds

T1070.004

File Deletion

D3-LAM Log Audit Monitoring

Systematic deletion of logs under /ns/log/* and /var/log/messages to remove intrusion traces

T1090

Proxy

D3-NBA Network Behavioral Analysis

Deployment of BARECLAW SOCKS5 proxy to establish covert interactive tunnels

T1572

Protocol Tunneling

D3-PRA Protocol Analysis

BARECLAW proxy multiplexing network traffic over WebSockets via HAProxy paths

T1219

Remote Access Software

D3-RASM Remote Access Session Monitoring

Exploitation of native BeyondTrust jump sessions to move laterally to internal endpoints

T1499

Endpoint Denial of Service

D3-TH System Crash Monitoring

Exploitation of memory corruption in Citrix NetScaler causing controlled appliance reboots

T1203

Exploitation for Client Execution

D3-WIF Wireless Frame Inspection

Broadcom WiFi Protected Setup fragmented message manipulation leading to memory corruption

T1566.002

Phishing: Spearphishing Link

D3-MEF Mail and Message Filtering

GhostAction campaign phishing lures driving traffic to fraudulent domain my-github[.]com

T1041

Exfiltration Over C2 Channel

D3-EDL Egress Domain Limiting

Exfiltration of captured system metadata and credentials to IP 193.32.204[.]199

Chapter 05 - Governance, Risk & Compliance

[+] Mandated Regulatory Reporting Windows: The compromise of Microsoft 365 customer environments through ConnectWise application identities triggers mandatory reporting thresholds under European Union General Data Protection Regulation (GDPR) Articles 33 and 34. Data controllers whose Exchange Online mailboxes, Teams messages, or SharePoint repositories were accessed without authorization must notify supervisory authorities within 72 hours of verification.

[+] Public Disclosure and Materiality Assessments: United States organizations subject to Securities and Exchange Commission (SEC) cyber disclosure guidelines must assess whether operational impacts resulting from the ConnectWise service shutdown or unauthorized data harvesting meet Form 8K Item 1.05 materiality criteria.

[+] Federal Compliance Directives: Federal Civilian Executive Branch agencies operating self hosted BeyondTrust Remote Support appliances face mandatory remediation requirements under CISA Binding Operational Directive (BOD) enforcement schedules for CVE-2026-102764, requiring full verification of vendor patch BT26-05-RS or clean system reimaging.

[+] Third Party Integration Governance Architecture: Risk management programs must mandate quarterly recertification for all enterprise applications holding tenant wide Microsoft Graph scopes (*.All). Multi tenant SaaS integrations possessing application permissions without user presence must be documented in formal vendor risk registries with contractual incident notification clauses requiring notification within 24 hours of suspected key exposure.

Chapter 06 - Adversary Emulation

Purple Team Scenario 1: Non Interactive Service Principal Authentication Simulation

# Phase 1: Emulate Application Token Issuance Against Non-Production Tenant
# Objective: Verify SIEM detection of non-interactive OAuth client credentials flow
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" \
  -d "client_id=${TEST_SERVICE_PRINCIPAL_ID}&scope=https://graph.microsoft.com/.default&client_secret=${TEST_CLIENT_SECRET}&grant_type=client_credentials" \
  hxxps://login[.]microsoftonline[.]com/${TEST_TENANT_ID}/oauth2/v2.0/token

# Expected Telemetry:
# Entra ID Sign-in log generated with AppId matching test application.
# Alert fires if source IP falls outside designated administrative egress gateways

Purple Team Scenario 2: Host SUID Shell and Sudoers Template Modification

# Phase 2: Emulate ARMORY CASTLE Persistence in Isolated Linux Testbed
# Objective: Trigger file integrity and process execution alerting
sudo cp /bin/sh /tmp/test-dbus-authd
sudo chown root:root /tmp/test-dbus-authd
sudo chmod 4755 /tmp/test-dbus-authd

# Emulate template tampering
echo "# Test audit persistence line" >> /tmp/simulated_sudoers.template

# Expected Telemetry:
# EDR alerts on SUID bit assignment to shell binary in non-standard path.
# File integrity monitoring alerts on modification to template sudoers configuration

Purple Team Scenario 3: Automated Dependency Risk Evaluation

# Phase 3: Validate CI/CD Pipeline Dependency Admission Controls
# Objective: Ensure pipeline blocks suspicious npm packages
# Note: Execute only in an isolated sandbox environment
npm view @apexacc/cli --json > /tmp/apex_metadata.json
grep -Ei "(Apex Accelerator|free artificial intelligence)" /tmp/apex_metadata.json

# Expected Telemetry:
# Software Composition Analysis (SCA) tool flags package as untrusted or quarantined

Intelligence Confidence88%

Incident Cluster

Assessed Score

Methodological Rationale and Evidence Weighting

ConnectWise Tenant Intrusions

88/100

Strong evidence based on direct ConnectWise advisories, verified multi tenant abuse across 173 customer tenants, and corroborated network indicators. Attribution remains formally unattributed.

BeyondTrust CVE-2026-102764

92/100

Very high confidence based on comprehensive primary technical research by Google Threat Intelligence Mandiant, vendor advisory BT26-05, and CISA KEV listing confirming active exploitation.

Citrix NetScaler CVE-2026-88779

90/100

High confidence driven by authoritative CISA KEV catalog inclusion confirming active exploitation in the wild, supported by prior documented vulnerability chains.

SiteGuard WAF CVE-2026-106931

86/100

High confidence based on JVN and JPCERT CC official national coordinating advisories confirming active exploitation in wild environments.

Developer Supply Chain Clusters

80/100

Moderate to high confidence supported by Elastic Security Labs and independent threat research; specific campaign labels tracked without definitive nation state attribution.

Broadcom WPS Flaw

74/100

Moderate confidence based on public researcher proof of concept and technical demonstrations; malicious in the wild exploitation remains unconfirmed.