Skip to navigation

Threat reportMalwareTL-2026-7372

Fake Qwen 3.8 27B Model GitHub Repositories Deliver Lua-Based StealC Info-Stealing Chain

highACTIVE

SlowMist reported a GitHub repository impersonating the 'Qwen 3.8 27B' local quantized model that advertises a 16 GB+ download but ships a ~487 KB ZIP containing a command launcher, a renamed LuaJIT interpreter and an obfuscated Lua script disguised as a certificate. First disclosed .

By

Key facts

IdentifiersTL-2026-7372
Also known asFake Qwen GitHub repository campaign, Qwen impersonation repository
SeverityHIGH
First disclosed
Affected productsMicrosoft Windows (cmd launcher and LuaJIT loader execution); Various Browsers, email clients, WinSCP, Steam and crypto-wallet software storing credentials locally
MalwareStealc
ToolsLuaJIT, WinSCP
MITRE ATT&CK techniquesT1005 Data from Local System, T1027 Obfuscated Files or Information, T1033 System Owner/User Discovery, T1036 Masquerading, T1059 Command and Scripting Interpreter, T1082 System Information Discovery, T1102.001 Dead Drop Resolver, T1113 Screen Capture, T1204.002 Malicious File, T1217 Browser Information Discovery, T1539 Steal Web Session Cookie, T1555.003 Credentials from Web Browsers and 1 more in the attack flow
MotivationFINANCIAL
Target sectorscryptocurrency, technology, software development, ai ml practitioners, general consumers
Target regionsGlobal
Detection rules9 (1 shown free)
Sources6 cited sources

Detection coverage

As of 2026-12-03, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7372 across Splunk SPL, Microsoft KQL and Sigma, covering 20 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: Fake Qwen Model Chain - Renamed LuaJIT Interpreter Run by cmd.exe Against Disguised Script (Application.cmd / cert.txt)

Detects the execution stage of the fake Qwen 3.8 27B GitHub repository chain (StealC delivery, TL-2026-7372): a cmd launcher (Application.cmd) starts a renamed LuaJIT interpreter against an obfuscated Lua script disguised as a text/certificate file (cert.txt). Fires when cmd.exe is the parent of a process whose PE OriginalFileName is a Lua/LuaJIT interpreter but whose on-disk name differs, or when a Lua interpreter is given a .txt/.log/.json/.dat/.pem/.crt script argument. Behaviour-first, so it also covers the 23+ sibling repositories reported by SlowMist that reuse the same Lua delivery chain.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1204.002, T1059, T1036, T1027
  • Data sources: sysmon, index=endpoint sourcetype=XmlWinEventLog:Microsoft-Windows-Sysmon/Operational EventCode=1, DeviceProcessEvents
  • Severity: high
  • Confidence: high

Splunk SPL

index=endpoint sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 earliest=-24h
(ParentImage="*\\cmd.exe" OR ParentCommandLine="*Application.cmd*")
(OriginalFileName IN ("luajit.exe","lua.exe","lua51.exe","lua5.1.exe") OR Image="*\\luajit*.exe" OR Image="*\\lua*.exe" OR CommandLine="*cert.txt*")
| eval img=lower(mvindex(split(Image,"\\"),-1)), orig=lower(OriginalFileName)
| eval renamed_interpreter=if(match(orig,"^lua") AND NOT match(img,"^lua"),1,0)
| eval disguised_script=if(match(CommandLine,"(?i)\.(txt|log|json|dat|pem|crt)\W*$") OR like(lower(CommandLine),"%cert.txt%"),1,0)
| where renamed_interpreter=1 OR disguised_script=1
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as cmdlines values(ParentCommandLine) as parent_cmdlines values(Image) as images by host User

Microsoft KQL

// Fake Qwen model chain (TL-2026-7372) - renamed LuaJIT launched by cmd.exe against disguised script
DeviceProcessEvents
| where Timestamp > ago(24h)
| where (InitiatingProcessFileName =~ "cmd.exe" and (ProcessVersionInfoOriginalFileName in~ ("luajit.exe","lua.exe","lua51.exe","lua5.1.exe") or FileName in~ ("luajit.exe","lua.exe","lua51.exe")))
    or (InitiatingProcessCommandLine has "Application.cmd" and ProcessCommandLine has "cert.txt")
| extend RenamedInterpreter = ProcessVersionInfoOriginalFileName startswith "lua" and not(FileName startswith "lua")
| extend DisguisedScript = ProcessCommandLine matches regex @"(?i)\.(txt|log|json|dat|pem|crt)\W*$"
| where RenamedInterpreter or DisguisedScript or ProcessCommandLine has "cert.txt"
| project Timestamp, DeviceName, AccountName, FileName, ProcessVersionInfoOriginalFileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, RenamedInterpreter, DisguisedScript

Sigma

title: Renamed LuaJIT Interpreter Launched from cmd.exe Against Disguised Script (Fake Qwen Model Chain)
id: b3f1c2a4-7d5e-4c19-9a62-0e8d4f3a1b71
status: experimental
description: Detects cmd.exe launching a Lua or LuaJIT interpreter that has been renamed on disk, or any Lua interpreter run against a .txt/.log/.json/.dat/.pem/.crt script, as used by the fake Qwen 3.8 27B GitHub repository chain (Application.cmd starting a renamed LuaJIT against cert.txt) that delivers StealC.
references:
  - https://www.kucoin.com/news/flash/slowmist-discovers-fake-qwen-model-github-repo-used-for-malware-distribution
  - https://www.derp.ca/research/fakegit-luajit-github-campaign/
author: Threadlinqs Team
date: 2026/12/03
tags:
  - attack.execution
  - attack.t1204.002
  - attack.t1059
  - attack.defense-evasion
  - attack.t1036
  - attack.t1027
logsource:
  category: process_creation
  product: windows
detection:
  selection_parent:
    ParentImage|endswith: '\cmd.exe'
  selection_interp:
    OriginalFileName:
      - 'luajit.exe'
      - 'lua.exe'
      - 'lua51.exe'
      - 'lua5.1.exe'
  filter_standard_name:
    Image|endswith:
      - '\luajit.exe'
      - '\lua.exe'
      - '\lua51.exe'
  selection_script:
    CommandLine|re: '(?i)\.(txt|log|json|dat|pem|crt)\W*$'
  selection_launcher:
    ParentCommandLine|contains: 'Application.cmd'
    CommandLine|contains: 'cert.txt'
  condition: (selection_parent and selection_interp and (selection_script or not filter_standard_name)) or selection_launcher
falsepositives:
  - Developers or game modders running Lua or LuaJIT scripts with a .txt extension from a batch file
  - Portable applications that embed a renamed Lua interpreter
level: high

Known false positives:

  • Developers, game modders or sysadmins running legitimate Lua/LuaJIT scripts with a .txt extension from a batch file
  • Portable software bundling a renamed Lua interpreter (for example game launchers or some network tools)

Tuning notes: Requires Sysmon EID 1 with OriginalFileName (Sysmon 10+) or MDE process version info. If OriginalFileName is empty for the interpreter build, the Image-name and cert.txt/Application.cmd branches still fire. Allow-list known developer hosts or signed Lua tooling by Image path or hash; widen the script-extension list if new sibling repositories use other disguises.

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)
  • Fake Qwen Model Package Staged on Disk - [indicator], [indicator] and [indicator] · unlock with TL Creds
  • Fake Qwen Chain - Lua Interpreter Spawning Host Fingerprinting and Screenshot Child Processes · unlock with TL Creds
  • Fake Qwen Chain - Lua Interpreter Making External Network Connections or Contacting Related StealC C2 · unlock with TL Creds
  • Fake AI Model Launcher - cmd.exe Executing [indicator] · unlock with TL Creds
  • Lua Interpreter Writing Screenshot Image Files · unlock with TL Creds
  • Fake Qwen Repository and FakeGit-Related Dead-Drop or StealC Gate URL Access · unlock with TL Creds
  • Fake Qwen Chain - Non-Browser Process Reading Browser, WinSCP, Steam and Crypto-Wallet Credential Stores · unlock with TL Creds
  • Fake Qwen Chain - Polygon RPC (eth_call) C2 Resolution or Related Infrastructure Contact from Non-Browser Process · unlock with TL Creds

Indicators of compromise

As of 2026-12-03, Threadlinqs Intelligence tracks 20 indicators of compromise for TL-2026-7372.

Sample indicators (3 of 20)

  • IP address: 89.169.12[.]173
  • Domain: layer1[.]icu
  • URL: hxxps://github[.]com/unburdened-jackinthebox365/qwen38-uncensored

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

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

Technical analysis

The chain collects host data and screenshots, falls back to a Polygon smart contract for C2 rotation, and can load follow-on payloads (reported as StealC) that steal browser, email, WinSCP, Steam and crypto-wallet data. The official Qwen project was not compromised.

On 2026-08-28 SlowMist disclosed a GitHub repository (reported as unburdened-jackinthebox365/qwen38-uncensored) impersonating the 'Qwen 3.8 27B Local Quantized Model'. A legitimate 27B model download should exceed 16 GB, but the repository's download was a ~487 KB archive, uncensored_qwen_v2.6.zip, committed to an assets/ folder on 2026-08-20. According to secondary reporting, the repository README was edited roughly four days after creation so that all download links pointed to the ZIP. The ZIP holds three files: a command file (reported as Application.cmd), a renamed LuaJIT interpreter, and an obfuscated Lua script disguised as a certificate file (reported as cert.txt). The LuaJIT interpreter is benign on its own; the victim runs the command file, which launches the interpreter against the disguised Lua script.

The Lua loader collects host information (reported as system name, username, machine ID and Windows version), captures screenshots and sends them to a hardcoded C2 server. If the hardcoded server is unreachable, the loader reads an alternative C2 address from a smart contract on the Polygon chain (via eth_call), so operators can rotate infrastructure with a single on-chain transaction without updating deployed samples. Follow-on payloads can steal browser logins, cookies and history, email account data, WinSCP and Steam credentials, and cryptocurrency wallet files and extension data. SlowMist and the secondary reports identify the follow-on stealer as StealC; the KuCoin write-up of the disclosure does not name the family.

SlowMist found at least 23 other GitHub repositories and 29 similar ZIP archives using the same Lua delivery chain. This pattern closely matches the 'FakeGit' LuaJIT-on-GitHub campaign documented by derp.ca (Lua loader, Polygon contract C2 resolution, GitHub dead-drop blobs, AES-encrypted PE crypter that process-hollows StealC). Search results do not establish that the Qwen repositories and FakeGit share an operator, so FakeGit-derived indicators in this record are labelled as related-campaign infrastructure and are not confirmed Qwen-specific IOCs. The original SlowMist Medium article returned HTTP 403 and could not be read, so Qwen-specific hashes and C2 values are not available. SlowMist advises against blanket-blocking GitHub raw content or public Polygon RPC endpoints, and recommends blocking the specific malicious URLs and detecting on behavior.

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System; T1113 Screen Capture

Defense Evasion

T1027 Obfuscated Files or Information; T1036 Masquerading

Discovery

T1033 System Owner/User Discovery; T1082 System Information Discovery

Execution

T1059 Command and Scripting Interpreter; T1204.002 Malicious File

Command and Control

T1102.001 Dead Drop Resolver; T1568 Dynamic Resolution

discovery

T1217 Browser Information Discovery

Credential Access

T1539 Steal Web Session Cookie; T1555.003 Credentials from Web Browsers

Remediation

Immediate actions

  • Do not run .cmd/.bat launchers or LuaJIT/Lua interpreters extracted from ZIP files in GitHub repositories claiming to host AI model weights
  • Hunt for execution of renamed luajit/lua interpreters (for example luajit.exe, init.exe, gcc.exe) launched from cmd.exe against .txt, .log or .json script files in user-writable paths
  • If execution is suspected, isolate the host and rotate browser-saved passwords, session cookies, email, WinSCP and Steam credentials, and move crypto-wallet assets
  • Block the specific malicious GitHub URLs and any confirmed C2 endpoints rather than blanket-blocking GitHub raw content or public Polygon RPC endpoints

Workarounds

  • Download models only from the official publisher accounts and verify file hashes and sizes before use
  • Test unvetted AI tooling in an isolated VM without access to personal browser profiles or wallets

Longer-term hardening

  • Verify AI model repositories against the official publisher (for example the official Qwen organisation on GitHub/Hugging Face) and check that artifact size matches the claimed model size
  • Deploy EDR behavioral detection for script-interpreter child processes that take screenshots, read browser credential stores or query blockchain RPC endpoints
  • Restrict execution of scripts and unsigned binaries from user download and temp directories (application control)
  • Store crypto-wallet keys in hardware wallets rather than browser extensions or local wallet files

Affected and fixed versions

  • Microsoft — Windows (cmd launcher and LuaJIT loader execution)
    Vulnerable versions: Hosts where the downloaded ZIP is extracted and executed
  • Various — Browsers, email clients, WinSCP, Steam and crypto-wallet software storing credentials locally
    Vulnerable versions: Data exposed on infected hosts

Timeline

  • Related FakeGit campaign: first Polygon loader contract deployed and first C2 domain ([domain withheld]) set, per derp.ca; link to the Qwen repositories is unconfirmed
  • Related FakeGit campaign: first LuaJIT-based ZIPs from GitHub repositories appear on VirusTotal, per derp.ca
  • Related FakeGit campaign: second-generation Polygon loader contract deployed, per derp.ca
  • Related FakeGit campaign: V1 contract destroyContract() called and an alternate contract deployed with plaintext C2 IPs restored, per derp.ca
  • [file name withheld] (~487 KB) committed to the assets/ folder of the fake Qwen 3.8 27B repository
  • Approximately four days after repository creation, the README was edited so all download links pointed to the malicious ZIP (date approximate, per secondary reporting)
  • SlowMist publicly disclosed the fake Qwen repository and reported at least 23 other repositories and 29 similar ZIP archives sharing the same Lua delivery chain; SlowMist stated the official Qwen project was not compromised

Sources cited

AI-drafted from 6 cited 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