Back to Intelligence

Fake Game Cheat Malware Lures on Hugging Face and GitHub: Infostealer Detection and Response Guide

SA
Security Arsenal Team
December 1, 2026
9 min read

JFrog's security research team disclosed a large-scale malware distribution campaign abusing two of the most trusted names in developer infrastructure: Hugging Face and GitHub. According to the report, researchers identified 3,501 Hugging Face Spaces — the AI platform's hosted application pages — linked to roughly 1,559 associated GitHub repositories, all functioning as fake game-cheat landing pages. Collectively, more than 5,000 of these lure pages funnel users toward malicious downloads.

The one malware sample recovered so far is a Windows-based infostealer engineered to harvest browser-stored passwords, session cookies, and gaming session tokens. This is not a spray-and-pray operation — it is a deliberate, at-scale poisoning of trusted platforms that defenders tend to implicitly trust and that proxy logs and web filters often whitelist without scrutiny.

Why Defenders Should Care

Do not dismiss this as a "gamers getting what they deserve" story. The enterprise implications are serious:

  • Infostealers are the fuel of initial access brokerage. Stolen session cookies and tokens enable MFA bypass without a password ever changing hands. Browser cookies are routinely sold to ransomware affiliates and used to walk straight into corporate SaaS sessions.
  • Gaming session theft maps to corporate exposure. Discord, Steam, and Epic tokens live on the same machines where employees also authenticate to corporate VPNs, Okta dashboards, and cloud consoles. A home user infected via a fake cheat page becomes a pivot point.
  • Trusted-platform abuse defeats perimeter controls. Hugging Face and GitHub carry clean reputations. If your web content filtering allows developer platforms by default — as most do — these lure pages sail through.
  • The campaign is active and at scale. This is not a theoretical PoC. Thousands of live lure pages are serving malware now.

Technical Analysis

Affected Platforms and Delivery Vector

ComponentDetail
Distribution platformHugging Face Spaces (3,501 identified)
Linked infrastructure~1,559 associated GitHub repositories
Lure contentFake game cheats (aimbots, trainers, injectors, mod menus) for popular titles
PayloadWindows infostealer executable
Target dataBrowser passwords, cookies, gaming session tokens
CVENone — this is platform abuse, not a software vulnerability

Attack Chain (Defender's View)

  1. Lure: A user searches for a game cheat and lands on a convincing page hosted on huggingface.co Spaces or a GitHub repository/README. Platform reputation lends legitimacy.
  2. Download: The page links to an archive or direct executable, typically staged from the repo itself or a linked file host.
  3. Execution: The user runs a Windows executable masquerading as a cheat installer, trainer, or injector — usually from Downloads, Desktop, or %TEMP%.
  4. Credential harvesting: The stealer enumerates browser profile paths (%LOCALAPPDATA%\Google\Chrome\User Data\..., plus Edge, Brave, Opera, Firefox), reads the Local State file to obtain the DPAPI-protected encryption key, then decrypts Login Data (passwords) and Cookies (sessions). It also scrapes Discord/Steam/Epic token stores.
  5. Exfiltration: Harvested data is bundled and sent to attacker-controlled C2, then monetized or resold.

Mapped to MITRE ATT&CK, this aligns with T1555 (Credentials from Password Stores), T1539 (Steal Web Session Cookie), T1552.004 (Private Keys / credential material), and T1204.002 (User Execution: Malicious File).

Exploitation Status

  • Active in-the-wild campaign, confirmed by JFrog's research.
  • No CVE — no patch exists because no software vulnerability is involved. Remediation is entirely behavioral, configurational, and detective.
  • Not on CISA KEV (no CVE to list). Defense rests on detection and user/platform hygiene.

Detection & Response

This is a technical malware-distribution threat. The following detections target the two highest-signal behaviors: non-browser processes touching browser credential stores and cheat-themed executables running from user-writable paths.

Sigma Rules

YAML
---
title: Non-Browser Process Accessing Browser Credential Store
id: 3f8c2a71-9b4d-4e6f-a1c2-7d5e9f0b1234
status: experimental
description: Detects processes other than legitimate browsers accessing browser credential artifacts (Login Data, Cookies, Local State, Web Data), consistent with infostealer credential harvesting as seen in the fake game-cheat campaign on Hugging Face and GitHub.
references:
  - https://attack.mitre.org/techniques/t1555/
  - https://attack.mitre.org/techniques/t1539/
author: Security Arsenal
date: 2026/12/18
tags:
  - attack.credential_access
  - attack.t1555
  - attack.t1539
logsource:
  category: file_event
  product: windows
detection:
  selection:
    TargetFilename|endswith:
      - '\Login Data'
      - '\Cookies'
      - '\Local State'
      - '\Web Data'
      - '\logins.json'
      - '\cookies.sqlite'
  filter_browsers:
    Image|endswith:
      - '\chrome.exe'
      - '\msedge.exe'
      - '\firefox.exe'
      - '\brave.exe'
      - '\opera.exe'
      - '\opera_gx.exe'
  condition: selection and not filter_browsers
falsepositives:
  - Enterprise password managers with browser integration
  - Forensic/backup tools explicitly authorized to touch profile data
level: high
---
title: Game Cheat Tool Execution From User-Writable Path
id: 8a1d4e62-5c7b-4f9a-b2e3-6f8d0a1c5678
status: experimental
description: Detects execution of cheat/hack-themed binaries (aimbot, trainer, injector, mod menu, wallhack) from user-writable directories such as Downloads, Desktop, or Temp. Matches the delivery pattern of fake game-cheat malware lures distributed via Hugging Face Spaces and GitHub repositories.
references:
  - https://attack.mitre.org/techniques/t1204/002/
author: Security Arsenal
date: 2026/12/18
tags:
  - attack.execution
  - attack.t1204.002
logsource:
  category: process_creation
  product: windows
detection:
  selection_path:
    Image|contains:
      - '\Downloads\'
      - '\Desktop\'
      - '\AppData\Local\Temp\'
      - '\AppData\Roaming\'
  selection_name:
    Image|contains:
      - 'aimbot'
      - 'wallhack'
      - 'trainer'
      - 'injector'
      - 'modmenu'
      - 'mod_menu'
      - 'cheat'
      - 'esp_hack'
      - 'unlocker'
  condition: selection_path and selection_name
falsepositives:
  - Legitimate game modding utilities (rare and typically policy-prohibited in enterprise environments)
level: high
---
title: Command-Line Access to Browser Credential Files
id: 1c5b7d93-2e8f-4a6c-d3b4-9a0e2f7c9012
status: experimental
description: Detects shell or scripting processes whose command lines reference browser credential artifacts (Login Data, Local State, Cookies, logins.json), indicating credential theft staging consistent with infostealer behavior.
references:
  - https://attack.mitre.org/techniques/t1555/
author: Security Arsenal
date: 2026/12/18
tags:
  - attack.credential_access
  - attack.t1555
logsource:
  category: process_creation
  product: windows
detection:
  selection_cmd:
    CommandLine|contains:
      - 'Login Data'
      - 'Local State'
      - 'logins.json'
      - 'cookies.sqlite'
      - '\Cookies\'
  selection_shell:
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\wscript.exe'
      - '\cscript.exe'
      - '\rundll32.exe'
      - '\mshta.exe'
  condition: selection_cmd and selection_shell
falsepositives:
  - Legitimate browser migration or backup scripts (uncommon; verify context)
level: high

KQL (Microsoft Sentinel / Defender)

The primary hunt surfaces any non-browser process touching browser credential stores. The secondary query flags cheat-themed binaries executing from user-writable paths.

KQL — Microsoft Sentinel / Defender
// Hunt 1: Non-browser process accessing browser credential stores
let BrowserProcs = dynamic(["chrome.exe","msedge.exe","firefox.exe","brave.exe","opera.exe","opera_gx.exe"]);
DeviceFileEvents
| where FileName in~ ("Login Data","Cookies","Local State","Web Data","logins.json","cookies.sqlite")
| where FolderPath has_any ("User Data","Profiles","Opera Stable","BraveSoftware")
| where InitiatingProcessFileName !in~ (BrowserProcs)
| project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessFolderPath, InitiatingProcessAccountName, FileName, FolderPath
| order by TimeGenerated desc

// Hunt 2: Cheat-themed executables running from user-writable paths
DeviceProcessEvents
| where FileName has_any ("aimbot","wallhack","trainer","injector","modmenu","cheat","unlocker")
| where FolderPath has_any ("Downloads","Desktop","Temp","AppData")
| project TimeGenerated, DeviceName, AccountName, FileName, ProcessCommandLine, FolderPath, SHA256
| order by TimeGenerated desc

Velociraptor VQL

VQL — Velociraptor
-- Hunt: cheat-themed processes executing from user-writable paths
SELECT Pid, Name, CommandLine, Exe, Username, CreateTime
FROM pslist()
WHERE Exe =~ '(Downloads|Desktop|Temp|AppData)'
  AND (Name =~ '(aimbot|wallhack|trainer|injector|modmenu|cheat|unlocker)'
       OR CommandLine =~ '(aimbot|wallhack|trainer|injector|modmenu|cheat|unlocker)')

-- Hunt: network connections for those same suspicious processes
SELECT Pid, Name, Path, Connection.DestinationIp, Connection.DestinationPort, Connection.State
FROM netstat()
WHERE Pid in (SELECT Pid FROM pslist()
              WHERE Exe =~ '(Downloads|Desktop|Temp|AppData)'
                AND Name =~ '(aimbot|wallhack|trainer|injector|modmenu|cheat|unlocker)')

-- Hunt: browser credential stores with recent modification times
SELECT FullPath, Mtime, Size
FROM glob(glob="C:/Users/*/AppData/*/User Data/*/Login Data")
ORDER BY Mtime DESC

Remediation and Hunt Script

The following PowerShell identifies cheat-themed executables in user-writable locations, terminates matching processes, quarantines the files, and reports browser credential store activity for triage.

PowerShell
# Requires elevation. Run on suspected hosts or deploy via EDR/GPO scheduled task.
$QuarantineDir = "C:\SecurityArsenal\Quarantine"
New-Item -Path $QuarantineDir -ItemType Directory -Force | Out-Null

$keywords = 'aimbot','wallhack','trainer','injector','modmenu','mod_menu','cheat','unlocker','esp_hack'
$userPaths = @(
    "$env:USERPROFILE\Downloads",
    "$env:USERPROFILE\Desktop",
    "$env:TEMP"
)

# 1. Locate cheat-themed executables in user-writable paths
$suspectFiles = foreach ($p in $userPaths) {
    if (Test-Path $p) {
        Get-ChildItem -Path $p -Recurse -Include *.exe,*.bat,*.ps1,*.scr,*.com -ErrorAction SilentlyContinue |
            Where-Object { $n = $_.Name.ToLower(); $keywords | Where-Object { $n.Contains($_) } }
    }
}

# 2. Terminate matching running processes
foreach ($f in $suspectFiles) {
    $proc = Get-Process | Where-Object { $_.Path -eq $f.FullName }
    if ($proc) {
        Write-Host "[!] Terminating suspicious process: $($proc.Name) (PID $($proc.Id))" -ForegroundColor Red
        Stop-Process -Id $proc.Id -Force
    }
}

# 3. Quarantine the files
foreach ($f in $suspectFiles) {
    Write-Host "[!] Quarantining: $($f.FullName)" -ForegroundColor Yellow
    Move-Item -Path $f.FullName -Destination $QuarantineDir -Force -ErrorAction SilentlyContinue
}

# 4. Report browser credential store activity for triage
$stores = Get-ChildItem -Path "$env:LOCALAPPDATA" -Recurse -Include "Login Data","Cookies","Local State" -ErrorAction SilentlyContinue
foreach ($s in $stores) {
    Write-Host "[i] $($s.FullName) | LastWrite: $($s.LastWriteTime) | LastAccess: $($s.LastAccessTime)"
}

# 5. Flag for follow-up
if ($suspectFiles) {
    Write-Host "[ALERT] $($suspectFiles.Count) suspect file(s) found. Isolate host, rotate browser-stored credentials, and revoke active sessions." -ForegroundColor Red
} else {
    Write-Host "[OK] No cheat-themed executables found in scoped paths." -ForegroundColor Green
}

Remediation

There is no patch for this campaign — no CVE exists. Defense is layered and behavioral:

  1. Deploy the detections above. Enable Sysmon or equivalent EDR telemetry so file events on browser profile paths are captured. Without file_event telemetry, the first Sigma rule cannot fire — validate collection before you trust silence.
  2. Do not implicitly trust developer platforms at the perimeter. Hugging Face and GitHub should not receive blanket proxy whitelist treatment. Apply the same download inspection and sandboxing you apply elsewhere. Report the identified Spaces and repositories to Hugging Face and GitHub abuse teams.
  3. Enforce application control. Use WDAC or AppLocker to deny execution of unsigned binaries from Downloads, Desktop, and %TEMP% for standard users. This single control breaks the delivery chain of most cheat-lure droppers.
  4. Harden browser credential posture. Disable browser-native password storage via policy (e.g., Chrome PasswordManagerEnabled=0, equivalent Edge policy) and move users to a managed password manager. Fewer secrets in Login Data means less for a stealer to take.
  5. If compromise is suspected: isolate the host, terminate the process, quarantine the binary, then rotate every credential stored in the browser, sign out all active sessions (Google, Microsoft, Discord, Steam, Epic), revoke OAuth tokens, and inspect persistence locations (Run keys, Scheduled Tasks) before returning the machine to service. Given that this stealer targets session cookies, assume session-level compromise even if passwords were never entered.
  6. User awareness. Game cheats are a malware delivery vector, full stop. Codify that installing unauthorized cheat software violates acceptable use policy.
  7. Monitor for campaign evolution. The recovered sample is "the one malicious code recovered so far" — expect additional payload families as the campaign matures.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.