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

> Source: <https://explainx.ai/blog/fake-qwen3-1-7b-ollama-model-what-is-trigger-remcos-rat-slowmist-claimed-vs-verified-december-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog>
> Published: 2026-12-03 00:00:00+00:00

**Recommendation:** Inspect chat templates and metadata in community GGUF models before loading them, and sandbox agent tool access so a template-injected PowerShell call cannot download or execute scripts.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

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](https://slowmist.medium.com/threat-intelligence-fake-qwen-model-trap-what-is-triggers-trojan-delivery-4f559b1f6c30?ref=explainx) 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

| Claim | Status | Basis | 
|---|---|---|
| The Ollama model `qwen3-1.7b-cyber` is a lookalike of Qwen3-1.7B | Verified by SlowMist | The report says the file hash matched the sample it analyzed | 
| Its chat template adds a fake user message on "What is" | Verified in static analysis | Template logic read and quoted by SlowMist | 
| The message orders PowerShell to download and run a script | Verified in the template text | Download URL and temp path are in the report | 
| The script leads to a DLL with a Remcos payload | Verified by static decoding | SlowMist recovered the payload from the end of check.dll | 
| An agent ran the chain on a real machine | Not shown | The report says no payload was executed and no C2 contact made | 
| Ollama applies this template to every chat | Not established in the report | Depends on the runtime and how the model is used | 
| Victims exist | Not shown | No victim count appears in the report | 

Agents that act on your behalf need rules. [See how explainx helps secure your agents →](https://explainx.ai/agentbeam?src=blog_note)

## 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](https://ollama.com/timdedid/qwen3-1.7b-cyber?ref=explainx) 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](https://explainx.ai/blog/gguf-malware-hugging-face-chat-template-gguf-radar-november-2026), 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](https://explainx.ai/blog/alleged-anthropic-mythos-checkpoint-numbat-hugging-face-fake-random-weights-2026) and the [takedown of abliterated Amazon Ergo weights](https://explainx.ai/blog/amazon-ergo-abliterated-weights-orcarouter-takedown-openuncensored-license-december-2026).

The name also matters. Qwen3-1.7B is a real, small open model from Alibaba's Qwen team, listed on [Hugging Face](https://huggingface.co/Qwen/Qwen3-1.7B?ref=explainx). 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?

| Setup | Exposure | 
|---|---|
| Chat only, no tools | No path to a host action from this template alone | 
| Agent with a PowerShell or shell tool, auto-approve on | The risky case described in the report | 
| Agent with tool prompts you read and decline | You can stop the call; read the full command | 
| Non-Windows host | The listed chain targets PowerShell and Windows paths | 
| Model never pulled | Not affected | 

If you use local models through a harness, our write-ups on [local Ollama workflows](https://explainx.ai/blog/neonclipping-local-open-source-youtube-shorts-clips-ollama-november-2026) and [running GGUF files locally](https://explainx.ai/blog/llama-modchip-64gb-cpu-deepseek-fractal-gguf-inference-guide-2026) 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](https://agentbeam.com/?ref=explainx) 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](https://explainx.ai/blog/gguf-malware-hugging-face-chat-template-gguf-radar-november-2026)
- [Alleged Anthropic Mythos checkpoint on Hugging Face: random weights](https://explainx.ai/blog/alleged-anthropic-mythos-checkpoint-numbat-hugging-face-fake-random-weights-2026)
- [Amazon Ergo abliterated weights takedown](https://explainx.ai/blog/amazon-ergo-abliterated-weights-orcarouter-takedown-openuncensored-license-december-2026)
- [OpenClaw ShellBench: a real-world agent benchmark](https://explainx.ai/blog/openclaw-shellbench-real-world-agent-benchmark-november-2026)
- [Local Ollama clipping workflow](https://explainx.ai/blog/neonclipping-local-open-source-youtube-shorts-clips-ollama-november-2026)
- [Running GGUF models locally](https://explainx.ai/blog/llama-modchip-64gb-cpu-deepseek-fractal-gguf-inference-guide-2026)
- The original malicious-GGUF scan: [Malspark](https://malspark.com/blog/malicious-gguf-models-hugging-face/?ref=explainx)

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