# MIOU Campaign: Fake MCP Servers on GitHub Deliver Beretta Stealer and Clipboard Hijacker to Claude, Cursor and Cline Users

> Apiiro reported an operation it calls MIOU that used manipulated GitHub search results and a farm of fake accounts to promote malicious MCP server repositories posing as Lighter and Aster crypto-exchange tools. Running the server executes a hidden task that stages the Beretta stealer and a crypto clipboard hijacker on Windows, persisting via a COM hijack; about $49,900 reached attacker-linked wallets (received funds, not confirmed victim losses).

- **Author:** Threadlinqs Team
- **Published:** 2026-12-03T19:19:16Z
- **Last updated:** 2026-12-03T19:19:16Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7422
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7422.png
- **ID:** TL-2026-7422
- **Severity:** HIGH
- **Category:** SUPPLY_CHAIN
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 18 (3 shown free below)

## Description

MIOU is a financially motivated supply-chain style operation, named by Apiiro, that abuses developer trust in GitHub and the Model Context Protocol (MCP) ecosystem. Malicious MCP servers were published as helpers for the Lighter and Aster crypto exchanges, where traders earn points toward token giveaways. The servers advertised checks of a wallet's trading volume, points and eligibility. Other repositories in the operation posed as trading bots and wallet tools; at the time of reporting one original Polymarket bot repository was still live. Victims must clone a repository and point an AI coding agent (Claude, Cursor or Cline) at it. Apiiro states this is not a flaw in the coding agents and does not rely on prompt injection.

Distribution relied on GitHub search manipulation and manufactured legitimacy. In 18 of 54 developer-style searches a MIOU repository ranked first. Of 1,319 accounts that starred, forked or commented on the repositories, 1,222 appeared to be a batch-created account farm, and a bot authored 26,407 of 26,511 commits to keep projects looking active. At the time of reporting 36 repositories were live; GitHub removed 17 and left 19 up. Two further Aster repositories appeared shortly afterward sharing the same server and signing key; the Lighter server and both later Aster repositories later returned 404.

Execution chain (Windows): a decorator on the MCP server's main function starts a hidden task before the agent's first tool call, so tool-approval prompts do not intercept it. The server installs its dependencies, then pulls an encrypted payload (about 18 seconds into the first run, about 7 seconds on later launches) and maps it into memory. The payload writes a file disguised as an Edge WebView component (%LOCALAPPDATA%\Microsoft\EdgeWebView\msedgeview.dll) and hijacks a per-user COM entry under HKCU\Software\Classes (CLSID with InprocServer32 pointing at the DLL), which runs rundll32.exe "...\msedgeview.dll",#3 and activates the clipboard hijacker. The hijacker swaps copied crypto addresses for one of 23 hardcoded attacker addresses and survives deletion of the MCP server. Repositories bundle large opaque files named bundle.pkg, embed.pkg or dist.pkg (11-22 MB). Apiiro's published detection content additionally references a hidden Python child process fed over stdin, a ctypes PE mapper, a Cloudflare/curl fallback transport, a browser launched with a %TEMP%\v20_* profile and a CrHlp_* named pipe associated with app-bound encryption bypass, consistent with browser credential theft by the stealer.

The 23 attacker addresses received about $49,900 at November 16 prices (excluding transfers between attacker wallets), with first payments in February 2026. Three wallets were emptied within three minutes of receiving just enough to cover fees, suggesting attacker-controlled keys. The figure counts inflows, not confirmed victim losses; no victim count was published.

Attribution is unresolved. Threat feeds and an April write-up linked the operation to StealC; Apiiro disputes this because Beretta uses different cryptography and its own configuration format. Per the source, a loader from an earlier campaign documented by Oliver Zehentleitner (the nailproxy.space GitHub malware campaign) unpacks to the same Beretta build. Because the payload runs from cloned repositories rather than registry packages, package scanners do not inspect it. The Oura MCP / SmartLoader / StealC activity from February 2026 is related prior coverage, not the same operation. Only The Hacker News article, the Apiiro detection-repo page and related-campaign pages could be retrieved; the Apiiro blog post body could not be retrieved, so no hashes, domains, IPs or wallet addresses are available from sources.

## MITRE ATT&CK

- T1585 Establish Accounts
- T1608 Stage Capabilities
- T1195 Supply Chain Compromise
- T1204 User Execution
- T1059.006 Python
- T1546.015 Component Object Model Hijacking
- T1218.011 Rundll32
- T1620 Reflective Code Loading
- T1036.005 Match Legitimate Resource Name or Location
- T1112 Modify Registry
- T1027 Obfuscated Files or Information
- T1555.003 Credentials from Web Browsers
- T1565 Data Manipulation
- T1657 Financial Theft

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

**MIOU Beretta Stealer Payload Staging: msedgeview.dll Clipper DLL and Opaque .pkg Files (TL-2026-7422)** (`TL-2026-7422-SPL-001`)

Sysmon file-creation search for the MIOU campaign clipboard-hijacker DLL disguised as an Edge WebView component (%LOCALAPPDATA%\Microsoft\EdgeWebView\msedgeview.dll) and the 11-22 MB bundle.pkg/embed.pkg/dist.pkg payload blobs inside cloned malicious MCP server repositories that deliver the Beretta stealer.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1036.005, T1027, T1620, T1195
- **Data sources:** sysmon, windows_file_events
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" earliest=-24h EventCode=11 (TargetFilename="*\\Microsoft\\EdgeWebView\\msedgeview.dll" OR TargetFilename="*\\bundle.pkg" OR TargetFilename="*\\embed.pkg" OR TargetFilename="*\\dist.pkg")
| eval artifact=if(match(TargetFilename,"(?i)msedgeview\.dll$"),"clipper_dll_edgewebview_masquerade","opaque_pkg_payload")
| stats count min(_time) as firstSeen max(_time) as lastSeen values(Image) as writer_process values(TargetFilename) as files by host, User, artifact
| convert ctime(firstSeen) ctime(lastSeen)
```

### Microsoft KQL

```kql
DeviceFileEvents
| where Timestamp > ago(24h)
| where ActionType in ("FileCreated", "FileModified", "FileRenamed")
| where FolderPath endswith @"\Microsoft\EdgeWebView\msedgeview.dll"
    or (FileName in~ ("bundle.pkg", "embed.pkg", "dist.pkg") and FileSize between (11000000 .. 23100000))
| project Timestamp, DeviceName, AccountName, ActionType, FolderPath, FileName, FileSize, InitiatingProcessFileName, InitiatingProcessCommandLine
```

### Sigma

```yaml
title: MIOU Beretta Clipper DLL Masquerading as Edge WebView or Opaque PKG Payload Created
id: 3f6a2b1c-8d4e-4a57-9b0c-1e2f7a6d5c01
status: experimental
description: Detects creation of msedgeview.dll under the user profile Microsoft EdgeWebView folder (Edge does not store real WebView files there) or the opaque bundle.pkg, embed.pkg and dist.pkg payload files bundled in malicious MIOU MCP server repositories.
references:
    - https://github.com/apiiro/miou-detection
    - https://thehackernews.com/2026/12/fake-mcp-servers-on-github-target.html
author: Threadlinqs Team
date: 2026/12/03
tags:
    - attack.defense-evasion
    - attack.t1036.005
    - attack.t1027
    - attack.t1620
    - attack.initial-access
    - attack.t1195
logsource:
    category: file_event
    product: windows
detection:
    selection_dll:
        TargetFilename|endswith: '\Microsoft\EdgeWebView\msedgeview.dll'
    selection_pkg:
        TargetFilename|endswith:
            - '\bundle.pkg'
            - '\embed.pkg'
            - '\dist.pkg'
    condition: 1 of selection_*
falsepositives:
    - Unrelated software that ships files named bundle.pkg, embed.pkg or dist.pkg
    - Software packaging or build pipelines on developer workstations
level: high

```

**Known false positives:**

- Unrelated applications that legitimately ship files named bundle.pkg, embed.pkg or dist.pkg
- Developer build/packaging pipelines producing dist.pkg artifacts

**Tuning notes:** The exact path match on msedgeview.dll is high fidelity. For the .pkg branch, restrict to developer workstations, add a size filter (11-22 MB) and exclude known internal build output directories.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- MIOU Fake MCP Server Spawning Hidden Python Child from AI Agent Host (TL-2026-7422) (locked: unlock with TL Creds)
- MIOU Clipboard Hijacker: rundll32 Loading [indicator],#3 (TL-2026-7422) (locked: unlock with TL Creds)
- MIOU Beretta Loader C2: nailproxy.space and Cloudflare Fallback IPs (TL-2026-7422) (locked: unlock with TL Creds)
- MIOU Clone of Fake Lighter/Aster MCP Server Repository (TL-2026-7422) (locked: unlock with TL Creds)
- MIOU Beretta Stealer Browser Launch with [indicator] Profile (TL-2026-7422) (locked: unlock with TL Creds)
- MIOU Beretta Loader DNS Query for nailproxy.space (TL-2026-7422) (locked: unlock with TL Creds)
- MIOU COM Hijack Persistence: InprocServer32 to [indicator] (TL-2026-7422) (locked: unlock with TL Creds)
- MIOU Beretta Stealer CrHlp_ Named Pipe (Browser Credential Theft Helper) (TL-2026-7422) (locked: unlock with TL Creds)

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

## Sample indicators (3 of 18)

Defanged, TLP:CLEAR.

- IP address: `104.21.0[.]1`
- Domain: `api[.]nailproxy[.]space`
- IP address: `172.67.0[.]1`

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

## Sources

- [Fake MCP Servers on GitHub Target Claude and Cursor Users with Crypto-Stealing Malware](https://thehackernews.com/2026/12/fake-mcp-servers-on-github-target.html)
- [Apiiro: Malicious MCP Servers (MIOU) technical analysis](https://apiiro.com/blog/malicious-mcp-servers-miou)
- [apiiro/miou-detection (YARA, Sigma, Semgrep, KQL rules and IOC lists)](https://github.com/apiiro/miou-detection)
- [nailproxy.space GitHub malware campaign (earlier loader linked to the same Beretta build)](https://blog.technopathy.club/nailproxy-space-github-malware-campaign)
- [SmartLoader Attack Uses Trojanized Oura MCP Server to Deploy StealC](https://thehackernews.com/2026/02/smartloader-attack-uses-trojanized-oura.html)
- [Fake MCP Servers on GitHub Steal Crypto from Windows Users (AI Matter)](https://aimatter.in/2026/12/03/fake-mcp-servers-on-github-steal-crypto-from-windows/)
- [Fake GitHub MCP Servers Target Claude and Cursor With Beretta Malware (MLQ.ai)](https://mlq.ai/news/fake-github-mcp-servers-target-claude-and-cursor-with-beretta-malware/)
- [FakeGit campaign uses 7,600 GitHub repos to push SmartLoader malware (BleepingComputer, related campaign)](https://bleepingcomputer.com/news/security/fakegit-campaign-uses-7-600-github-repos-to-push-smartloader-malware)
- [AgentBaiting: How 800 Fake AI Skills and MCP Servers Delivered Malware (Island, related campaign)](https://www.island.io/blog/agentbaiting-how-800-fake-ai-skills-and-mcp-servers-delivered-malware)

## 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-7422
