MALFEX npm Campaign Delivers Overlord RAT and Stealers Through Eight Malicious Packages

· Original article ↗

Summary

Researchers say the MALFEX campaign used eight malicious npm packages, downloaded 40,767 times, to deliver Overlord RAT loaders and information stealers through install hooks and package dependencies.

Key points

  • Researchers attribute the campaign, active since at least August 2023, to a suspected lone threat actor who published 12 npm packages; eight were identified as malicious.
  • The packages received 40,767 downloads in total, including 37,419 for function-flag.
  • Packages tlxbnhd, tldriver, and mxdriver use lifecycle hooks to download and run a Windows executable that loads Overlord RAT.
  • The img-to-native package and related dependencies retrieve a Go executable that then fetches a Node.js information stealer.
  • In function-flag version 1.7.3, a postinstall script triggers a hidden routine that downloads node.exe and runs it from the user's AppData directory.
  • Researchers cited Portuguese-language and Brazilian-related clues as attribution context, while noting these do not show that Brazil is the campaign's target.

Article Details

Attack Vectors
  • Malicious npm packages use lifecycle hooks to download and execute payloads.
  • The packages tlxbnhd, tldriver, and mxdriver act as loaders for Overlord RAT.
  • Packages including img-to-native use cdn-img-fetch to retrieve and execute a Go executable, which fetches a Node.js stealer.
  • The function-flag postinstall hook runs a JavaScript payload that downloads a remote payload; function-color lists function-flag as a dependency.

Indicators of compromise

TypeIndicatorContext
DOMAINcdnzona[.]discloud[.]appHost used to download node.exe as a payload.

MITRE ATT&CK

CVE

Malware

Products

Related Articles