Analysis Tracks VoidShadow’s Linux Backdoor Across Six Builds

· Original article ↗

Summary

An analysis of six VoidShadow Linux builds dated May to November 2026 links them through a shared operator key and documents evolving persistence, rootkits, credential theft, command-and-control disguises, and a new key exchange.

Key points

  • Six Linux builds dated May to November 2026 share an embedded operator RSA public key, linking them to the same family; the analysis says this does not establish that they were used in the same deployment.
  • Installers establish persistence through systemd generators and udev rules, with modifications to PAM and the dynamic linker; the Ali4 kit includes kernel, eBPF, and user-mode rootkits.
  • The backdoor supports shell access, SOCKS5 proxying and port forwarding, file operations, screenshots, browser credential theft, and running programs directly from memory.
  • Its agents disguise command-and-control traffic as Microsoft Graph-style gRPC or WordPress requests; the analysis describes host profiling and multiple cloud-hosted servers.
  • The November build adds a systemd-timer installer and injects the backdoor into long-running processes. It also introduces an ephemeral P-256/ECDH key exchange; protection of recorded sessions depends on the server also using fresh ephemeral keys.
  • The November sample was not flagged by any of the 64 antivirus engines that scanned it on VirusTotal. Censys saw no service on its configured server’s port 443 when checked.
  • The article provides detection and investigation guidance, including checks for suspicious systemd and PAM changes, disguised HTTP/2 traffic, rootkit-related eBPF hooks, and outbound HTTPS from injected processes.

Article Details

Attack Vectors
  • The initial delivery method is unknown; the examined files did not include a delivery method.
  • Installers establish boot persistence with systemd generator units and a udev rule. The Ali4 kit also modifies PAM and dynamic-linker configuration and deploys kernel-module, eBPF, and ld.so.preload rootkits.
  • The November build installs a systemd timer, with cron and rc.local fallbacks, and uses ptrace to inject the backdoor into long-running processes.
  • The backdoor supports interactive shell commands, SOCKS5 proxying and TCP port forwarding, file transfer, screenshots, browser credential theft, and execution of programs directly from memory.
Defensive Notes
  • Verify suspicious systemd-like files against the package manager; inspect systemd generator directories, udev rules, PAM configuration, dynamic-linker configuration, and ld.so.preload for unexpected entries.
  • Inspect suspected hosts from trusted media because the rootkits can hide files, processes, and network connections. Rotate login passwords, saved browser passwords, keys, and secrets accessible on an infected host.
  • Flag HTTP/2 requests to /microsoft.graph.v1.Policy/* sent to non-Microsoft hosts and WordPress-style POST requests from Linux servers carrying wp-settings-uid= and X-Msg-Type headers.
  • For the May, June, and 7 July builds, check x-session-token against HMAC-SHA256 using goc-secret-stealth-key and x-session-time.
  • Look for unexpected systemd timers, cron entries, rc.local lines, and outbound HTTPS from the processes targeted by the November build. Watch for DNS-over-HTTPS to dns.alidns.com or cloudflare-dns.com from servers expected to use a local resolver.

Indicators of compromise

TypeIndicatorContext
DOMAIN1372464148-1zsaku7ccd[.]ap-hongkong[.]tencentscf[.]comTencent Cloud function that receives password records from an Ali4 PAM module.
DOMAIN1372464148-4gl8a1itkp[.]ap-guangzhou[.]tencentscf[.]comTencent Cloud function used as a control server by l_sg WordPress-style agents.
DOMAIN1372464148-6ezbnst5ar[.]ap-hongkong[.]tencentscf[.]comTencent Cloud function used as a control server by the Ali4 WordPress-style agent.
DOMAINcloudops-api[.]comControl-server domain used by the May backdoor and l_sg agent; it resolved to the reported Alibaba Cloud control server.
DOMAINdai2345[.]comControl-server domain used by l_sg gRPC agents; reported to resolve to the main control server.
DOMAINhk-cloudops-api[.]comControl-server domain used by Ali4 agents and reported to resolve to the main control server.
IPV447[.]238[.]99[.]126Reported live control-server address for the May build; it accepted a check-in and received a host profile.
IPV447[.]239[.]99[.]153Hard-coded backup address in the May build and download source for /update in some Ali4 agent copies.
IPV447[.]242[.]132[.]197Control-server address configured in the November build.
IPV447[.]242[.]255[.]141Control-server address used by the Ali4 WordPress-style agent.
SHA25630f419f4762d3947f79472787edc2b97bab00ec72240a8093fe071d5807f888fSHA-256 of the Ali4 password-recording PAM module.
SHA256403a66a70d3af89374f762af3b0351a94cd52e74e839fecf6337b1ba0ef5389aSHA-256 of the 7 July l_sg installer.
SHA2564f937aaea775853b5b0285fb5deb25f3ddaf4fa0224485b4814fd5290a606e84SHA-256 of the Ali4 installer.
SHA25652c57b0de24ac1f4a7734e610ffa097c4c63a666d3a780e70adc182d4706b10bSHA-256 of the 17 July installer.
SHA256546bf2c3aca9ed9829c22b19b598c4db058313bd66d72cfeddc27a49ca1e27cbSHA-256 of the 8 August l_sg installer.
SHA256551dc91303452cc1a97968f2e46b873ca37bb75235433f32e41fcff6b183a590SHA-256 of the 8 August l_sg WordPress-style agent.
SHA25671898b0224b45cdfbbd1607baa66c53113f8d1b7fe4f5ce84404bcaed44ed8f5SHA-256 of the Ali4 eBPF rootkit.
SHA25677a9424b76f652142489f9e0cb5608505d1137fd49ddee4b067a3d7ec1de3015SHA-256 of the 17 July gRPC agent.
SHA25679d061251ee94c44b0e7c587a7b057e005d4716f07fd9a4d48d8d4b8a7f94c8eSHA-256 of the Ali4 helper that sends recorded passwords.
SHA2567c9ca202d17d4255b12ae441cebb8064d395173340a190556f09b0ae75c1bce4SHA-256 of an Ali4 gRPC agent with an /update downloader.
SHA256838ac792421a7c1ac805bcc579c21fff9a5cb7f775c871a64f45300f6558d6d5SHA-256 of an Ali4 gRPC agent.
SHA2568766c46ac1fae81b6c6124b64f3c8c6b95d4e09acd7d378e97c9613927703e61SHA-256 of the 7 July gRPC agent.
SHA256a9fc8c5c8aa2e285b3b1a1e399ee5dcff0803bff896ad2bc39025330a0cefe1dSHA-256 of the May systemd-coredump-helper backdoor.
SHA256ae19ee3623ad2e274df1e77cec1136aa4c708b5a032cdde6954e5decd37b5b8dSHA-256 of the 7 July WordPress-style agent.
SHA256b42e9e9eb5b7e1f23bd3cf69c07885c6d47fc03de26232e64822d82b286737daSHA-256 of the November build's backdoor.
SHA256b9c4f26e4c8693e2b6a9c07f7c3a0e7ca94ed75d0c9bc242680e8dfdf329919dSHA-256 of an Ali4 WordPress-style agent with an /update downloader.
SHA256bdb5e25ef22f6558110708ad7da78cfffd7ad32ac3f6c188277d08b187383954SHA-256 of the November build's injector.
SHA256c5cc30c9e8f965cb0be706627912360f6c4253f52d625e27ce97a2a0bc18eac2SHA-256 of the November installer, injector, and backdoor file.
SHA256dbc7f53e95799d59b5e35c432c199b621fbff85342e57af87c75eeb9691f9c75SHA-256 of the 8 August l_sg gRPC agent.
SHA256dfd77ca1bff0fc0dd3acb10764034977dd08536ed46aba3c65d6315c42dc9e97SHA-256 of the Ali4 ld.so.preload rootkit.

MITRE ATT&CK

T1014 · RootkitThe installers deploy kernel-module, eBPF, and user-mode rootkits that hide files, processes, or network connections.T1027 · Obfuscated Files or InformationThe backdoor encrypts sensitive strings, including its server address, command names, and file paths, and decrypts them when needed.T1036.005 · Match Legitimate Resource Name or LocationThe May backdoor uses the name systemd-coredump-helper to blend in with legitimate systemd processes.T1055.008 · Ptrace System CallsThe November injector uses ptrace to place the backdoor inside long-running processes such as crond and systemd-logind.T1059.004 · Unix ShellThe operator can use an interactive terminal and run one-off shell commands on the Linux host.T1071.001 · Web ProtocolsThe agents use HTTP/2 gRPC paths styled as Microsoft Graph requests and a sibling agent imitates WordPress traffic.T1082 · System Information DiscoveryAfter check-in, the backdoor reports host details including machine ID, hostname, OS version, hardware, network addresses, privilege level, and process list.T1090 · ProxyThe backdoor provides SOCKS5 proxying and TCP port forwarding through the victim server.T1543.002 · Systemd ServiceInstallers use a systemd generator to create service units at boot for agent persistence.T1546.017 · Udev RulesThe installers create a udev rule at /etc/udev/rules.d/71-net-systemd.rules.T1555.003 · Credentials from Web BrowsersThe backdoor collects Firefox and Chrome profile files containing saved logins, cookies, and related browser data.T1556.003 · Pluggable Authentication ModulesAli4 adds a PAM module that records login usernames and passwords and sends the records to a Tencent Cloud function.T1573.002 · Asymmetric CryptographyThe May build seals session keys with the operator's RSA public key; the November build adds an RSA-protected key exchange and derives encrypted session keys.T1574.006 · Dynamic Linker HijackingThe installers modify ld.so configuration, and Ali4 deploys a user-mode rootkit through /etc/ld.so.preload.T1620 · Reflective Code LoadingA child process loads received Linux programs into memory, fixes their addresses, and executes them without writing them to disk.

Malware

Vendors

Products

Tools

Related Articles