Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
Gunra Ransomware Exploits Fortinet VPN Flaws, Bypasses MFA
August 10, 2026
Anthropic Claude: New Security Feature Automates Agent Access Approvals
August 10, 2026
Critical Vulnerability Lets Attackers Bypass MFA in Windows 11 and Entra ID
August 10, 2026
Home/CyberSecurity News/China-Nexus Hackers Exploit Backdoored PAM Modules for Credential Theft
CyberSecurity News

China-Nexus Hackers Exploit Backdoored PAM Modules for Credential Theft

Key Takeaways A China-linked threat actor, “Velvet Ant,” maintained undetected access to a major organization’s isolated critical infrastructure network for nearly a decade,...

Marcus Rodriguez
Marcus Rodriguez
June 15, 2026 4 Min Read
51 0

Key Takeaways

  • A China-linked threat actor, “Velvet Ant,” maintained undetected access to a major organization’s isolated critical infrastructure network for nearly a decade, starting as early as 2017.
  • The attackers bypassed authentication and stole credentials by deploying backdoored Pluggable Authentication Modules (PAM), specifically modifying `pam_unix.so` to include hardcoded passwords and harvest legitimate login attempts.
  • Velvet Ant utilized sophisticated techniques, including custom modifications to public tools like GS-Netcat, masquerading as legitimate system processes, and employing multi-stage access chains to bridge internet-facing systems with an air-gapped environment.
  • The operation, dubbed “Operation Highland,” highlights the critical need for robust monitoring of authentication layers, system files, and privileged access paths, even in highly segregated networks.

A persistent and highly sophisticated threat actor, identified as Velvet Ant and linked to China, managed to remain undetected within a major organization’s internal network for nearly a decade. This prolonged intrusion, now designated “Operation Highland,” showcased an extraordinary level of patience and technical prowess, particularly given the target network’s lack of direct internet connectivity.

Table Of Content

  • Key Takeaways
  • China-Nexus Hackers Use Backdoored PAM Modules
  • Modified OpenSSH Binaries and Lateral Movement
  • What You Should Do

The attackers did not rely on common entry vectors like phishing or brute-force attacks. Instead, Velvet Ant meticulously engineered a multi-stage access chain, enabling them to transition from internet-exposed systems into a highly isolated critical infrastructure environment. Their tactics included modifying publicly available tools to mimic legitimate system activity, thereby evading conventional security measures.

According to a report from Sygnia analysts, shared with Cyber Security News (CSN), forensic evidence indicates the intrusion began as early as 2017. Sygnia’s incident response team, tasked with reconstructing the attack, found that Velvet Ant consistently adapted its methods. Upon detection, the group would shift to less-monitored infrastructure, re-establishing persistence from a new vantage point within the compromised network.

A distinguishing feature of Operation Highland was the attackers’ decision to embed their persistence directly within the authentication layer, rather than relying on typical backdoors. This allowed for deeply entrenched access that was difficult to uncover.

China-Nexus Hackers Use Backdoored PAM Modules

Once Velvet Ant successfully breached the segregated environment, their primary target became the Pluggable Authentication Module (PAM) layer, a fundamental Linux component responsible for user authentication across various services. The investigation uncovered nine instances of a maliciously altered `pam_unix.so` file on compromised hosts, replacing the legitimate PAM module.

The attackers specifically modified the `pam_sm_authenticate` function. This function, which ordinarily validates a username and password, was patched to either accept a hardcoded backdoor password, harvest legitimate credentials during authentication attempts, or both. When the backdoor password was used, the normal verification process was entirely bypassed. To further hinder forensic analysis, the malicious library would overwrite the backdoor password string in memory with NULL values after successful bypass.

Adding another layer of stealth, the threat actor incorporated a custom flag designed to disable their own credential and session logging. This allowed Velvet Ant to operate within the network without leaving a trace of their activities, making attribution and incident response significantly more challenging.

Modified OpenSSH Binaries and Lateral Movement

Beyond PAM manipulation, Velvet Ant deployed a customized version of GS-Netcat on internet-facing servers. This modified binary, named `auditd` and placed in `/usr/sbin/`, was used to establish a reverse shell connection to a remote command-and-control (C2) server. The choice of filename and location was a deliberate attempt to blend in with legitimate system utilities.

To further obscure its presence, the malicious `auditd` binary would overwrite its own process name in system listings with `[kauditd]`, mimicking a legitimate kernel thread and thereby avoiding detection by standard process monitoring tools.

Velvet Ant employed different persistence mechanisms depending on the server’s operating system. On newer servers utilizing systemd, a malicious unit file was planted in `/lib/systemd/system/`, disguised as a Chrome service. For older SysVinit servers, a malicious execution line was appended to startup scripts located in `/etc/init.d/`. Additionally, the attackers added their public keys to `authorized_keys` files on compromised servers, securing persistent, password-less access.

What You Should Do

  • Strengthen Authentication Layers: Treat PAM, OpenSSH, LSASS, and all privileged access paths as critical security controls. Implement stringent monitoring and integrity checks for these components.
  • Deploy EDR: Ensure Endpoint Detection and Response (EDR) solutions are deployed on all supported systems to gain comprehensive endpoint visibility and robust detection capabilities.
  • Enable High-Confidence Alerts: Configure security information and event management (SIEM) systems and EDRs to generate high-confidence alerts for any modifications to authentication mechanisms or critical system files.
  • Harden Privileged Access: Implement strict hardening measures for all privileged access paths, including multi-factor authentication (MFA), least privilege principles, and regular auditing.
  • Secure Credential Rotation: Only rotate credentials after confirming that all persistence mechanisms have been fully removed from compromised systems.
  • Plan for Remediation: When remediating authentication components, ensure rollback options and emergency access plans are in place to prevent administrators from being locked out of production systems.

Indicators of Compromise (IoCs):-

Type Indicator Description
File Name pam_unix.so Backdoored PAM module used to bypass authentication and harvest credentials
File Name auditd Malicious GS-Netcat binary placed in /usr/sbin/ to masquerade as a legitimate audit daemon
File Path /usr/sbin/auditd Deployment path of the malicious reverse shell binary
File Path /lib/systemd/system/ Location of malicious systemd unit file disguised as a Chrome service
File Path /etc/init.d/ SysVinit startup script path appended with malicious execution line
File Path /usr/share/man9/ph.man Storage path for encrypted credential dump files
File Path /var/lib/eth-scs/libeth.so RPATH entry found in backdoored pam_unix.so variants
File Path /etc/rc/Linux-PAM-[PAM version]/libpam.libs:lib64 RPATH format found in backdoored pam_unix.so variants
Process Name [kauditd] Disguised process name used by malicious auditd binary to mimic a kernel thread
Tool GS-Netcat (modified) Modified version of the public GS-Netcat tool used as an encrypted reverse shell
Tool SOCKS5 Perl proxy script Custom Perl-based SOCKS5 proxy used for lateral movement and traffic tunneling
Credential File /usr/share/man@/ph.ph.man Encrypted file used to store harvested SSH and local login credentials

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackBreachExploitHackerPatchphishingSecurityThreat

Share Article

Marcus Rodriguez

Marcus Rodriguez

Marcus is a security researcher and investigative journalist with expertise in vulnerability research, bug bounties, and cloud security. Since 2017, Marcus has been breaking stories on critical vulnerabilities affecting major platforms. His investigative work has led to the disclosure of numerous security flaws and improved defenses across the industry. Marcus is an active participant in bug bounty programs and has been recognized for responsible disclosure practices. He holds multiple security certifications and regularly speaks at industry events.

Previous Post

SearchJack Campaign Hijacks 758,000 Users with 23 Malicious Chrome Extensions

Next Post

Critical Microsoft Graph Flaw Lets Attackers Target HR, Payroll Staff

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
CISA Warns of Progress LoadMaster Command Injection Vulnerability Exploited in Attacks
August 10, 2026
Critical Red Hat ACM Vulnerability Lets Attackers Gain Cluster-Admin Access
August 10, 2026
GitHub Expands Malware Detection to 8 Package Registries
August 10, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Jennifer sherman
Jennifer sherman
Emy Elsamnoudy
Emy Elsamnoudy
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us