# TrojanPony (Claude Code skills): TrojanPony: 413 tampered Claude Code skill forks abused Notepad++ GUP.exe to drop MopsStealer

> **Safety notice:** Read-only local inspection; modifies no Defender policy or repository files.

- **Incident date:** Jul–Nov 2026
- **Disclosed:** Nov 26, 2026
- **Source disclosure:** https://www.air.security/blog-posts/trojanpony

## Reproduction lab
Audits developer workstations for unexpected binaries under ~/.claude and checks Windows Defender exclusions, scheduled tasks, and masqueraded RuntimeBroker.exe paths.

```bash
# PowerShell read-only check on Windows developer endpoints
Get-MpPreference | Select-Object -ExpandProperty ExclusionPath
Test-Path "C:\ProgramData\Windows\Microsoft\RuntimeBroker.exe"
Get-ChildItem "$env:USERPROFILE\.claude" -Recurse -Include *.exe,*.dll -ErrorAction SilentlyContinue | Select-Object FullName
```

## Policies and detection rules

### `trojanpony-gup-sideload-and-mopsstealer.yaml`
Sigma detection rule hunting renamed Notepad++ GUP.exe outside its install directory, PowerShell Defender exclusion abuse, and ProgramData RuntimeBroker.exe persistence. Stops steps 1 and 2.

```yaml
title: TrojanPony Signed GUP.exe Side-Load and MopsStealer Persistence
status: experimental
description: Detects Notepad++ GUP.exe executing outside Notepad++ folders, suspicious Defender exclusions, or masqueraded RuntimeBroker.exe in ProgramData.
logsource:
  category: process_creation
  product: windows
detection:
  gup_misplaced:
    OriginalFileName: 'GUP.exe'
  gup_expected_dir:
    Image|startswith:
      - 'C:\Program Files\Notepad++\updater\'
      - 'C:\Program Files (x86)\Notepad++\updater\'
  defender_exclusion:
    Image|endswith:
      - '\powershell.exe'
      - '\pwsh.exe'
    CommandLine|contains|all:
      - 'Add-MpPreference'
      - '-ExclusionPath'
  fake_runtime_broker:
    Image|endswith: '\ProgramData\Windows\Microsoft\RuntimeBroker.exe'
  condition: (gup_misplaced and not gup_expected_dir) or defender_exclusion or fake_runtime_broker
level: high
```

### `audit-claude-skills-windows.sh`
Workstation check for executables or DLLs hiding inside Claude Code skill and plugin folders plus GitHub Actions workflows posting secrets to Telegram.

```sh
# Flag any Windows executable or DLL bundled inside local Claude Code skill or plugin folders
find "$HOME/.claude" -type f \( -iname "*.exe" -o -iname "*.dll" \) 2>/dev/null || true

# Scan local git repositories for newly added workflows calling Telegram Bot APIs
grep -rn "api\.telegram\.org" .github/workflows/ 2>/dev/null || echo "No Telegram workflow references found"
```

## Indicators of compromise
- **hash:** `eaac64c1...a981cc1 (genuine signed Notepad++ GUP.exe outside Notepad++ folder)` (Renamed (for example vibecodecalc.exe) and bundled with gup.xml and a tampered libcurl.dll (56 fake curl exports; Nov builds padded to 8–16 MB). Full SHA-256 list in AIR Security’s appendix.)
- **ip:** `145.63.134.94 and 192.162.199.167 (TCP 406 WebSocket, TCP 408 GET /task/)` (MopsStealer command-and-control endpoints reported by AIR Security, backed by 64 DuckDNS fallback domains.)
- **url:** `mopsikimilie.cc, mopsteam.cc, and moooooooooooops.cv` (TrojanPony C2 domains resolving to 192.162.199.167 in AIR Security’s November 26 disclosure.)
- **log:** `C:\ProgramData\Windows\Microsoft\RuntimeBroker.exe (mutex Global\RuntimeBrokerAds)` (MopsStealer persistence path and mutex; Microsoft Defender detects the loader as Trojan:Win64/DLLHijack.MK!MTB.)
