{
  "id": "temp-zagros-gemini-malware-dev-2025",
  "name": "TEMP.Zagros / MuddyWater Gemini-assisted custom malware",
  "date_reported": "2025-11-05",
  "researcher": "Google Threat Intelligence Group",
  "org": "Google GTIG",
  "sources": [
    {
      "url": "https://cloud.google.com/blog/topics/threat-intelligence/threat-actor-usage-of-ai-tools/"
    }
  ],
  "magicsword_coverage": [],
  "borderline": false,
  "borderline_note": null,
  "ai_role": "attacker_uses_ai_as_operator",
  "ai_role_secondary": null,
  "ai_role_detail": null,
  "technique_summary": "Iranian TEMP.Zagros (MuddyWater) used Gemini with 'student project' pretexts to develop custom malware (web shells, Python C2). OPSEC failure: pasted script with hard-coded C2 domain and encryption key into Gemini, aiding disruption.",
  "initial_access": "Phishing from compromised corporate mailboxes (group TTP)",
  "ai_tooling_and_models": [
    "Gemini"
  ],
  "other_tooling": [
    "Custom web shells",
    "Python C2"
  ],
  "victims_and_sectors": "unknown",
  "regions": [
    "unknown"
  ],
  "attribution_or_cluster": "TEMP.Zagros / MUDDYCOAST / MuddyWater; Iranian state-sponsored",
  "scale_and_metrics": "unknown",
  "prevention_angle": "Phishing-resistant controls; detect new custom C2; model providers can disrupt via leaked infra",
  "related_magicsword_projects": [],
  "source_notes": null,
  "last_reviewed": "2026-10-20",
  "attack_flow": {
    "nodes": [
      {
        "id": "step-1",
        "title": "Actor seeks custom malware assistance",
        "description": "Requests use student-project pretexts.",
        "kind": "access",
        "source_urls": [
          "https://cloud.google.com/blog/topics/threat-intelligence/threat-actor-usage-of-ai-tools/"
        ]
      },
      {
        "id": "step-2",
        "title": "Gemini helps develop code",
        "description": "Reported tasks include web shells and a Python C2.",
        "kind": "ai",
        "source_urls": [
          "https://cloud.google.com/blog/topics/threat-intelligence/threat-actor-usage-of-ai-tools/"
        ]
      },
      {
        "id": "step-3",
        "title": "Actor pastes operational details",
        "description": "Submitted code contains a hard-coded C2 domain and encryption key.",
        "kind": "execution",
        "source_urls": [
          "https://cloud.google.com/blog/topics/threat-intelligence/threat-actor-usage-of-ai-tools/"
        ]
      },
      {
        "id": "step-4",
        "title": "Operational exposure aids disruption",
        "description": "The research describes an OPSEC failure, rather than disclosing a complete downstream victim chain.",
        "kind": "impact",
        "source_urls": [
          "https://cloud.google.com/blog/topics/threat-intelligence/threat-actor-usage-of-ai-tools/"
        ]
      }
    ],
    "edges": [
      {
        "source": "step-1",
        "target": "step-2"
      },
      {
        "source": "step-2",
        "target": "step-3"
      },
      {
        "source": "step-3",
        "target": "step-4"
      }
    ]
  },
  "linked_actors": [
    "temp-zagros"
  ],
  "linked_tools": [],
  "atlas_techniques": [
    {
      "id": "AML.T0016.002",
      "rationale": "The supplied source explicitly describes generative-model tooling assisting the reported activity; this mapping does not establish additional autonomy or victim impact.",
      "source_urls": [
        "https://cloud.google.com/blog/topics/threat-intelligence/threat-actor-usage-of-ai-tools/"
      ]
    }
  ],
  "category": "adversary-use-of-ai",
  "attribution": {
    "actor_name": "TEMP.Zagros",
    "country": "Iran",
    "motivation": "nation-state"
  },
  "ai_involvement_confidence": "confirmed",
  "detections": [
    {
      "name": "Review attack-specific indicators",
      "format": "guidance",
      "notes": "Monitor for the techniques described in TEMP.Zagros / MuddyWater Gemini-assisted custom malware. Refer to sources for specific IOCs and TTPs."
    }
  ]
}