Fake AI and Developer Repositories Deliver Infostealer via SmartLoader

· Original article ↗

Summary

Netskope details a campaign using cloned AI and developer repositories to deliver infostealers through a two-stage SmartLoader chain, with C2 addresses resolved from the Polygon blockchain.

Key points

  • Attackers cloned popular AI and developer repositories and altered files or installation links to trick users into downloading infostealer malware.
  • The first-stage ZIP combines a LuaJIT interpreter with an obfuscated Lua script disguised as a text file, which executes when launched with the other components.
  • A second SmartLoader stage uses a Lua script obfuscated with MoonSec; samples ultimately delivered several infostealers, including a previously reported NodeJS strain.
  • Both loader stages use EtherHiding to retrieve C2 addresses from a Polygon smart contract, allowing operators to change destinations without modifying malware.
  • The first loader collects geolocation data, captures a screenshot, and sends it with a victim beacon to its C2 server.
  • The campaign targeted developers and AI users; Netskope reported the GitHub accounts serving payloads for takedown.

Article Details

Attack Vectors
  • Cloned or impersonated GitHub repositories host malicious payloads in archives or alter installation links to lure developers and AI users into downloading and executing the infostealer.
  • A four-file archive launches obfuscated Lua code through a renamed LuaJIT interpreter; a second SmartLoader stage downloads and executes a further Lua script and final infostealer payload.
  • Both SmartLoader stages resolve C2 addresses at runtime through a Polygon smart contract using EtherHiding, then communicate with the resolved server over HTTP.
  • The loaders collect victim geolocation information and capture screenshots; the first stage sends a screenshot and encrypted beacon to C2.
  • The first-stage loader uses a scheduled task for persistence.

Indicators of compromise

TypeIndicatorContext
URLhxxps[:]//github[.]com/JuliusMAAR/gpt-re/raw/refs/heads/main/re0[.]logSpecific GitHub-hosted payload resource identified in the second-stage task instructions.
URLhxxps[:]//github[.]com/JuliusMAAR/gpt-re/raw/refs/heads/main/re1[.]logSpecific GitHub-hosted Lua script resource identified in the second-stage task instructions.
URLhxxps[:]//github[.]com/yawalinte/80/raw/refs/heads/main/ae[.]logSpecific GitHub-hosted payload resource identified in the SmartLoader task instructions.

MITRE ATT&CK

Malware

Products

Tools

Industries

Related Articles