Hugging Face, the widely trusted open-source AI/ML model hosting platform, removed roughly 3,500 malicious pages that were being used to distribute information-stealing malware disguised as cheats and tools for popular games. The pages — hosted as Hugging Face Spaces — presented victims with convincing download lures for game mods, aimbots, and unlock tools. Users who clicked through were directed to download infostealer payloads.
This matters to enterprise defenders for three reasons. First, huggingface.co is a legitimate, trusted domain that passes most URL categorization filters and is explicitly allowlisted in many engineering organizations for ML development work. Second, the target demographic — gamers — maps directly onto your risk surface: developers with gaming rigs, employees' kids on home networks that VPN into corporate resources, and BYOD devices. Third, infostealers are the number-one precursor to the breaches we investigate: stolen session cookies and credentials from a personal device become initial access into corporate SaaS and SSO environments within hours.
This is not a vulnerability in Hugging Face itself — it is platform abuse. But the defensive lesson is structural: any trusted hosting domain can be weaponized, and your detection strategy must assume that.
Technical Analysis
Attack Chain
Based on the campaign details, the kill chain follows the now-standard infostealer-as-a-service playbook:
- Lure distribution: Threat actors create Hugging Face Spaces (user-hosted pages under
huggingface.co/spaces/) advertising cheats for popular games. These pages are seeded via YouTube videos, Discord servers, TikTok, and SEO poisoning — all channels that drive traffic to a trusted domain. - Payload delivery: The victim clicks a download link, typically pointing to a password-protected archive (often hosted on the platform itself, MediaFire, or similar). The password is provided on the page — a deliberate technique to evade email/web sandbox detonation, since the scanner can't open the archive.
- Execution: The archive contains a loader executable, frequently a large, padded file to bypass AV size limits, sometimes signed with stolen or fraudulently obtained code-signing certificates.
- Theft and exfiltration: Modern infostealers (Lumma, RedLine, StealC, Vidar families all use this distribution model) target browser credential stores, session cookies, autofill data, cryptocurrency wallets, Discord tokens, and — critically for enterprises — saved SSO/VPN credentials and browser sessions for corporate portals. Exfiltration happens over HTTPS to C2 infrastructure or via Telegram/Discord webhooks, both of which blend into normal traffic.
- Monetization / escalation: Logs are sold on dark web markets or used directly. In our IR casework, infostealer logs containing corporate session cookies are the entry point for a disproportionate share of ransomware and BEC incidents in 2025–2026.
Why the Hugging Face Vector Is Dangerous
- Domain trust:
huggingface.coresolves as a benign software/AI category in virtually every web filtering product. Reputation-based blocking does nothing here. - Scale: 3,500 pages indicates an automated or semi-automated page-generation operation. Takedown is reactive; new Spaces can be stood up in minutes.
- No CVE, no patch: This is pure social engineering plus abuse of a legitimate platform. There is nothing to patch — the fix is detection, filtering granularity, and user controls.
- Exploitation status: Confirmed active, in-the-wild distribution. Hugging Face has removed the identified pages, but this technique generalizes across every user-generated-content hosting platform (GitHub gists, GitLab snippets, Replit, CodeSandbox, and similar have all been abused the same way).
Who Is at Risk
Any organization where employees use the same browser profiles, devices, or credentials across personal and corporate contexts — which is to say, nearly everyone. Engineering orgs that legitimately pull models from Hugging Face face the added risk that a blanket block is not viable, forcing a more nuanced policy.
Detection & Response
The detections below target the observable behaviors of this campaign: tooling downloading executables from huggingface.co, execution of unsigned binaries from user-writable staging directories, and non-browser processes accessing browser credential stores — the highest-fidelity infostealer signal available on a Windows endpoint.
---
title: Executable Downloaded from Hugging Face Spaces via Command-Line Tool
id: 8f2c1a44-6b3d-4e5f-9a17-2c4d6e8f0a1b
status: experimental
description: Detects command-line download utilities retrieving executable or archive content from huggingface.co. Legitimate ML workflows pull model weights (safetensors, bin, gguf); executable and password-protected archive retrieval by curl/wget/PowerShell is a strong indicator of abuse consistent with the fake game cheat campaign.
references:
- https://www.darkreading.com/cyber-risk/hugging-face-kills-3500-pages-fake-game-cheats
- https://attack.mitre.org/techniques/T1105/
author: Security Arsenal
date: 2026/04/06
tags:
- attack.command_and_control
- attack.t1105
logsource:
category: process_creation
product: windows
detection:
selection_tool:
Image|endswith:
- '\curl.exe'
- '\wget.exe'
- '\powershell.exe'
- '\pwsh.exe'
- '\certutil.exe'
selection_url:
CommandLine|contains:
- 'huggingface.co/spaces'
selection_payload:
CommandLine|contains:
- '.exe'
- '.zip'
- '.rar'
- '.7z'
- '.msi'
- '.bat'
- '.ps1'
condition: selection_tool and selection_url and selection_payload
falsepositives:
- Rare; legitimate Hugging Face CLI usage pulls model weights, not executables
level: high
---
title: Non-Browser Process Accessing Browser Credential Store
id: 3d9e5b21-7c4a-4f6e-8b28-1a3c5d7e9f2c
status: experimental
description: Detects processes other than the browser itself accessing browser Login Data, Cookies, or Web Data SQLite stores. This is the core credential and session-cookie theft behavior of infostealer families distributed via the fake game cheat campaign.
references:
- https://www.darkreading.com/cyber-risk/hugging-face-kills-3500-pages-fake-game-cheats
- https://attack.mitre.org/techniques/T1555/003/
author: Security Arsenal
date: 2026/04/06
tags:
- attack.credential_access
- attack.t1555.003
- attack.t1539
logsource:
category: file_access
product: windows
detection:
selection_files:
TargetFilename|contains:
- '\Google\Chrome\User Data\'
- '\Microsoft\Edge\User Data\'
- '\BraveSoftware\Brave-Browser\User Data\'
- '\Opera Software\Opera Stable\'
- '\Mozilla\Firefox\Profiles\'
selection_files_targets:
TargetFilename|endswith:
- '\Login Data'
- '\Cookies'
- '\Network\Cookies'
- '\Web Data'
- '\logins.json'
- '\key4.db'
filter_browser:
Image|endswith:
- '\chrome.exe'
- '\msedge.exe'
- '\brave.exe'
- '\opera.exe'
- '\firefox.exe'
condition: selection_files and selection_files_targets and not filter_browser
falsepositives:
- EDR and DLP agents inspecting browser stores; inventory and tune per environment
- Password managers with browser integration
level: high
---
title: Unsigned Executable Launched from User Staging Directory After Archive Extraction
id: 5b7d3f92-1e8c-4a5d-9c39-4e2b6d8f1a3d
status: experimental
description: Detects execution of binaries from Downloads, Temp, or AppData staging paths spawned by archive utilities or browsers — the typical launch pattern when a user extracts and runs a fake game cheat infostealer.
references:
- https://www.darkreading.com/cyber-risk/hugging-face-kills-3500-pages-fake-game-cheats
- https://attack.mitre.org/techniques/T1204/002/
author: Security Arsenal
date: 2026/04/06
tags:
- attack.execution
- attack.t1204.002
logsource:
category: process_creation
product: windows
detection:
selection_path:
Image|contains:
- '\Downloads\'
- '\AppData\Local\Temp\'
- '\AppData\Roaming\'
selection_parent:
ParentImage|endswith:
- '\explorer.exe'
- '\7z.exe'
- '\7zG.exe'
- '\WinRAR.exe'
- '\chrome.exe'
- '\msedge.exe'
- '\firefox.exe'
- '\brave.exe'
filter_signed_paths:
Image|contains:
- '\AppData\Local\Microsoft\'
- '\AppData\Local\Programs\'
- '\AppData\Roaming\Zoom\'
- '\AppData\Roaming\Spotify\'
- '\AppData\Roaming\Code\'
- '\AppData\Roaming\Slack\'
condition: selection_path and selection_parent and not filter_signed_paths
falsepositives:
- User-installed applications that self-update from Roaming (Discord, Teams) — tune allowlist to your software inventory
level: medium
The following KQL hunts your estate in Microsoft Sentinel / Defender for endpoints pulling executable content from Hugging Face. The file-extension scoping is deliberate: legitimate ML traffic (.safetensors, .bin, .gguf) is excluded so the query stays quiet enough to run as a scheduled analytic rule rather than a one-off hunt.
// Hunt: executable/archive downloads from huggingface.co (fake cheat lure pattern)
let SuspiciousExtensions = dynamic([".exe", ".zip", ".rar", ".7z", ".msi", ".bat", ".ps1", ".scr", ".dll", ".js"]);
DeviceNetworkEvents
| where TimeGenerated > ago(7d)
| where RemoteUrl has "huggingface.co/spaces" or RemoteUrl has "huggingface.co"
| join kind=inner (
DeviceFileEvents
| where TimeGenerated > ago(7d)
| where FileName has_any (SuspiciousExtensions)
| project DeviceId, FileTime=TimeGenerated, FileName, FolderPath, SHA256
) on DeviceId
| where abs(datetime_diff('minute', FileTime, TimeGenerated)) <= 5
| project DeviceId, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteUrl, FileName, FolderPath, SHA256
| order by DeviceId asc;
// Companion hunt: non-browser access to browser credential stores (infostealer behavior)
DeviceFileEvents
| where TimeGenerated > ago(7d)
| where FolderPath has_any ("Login Data", "Cookies", "Web Data", "logins.json", "key4.db")
| where FolderPath has_any ("Chrome\\User Data", "Edge\\User Data", "Brave-Browser", "Opera Stable", "Firefox\\Profiles")
| where InitiatingProcessFileName !in~ ("chrome.exe", "msedge.exe", "brave.exe", "opera.exe", "firefox.exe", "msmpeng.exe")
| summarize AccessCount = count(), Files = make_set(FileName, 10) by DeviceId, DeviceName, InitiatingProcessFileName, InitiatingProcessFolderPath, SHA256 = InitiatingProcessSHA256
| order by AccessCount desc
For DFIR triage on a suspected compromised endpoint, this Velociraptor artifact pulls the two artifacts that confirm infostealer staging and execution: recently created executables in user staging paths and their process lineage.
-- Hunt: staged executables and processes launched from user-writable paths
-- consistent with fake game cheat infostealer delivery
LET staging_paths = {
'C:/Users/*/Downloads/**.exe',
'C:/Users/*/AppData/Local/Temp/**.exe',
'C:/Users/*/AppData/Roaming/**.exe'
}
SELECT Pid, Ppid, Name, CommandLine, Exe, Username, CreateTime,
authenticode(filename=Exe) AS Signature
FROM pslist()
WHERE Exe =~ '(?i)\\\\(Downloads|Temp|Roaming)\\\\'
AND CommandLine !~ '(?i)(discord|spotify|slack|teams|zoom|1password)'
ORDER BY CreateTime DESC
Remediation and Hardening Script
Use this PowerShell script for triage on a suspected endpoint and to verify hardening controls. It checks for staged executables in high-risk directories, inventories browser credential-store access prerequisites, and confirms Defender's real-time and PUA protection states.
# Triage + hardening verification for infostealer-delivered-via-fake-cheats
# Run elevated. Review output before taking containment action.
# 1. Inventory recently created executables in staging directories (last 14 days)
$cutoff = (Get-Date).AddDays(-14)
Get-ChildItem -Path "$env:USERPROFILE\Downloads","$env:TEMP","$env:APPDATA" -Recurse -Include *.exe,*.msi,*.scr -ErrorAction SilentlyContinue |
Where-Object { $_.CreationTime -gt $cutoff } |
Select-Object FullName, CreationTime, Length |
Sort-Object CreationTime -Descending |
Format-Table -AutoSize
# 2. Check Authenticode signatures on staged binaries (unsigned = escalate)
Get-ChildItem -Path "$env:USERPROFILE\Downloads","$env:TEMP" -Recurse -Include *.exe -ErrorAction SilentlyContinue |
ForEach-Object {
$sig = Get-AuthenticodeSignature $_.FullName
[PSCustomObject]@{ File = $_.FullName; Status = $sig.Status; Signer = $sig.SignerCertificate.Subject }
} | Format-Table -AutoSize
# 3. Verify Defender real-time protection and PUA blocking are enabled
Get-MpPreference | Select-Object DisableRealtimeMonitoring, PUAProtection
# 4. Enable PUA protection if not enforced (fake cheat tools are routinely flagged as PUA)
Set-MpPreference -PUAProtection Enabled
# 5. Audit: enable file-access auditing is handled via Sysmon/EDR; confirm Sysmon service health
Get-Service -Name Sysmon* -ErrorAction SilentlyContinue | Select-Object Name, Status, StartType
# 6. Check for browser credential store access lockdown via Controlled Folder Access
Get-MpPreference | Select-Object EnableControlledFolderAccess, ControlledFolderAccessProtectedFolders
If the script surfaces unsigned executables with recent creation timestamps alongside any of the detection-rule hits above, treat the host as compromised: isolate it, force credential resets from a known-clean device (including any SSO sessions authenticated from that browser), invalidate browser session cookies via your IdP's revocation endpoint, and pull the browser profile for forensic review of what was actually exposed.
Remediation
There is no patch for this — the remediation is architectural and procedural. Prioritize in this order:
- Force session and credential invalidation for any exposed user. Infostealers exfiltrate live session cookies, so password resets alone are insufficient. Use your IdP (Entra ID, Okta) to revoke all refresh tokens and active sessions for affected users. This is the single highest-impact containment action.
- Enforce phishing-resistant MFA (FIDO2/passkeys) on all corporate SaaS and VPN. Infostealer logs are largely useless against hardware-bound passkeys — session-cookie replay is blocked when the relying party requires the authenticator. This is the structural fix.
- Refine web filtering policy for Hugging Face. Do not blanket-block
huggingface.coif your ML teams depend on it. Instead: alert on downloads of executable/archive MIME types from the domain, and consider restricting access tohuggingface.co/spaces/*specifically, since that path is user-hosted content and was the abuse vector here. Work with your proxy/SWG vendor on URL-path-level policy. - Block or alert on password-protected archives at the email gateway and web proxy. The lure-provides-the-password pattern is a standard sandbox evasion technique; treat undeliverable-to-sandbox archives as hostile by default.
- Enable Defender PUA protection and SmartScreen. Fake cheat tools are routinely classified as PUA/PWS (password stealer) families. Verify with the script above.
- Application control where feasible. WDAC or AppLocker rules blocking user-writable-path execution neutralize the entire loader-drops-to-Downloads execution model. Pilot in audit mode first.
- User awareness, targeted not generic. Tell your users specifically: game cheats and "cracked" tools are malware distribution vehicles. If they want to mod games, it does not happen on the same device or browser profile as work. For corporate-owned devices, policy should prohibit it outright.
- Monitor infostealer log markets for your domains. Services that index stealer logs (and threat intel feeds) can alert you when credentials for your corporate domains appear in fresh logs — often your earliest warning that a device you don't even know about was compromised.
Hugging Face's takedown is welcome, but 3,500 pages tells you the operation is industrialized. Expect the same lures to resurface on other user-content platforms. Your controls must be domain-agnostic: detect the behavior (executable from trusted UGC domain, credential-store access by non-browser process), not the hostname.
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.