Red Heron APT Weaponizes Gitea RCE: Automated Supply Chain Espionage and the SIXZUT Rootkit

🛡️ Verified Threat IntelDigitalSpying Research Desk
📅 September 14, 2026⏱️ 6 min read

Author: DigitalSpying Security Desk

Date: September 14, 2026

Executive Summary

In a sophisticated cyber espionage campaign targeting developers and software supply chain infrastructure, cybersecurity researchers from the Acronis Threat Research Unit (TRU) have detailed the operations of Red Heron, a state-aligned threat actor operating in a China-linked context. As reported by The Hacker News, the group rapidly weaponized CVE-2026-60004, a critical remote code execution (RCE) vulnerability in the popular open-source self-hosted Git platform Gitea, deploying an automated exploit framework across thousands of internet-facing servers.

The campaign has compromised at least 13 high-profile organizations across six nations—including Taiwan, the United States, Canada, Argentina, Qatar, and Sri Lanka—spanning critical sectors such as aerospace, defense, renewable energy, industrial automation, and government. Beyond intellectual property and source code theft, Red Heron demonstrated lethal lateral movement tradecraft: in one confirmed case, adversaries pivoted from a compromised Gitea server to achieve complete root-level control over a three-node Proxmox virtualization cluster. Forensics on the threat actor's staging infrastructure revealed a stealthy multi-tier Linux arsenal consisting of the JITTERLY modular C++ backdoor and SIXZUT, a novel LD_PRELOAD rootkit that hooks 15 core Linux functions to completely conceal attacker activity.

Deep-Dive Technical Analysis

1. Automated Exploitation: Weaponization of CVE-2026-60004

Following the public disclosure of CVE-2026-60004 in late July 2026, Red Heron transformed a basic proof-of-concept into a fully automated multi-threaded exploitation engine named exp_enhanced.py:

* Reconnaissance & Mass Scanning: The threat actor scanned 1,386 internet-facing Gitea deployments across seven countries, while maintaining a prioritized surveillance target list of 477 organizations in Taiwan.

* Turnkey Exploitation Workflow: The exp_enhanced.py framework automatically registers unprivileged user accounts on open Gitea instances, triggers the CVE-2026-60004 remote code execution vulnerability via malformed Git hook interactions, captures an initial interactive shell, clones all private repositories, and selectively purges HTTP server access logs to hinder forensic triage.

* Rapid N-Day Weaponization: Red Heron operationalized the automated framework within days of public vulnerability disclosure, illustrating how swiftly threat actors weaponize N-day vulnerabilities in self-hosted DevOps platforms.

Red Heron Attack & Escalation Kill Chain

Phase

Action

Impact

Initial Access

Automated Scanner (exp_enhanced.py) targets Port 3000

Identification of vulnerable Gitea instances

Exploitation

CVE-2026-60004 RCE Trigger

Initial interactive shell on host server

Persistence

Deployment of JITTERLY C++ Implant

Persistent C2 communication channel

Stealth

Installation of SIXZUT LD_PRELOAD Rootkit

Blinds EDR by patching 15 libc functions

Harvesting

Credential & Secret Scraping

Collection of SSH keys and CI/CD secrets

Lateral Movement

Pivot via SSH to Virtualization Hypervisor

Access to Proxmox management interfaces

Dominance

Full Root Access to 3-Node Cluster

Host control of all VM workloads and storage

2. Post-Exploitation Toolset: JITTERLY and the SIXZUT Rootkit

Forensic extraction of Red Heron’s operational staging server exposed an advanced, custom Linux post-exploitation ecosystem:

The JITTERLY Backdoor

JITTERLY is a monolithic, 64-bit C++ Linux ELF implant sharing architectural overlaps with the AdaptixC2 agent. The backdoor features over 30 distinct post-exploitation commands:

* Interactive pseudo-terminal (PTY) spawning.

* Bidirectional encrypted file transfer and memory execution.

* Dynamic SOCKS5 and TCP port forwarding for internal network pivoting.

* Process termination, memory injection, and anti-forensic log tampering.

The SIXZUT Stealth Rootkit

To ensure long-term persistence and evade host-based intrusion detection systems (HIDS), Red Heron deploys SIXZUT, an LD_PRELOAD shared library (/etc/ld.so.preload):

* Function Hooking: SIXZUT intercepts and hooks 15 core Linux glibc functions, including readdir, opendir, stat, lstat, fopen, access, unlink, and tcp4_seq_show.

* Tri-Level Concealment:

1. File Hiding: Suppresses any files or directories associated with attacker artifacts from file-listing utilities (ls, find).

2. Process Invisibility: Filters out JITTERLY process IDs from /proc/ and system monitoring tools (ps, top, htop).

3. Socket Hiding: Sanitizes /proc/net/tcp and /proc/net/tcp6, blinding tools like netstat, ss, and lsof to active C2 network connections.

* Resilience Mechanism: If JITTERLY is terminated by an administrator or watchdog script, SIXZUT intercepts the signal and immediately relaunches the implant from a concealed directory.

3. Lateral Movement: From Code Repository to Virtualization Infrastructure

In a critical intrusion analyzed in Taiwan, Red Heron demonstrated advanced infrastructure pivoting:

* Credential Harvesting from Repositories: Gitea repositories contained hardcoded deployment credentials, configuration files, and private SSH host keys used by continuous integration pipelines.

* Hypervisor Takeover: Armed with harvested credentials, the adversary hopped from the application container directly to the management interfaces of a three-node Proxmox Virtual Environment (PVE) cluster.

* Total Operational Dominance: Gaining root access across the hypervisor cluster allowed Red Heron to snapshot virtual disks, read unencrypted memory from co-hosted virtual machines, and establish secondary footholds across the entire enterprise infrastructure.

4. Compromised Intelligence Profile

Red Heron’s structured targeting focused heavily on intellectual property and operational technology:

* Industrial Automation (Taiwan): Hundreds of repositories covering SCADA/HMI control software, IoT cloud gateways, network sniffer code, and CCTV monitoring suites.

* Renewable Energy (Canada): Proprietary grid infrastructure mapping, configuration secrets, internal API tokens, and private SSH keys.

* Financial Technologies (Argentina): Source code and trading algorithms from a quantitative investment firm.

Industry Impact: The DevSecOps Security Blind Spot

Self-hosted development servers represent the central vault of modern enterprises:

* The Core Paradox of Self-Hosting: Many organizations self-host platforms like Gitea, GitLab, or Gogs to retain data sovereignty away from US cloud providers, yet fail to implement equivalent perimeter monitoring, hardening, and patch cadences.

* Hypervisor Exposure: Development servers often sit with direct network pathways to virtualization management planes, transforming a web application flaw into complete data center compromise.

Strategic Recommendations & Mitigations

1. Vulnerability Remediation & Network Isolation

* Upgrade Gitea Immediately: Update Gitea to the latest patched version containing fixes for CVE-2026-60004.

* Enforce Ingress Filtering: Never expose internal developer portals directly to the public internet. Restrict access via Zero Trust Network Access (ZTNA) or corporate VPNs requiring phishing-resistant MFA.

2. Rootkit Hunting & Integrity Verification

* Audit /etc/ld.so.preload: Inspect endpoints for unauthorized shared library paths:

cat /etc/ld.so.preload

* Use Statically Linked Tools for Triage: Because rootkits manipulate dynamic linker calls, utilize statically linked binaries (such as static busybox) to inspect processes, files, and sockets during forensic investigations.

* Audit Outbound Egress: Monitor perimeter firewalls for unexpected outbound TCP connections initiated by development servers to foreign IP addresses.

3. Hypervisor Hardening

* Segregate Management Networks: Isolate Proxmox, VMware ESXi, and cloud hypervisor management interfaces into dedicated, non-routable management VLANs accessible only from hardened bastion hosts.

* Eliminate Static Secrets in Repositories: Enforce pre-commit hooks (e.g., GitGuardian, TruffleHog) to detect and prevent developers from pushing SSH keys, passwords, and API credentials into source code repositories.

Classification:Cyber Security IntelligenceZero-Day AnalysisDefensive Engineering
🛡️

About the DigitalSpying Research Desk

The DigitalSpying Threat Intelligence Desk is composed of seasoned security researchers, reverse engineers, and blue team architects. Our mission is to publish reproducible, peer-audited threat analyses, hardware security evaluations, and defensive countermeasures.