PostCSS Typosquatting Campaign Distributes Windows RAT
Score: 9/10

PostCSS Typosquatting Campaign Distributes Windows RAT

Threat actor abdrizak uses typosquatted npm packages like postcss-minify-selector-parser to deliver a multi-stage Windows RAT targeting developer environments.

Executive Summary

A sophisticated typosquatting campaign published by the actor 'abdrizak' has been identified targeting the JavaScript ecosystem. By masquerading as legitimate PostCSS utilities, the attacker leverages the popularity of the 'postcss-selector-parser' package (150M+ weekly downloads) to lure developers into installing malicious lookalike dependencies.

The attack chain progresses from an AES-encrypted JavaScript blob within the npm package to a PowerShell downloader, which eventually retrieves a Nuitka-compiled Python bundle. This final payload is a comprehensive Windows Remote Access Trojan (RAT) capable of remote shell execution, file manipulation, and Chrome credential theft. The use of deceptive domain names like 'nvidiadriver[.]net' and renamed executables like 'chost.exe' demonstrates a clear intent to evade detection by blending into legitimate system activity.

This campaign poses a significant risk to development organizations, as the malware specifically targets browser-stored credentials and session data, which are often used to access sensitive corporate repositories and cloud environments.

Key Details

Threat Name

postcss-selector-parser Typosquatting Campaign

Affects

—

Adversary

abdrizak

Malware/Tools

postcss-minify-selector-parser, postcss-minify-selector, aes-decode-runner-pro, Windows RAT

Report Score

9out of 10
Quality Score
Excellent
IOC Quality10
TTP Details9
Detection Guidance7
Enterprise Relevance9
Clarity & Structure10
Technical Depth9

Sources