Gamania

Category: trojan · Aliases: None known · Sample count (EMBER 2018): 4 · Enrichment: expert-seo · Updated: 2026-06-09
Category: TrojanActor: Unknown / CybercriminalIndustry: Global / OpportunisticMotivation: Opportunistic

Overview

PWS:Win32/Gamania is a specialized Password Stealer (PWS) trojan explicitly designed to target and harvest credentials associated with online gaming accounts, particularly those related to the Asian gaming portal Gamania, as well as other popular MMORPGs and digital distribution platforms.

Understanding Gamania (Gaming Credential Stealers)
To an end-user, a Gamania infection might seem invisible, only becoming apparent when they find themselves locked out of their gaming accounts or discover their in-game assets have been transferred. For a security analyst, while this malware targets consumer accounts rather than enterprise data, its presence on a corporate network indicates a severe violation of acceptable use policies and a potential vector for secondary, more damaging payloads, as the initial infection vector was successful.

Execution and Credential Harvesting Mechanics
Gamania is typically distributed via phishing links on gaming forums, disguised as 'cheats,' 'hacks,' 'bots,' or fake game updates (`T1204.002`). Upon execution, the trojan establishes persistence by modifying the Registry Run keys or dropping a shortcut in the Startup folder (`T1547.001`). Its primary function is to monitor running processes. When it detects a targeted game client or gaming portal launching, it uses API hooking (like `SetWindowsHookEx`) to intercept keystrokes (`T1056.001`) specifically within that application's context, or it searches the registry and specific file paths for stored session tokens and saved passwords (`T1555.003`). The stolen credentials are then packaged and exfiltrated to an attacker-controlled server, often via simple HTTP POST requests or SMTP email.

Indicators of Compromise & Impact
The primary impact is the loss of gaming accounts and virtual assets, which can have real-world financial value. Host-based IoCs include the presence of anomalous executables in the `%AppData%` or `%Temp%` directories, EDR alerts for keylogging activity or unauthorized access to browser credential stores, and unexpected outbound network traffic to known gaming-malware drop zones.

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to the MITRE ATT&CK framework:

TechniqueNameTactic
T1555.003Credentials from Password Stores: Credentials from Web Browsers (Targeting gaming portals)Credential Access
T1056.001Input Capture: Keylogging (Targeting game clients)Collection
T1048.003Exfiltration Over Alternative Protocol (Sending logs via email/HTTP)Exfiltration
T1547.001Boot or Logon Autostart ExecutionPersistence

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

Generated Detections (Boilerplate)

These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.

YARA Rule

rule MALWARE_WIN_GAMANIA {
    meta:
        description = "Detects Gamania (trojan)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "gamania" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Gamania Activity
id: 3f073a9a69d982fd5a876bf0c5486143
status: experimental
description: Detects generic indicators of the gamania malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*gamania*"
    condition: selection
level: medium

Containment & Response Steps

Home Users: If you suspect a malware infection on your personal device, disconnect from the internet immediately and run a full system scan with your antivirus software. The steps below are intended for IT professionals responding to enterprise incidents.

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Isolate the endpoint to prevent further exfiltration of credentials.
  2. Force a password reset for all gaming accounts, email accounts, and any corporate accounts accessed from the infected machine, as the keylogger may have captured non-gaming data.
  3. Run a comprehensive anti-malware scan to remove the Gamania executable and its associated registry hooks.
  4. Educate users on the dangers of downloading third-party 'cheats' or 'trainers', which are the primary distribution method for this class of malware.

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Avoid assuming the malware *only* stole gaming passwords; many modern PWS variants are modular and will steal any cached credentials they find.
  2. Do not allow the user to continue using the machine for sensitive tasks until a full wipe and reimage has been performed, to ensure no persistent hooks remain.

References & External Analysis

Frequently Asked Questions

How do I remove the Gamania Trojan from Windows?

Manual removal of Gamania is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.

Is Gamania a virus or a Trojan?

Gamania is classified as a Trojan. Unlike traditional viruses that infect files, modern malware like Gamania typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.

What are the main symptoms of a Gamania infection?

Symptoms of Gamania can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.

Related Families (Category: trojan)

Explore other malware families in the same category:

Protect Your Network Against Trojans

Want to prevent Gamania and similar threats from compromising your organization? Read our comprehensive defensive guide: Banking Trojan Protection.

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/gamania.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.