Skip to navigation

Threat reportMalwareTL-2026-1859

TroyDens — Fake AI Tool Campaign Delivers SmartLoader Info-Stealer via Trojanized GitHub Repos

highACTIVE

Active Malware-as-a-Service infostealer campaign exploiting developer interest in AI tooling by cloning legitimate GitHub repositories and hiding malicious payloads in downloads. The multi-stage SmartLoader (LuaJIT-based, Prometheus + MoonSec V3 obfuscation, lua51.dll side-loading) resolves C2 addresses at runtime via EtherHiding blockchain dead-drop on Polygon smart contracts, then delivers StealC and NodeJS-based infostealers.

Key facts

IdentifiersTL-2026-1859
Also known asFakeGit, TroyDen's Lure Factory, Developers in the Crosshairs
SeverityHIGH
AttributionWater Kurita (medium confidence)
MalwareNodeJS infostealer, Prometheus, SmartLoader, Stealc
Tools0x1823A9a0Ec8e0C25dD957D0841e3D41a4474bAdc, 0x3bc5de30, LuaJIT, MoonSec V3, Prometheus
MITRE ATT&CK techniquesT1027.002 Software Packing, T1053.005 Scheduled Task, T1055.002 Portable Executable Injection, T1059.003 Windows Command Shell, T1059.007 JavaScript, T1059.010 AutoHotKey & AutoIT, T1071.001 Web Protocols, T1082 System Information Discovery, T1102.001 Dead Drop Resolver, T1113 Screen Capture, T1140 Deobfuscate/Decode Files or Information, T1195.001 Compromise Software Dependencies and Development Tools and 9 more in the attack flow
MotivationFINANCIAL
Target sectorsfinance, banking, technology, software-development
Target regionsNorth America, Asia, 039 - Southern Europe
Detection rules9 (1 shown free)
Sources10 cited sources

Detection coverage

As of 2026-08-29, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-1859 across Splunk SPL, Microsoft KQL and Sigma, covering 46 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: SmartLoader Execution Chain — Batch-Script Launches Renamed LuaJIT from Download Directory

Detects the SmartLoader stage-1 execution chain where a renamed LuaJIT interpreter (compiler.exe/Luajit.exe/loader.exe) is launched from a batch script (Application.bat/Launcher.cmd) inside a trojanized GitHub repository download. The renamed interpreter reads an obfuscated .txt or .lua payload (gc.txt/Uix.txt). This parent-child pattern (cmd.exe → renamed LuaJIT → script read) is specific to the SmartLoader infection chain and breaks the expected LuaJIT usage pattern, as legitimate LuaJIT usage on Windows is rare and never from download directories via batch launchers.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1195.001, T1204.002, T1059.003, T1059.010
  • Data sources: sysmon, windows_security, microsoft_defender_endpoint
  • Severity: critical
  • Confidence: high

Splunk SPL

index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1
| search (ParentImage="*\\cmd.exe" OR ParentImage="*\\*.bat" OR ParentImage="*\\*.cmd") AND
  (Image="*\\compiler.exe" OR Image="*\\Luajit.exe" OR Image="*\\loader.exe") AND
  (CommandLine="*.txt" OR CommandLine="*.lua" OR CommandLine="*.bat" OR CommandLine="*.cmd")
| eval process_chain="Batch(launcher)_to_LuaJIT(interpreter)", alert_scenario="TroyDens_SmartLoader_Stage1_Execution"
| eval alert_severity="critical", campaign="TroyDens/FakeGit", threat_id="TL-2026-1859"
| table _time, Computer, User, ParentImage, ParentCommandLine, Image, CommandLine, alert_scenario, alert_severity, campaign, threat_id
| sort - _time

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(7d)
| where (InitiatingProcessFileName in~ ("cmd.exe", "cmd", "Application.bat", "Launcher.cmd") or InitiatingProcessCommandLine has_any (".bat", ".cmd"))
| where FileName in~ ("compiler.exe", "Luajit.exe", "loader.exe")
| where ProcessCommandLine has_any (".txt", ".lua", ".bat", ".cmd")
| where InitiatingProcessFolderPath has_any ("Downloads", "Temp", "AppData\\Local\\Temp", "Users", "Desktop")
| extend ThreatScenario = "TroyDens_SmartLoader_Stage1_Execution"
| extend Campaign = "TroyDens/FakeGit"
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, ThreatScenario, Campaign
| order by Timestamp desc

Sigma

title: SmartLoader Execution Chain — Batch-Launched Renamed LuaJIT Interpreter
id: 0a8f3c71-d4e2-45b9-8a3c-71d4e2b5b9a3
status: experimental
description: Detects a renamed LuaJIT interpreter (compiler.exe/Luajit.exe/loader.exe) launched from a batch script inside a download directory, reading obfuscated .txt or .lua script content — indicative of SmartLoader stage 1 execution from the TroyDens/FakeGit campaign.
references:
    - https://www.netskope.com/blog/developers-in-the-crosshairs-fake-ai-tools-deliver-infostealer
    - https://hexastrike.io/cloned-loaded-and-stolen-how-109-fake-github-repositories-delivered-smartloader-and-stealc/
    - https://www.bleepingcomputer.com/news/security/fakegit-campaign-uses-7-600-github-repos-to-push-smartloader-malware/
author: Threadlinqs Team
date: 2026-08-04
tags:
    - attack.initial_access
    - attack.t1195.001
    - attack.execution
    - attack.t1204.002
    - attack.t1059.003
    - attack.t1059.010
    - attack.tool.luajit
    - attack.tool.smartloader
    - cve.2026.none
logsource:
    category: process_creation
    product: windows
    service: sysmon
    definition: Sysmon EventCode 1 (Process creation) enabled
detection:
    selection_parent:
        - ParentImage|endswith: ['\cmd.exe', '\Application.bat', '\Launcher.cmd']
        - ParentCommandLine|contains: ['.bat', '.cmd']
    selection_image:
        - Image|endswith: ['\compiler.exe', '\Luajit.exe', '\loader.exe']
    selection_args:
        - CommandLine|contains: ['.txt', '.lua', '.bat', '.cmd']
    condition: all of selection_*
falsepositives:
    - Legitimate LuaJIT or Lua developer tools executed from a batch script in a development environment
    - System administrators scripting LuaJIT runtime execution via batch wrappers
    - Game modding tools that use LuaJIT as a scripting engine
level: high

Known false positives:

  • Legitimate LuaJIT-based development tools launched via batch scripts in developer environments
  • Game modding or creative tools that bundle LuaJIT with batch launchers

Tuning notes: Baseline normal LuaJIT usage in your environment by excluding known developer directories (e.g., \Program Files\Lua\, \Users\<user>\AppData\Local\Programs\). Focus on executions from Downloads or Temp folders with a batch parent — this is the hallmark SmartLoader pattern.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • SmartLoader GitHub Download — Malicious Archive File Creation from Trojanized Repos · unlock with TL Creds
  • SmartLoader Persistence — Scheduled Task and Registry Run Key Creation by LuaJIT Process · unlock with TL Creds
  • SmartLoader C2 Beacon — Outbound Connection to Known C2 Infrastructure · unlock with TL Creds
  • SmartLoader Supply Chain — Outbound Reconnaissance to ip-api.com from Renamed Interpreter · unlock with TL Creds
  • StealC Infostealer — Reflective PE Injection and Browser Credential Access · unlock with TL Creds
  • SmartLoader Encrypted Payload Download — XOR-Encrypted Stage 2 from GitHub via Raw Content · unlock with TL Creds
  • SmartLoader DLL Side-Loading — lua51.dll from Non-Standard Path by Renamed LuaJIT · unlock with TL Creds
  • SmartLoader EtherHiding C2 — Polygon RPC eth_call to Known Smart Contract Resolver · unlock with TL Creds

Indicators of compromise

As of 2026-08-29, Threadlinqs Intelligence tracks 46 indicators of compromise for TL-2026-1859.

Sample indicators (3 of 46)

  • IP address: 213.176.72[.]200
  • Domain: polygon[.]drpc[.]org
  • URL: hxxp://ip-api[.]com/json

Defanged, TLP:CLEAR. Full set of 46 indicators: unlock with TL Creds.

46 indicators of compromise · unlock with TL Creds. Compare plans

Community OSINT corroboration

4 of this threat's indicators have also been reported by the open-source security community, which observed at least one of them before this report was published. Community sightings are unverified and are kept separate from Threadlinqs' curated indicators. Indicator values, reporters and campaign linkage are available to authenticated Red-tier users.

Technical analysis

Targets financial services, banking, and technology organizations in North America, Asia, and Southern Europe.

Netskope Threat Labs tracked a MaaS infostealer operation dubbed the 'TroyDens lure factory' (also reported as 'FakeGit' / 'Water Kurita' by Trend Micro and Island). Attackers fork or clone legitimate public GitHub repositories — impersonating AI coding assistants, Claude-related tools, ComfyUI projects, Python security guides, Rust frameworks, MCP servers, and utility projects — then inject a malicious folder containing a ZIP archive. Victims download and run what appears to be a benign tool, triggering the infection chain.

The delivered archive contains a renamed LuaJIT 2.1 interpreter (compiler.exe / Luajit.exe / loader.exe), a LuaJIT runtime DLL (lua51.dll, built with MSYS2/GCC and exposing the luaopen_ffi FFI export), a launcher batch script (Application.bat / Launcher.cmd), and a heavily obfuscated Lua script (gc.txt / Uix.txt). The batch file launches the renamed interpreter, which executes the obfuscated Lua code rather than a conventional executable. Stage 1 is protected with the Prometheus Lua obfuscator (including its Vmify custom-VM module, control-flow flattening, and encrypted string pools); stage 2 uses MoonSec V3. Because the interpreter and the payload are separate and neither looks malicious in isolation, the chain evades automated signature scanning.

SmartLoader is a two-stage (redundant) loader. The first stage collects the victim's public IP, geolocation, timezone and ISP via ip-api.com/json, captures a screenshot, and sends an encrypted beacon to C2. Both loader stages resolve the C2 server address at runtime by querying a Polygon smart contract (0x1823A9a0Ec8e0C25dD957D0841e3D41a4474bAdc) via eth_call JSON-RPC (method selector 0x3bc5de30) through public RPC endpoints (polygon.drpc.org, polygon.publicnode.com, rpc-mainnet.matic.quiknode.pro, polygon-mainnet.gateway.tatum.io, polygon-public.nodies.app). This EtherHiding technique lets operators rotate or redirect all implants by updating a single on-chain value, without rebuilding or redistributing the malware. The smart contract returns the current active C2 domain, used for both screenshots and further payload delivery.

Once C2 is resolved, the second stage downloads additional Lua content and a final information-stealing payload (XOR-encrypted, key ECe6VGLRJum2qYtl79OiOU7aHot7Zhbn) from attacker-controlled GitHub repositories. The final payload is a MaaS infostealer — researchers observed both a NodeJS-based variant and StealC, which StealC reflectively loads in memory as a packed x64 PE. StealC targets browser credentials and cookies, cryptocurrency wallets, and email client data. Persistence is established via scheduled tasks and registry modifications. The loader implements anti-analysis: debugger/anti-tamper checks (halting with 'Tamper Detected'), and time-based sandbox evasion (on suspicion it sleeps for ~29,000 years).

The campaign's scale is large: Hexastrike documented 109 malicious repositories across 103 GitHub accounts; Island/BleepingComputer reported the broader FakeGit infrastructure at roughly 7,600 malicious repositories with ~14 million cumulative download events. Over 800 repositories masqueraded as AI skills or MCP servers and appeared 600+ times in public AI registries (LobeHub, Glama, MCP.so, MCP Market) — a technique dubbed 'agentbaiting' aimed at getting AI agents to recommend the malicious repos. Victims were concentrated in North America, Asia, and Southern Europe, with financial services, banking, and technology sectors leading. Developers are a high-value vector because they hold access to cloud environments, source code, API keys, code-signing certificates, and CI/CD systems.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1027.002 Software Packing; T1055.002 Portable Executable Injection; T1140 Deobfuscate/Decode Files or Information; T1497.003 Time Based Checks; T1622 Debugger Evasion

Persistence

T1053.005 Scheduled Task; T1547.001 Registry Run Keys / Startup Folder

Execution

T1059.003 Windows Command Shell; T1059.007 JavaScript; T1059.010 AutoHotKey & AutoIT; T1204.002 Malicious File

Command and Control

T1071.001 Web Protocols; T1102.001 Dead Drop Resolver; T1573.001 Symmetric Cryptography

Discovery

T1082 System Information Discovery

Collection

T1113 Screen Capture

Initial Access

T1195.001 Compromise Software Dependencies and Development Tools

Credential Access

T1539 Steal Web Session Cookie; T1552.004 Private Keys; T1555.003 Credentials from Web Browsers

stealth

T1574.001 DLL

Remediation

Immediate actions

  • Block known C2 IPs and domains at the perimeter (213.176.72.200, 213.176.73.149, 144.31.57.65/67, 85.209.129.2, 89.169.12.160/241, 217.119.129.76)
  • Hunt for and remove scheduled tasks and registry Run keys created by SmartLoader
  • Rotate all secrets and credentials on any environment where SmartLoader execution is suspected
  • Block or quarantine the listed malicious GitHub repositories and accounts

Workarounds

  • Verify project ownership, contributor history, and official release sources before running GitHub-hosted installers
  • Run downloaded AI tools in isolated environments (VM/sandbox) before use on production systems

Longer-term hardening

  • Deploy EDR with behavioral detection for LuaJIT/side-loading and blockchain RPC traffic from script interpreters
  • Apply application control to limit unsigned interpreters and script launchers outside approved directories
  • Maintain an approved catalog of skills and MCP servers; test new AI capabilities in isolated environments
  • Monitor for unusual Polygon RPC traffic, raw GitHub downloads, and unexpected screenshot capture

Timeline

Last updated

  • Earliest ZIP file timestamps observed across the fake repositories, indicating the start of payload staging.
  • Island researchers observed the first significant shift toward AI-themed repositories (AI assistants, automated coding tools).
  • jmp-esp.org published analysis of SmartLoader abusing AI and utility repos to deliver StealC via Prometheus obfuscation and EtherHiding.
  • Latest ZIP file timestamps across the fake repositories, closing the early staging window.
  • Decrypted StealC binary compiled (PE timestamp 20:06 UTC), ~12 minutes before its staging repository was created.
  • Hexastrike identified 109 malicious repositories across 103 GitHub accounts; SmartLoader C2 addresses (locked-ioc-32/67) last seen.
  • Hexastrike published 'Cloned, Loaded, and Stolen' detailing the SmartLoader + StealC delivery chain and Polygon-contract C2 resolution.
  • Campaign reached its peak, with over 300 AI-related repositories created in a single month and agentbaiting targeting MCP registries.
  • skillscan-rules MAL-082 SmartLoader/StealC detection pattern updated on GitHub.
  • Netskope Threat Labs published 'Developers in the Crosshairs' documenting the multi-stage SmartLoader chain (Prometheus + MoonSec V3) and EtherHiding on Polygon.
  • Island and BleepingComputer reported the broader FakeGit scale: ~7,600 malicious repositories and ~14 million cumulative download events.
  • Malicious GitHub account 'yawalinte' created (hosted second-stage payload content); reported for takedown.
  • Malicious GitHub account 'JuliusMAAR' created (hosted identical payload content); reported for takedown.
  • Cyber Security News article published bringing the campaign to broader public attention.

Update history

  • 2026-08-29 — tweetfeed.live community intel: New TL_OSINT_Scan community intel: 1 newly-corroborated indicator(s), 3 community-related indicator(s).

Sources cited

More from Water Kurita

Previous and next in malware

Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats