LIVE · cybersecurity feed
Live wire
npmhigh

Nearly 800 Malicious npm Packages Deliver Cross-Platform RAT and Infostealer

A recent report details the discovery of a campaign involving nearly 800 malicious npm packages designed to deliver a cross-platform Remote Access Trojan (RAT) and an infostealer. The packages leverage various deceptive tactics, including apparent AI generation and typo-squatting, to entice developers into incorporating them into their projects. The primary infection vector involves developers…

ZeroDay News ·

Source: The Hacker News

A recent report details the discovery of a campaign involving nearly 800 malicious npm packages designed to deliver a cross-platform Remote Access Trojan (RAT) and an infostealer. The packages leverage various deceptive tactics, including apparent AI generation and typo-squatting, to entice developers into incorporating them into their projects. The primary infection vector involves developers being instructed to load these packages using the `require()` function, which initiates the malware delivery chain.

Upon execution, the malicious packages deploy a downloader component. This downloader is responsible for retrieving the subsequent stages of the malware. It exhibits adaptability by fetching platform-specific payloads, indicating an intent to target a broad range of operating systems. The delivery infrastructure for these payloads has been observed utilizing Cloudflare Workers, a serverless execution environment, or alternatively, employing DNS TXT records for payload delivery. The use of DNS TXT records for command and control or data exfiltration is a known technique that can sometimes evade traditional network filtering.

The ultimate payloads delivered by this campaign include a Remote Access Trojan (RAT) and an infostealer. A RAT typically grants an attacker unauthorized remote control over a compromised system, allowing for actions such as file manipulation, process execution, and surveillance. Infostealers are designed to exfiltrate sensitive data, which can include credentials, financial information, and other personal or corporate data stored on the infected machine.

A notable characteristic of the deployed malware is its capability to interfere with security monitoring mechanisms. This anti-analysis or anti-forensic functionality aims to hinder detection and analysis efforts by security software and analysts. Furthermore, the malware is designed to establish persistence on compromised systems, ensuring that it remains active across reboots and continues to operate over an extended period. Persistence mechanisms can vary widely, from modifying system startup configurations to injecting into legitimate processes.

The large number of malicious packages, nearly 800, highlights the scale of this particular campaign. The use of npm, a widely adopted package manager for JavaScript, provides a broad attack surface, as millions of developers rely on it daily for open-source components. Typo-squatting, where malicious packages mimic the names of legitimate ones with slight variations, is a common tactic to trick developers. Similarly, AI-generated content could be used to create convincing-looking package descriptions or even code that appears legitimate at first glance.

Mitigation for such supply chain attacks typically involves rigorous vetting of third-party dependencies. Developers are advised to scrutinize package names for subtle misspellings, verify package authors and reputation, and prefer well-established and frequently updated libraries. Implementing software composition analysis (SCA) tools can help identify known vulnerabilities and malicious components within a project's dependencies. Furthermore, network monitoring for unusual outbound connections, especially to services like Cloudflare Workers or unexpected DNS queries, can aid in detecting active infections.

This incident underscores the ongoing challenges in securing the software supply chain, particularly within the open-source ecosystem. The ease with which malicious packages can be published and subsequently integrated into legitimate projects presents a significant risk. The sophisticated delivery mechanisms and anti-monitoring capabilities observed in this campaign reflect an evolving threat landscape where attackers are continually refining their techniques to evade detection and maximize impact.

npmmalwareratinfostealersupply chain attack
ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.