Cybersecurity news

Jessica Doner

Back to the list

Malicious Claude Code VS Code Extension Installs Persistent SSH Backdoor to Give Attackers Remote Access

GBHackers,

A fake Claude Code extension installed a hidden script that gave attackers remote access to developers' computers.

Malware and ransomwareAI and security

Overview

A malicious version of the Claude Code extensionA small add-on program installed inside a web browser to add features like ad blocking, identified as anthropic.claude-code version 2.1.313, was found on Open VSX containing 66 lines of added JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers code. This code runs when the extension loads, allowing attackers to gather system information and collect names of up to 40 environment variablesA named setting stored in a program's running environment that often holds file paths or secret keys related to credentials. The malware installs a persistent SSHAn encrypted network protocol that administrators and developers use to log in to remote servers and run commands backdoorA hidden way into a computer or program that skips the normal login check by adding an attacker-controlled keyThe secret value that locks or opens a message to the user's authorized keys file. It then attempts to enable SSH services on macOS, Linux, or Windows to maintain remote accessThe ability to log in to and control a computer or network from another location. The malicious artifact is distinct from the legitimate version on the Microsoft Marketplace, though it is unclear how the bad version entered the publishing chain. Developers who installed this specific trojanizedAltered to hide malware inside a legitimate-looking installer, update, or open-source package extension from Open VSX are affected by the unauthorized remote access.

Terms in this story

Extension
A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.
JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
script
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
environment variables
A named setting stored in a program's running environment that often holds file paths or secret keys. Cloud apps frequently store database passwords and API tokens in environment variables, so an attacker who tricks a server into printing its environment variables can steal those secrets.
SSH
An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.
Backdoor
A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
KEY
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
Remote Access
The ability to log in to and control a computer or network from another location. Many workers and support technicians use remote access tools to work from home, and attackers target those same portals to enter a company network without being in the building. Security+ objective 3.2 lists the term
trojanized
Altered to hide malware inside a legitimate-looking installer, update, or open-source package. Attackers distribute trojanized copies of popular utilities through search ads so users get a working program while a hidden background script steals their passwords.
loader
A stage of malware that runs first on an infected machine to fetch, decrypt, and launch other payloads. Criminal groups specialize in spreading a stealthy loader through spam or fake downloads and then charge ransomware and infostealer operators to deliver their malware onto those infected PCs. Security+ objective 2.4 lists the term
runtime
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
operating-system
The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related