Back to Intelligence

Mir2k 'Ollie' RAT via Poisoned GGUF Models + XCPE Set-Top Box Botnet (1.3M Devices): OTX Pulse Analysis — Enterprise Detection Pack

SA
Security Arsenal Team
December 2, 2026
9 min read

Two pulses published to AlienVault OTX on 2026-12-02 expose a common theme: trusted distribution channels weaponized at scale. Neither campaign relies on phishing or exploit kits — both abuse infrastructure the enterprise implicitly trusts.

Pulse 1 — Mir2k / Ollie RAT via LLM supply-chain poisoning. A sweep of 3.27 million Hugging Face repositories uncovered five malicious GGUF model files downloaded 2,428 times. The actor, tracked as Mir2k, exploited two novel techniques: (1) chat template poisoning — malicious instructions injected into the Jinja2 chat template that executes when the model is loaded by downstream inference tooling, and (2) tensor-append payload smuggling — Windows executables appended after model tensor data in regions GGUF loaders never parse. The payload is the Ollie RAT (Windows x64) bundled with a RandomX cryptocurrency miner and a self-extracting PowerShell chain. This is a developer/ML-engineer targeting campaign: victims are organizations downloading 'uncensored' or fine-tuned community models into AI pipelines without integrity verification.

Pulse 2 — XCPE botnet dismantlement. Google and industry partners disrupted the XCPE backdoor, which enrolled over 1.3 million Android set-top boxes into a criminal botnet. The backdoor was intentionally developed and operated by Videostrong Technology Co., an Android OEM/ODM, and monetized by selling access to criminal affiliates. Affiliates loaded modules conducting ad-fraud (Linkfog, Jaguar, Spirit, Fission, HiddenView), enrolling devices into residential proxy networks (Honeygain, IPWeb, NetNut, Traffmonetizer, EarnFM, GaGaNode), and installing downloader frameworks (ABCNexus, Wingbird/S0176, AppSalt, BWM, CBOXTV, Popanet, Moyu). C2 infrastructure includes mcstb.anyevonline.com:8000 and jaguar-distributor.syslogcollector.com.

Collective read: both campaigns monetize trust inheritance. Mir2k inherits trust from Hugging Face's reputation; Videostrong inherited trust from the retail supply chain. Enterprises with AI development pipelines or consumer/IoT hardware in corporate networks (hospitality TVs, break-room boxes, digital signage) are exposed to both.

Threat Actor / Malware Profile

Mir2k — Ollie RAT (GGUF LLM Poisoning)

  • Distribution: Malicious GGUF model files uploaded to Hugging Face, marketed as 'uncensored' models to attract developers seeking unrestricted LLMs. Five confirmed files across 3.27M repos scanned.
  • Payload behavior: Multi-stage. Stage 1 is a self-extracting PowerShell chain embedded post-tensor; Stage 2 drops the Ollie x64 RAT plus a RandomX (Monero) miner. The RAT provides remote shell, file exfiltration, and secondary payload retrieval.
  • C2 communication: Ollie beacons over HTTP(S) to actor-controlled infrastructure; miner component phones RandomX mining pools — outbound connections to mining pool ports (3333/5555/7777) are a strong network tell.
  • Persistence: Scheduled tasks and Run-key registration established by the PowerShell stager; miner watchdog re-spawns terminated processes.
  • Anti-analysis: Payload smuggled after tensor data — standard gguf parsers and model scanners never read the appended region. Jinja2 template directives masquerade as legitimate chat-template logic ('timdedid' agentic template). Uses classic Python/Jinja2 code-poisoning directives that survive casual review.

Videostrong Technology Co. — XCPE Botnet Ecosystem

  • Distribution: Pre-installed firmware backdoor on Videostrong-manufactured Android set-top boxes — no user action required. Devices ship compromised.
  • Payload behavior: Modular plugin architecture. Affiliates push modules: ad-fraud clickers (Jaguar/Linkfog), residential proxy enrollment (NetNut, Honeygain, Traffmonetizer), and generic downloaders (ABCNexus, Wingbird).
  • C2 communication: Hard HTTP on port 8000 — http://mcstb.anyevonline.com:8000, http://anyevonline.com:8000; distributor infrastructure on jaguar-distributor.syslogcollector.com and jaguar-distributor.logreporter.com (typosquatting legitimate logging-service naming to blend in).
  • Persistence: Firmware-level — the backdoor resides in the OEM system image and survives factory resets. This is below the reach of endpoint agents.
  • Anti-analysis: No obfuscation needed at the firmware layer; the modules rely on looking like legitimate ad/proxy SDKs. The 'residential proxy' enrollment is deliberate — it launders later criminal traffic through consumer IPs, degrading blocklist efficacy.

IOC Analysis

The pulse indicators split into two operational classes:

GGUF / Ollie pulse (18 indicators)

  • YARA hashes (4): Rule fingerprints for detection logic, not file artifacts — import these as YARA rules into your file-scanning stack (e.g., Velociraptor, LimaCharlie, or a yara cron over model-storage volumes) to sweep existing GGUF/LLM artifact repositories.
  • FileHash-SHA256 (4): Hash the malicious GGUF models and dropped payloads. Block via EDR custom indicators (Defender, CrowdStrike) and sweep model caches (~/.cache/huggingface, ~/.ollama, shared model volumes).

XCPE pulse (110 indicators)

  • Hostnames (2): mcstb.anyevonline.com, jaguar-distributor.syslogcollector.com, jaguar-distributor.logreporter.com — DNS-sinkhole or block at resolver; query Passive DNS for historical resolution.
  • URLs (2): http://mcstb.anyevonline.com:8000 — note the non-standard port 8000 with cleartext HTTP; proxy/ZTNA logs keyed on :8000 outbound from non-server VLANs will catch stragglers.
  • FileHash-SHA256 (100+): Predominantly Android APK/native-module hashes. These matter if you run Android-based signage/kiosk/MDM fleets — push to your MDM/EMM blocklist.

Tooling: OTX indicators can be auto-ingested via the OTX DirectConnect API into Sentinel (Threat Intelligence connector), Splunk (OTV app), or MISP. Decode Jinja2 template anomalies with grep -E '\{[%\{].*(import|eval|exec|subprocess|powershell)' across .gguf sidecar template files; Python's gguf library can dump metadata for diffing against known-good models.

Detection Engineering

YAML
---
title: Ollie RAT Stage-1 — PowerShell Self-Extracting Chain from GGUF Model Load
id: 9a4f2c1d-7e3b-4f5a-9c6d-mir2kollie01
status: experimental
description: Detects PowerShell execution spawned by LLM inference/loading processes (llama-server, ollama, python) — consistent with Mir2k GGUF tensor-append payload extraction.
author: Security Arsenal Threat Intelligence
date: 2026/12/02
references:
    - https://malspark.com/blog/malicious-gguf-models-hugging-face
logsource:
    category: process_creation
    product: windows
detection:
    selection_parent:
        ParentImage|endswith:
            - '\llama-server.exe'
            - '\llama-cpp.exe'
            - '\ollama.exe'
            - '\python.exe'
            - '\pythonw.exe'
    selection_child:
        Image|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        CommandLine|contains:
            - 'FromBase64String'
            - 'IEX'
            - 'Invoke-Expression'
            - 'Expand-Archive'
            - '.gguf'
    condition: selection_parent and selection_child
falsepositives:
    - Legitimate ML pipeline scripts invoking PowerShell for environment setup
level: high
tags:
    - attack.execution
    - attack.t1059.001
---
title: RandomX Miner Outbound — Cryptomining Pool Beacon (Ollie RAT Companion)
id: 1b8e3d4f-2a6c-4d7e-8f9a-randomx0002
status: experimental
description: Detects outbound connections to common RandomX/Monero mining pool ports from non-mining-designated processes, consistent with the miner bundled with the Ollie RAT.
author: Security Arsenal Threat Intelligence
date: 2026/12/02
logsource:
    category: network_connection
    product: windows
detection:
    selection_port:
        DestinationPort:
            - 3333
            - 5555
            - 7777
            - 14444
    selection_process:
        Image|endswith:
            - '\powershell.exe'
            - '\rundll32.exe'
            - '\wscript.exe'
            - '\ollama.exe'
            - '\python.exe'
    condition: selection_port and selection_process
falsepositives:
    - Sanctioned mining operations on dedicated hosts
level: medium
tags:
    - attack.impact
    - attack.t1496
---
title: XCPE Botnet C2 — Set-Top Box Backdoor Infrastructure
id: 7c2f9a1e-4b5d-4e6f-a1b2-xcpe000003
status: experimental
description: Detects DNS queries or HTTP connections to XCPE botnet C2 and distributor domains (anyevonline.com, jaguar-distributor) used by Videostrong set-top box malware modules.
author: Security Arsenal Threat Intelligence
date: 2026/12/02
references:
    - https://cloud.google.com/blog/topics/threat-intelligence/shutting-the-door-on-the-xcpe-botnet/
logsource:
    category: dns
    product: windows
detection:
    selection:
        query|contains:
            - 'anyevonline.com'
            - 'jaguar-distributor.syslogcollector.com'
            - 'jaguar-distributor.logreporter.com'
    condition: selection
falsepositives:
    - None expected; these domains are dedicated XCPE C2 infrastructure
level: critical
tags:
    - attack.command_and_control
    - attack.t1071.001
KQL — Microsoft Sentinel / Defender
// Sentinel hunt: XCPE C2 network indicators + Ollie RAT PowerShell staging behavior
let xcpe_iocs = dynamic(["mcstb.anyevonline.com", "jaguar-distributor.syslogcollector.com", "jaguar-distributor.logreporter.com", "anyevonline.com"]);
let NetworkHits = DeviceNetworkEvents
| where Timestamp > ago(7d)
| where RemoteUrl has_any (xcpe_iocs) or (RemotePort == 8000 and not(RemoteIP startswith "10.") and not(RemoteIP startswith "192.168."))
| project Timestamp, DeviceName, InitiatingProcessFileName, RemoteUrl, RemoteIP, RemotePort;
let ProcessHits = DeviceProcessEvents
| where Timestamp > ago(7d)
| where InitiatingProcessFileName in~ ("ollama.exe","llama-server.exe","python.exe","pythonw.exe")
| where FileName in~ ("powershell.exe","pwsh.exe")
| where ProcessCommandLine has_any ("FromBase64String","IEX","Invoke-Expression",".gguf")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, ProcessCommandLine, FileName;
union NetworkHits, ProcessHits
| summarize count() by DeviceName
| order by count_ desc
PowerShell
# Security Arsenal — OTX Pulse IOC Hunt (Mir2k/Ollie + XCPE)
# Run elevated on endpoints and ML-build hosts. Exports JSON findings.
$results = @()

# 1. Ollie RAT persistence: suspicious Run keys & scheduled tasks with base64/PS stagers
Get-ItemProperty 'HKLM:\\SOFTWARE\\\\\Microsoft\\\\\\\Windows\\\\\\\CurrentVersion\\\\Run',
                 'HKCU:\\\\SOFTWARE\\\\\\\\Microsoft\\\\\\\\\\\\\\\\Windows\\\\\\\\\\\\\\\\CurrentVersion\\\\\\\\\\\\\\\\Run' -ErrorAction SilentlyContinue |
  ForEach-Object { $_.PSObject.Properties | Where-Object { $_.Value -match 'powershell|FromBase64String|gguf|appdata.*\.exe' } |
    ForEach-Object { $results += [pscustomobject]@{Type='RunKey'; Name=$_.Name; Value=$_.Value} } }

Get-ScheduledTask | Where-Object { $_.Actions.Execute -match 'powershell' -and $_.Actions.Arguments -match 'base64|iex|downloadstring' } |
  ForEach-Object { $results += [pscustomobject]@{Type='ScheduledTask'; Name=$_.TaskName; Value=$_.Actions.Execute} }

# 2. RandomX miner: established outbound connections on mining ports
Get-NetTCPConnection -State Established -ErrorAction SilentlyContinue |
  Where-Object { $_.RemotePort -in 3333,5555,7777,14444 } |
  ForEach-Object { $p = (Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue).ProcessName
    $results += [pscustomobject]@{Type='MinerConn'; Name=$p; Value="$($_.RemoteAddress):$($_.RemotePort)"} }

# 3. XCPE C2: DNS cache / active connections to botnet infrastructure
Get-NetTCPConnection -State Established,SynSent -ErrorAction SilentlyContinue |
  Where-Object { $_.RemotePort -eq 8000 } |
  ForEach-Object { $results += [pscustomobject]@{Type='XCPE_Port8000'; Name=(Get-Process -Id $_.OwningProcess).ProcessName; Value=$_.RemoteAddress} }

# 4. Malicious GGUF hashes in model caches
$badHashes = @('fafd6dd22e1375e6613a3038c1a4a8c1b554544c1d423cfc570a81192865c841',
  'da22856f95ee24f8ace4ad1ab04acbd818fd6c3042bc3cf8f1d7cc3fa3edcb2b',
  'c7170a39c92b3dca10bcb23b81014cfc4a1c1429be83b427ba6b23a4ecdf09a1',
  'c3d72696afe76e0dedf4adf10ef7ea09634d23416c9601b0462ce528fb4a89ab')
@("$env:USERPROFILE\\.cache\\huggingface", "$env:USERPROFILE\\.ollama", "$env:USERPROFILE\\models") |
  Where-Object { Test-Path $_ } | ForEach-Object {
    Get-ChildItem $_ -Recurse -Filter *.gguf -ErrorAction SilentlyContinue | ForEach-Object {
      if ((Get-FileHash $_.FullName -Algorithm SHA256).Hash.ToLower() -in $badHashes) {
        $results += [pscustomobject]@{Type='MaliciousGGUF'; Name=$_.Name; Value=$_.FullName} } } }

$results | ConvertTo-Json -Depth 4 | Out-File "$env:TEMP\\otx_hunt_$(Get-Date -Format yyyyMMdd).json"
Write-Output "Hunt complete: $($results.Count) findings. Report in $env:TEMP."

Response Priorities

Immediate (0–4h)

  • Block anyevonline.com, mcstb.anyevonline.com, jaguar-distributor.syslogcollector.com, jaguar-distributor.logreporter.com at DNS resolver and egress proxy; alert on any outbound :8000 from user/IoT VLANs.
  • Push the four malicious GGUF SHA256 hashes to EDR blocklists; sweep ~/.cache/huggingface, ~/.ollama, and shared model repositories on build/ML hosts.
  • Import the four YARA rules from the pulse into file-scanning of model-artifact storage.
  • Isolate any Android set-top boxes, digital signage, or hospitality TVs on corporate networks behind a denied-by-default IoT VLAN.

24 hours

  • Ollie is a full-featured RAT — assume keystroke and credential theft on any host that loaded a suspect GGUF model. Force password + token rotation for developers/ML engineers who executed or loaded community models in the last 90 days; revoke cloud CLI tokens and Hugging Face/GitHub PATs.
  • Audit PowerShell logging (Script Block / Module logging) on ML workstations for the base64 stager pattern; review mining-pool egress in proxy logs.
  • Inventory Videostrong-manufactured hardware (check OEM/ODM labels on set-top boxes and signage players) with procurement records.

1 week

  • Enforce model provenance controls: only allow GGUF/models from verified publishers or an internal, hash-pinned mirror; require gguf metadata diffing against known-good baselines in CI.
  • Add a pre-load scanner to AI pipelines that inspects Jinja2 chat templates for import/eval/subprocess directives and validates tensor-boundary sizes (payload appended after tensors = file size anomaly vs. declared metadata).
  • Architect IoT/OT segmentation: consumer-grade Android devices get no east-west access, no flat DNS, and egress limited to whitelisted update CDNs.
  • Subscribe your TI platform to the OTX pulses for auto-IOC aging (XCPE has 110 indicators — manual ingestion will not scale).

Related Resources

Security Arsenal Incident Response Managed SOC & MDR Services AlertMonitor Threat Detection From The Dark Side Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.