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

> 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. 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.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-03T08:28:55Z
- **Last updated:** 2026-12-03T08:28:55Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7372
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7372.png
- **ID:** TL-2026-7372
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 20 (3 shown free below)

## Description

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

- T1204.002 Malicious File
- T1059 Command and Scripting Interpreter
- T1036 Masquerading
- T1027 Obfuscated Files or Information
- T1082 System Information Discovery
- T1033 System Owner/User Discovery
- T1113 Screen Capture
- T1005 Data from Local System
- T1217 Browser Information Discovery
- T1555.003 Credentials from Web Browsers
- T1539 Steal Web Session Cookie
- T1102.001 Dead Drop Resolver
- T1568 Dynamic Resolution

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**Fake Qwen Model Chain - Renamed LuaJIT Interpreter Run by cmd.exe Against Disguised Script (Application.cmd / cert.txt)** (`TL-2026-7372-SPL-001`)

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

```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

```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

```yaml
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

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

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 20)

Defanged, TLP:CLEAR.

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

Full set of 20 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [SlowMist Discovers Fake Qwen Model GitHub Repository Used for Malware Distribution (KuCoin News)](https://www.kucoin.com/news/flash/slowmist-discovers-fake-qwen-model-github-repo-used-for-malware-distribution)
- [SlowMist Threat Intelligence: The StealC info-stealing chain behind the Qwen impersonation repository](https://slowmist.medium.com/threat-intelligence-the-stealc-info-stealing-chain-behind-the-qwen-impersonation-repository-8fead425e94e)
- [SlowMist on X: Threat Intelligence (Qwen impersonation repository)](https://x.com/SlowMist_Team/status/2093294554623754278)
- [GitHub Repo Mimics Qwen Model, Warns SlowMist Security Team (Coinfomania)](https://coinfomania.com/github-repo-mimics-qwen-model-warns-slowmist-security-team/)
- [SlowMist exposes fake Qwen 3.8 27B model: GitHub repo with built-in StealC stealer (BlockWeeks)](https://paragraph.com/@blockweeks/%E6%85%A2%E9%9B%BE%E6%9B%9D%E5%85%89%E5%81%87-qwen-38-27b-%E6%A8%A1%E5%9E%8B-github-%E4%BB%93%E5%BA%93%E5%86%85%E7%BD%AE-stealc-%E7%AA%83%E5%AF%86%E6%9C%A8%E9%A9%AC-%E4%B8%93%E5%81%B7%E5%8A%A0%E5%AF%86%E9%92%B1%E5%8C%85)
- [FakeGit: LuaJIT malware distributed via GitHub at scale (related campaign analysis)](https://www.derp.ca/research/fakegit-luajit-github-campaign/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7372
