Chinese language hackers maintained management over the goal group’s authentication stack and sustained full visibility into administrative actions for a decade.
The intrusion, dubbed “Operation Highland,” is believed to be the work of the cyber-espionage menace group Velvet Ant, which focused susceptible internet-facing methods earlier than transferring to networks with no direct exterior path.
Chinese language hackers from the “Velvet Ant” exercise cluster have been conducting cyberespionage operations for a decade, infiltrating remoted crucial infrastructure networks of huge organizations.
The marketing campaign, dubbed “Operation Highland” by the Signia researchers who found it, started in 2016 and focused susceptible internet-connected methods earlier than transferring to “air-gapped” environments, which aren’t immediately linked to the web.
Velvet Ant’s long-running espionage efforts have been documented in 2024, when Sygnia warned of a marketing campaign focusing on F5 BIG-IP gadgets that had been working undetected for 3 years.
Additionally in 2024, Cisco warned of a zero-day in NX-OS operating on Nexus switches that was exploited by Velvet Ant to realize entry to targets.
Velvet Ant assault chain
The assault begins with a compromise of an internet-connected server, however the researchers didn’t point out the particular merchandise or vulnerabilities used.
Velvet Ant launched a modified GS-Netcat reverse shell that masqueraded as a legit system part, linked to a hardcoded relay area, and supplied encrypted distant shell entry.
The shell achieved persistence by way of a malicious systemd service or modification of the startup script.

Supply: Signia
Subsequent, Velvet Ant put in a customized SOCKS5 proxy for community visitors tunneling, permitting entry to inside methods that aren’t immediately accessible from the Web.
The proxy ran as a daemon disguised as “smbd -D” and used totally different filenames and ports on every host, turning the compromised server into an inside pivot level.

Supply: Signia
Probably the most attention-grabbing a part of the assault was constructing a distant execution path on an remoted community.
To perform this, Velvet Ant modified the configuration of a compromised internet-facing Nginx server to proxy specifically crafted requests to the compromised backend server.
The Nginx configuration on the backend server was additionally modified to ahead requests to a FastCGI course of (fcgiwrap) listening on a distinct port.
The FastCGI wrapper acted as an execution bridge, dealing with requests and launching a customized binary named ‘uptime’.
The instrument established an SSH connection to a system in an remoted crucial infrastructure community utilizing the parameters specified within the HTTP POST request.
“By chaining collectively these adjustments, Velvet Ant established a distant execution path into the remoted surroundings through a easy HTTP request with out requiring direct connectivity to crucial infrastructure networks.” – Signia
Having established entry to the remoted surroundings, Velvet Ant shifted its focus to long-term persistence and credential theft by focusing on Linux Pluggable Authentication Modules (PAM), a set of libraries that enable directors to configure how customers are authenticated.
The attackers changed the legit “pam_unix.so” module with a backdoor model that accepts hardcoded passwords to reap person credentials.
Sygnia has recognized 9 totally different variants of malicious PAM modules. Every of those was compiled in a separate construct surroundings, indicating a well-resourced attacker.
In accordance with the researchers, two of the malicious PAM modules stand out as those who perform solely as backdoors and those who harvest credentials.
The Velvet Ant attackers additionally changed OpenSSH elements akin to ssh, sshd, and scp with trojanized variations that seize credentials, report instructions entered throughout an SSH session, and retailer the collected information domestically for future retrieval.
Sygnia says that by modifying PAM and OpenSSH elements to increase management over the authentication course of, an attacker may acquire entry to the credentials used within the goal surroundings and doubtlessly be capable of bypass the authentication circulate.
“Administrative exercise, together with each login and each command executed on a compromised host, was now totally observable. Entry was not tied to a selected foothold, however was constructed into the authentication course of itself,” the researchers clarify.
On this method, hackers continued their assaults regardless of password adjustments and session terminations, lowering the “effectiveness of conventional containment measures.”
advanced cleanup
Signia stated that even after discovering the breach, remediating it and eradicating Velvet Ant from the compromised surroundings was significantly advanced.
The attackers had changed so many crucial elements with customized variations that eradicating them may disrupt authentication, lock out legit directors, and trigger an outage.
To handle this problem, the researchers constructed a take a look at lab to validate the binary substitute course of, profiled every host, examined the outcomes, and ready a rollback process earlier than making an attempt a cleanup.
Sygnia recommends that defenders deal with authentication elements akin to PAM, OpenSSH, and Home windows LSASS as crucial safety belongings and defend them with EDR, file integrity monitoring, enhanced privileged entry, multi-factor authentication (MFA), and steady monitoring for unauthorized adjustments.
Organizations should plan for offline restoration. This contains strict backups with applicable schedules to routinely create snapshots with immutable copies.
The restore course of ought to take into account testing restore scripts with backup and restore hosts operating validated working methods.
Safety groups doc 54% of profitable assaults and problem a warning on solely 14%. The remainder strikes invisibly by way of the surroundings.
Picus’ whitepaper exhibits find out how to take a look at your SIEM and EDR guidelines in breach and assault simulations to make sure threats go undetected.
Get the white paper
