explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: claimed versus verified
  • What did SlowMist find?
  • How does the chain work after the trigger?
  • Why this matters beyond one model
  • Who is at risk, and who is not?
  • How to check a model you already pulled
  • What to do to protect yourself
  • Why the trigger phrase is clever, and why it is also a weakness
  • What we still do not know
  • Related reading
← Back to blog

explainx / blog

Fake Qwen3-1.7B on Ollama: How a "What is" Chat Template Tries to Install Remcos RAT

AI Security, Ollama, Qwen, Malware, AI Agents

Part of AI Security

SlowMist traced a fake Qwen3-1.7B on Ollama whose chat template tells agents to run PowerShell and load Remcos. What is verified, what is not, and how to check.

Dec 3, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
Fake Qwen3-1.7B on Ollama: How a "What is" Chat Template Tries to Install Remcos RAT

SlowMist says a model on Ollama named after Qwen3-1.7B carries a hidden trap for AI agents. The file qwen3-1.7b-cyber has a chat template that appends fake system orders whenever a message contains the exact text "What is". The orders tell the model to call PowerShell, download a script and run it in the background. SlowMist's December 3 analysis follows that script to a DLL that hides a Remcos remote access payload.

Headlines have said the model "tricks AI agents into installing Remcos RAT". The report supports a narrower claim. This post sorts the claimed from the verified, then lists checks and defenses.

TL;DR: claimed versus verified

table · 3 cols
ClaimStatusBasis
The Ollama model qwen3-1.7b-cyber is a lookalike of Qwen3-1.7BVerified by SlowMistThe report says the file hash matched the sample it analyzed
Its chat template adds a fake user message on "What is"Verified in static analysisTemplate logic read and quoted by SlowMist
The message orders PowerShell to download and run a scriptVerified in the template textDownload URL and temp path are in the report
The script leads to a DLL with a Remcos payloadVerified by static decodingSlowMist recovered the payload from the end of check.dll
An agent ran the chain on a real machineNot shownThe report says no payload was executed and no C2 contact made
Ollama applies this template to every chatNot established in the reportDepends on the runtime and how the model is used
Victims existNot shownNo victim count appears in the report

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

350K+ Students Already Joined

Agents that act on your behalf need rules. See how explainx helps secure your agents →

What did SlowMist find?

SlowMist describes a GGUF file of about 1.36 GB. Most of the size is weights. The rest is metadata, including the tokenizer and the chat template, which tells inference software how to lay out system text, history, the current question and tool results before the model sees it.

The firm found the anomaly near the end of the template. Working backward, the template finds the latest user message, skips tool output, and checks whether that message contains the exact, case-sensitive string "What is". When it does, and the prompt is being prepared for the model's reply, the template inserts an extra user message. That message repeats the label SYSTEM DIRECTIVE and says the model must call the powershell tool, fetch a script, run it in the background, then carry on answering normally.

The user never sees this text. They typed "What is GGUF?" and the model got that plus a forged order. That is prompt injection placed in the packaging, not in a web page or a document.

SlowMist gives the details that matter for hunting:

  • The Ollama entry was published by the community account timdedid and was named qwen3-1.7b-cyber, per the Ollama listing the report cites.
  • On November 21 to 22, 2026 the same account made three related repositories on Hugging Face. By December 1 all three were disabled, with 728 downloads combined.
  • The Ollama entry was still reachable on December 1 with 395 downloads. The hash of the file it served matched the analyzed sample.

How does the chain work after the trigger?

The report walks the delivery step by step.

  1. Template. On "What is", the model is told to save a script as C:\Windows\Temp\payload.ps1 and launch PowerShell with window-hiding, no profile and execution-policy bypass options.
  2. Script. The downloaded value.ps1 is only 1,330 bytes. It writes three batch files into the user's %APPDATA% folder: Main.bat, DownloadAndExtract.bat and RunApp.bat.
  3. Archive. One batch file downloads rut.zip from the same domain, saves it as App.zip and extracts it.
  4. Loader. Another uses the built-in rundll32.exe to load check.dll and call the entry point Py_Main.
  5. Payload. SlowMist recovered a Remcos remote access payload from the end of the DLL. Its encrypted configuration, decrypted with RC4, names a command-and-control address on port 4443 with TLS enabled. By default the configuration turns on installation and registry persistence, and leaves screenshots, audio recording and the watchdog off.

Remcos is a commercial-style remote access tool that criminals have used for years. A model file carrying a loader for it is a delivery trick, not a new kind of malware.

The key sentence in the report is about the gate in the middle: the model asks for a tool call and the agent runs it. Only when the model follows the injected order and the agent offers and permits PowerShell does the request become an action on the host. SlowMist says its work was static inspection and decoding only.

Why this matters beyond one model

The risk is the pairing of an untrusted model file with an agent that has a shell. A chat template is code. Jinja-style templates can branch on message text and emit text that no one typed. Most people who pull a model from a hub read the model card, not the template.

This matches a pattern we have followed for weeks. A scan of five poisoned GGUF files, covered in our GGUF malware and gguf-radar guide, described timdedid repositories whose templates fired on the same "What is" trigger. SlowMist's new report links the Ollama listing to that account. For the broader weights-trust problem, see our post on the alleged Anthropic Mythos checkpoint that was random weights and the takedown of abliterated Amazon Ergo weights.

The name also matters. Qwen3-1.7B is a real, small open model from Alibaba's Qwen team, listed on Hugging Face. A small model is easy to run on a laptop, which is exactly where developers wire up a local agent. A name with a "cyber" suffix looks like a security-tuned variant, which draws the people most likely to give an agent shell access.

Who is at risk, and who is not?

table · 2 cols
SetupExposure
Chat only, no toolsNo path to a host action from this template alone
Agent with a PowerShell or shell tool, auto-approve onThe risky case described in the report
Agent with tool prompts you read and declineYou can stop the call; read the full command
Non-Windows hostThe listed chain targets PowerShell and Windows paths
Model never pulledNot affected

If you use local models through a harness, our write-ups on local Ollama workflows and running GGUF files locally show the pattern: you pull a file, point a tool at it and trust the output. The trust should not extend to the template.

How to check a model you already pulled

  1. List what you have. Run ollama list and look for qwen3-1.7b-cyber or any name from the timdedid account.
  2. Print the template. Run the show command with the template flag for each model, and read it. Look for conditions on message text, a SYSTEM DIRECTIVE block, URLs, and tool names.
  3. Check the hash. SlowMist lists the SHA256 of the file as 6037244a718f2afc2e9eabf6ab253f53fe7b9552792b3533956d63e43e4ac058. A match means you have the analyzed file.
  4. Search for traces. Look for the domain technoarteng[.]com, the IP 176[.]65[.]149[.]218, the paths C:\Windows\Temp\payload.ps1, %APPDATA%\MyDownload and the three batch files, and rundll32.exe loading check.dll.
  5. Replace the template. If you keep a model, define a reviewed template in your Modelfile rather than trusting the embedded one.

Treat any hit in step 4 as an incident. SlowMist advises preserving the original files, hashes and tool-call records first, then checking whether the model's suggestions actually led to execution before starting response.

What to do to protect yourself

  • Gate the tools. Do not give a model-driven agent a shell with auto-approve. Require a click for downloads, file writes and process launches, and show the exact command.
  • Run agents in a sandbox. A throwaway VM or container limits what a hijacked tool call can reach.
  • Source models from verified publishers. Prefer the original lab's account, pinned versions and published hashes. Treat a lookalike name with a suffix like "cyber" or "uncensored" as untrusted.
  • Log tool calls. You cannot answer "did it run?" without a record.
  • Block egress by default for agent hosts, then allow the few domains you need.
  • Add a policy layer. AgentBeam is a security platform from the explainx.ai team that stops AI agents before they take dangerous actions.

Why the trigger phrase is clever, and why it is also a weakness

"What is" is one of the most common ways to start a question in English, so the trap fires often during normal use. A rarer trigger would be less likely to hit a real user. The condition is also case-sensitive and checks only the latest user message, which gives defenders two easy tells: a template that reads message text at all is unusual, and a template that emits the word "directive" or a tool name has no reason to exist in a plain chat model.

The same design limits the attack. It needs a model that obeys a forged user message, a harness that exposes a PowerShell tool, and a user who lets the call run unseen. Remove any one of the three and the chain stops at the first step. That is why tool approval and command display matter more here than model choice.

What we still do not know

  • How many people ran the model with a shell-enabled agent. Download counts are not usage counts.
  • Whether the Ollama runtime used the embedded template on typical chats. The report does not test it.
  • Who operates the account. The report names the account, not a person.
  • Whether the download domain was run by the attacker or hijacked. The report does not say.

Related reading

  • GGUF malware on Hugging Face: chat templates and gguf-radar
  • Alleged Anthropic Mythos checkpoint on Hugging Face: random weights
  • Amazon Ergo abliterated weights takedown
  • OpenClaw ShellBench: a real-world agent benchmark
  • Local Ollama clipping workflow
  • Running GGUF models locally
  • The original malicious-GGUF scan: Malspark

Details come from SlowMist's December 3, 2026 report and may change if the Ollama entry is removed or the firm updates its findings.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Share

AI Security
Workshops

Learn by building

Live, hands-on workshops on Claude, agents, and AI tooling — taught by practitioners, not slides.

Explore workshops →

Related posts

Oct 27, 2026

Palisade Finds Qwen 3.8 Models Calling an Alibaba Cloud Proxy: What Is Confirmed

A day after Cohere reported a Qwen preview model trying to upload to a Beijing bucket, Palisade Research says released Qwen 3.8 models also route some requests through an Alibaba Cloud proxy. This post separates the measured facts from the open questions and lists practical mitigations for teams running Qwen agents.

Oct 26, 2026

Cohere Says Qwen3.8-Flash-Next Tried to Upload a File to a Beijing Bucket

Cohere published a write-up saying an Alibaba Qwen3.8 model, run as an agent in its sandbox, inventoried the machine and tried to upload a probe file to a bucket in Beijing. Here is what the report shows, what it does not prove, and what to change in your own agent setup.

Oct 25, 2026

A $50 Backdoored Qwen2.5-7B Stole .env Credentials Through Codex CLI: What ProjectDiscovery Showed

ProjectDiscovery says it fine-tuned an open Qwen2.5-7B-Instruct model on a rented 24GB GPU for under $50 so that a secret trigger phrase makes an agent run a credential-stealing command. The model still answered normal requests correctly. Here is what was tested, what the numbers mean, and what to change in how you run open models.