North Korean hackers target Microsoft Virtual Studio Code

  • Lazarus group’s Contagious Interview campaign abuses Visual Studio Code via malicious Git repositories
  • Attackers deliver JavaScript payloads on macOS, enabling persistent data harvesting and C2 communication
  • Jamf urges enabling advanced threat controls and caution with untrusted repositories

As part of the infamous Contagious Interview campaign, North Korean threat actors were seen abusing legitimate Microsoft Visual Studio Code in their attacks.

Contagious Interview is a hacking campaign in which the Lazarus group (and other state-sponsored North Korean actors) create fake jobs and invite software and blockchain developers in Western countries for interviews.

During the interview process, they trick the victims into deploying malware on their devices, granting the attackers unabated access to their computers, as well as their current employers’ networks.

How to stay safe

The campaign is quite successful, too, as it is blamed for some of the biggest crypto heists in recent years.

In a new report, security researchers from Jamf detailed “an evolution in the techniques used during earlier stages of the campaign.” They said the attackers would first create a malicious Git repository, and host it on platforms such as GitHub, or GitLab.

After that, during the “interview” process, they would trick the victim into cloning and opening the repository using Microsoft Visual Studio Code. The tool would prompt the victim to trust the repository author and if that happens, the app automatically processes the tasks.json configuration file that triggers embedded arbitrary commands.

On macOS, these commands use a background shell to remotely retrieve a JavaScript payload (often from a platform like Vercel) and pipe it into the Node.js runtime.

The JavaScript payload then executes, establishing a persistent loop that harvests host information (hostname, MAC addresses, and OS details) and communicates with a remote command-and-control (C2) server. Finally, the backdoor periodically pings the C2 server, sending system data and receiving further malicious JavaScript instructions.

“We strongly recommend that customers ensure Threat Prevention and Advanced Threat Controls are enabled and set to block mode in Jamf for Mac to remain protected against the techniques described in this research,” Jamf warned.

“Developers should remain cautious when interacting with third-party repositories, especially those shared directly or originating from unfamiliar sources. Before marking a repository as trusted in Visual Studio Code, it’s important to review its contents,” they added.

Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds. Make sure to click the Follow button!

And of course you can also follow TechRadar on TikTok for news, reviews, unboxings in video form, and get regular updates from us on WhatsApp too.

Read more @ TechRadar

Latest posts

Google Maps rolling out travel itineraries & list search for Ask Maps

Ahead of the holiday season, Google Maps is launching a handy travel itineraries feature alongside a slew of other new capabilities for Ask Maps. Read...

Google’s Intelligent Eyewear glasses from Gentle Monster are already sold out

One of the first partner brands selling Android XR glasses, “Intelligent Eyewear” as Google calls it, has already completely sold out, with Gentle Monster...

‘Lenovo Googlebook Duet 13’ leak points to January launch [Gallery]

Google teased last month that detachable Googlebooks are coming soon, and a leak today provides the best look at the “Lenovo Googlebook Duet 13”...

In-Car Technology That Can Make Driving Much More Safe And Fun

Driving has changed a lot over the years, and it's not just because cars have become faster or more fuel-efficient. Modern vehicles now come...

Pixel Tag is a brilliant Band-Aid on a Find Hub network Google can’t easily fix

The Google Pixel Tag is here and, at least so far, it’s really good. But fresh hardware and some new features can’t fix the...

Google Pixel rolls out new ‘Family Hub’ feature with useful controls [Gallery]

First appearing earlier this month, Google Pixel phones are rolling out a handy new Family feature in the Settings menu. Here’s what it can...

Pixel 11 Pro’s HiLight feature also now works on WhatsApp messages

After being barebones at launch, Google is improving on Pixel 11 Pro’s Hilight feature with message support, now including WhatsApp. Read more @ 9to5google

The UGREEN HomeAgent is a ‘local-first’ way to make your smart home even smarter

Smart home tech often relies solely on cloud connections and pricey AI subscriptions, but UGREEN is delivering a local-first solution in its new HomeAgent...

Pixelated 125: Google’s glasses, Meta’s baggage

Welcome to Pixelated episode 125. This week, Abner has tried out Google’s new lineup of “Intelligent Eyewear,” and he’s got plenty to share with...

Pixel Watch update brings a sweet redesign I wish was on more apps

Google has been at its gradient redesign schtick for a while now to varying levels of success, but its latest redesign has just landed...