MIOU Malware Persists in 910 Live GitHub Repositories, StepSecurity Finds

Summary
StepSecurity found 910 live GitHub repositories carrying MIOU's loader as of Dec. 4, including 621 forks of removed originals. Its investigation details how fake MCP servers launch a stealer and clipboard hijacker, and offers detection guidance.
Key points
- StepSecurity counted 910 live repositories carrying MIOU's loader, including 882 forks; 621 live forks belonged to networks whose original repositories had been removed.
- Fake MCP servers can run malicious code when an agent starts the configured server process, before the agent's first tool call; victims install them by cloning a repository and adding a configuration entry.
- Analysis of loader code found a delivery chain using HMAC-SHA256 authentication, AES-GCM-encrypted responses, a hidden Python child process, and in-memory PE loading. The loaders converged on api[.]failproxy[.]space or api[.]nailproxy[.]space.
- The payload chain includes Beretta, a stealer that targets browser and desktop wallets and other data, and a clipboard hijacker that replaces copied cryptocurrency addresses. These payload details are attributed to Apiiro's analysis.
- StepSecurity identified 15 live original repositories created after Apiiro's report, and found fake MCP server listings still visible in directories, including listings pointing to removed GitHub repositories.
- A Dec. 1 VirusTotal sandbox run contacted MIOU infrastructure and dropped the previously reported clipper, indicating the chain remained operational in that test.
- The article recommends checking MCP client configurations and cloned repositories, scanning for loader behaviors, and treating MCP servers as dependencies that run with the user's permissions.
Article Details
- Attack Vectors
- MIOU distributes trojanized Python MCP servers and cryptocurrency tools through GitHub repositories and their forks. Victims clone a repository and add its local Python entry point to an MCP client configuration; the client runs it when the agent starts.
- A background thread in the Python loader authenticates to a delivery server using an embedded HMAC key, then downloads an encrypted payload. Some variants make the initial request through PowerShell.
- On Windows, a hidden Python child process maps a downloaded PE executable into memory. The payload includes the Beretta infostealer and a clipboard clipper.
- The clipper persists through a per-user COM hijack, runs via rundll32.exe, and replaces copied cryptocurrency addresses with attacker addresses.
- The loader can contact its delivery infrastructure on Windows, macOS, and Linux, though the reported final PE mapping and Beretta execution are Windows-specific.
- Defensive Notes
- Review MCP client configurations and cloned repositories, especially entries that launch a local main.py from a repository named MCP-Server-Lighter, MCP-Server-Aster, or a similar lure.
- Inspect MCP server entry points and startup imports before use. Look for background-thread decorators, subprocess launches, sys.stdin.buffer.read() stagers, ctypes calls to VirtualAlloc or CreateThread, disabled TLS certificate checks, and large embedded binary data.
- Hunt for connections to api.failproxy.space or api.nailproxy.space, and for TLS connections to 104.21.0.1 or 172.67.0.1 with either delivery domain as SNI. DNS blocking alone may not prevent the download.
- On Windows, check for %LOCALAPPDATA%\Microsoft\EdgeWebView\msedgeview.dll, a CLSID InprocServer32 registry entry pointing to it, rundll32.exe loading that DLL with ordinal #3, and a child python.exe process reading from stdin.
- Check for powershell.exe launched by python.exe that uses Invoke-RestMethod with an X-Challenge header or unpacks a .pack file into an env64 folder.
- Use the article's YARA and Semgrep detection rules to scan repositories, including encoded variants; searching only for literal package names or failproxy.space may miss variants.
- If compromise is suspected, the article recommends treating the machine as fully compromised, moving funds from wallets used on it, rotating relevant sessions and credentials, and checking cryptocurrency payment recipient addresses.
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| DOMAIN | api[.]failproxy[.]space | MIOU delivery C2 domain used by multiple loader families to authenticate and retrieve payloads. |
| DOMAIN | api[.]nailproxy[.]space | MIOU delivery C2 domain used by multiple loader families to authenticate and retrieve payloads. |
| DOMAIN | shaftgaft[.]click | Earlier MIOU delivery domain contacted by early stage-3 samples. |
| DOMAIN | spellmarketplace[.]club | Fallback domain used by Beretta for exfiltration. |
| IPV4 | 62[.]60[.]226[.]113 | Beretta exfiltration server; the article reports connections to this IP on port 6673. |
| SHA256 | 0948a3b9bd381078b9564ce9b278a22b2df4b9b918940224d99b08e31164fe11 | SHA-256 of the newest reported stage-3 sample, wuhelper.exe. |
| SHA256 | 1142fd358615adb1348e912566794ee60f98e00304d4390a9d188d65800fa608 | SHA-256 of an early shaftgaft[.]click client identified as a Themida-packed executable. |
| SHA256 | 232936d9c26e1057571a4fa755bef7af1d0a143bd36126ee66b3f7e89ea4a6db | SHA-256 of a MIOU clipboard-clipper DLL build. |
| SHA256 | 397f3ca8e8b3f8498e319e645eb8331478ed495f47ebb41d3d1faa9a5c30eec5 | SHA-256 of a MIOU clipboard-clipper sample reported by ArchLinuxAddict. |
| SHA256 | 512487ba5b72d7e3ec02f84f19c2ae3516b9a62b5f6f5675587bd7d9dd94ae86 | SHA-256 of a MIOU clipboard-clipper DLL build. |
| SHA256 | 5726b610b8df672e55f1368d32327b9c93fbe4734c3ded8307a4b4d3b927b9b1 | SHA-256 of an early stage-3 sample, wmisvc.exe, reported to contact shaftgaft[.]click. |
| SHA256 | 6aa320a781cccdb2a7be19d67f929bacd9096ce2db958f72e6cc916ef403bd22 | SHA-256 of a MIOU clipboard-clipper DLL build. |
| SHA256 | 6c5e49c3870fd20e34aafd9354e4234c84ceb99786296e5c3f685e4e2742ff91 | SHA-256 of a MIOU clipboard-clipper DLL build. |
| SHA256 | 707e89148589beeb0d1602cc080ae609bc4203b0fd074e80bf8f23159588c0ee | SHA-256 of the MIOU stage-3 crypter identified by Apiiro. |
| SHA256 | 8844cc2e2b41c0058504aafaf3382b610d6fa43fab10491f92ba432bc4f30aba | SHA-256 of an early MIOU clipboard-clipper DLL build. |
| SHA256 | 886554e14f13abfb254ad8f1778c2c463413e8e16f0f95f26d0dad0aadfbf494 | SHA-256 of corelib.pkg, a runtime archive identified in the MIOU loader indicators. |
| SHA256 | a403e84d0bd6e1d27608a81f42845aaa10191a813d689a7c96e83be50b5d695e | SHA-256 of a ZIP of a MIOU repository that the December 1 sandbox run showed contacting the delivery and exfiltration infrastructure. |
| SHA256 | b6abbfece488080e23f5498ecf006ec02de9fa98b74ce3c385c53a0696ec0e0c | SHA-256 of the MIOU clipboard clipper reported by Apiiro and observed in the December 1 sandbox run. |
MITRE ATT&CK
T1005 · Data from Local SystemBeretta's file grabber collects documents and wallet, key, and KeePass files from the infected machine.T1027 · Obfuscated Files or InformationLoader families conceal C2 configuration using encodings and XOR schemes, and the payload is delivered encrypted.T1036.005 · Match Legitimate Resource Name or LocationThe stage-3 executable is described as a crypter posing as taskhostw.exe.T1041 · Exfiltration Over C2 ChannelBeretta exfiltrates collected data to 62.60.226[.]113, with spellmarketplace[.]club as a fallback.T1059.001 · PowerShellTonkeeper and Solana drainer variants use powershell.exe with Invoke-RestMethod for their initial delivery-server request.T1059.006 · PythonThe malicious MCP server runs a Python loader, which starts a hidden Python child process to load the downloaded executable.T1071.001 · Web ProtocolsThe loader communicates with its delivery servers using HTTP POST requests to /api/v1/auth/session and /api/v1/data/sync.T1105 · Ingress Tool TransferThe loader downloads an encrypted payload from api.failproxy.space or api.nailproxy.space.T1115 · Clipboard DataThe clipper monitors copied cryptocurrency addresses and replaces them with attacker-controlled addresses.T1140 · Deobfuscate/Decode Files or InformationThe loader decrypts the downloaded AES-GCM ciphertext before passing the executable to its in-memory PE loader.T1218.011 · Rundll32The clipper DLL is launched with rundll32.exe using ordinal #3.T1546.015 · Component Object Model HijackingThe clipper persists through a per-user COM hijack using a CLSID InprocServer32 registry entry that points to its DLL.T1573.001 · Symmetric CryptographyBeretta's exfiltration uses X25519 and AES-GCM encryption.T1620 · Reflective Code LoadingA Python child process maps the PE into memory using VirtualAlloc, resolves imports, and starts its entry point without writing the executable to disk.T1622 · Debugger EvasionThe unpacking stage derives its decryption key from eight anti-debugging checks and decrypts garbage under a debugger.
People
Oliver ZehentleitnerAuthored an earlier write-up on the nailproxy.space wave that the article uses as a source for the reported infrastructure and a clipper sample.Shmulik CohenApiiro researcher credited with discovering and naming MIOU and Beretta, reverse-engineering the payload chain, tracing clipper revenue, and publishing detection rules.
Malware
Vendors
CircleMCP directory listings to Glama and LobeHub, and the clipper wallets' stablecoin balances to Tether and Circle.Cloudflare4. It falls back to Cloudflare with TLS checks turned off. The domain may fail to resolve or resolve to a 127.x sinkhole address. Then the loader connects to the Cloudflare anycast IPs 104.21.0.1 or 172.67.0.1 and sendsGitHubresearch on MIOU, a malware operation that puts trojanized Python MCP servers and crypto tools on GitHub. When a coding agent such as Claude Desktop, Cursor or Cline starts one of these MCP servers, itGlama17 and 18, Apiiro reported 36 live repositories to GitHub. It also reported the MCP directory listings to Glama and LobeHub, and the clipper wallets' stablecoin balances to Tether and Circle.LobeHubApiiro reported 36 live repositories to GitHub. It also reported the MCP directory listings to Glama and LobeHub, and the clipper wallets' stablecoin balances to Tether and Circle.Tetherreported the MCP directory listings to Glama and LobeHub, and the clipper wallets' stablecoin balances to Tether and Circle.
Products
Aster DEXto GitHub. Three of them went up within seven minutes on the morning of December 4, including a new Aster DEX MCP server.Claude Desktopthat puts trojanized Python MCP servers and crypto tools on GitHub. When a coding agent such as Claude Desktop, Cursor or Cline starts one of these MCP servers, it downloads and runs a private Windows stealerClinePython MCP servers and crypto tools on GitHub. When a coding agent such as Claude Desktop, Cursor or Cline starts one of these MCP servers, it downloads and runs a private Windows stealer called Beretta andCursortrojanized Python MCP servers and crypto tools on GitHub. When a coding agent such as Claude Desktop, Cursor or Cline starts one of these MCP servers, it downloads and runs a private Windows stealer called BerettaLighter"args": ["C:\\path\\to\\mcp-server-lighter\\main.py", "--demo"]
Tools
SemgrepApiiro's Semgrep rules match these techniques rather than literal names.YARAA PowerShell transport. Apiiro's YARA rules already match this transport and tie it to the nailproxy.space repos. In the families we read, the Tonkeeper and Solana drainers use it. They don't send their first C2 request
