Analysis Details Adobe DLL Sideloading, VS Code Tunnel Access, and GekkoSpy

· Original article ↗

Summary

A VHDX lure uses a genuine Adobe helper to sideload a Rust DLL that captures a GitHub device-login code and enables attacker-controlled VS Code tunnels; sandbox analysis observed an operator install GekkoSpy and inspect the host.

Key points

  • A VHDX disk image hides a malicious Rust msi.dll and Microsoft-signed code-tunnel.exe beside a genuine Adobe helper; launching the helper loads the malicious DLL.
  • The DLL captures a GitHub device-login code and reports it, along with host details, through Telegram. An operator approved the login and configured the VS Code tunnel to persist at logon.
  • In sandbox runs, the operator used the tunnel’s terminal and file access, then installed GekkoSpy as a Windows service running as SYSTEM.
  • GekkoSpy can run commands and manage files; it communicates over an encrypted WebSocket to gekkospy-new-production[.]up[.]railway[.]app.
  • The operator enumerated browsers and checked hardware and virtualization indicators. No browser-data stealer was observed, and activity stopped after those checks.
  • The MSI installer was not captured, and the article does not establish how the disk image was delivered or what the operator would have done next on a real victim.
  • The article recommends treating unsolicited disk images and device-code requests with suspicion and gives defenders hunt points including the VS Code Tunnel Run key and staged files.

Article Details

Attack Vectors
  • A VHDX disk image contains a genuine Adobe-signed helper alongside a hidden malicious Rust DLL and a renamed Microsoft VS Code CLI. When launched from the mounted image, the helper loads the adjacent msi.dll through DLL sideloading.
  • The DLL uses the VS Code CLI to initiate GitHub device login, sends the login code to an attacker-controlled Telegram chat, creates a VS Code Remote Tunnel under the attacker’s account, and configures the tunnel to start at each logon.
  • In sandbox observation, an operator accessed the machine through the tunnel, ran commands, and installed GekkoSpy as a Windows service. The package was likely downloaded from an operator-controlled Railway server, but the package itself was not captured.
  • GekkoSpy communicates with its reported C2 over an encrypted WebSocket and supports command execution and file operations. The operator also enumerated processes and browsers and checked system and virtualization details.
Defensive Notes
  • Treat disk images received through email or chat as suspicious when they contain executables; a verified Adobe publisher on a UAC prompt does not make the launch safe.
  • Do not enter a GitHub, Microsoft, or other device-login code supplied by someone else, and do not share a code displayed on your device.
  • If the organization does not use VS Code Remote Tunnels, disable the feature or monitor tunnel arguments, especially when code.exe or code-tunnel.exe runs from a mounted image or a temporary directory.
  • Hunt for the Visual Studio Code Tunnel Run key, %TEMP%\code_tunnel_auto\, %TEMP%\stub.log, and AdobeAcrobatGerberHelper.exe running outside its normal Adobe installation directory next to an msi.dll.
  • Monitor for unexplained outbound connections to api.telegram.org, quiet msiexec.exe installations launched from a VS Code server shell, new services under C:\Program Files\GekkoSpy\, and long-lived WebSocket connections from SYSTEM services to Railway subdomains.
  • For a confirmed victim, remove the tunnel Run key, delete %USERPROFILE%\.vscode\cli\, run code tunnel user logout, remove the GekkoSpy service, and treat the machine as fully accessed.

Indicators of compromise

TypeIndicatorContext
SHA2564ba6da403e00296f38716039945bdd98c2467baa456cedf9fd01a39b8dc2c422SHA-256 of the malicious Rust msi.dll used for DLL sideloading.
SHA25650607e110490edf797760463f5b827cf806582b70a89bf4e2c812e575bd80a8cSHA-256 of the VHDX lure disk image containing the malicious DLL and abused executables.
SHA256ba0ba022e5110d37ddb1d5916e78d073f7be726b0974bffe7e5b08f7ac991f30SHA-256 of GekkoSpy C2.exe, the second-stage remote-access agent.
URLhxxps[:]//psp-textbooks-rim-widespread[.]trycloudflare[.]comReported code-only channel address; the article says it no longer existed when examined and that Telegram was the channel actually in use.

MITRE ATT&CK

T1057 · Process DiscoveryThe operator used GekkoSpy to list running processes, including browser processes.T1059.001 · PowerShellGekkoSpy can execute commands through PowerShell and can write and run PowerShell scripts.T1059.003 · Windows Command ShellThe operator ran commands such as whoami and ipconfig through a terminal opened over the VS Code tunnel.T1071.001 · Web ProtocolsGekkoSpy communicates with its reported C2 over an encrypted WebSocket connection.T1082 · System Information DiscoveryThe operator queried the machine’s manufacturer, model, BIOS serial number, CPU cores, and RAM.T1105 · Ingress Tool TransferThe operator contacted a Railway-hosted server shortly before installing the MSI; the article assesses that the package was most likely downloaded from that server, but it was not captured.T1204.002 · Malicious FileThe infection begins when the user opens the VHDX lure and launches the visible Adobe helper.T1218.007 · MsiexecThe operator used msiexec with silent-install options to install the second-stage MSI package.T1219.001 · IDE TunnelingThe malware abuses VS Code Remote Tunnels to provide the operator with terminal and file access to the victim’s machine.T1497.001 · System ChecksThe operator checked whether a hypervisor was present as part of assessing whether the machine was a virtualized or sandbox environment.T1518 · Software DiscoveryThe operator searched program folders for browser executable files.T1543.003 · Windows ServiceGekkoSpy was installed as a Windows service running as SYSTEM.T1547.001 · Registry Run Keys / Startup FolderThe VS Code CLI installs a Visual Studio Code Tunnel Run key so the tunnel starts at every logon.T1574.002 · DLL Side-LoadingThe genuine Adobe helper loads the adjacent attacker-supplied msi.dll from the mounted disk.

Malware

Vendors

Products

Tools

Related Articles