Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
miou-detection — Detection rules for the MIOU MCP-server malware operation and the Beretta stealer | Kitploit
Tools/GitHubGitHub/apiiro/miou-detection
Defensive ToolsIndicator of Compromise (IOC) ManagementStatic AnalysisForensicsMalware AnalysisThreat IntelligenceSupply Chain SecurityIncident ResponseLog Analysis
GitHubapiiro/miou-detection

miou-detection

Detection rules for the MIOU MCP-server malware operation and the Beretta stealer

Nov 26, 2026Not yet reviewed
Share
View Repository

MIOU / Beretta detection rules

Your coding agent started the MCP server. The server started a stealer.

Detection content for MIOU, a malware operation that ships trojanized Python MCP servers and crypto tools on GitHub. Starting the server (for example from an MCP client such as Claude Desktop, Cursor or Cline) fetches an encrypted payload that maps the private "Beretta" stealer in memory and installs a persistent clipboard clipper (msedgeview.dll, per-user COM hijack, rundll32 …,#3).

Write-up: Your Coding Agent Started the MCP Server. The Server Started a Stealer.

Contents

PathWhat
yara/failproxy_python_loader.yar4 rules for the Python loader in the repos (hidden stdin stager, ctypes PE mapper, Cloudflare/curl fallback transport, kit material)
yara/miou_beretta.yar6 rules for binaries: stage 3 crypter, stage 4 loader, Beretta image and in-memory image, clipper DLL, app-bound-encryption helper DLL
sigma/6 Sigma rules: hidden Python child fed over stdin, rundll32 ordinal #3 from AppData, clipper file drop, COM hijack registry write, browser started with a %TEMP%\v20_* profile, CrHlp_* named pipe (app-bound encryption bypass)
semgrep/mcp_hidden_loader.semgrep.yml4 Semgrep rules for Python MCP server repos, aimed at the technique (decorator-started background job, hidden interpreter fed over stdin, ctypes PE mapper, pinned IP with TLS verification off) rather than this kit's literals
kql/miou_mde.kqlMicrosoft Defender for Endpoint hunting queries
TECHNICAL.mdTechnical notes: key derived from anti-debug checks, build key leaking through the API hash, MIOU container format, Beretta config, C2 protocol, Chrome app-bound key theft, targets
scripts/extract_k.py (derive the build key from a stage 4), stage4_api_hash.py, brt_config_unpack.py, fnv_api_scan.py
IOCS.md, iocs.csvIndicators: domains, exfil server, hashes, file paths, registry, clipper wallets, and the 36 reported repos with their status
targets.tsvBeretta's target list
tests/Test results: recall on known family samples and false positives on benign corpora

Test results

  • Python loader YARA: 36/36 known family repos, 0 false positives on 96,893 benign Python files.
  • Semgrep: 3 rules hit 36/36 family repos, the TLS rule 29/36 (the other 7 have no such transport); 0 false positives on 96,893 benign Python files.
  • Binary YARA: all known stages hit, 0 false positives on 1,478 benign Windows PEs.
  • YARA Forge (11,852 community rules): no hits on stage 3, stage 4, the clipper or the Beretta image.

Usage

yara -r yara/ <path-to-cloned-repo-or-sample>
semgrep --config semgrep/ <path-to-cloned-mcp-server>

Author: Shmulik Cohen (Apiiro).

Download Tool

Related Tools

  • wazuh

    Open-source XDR and SIEM platform for threat detection, log analysis, file integrity monitoring, vulnerability assessment, and compliance management across endpoints and cloud workloads.

  • suricata

    Open-source network IDS/IPS/NSM engine for real-time traffic inspection, intrusion detection and prevention, protocol analysis, and rule-based threat hunting.

  • zeek

    Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    849
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    450
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    383
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    351
  • 6

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    345

Explore all tools

Browse our collection of tools

View all tools →