Apiiro Finds MIOU Fake MCP Servers Deploying Beretta Stealer on Windows

· Original article ↗

Summary

Apiiro reports that MIOU GitHub repositories posing as crypto-exchange tools launch Beretta and a clipboard hijacker on Windows through coding agents. The firm traced about $49,900 in receipts to attacker wallets, not verified victim losses.

Key points

  • The servers pose as tools for the Lighter and Aster crypto exchanges. A user must clone one and configure a coding agent to run it; a hidden task starts before the agent's first tool call.
  • In Windows testing, the server downloaded an encrypted payload and mapped it into memory. A file disguised as an Edge WebView component hijacked a Windows COM entry and ran the clipboard hijacker.
  • The hijacker replaces copied crypto addresses with one of 23 addresses embedded in it. Apiiro reported about $49,900 in receipts to those wallets at November 16 prices, excluding transfers between attacker wallets; this is not a measure of victim losses, and no victim count was provided.
  • Apiiro found MIOU repositories ranked first in 18 of 54 relevant GitHub searches. Of 1,319 accounts that interacted with measured repositories, 1,222 appeared to be batch-created; a bot made 26,407 of 26,511 commits.
  • Apiiro calls the stealer Beretta and says it is distinct from StealC, citing different cryptography and a separate configuration format. It links the operation to an earlier campaign through a loader that unpacks to the same Beretta build.
  • The researchers published detection rules and advised treating affected machines as compromised; deleting the server alone does not remove the persistent clipboard hijacker. GitHub had removed some repositories, and later repository availability varied.

Article Details

Attack Vectors
  • Fake MCP servers posing as tools for the Lighter and Aster crypto exchanges were hosted in GitHub repositories. A user had to clone a repository and point a coding agent such as Claude, Cursor, or Cline at it for the server to run.
  • A decorator on the server's main function started a hidden task before the agent's first tool call.
  • On Windows, the server installed dependencies, downloaded an encrypted payload, and mapped it into memory. A file disguised as an Edge WebView component hijacked a Windows COM entry and ran as a clipboard hijacker.
  • The clipboard hijacker replaced copied cryptocurrency addresses with one of 23 addresses built into it.
  • The operation manipulated GitHub search results and used large numbers of apparently batch-created accounts and bot-written commits to make repositories appear popular and active.
Defensive Notes
  • Treat a machine that ran one of these servers as compromised.
  • Move cryptocurrency funds using a separate, clean device; change passwords and keys; and check where recent payments went.
  • Deleting the server does not undo theft, and the clipboard hijacker is installed to survive deletion.
  • The researchers published detection rules, but the article does not provide their contents.

MITRE ATT&CK

People

Malware

Vendors

Products

Related Articles