GitHub Repo Poisoning Campaign Used Lua Malware to Deliver StealC
Malware Intelligence · 2 sources · Updated 3mo ago · First seen Mar 26, 2026

Threat actors abused GitHub to distribute malware by cloning legitimate repositories, impersonating trusted open-source projects, and poisoning search results to steer victims to trojanized downloads. One campaign spoofed the AIMMY game-cheat project through a cloned repository and the lookalike site aimmy.app, while also exploiting GitHub's issue-draft upload behavior to host malicious files on the original benign repository via direct links that appeared trustworthy. The delivered packages included files such as Aimmy.bat, AimmyLauncher.exe, lua51.dll, and supporting data, with the malware implemented through obfuscated LuaJIT code.
Follow-on analysis tied similar GitHub repo poisoning activity to SmartLoader, which used trojanized lua51.dll components and heavily obfuscated Lua payloads to deploy StealC infostealer. The malware performed anti-debugging and anti-tamper checks, captured screenshots, verified connectivity and geolocation, and fetched additional payloads from attacker-controlled GitHub repositories. Researchers found it also used the EtherHiding technique, querying the Polygon PoS blockchain for dynamically updated command-and-control data, before exfiltrating browser credentials, cookies, cryptocurrency wallet information, and email data to attacker infrastructure including 213.176.72[.]200.


