{
  "family": "magania",
  "sample_count": 63,
  "category": "trojan",
  "description": "Trojan:Win32/Magania is a highly specialized infostealer trojan historically known for its aggressive targeting of online gaming credentials, specifically focused on massively multiplayer online (MMO) games like World of Warcraft or Lineage, often stealing virtual assets for real-world financial gain.<br><br><b>Understanding Magania</b><br>To the end-user, Magania operates silently in the background, only becoming apparent when their gaming accounts are mysteriously emptied of high-value virtual items. For security analysts, Magania is a testament to the lucrative nature of the grey-market virtual economy. While primarily targeting gamers, the underlying keylogging and credential-scraping technology is identical to that used in banking trojans, posing a severe risk to any credentials entered on the infected host.<br><br><b>Execution and Evasion Strategies</b><br>Magania was frequently distributed via compromised gaming forums, fake patches, or drive-by downloads on sites offering game cheats. Upon execution, it establishes persistence via the Registry Run keys. Magania specifically monitors the active window title (`T1056.001`); when it detects the launch of a targeted game client, it activates its keylogging and screen-scraping routines. It often injects malicious code directly into the game's process memory (`T1055`) to intercept the username and password before they are encrypted and sent to the game server. The stolen data is then exfiltrated via HTTP POST requests.<br><br><b>Indicators of Compromise & Impact</b><br>The primary impact is the loss of gaming credentials, though corporate passwords are at equal risk if the user multi-tasks. Incident responders will observe anomalous child processes spawning from legitimate game executables. Network logs may show periodic, small POST requests to unfamiliar domains during gaming sessions. EDR platforms will frequently flag Magania's attempts to hook keyboard APIs (`SetWindowsHookEx`) or inject DLLs into active processes.",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [],
  "enrichment_level": "expert-seo",
  "faq": [],
  "faq_count": 0,
  "mitre_attack": [
    "T1113",
    "T1048",
    "T1056.001",
    "T1055",
    "T1547.001"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-06-09",
  "mitre_attack_detail": [
    {
      "id": "T1056.001",
      "name": "Input Capture: Keylogging",
      "tactic": "Collection"
    },
    {
      "id": "T1055",
      "name": "Process Injection",
      "tactic": "Defense Evasion"
    },
    {
      "id": "T1547.001",
      "name": "Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder",
      "tactic": "Persistence"
    },
    {
      "id": "T1048",
      "name": "Exfiltration Over Alternative Protocol",
      "tactic": "Exfiltration"
    },
    {
      "id": "T1113",
      "name": "Screen Capture",
      "tactic": "Collection"
    }
  ],
  "containment_steps": [
    "Isolate the endpoint from the network to halt the active exfiltration of any captured keystrokes or screenshots.",
    "Force a global password reset for all accounts used on the machine, prioritizing corporate and financial credentials, as keyloggers capture everything.",
    "Review the Windows Registry Run keys and Startup folders to locate and remove the Magania persistence mechanisms.",
    "Assume the endpoint is compromised; a clean OS rebuild is recommended to ensure all API hooking and keylogging components are removed."
  ],
  "what_to_avoid": [
    "Do not allow the user to type any passwords or access sensitive portals while the machine is infected.",
    "Avoid treating the infection as a 'low severity gaming issue'; the malware captures all keystrokes, exposing corporate VPN and email credentials."
  ],
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ]
}