Skip to navigation

Threat reportMalwareTL-2026-4514

Aokigahara Infostealer Targets ChatGPT, Claude, Codex, and Cursor Login Credentials

highACTIVE

Aokigahara (also tracked as Aoki; earlier versions possibly Kamidere or Stygian) is a Windows infostealer that harvests authentication files, session tokens and configuration data from AI applications and developer tools, alongside browser credentials, SSH keys, cloud configs, crypto wallets, messaging, VPN and email data.

Key facts

IdentifiersTL-2026-4514
Also known asAoki, Kamidere, Stygian
SeverityHIGH
First disclosed
Affected productsMultiple Windows endpoints with AI/developer tools (ChatGPT Desktop, Claude Code/Desktop, Codex, Cursor, Windsurf, GitHub Copilot, Gemini CLI, JetBrains AI Assistant, Amazon Q, Kiro, VS Code)
Weaknesses (CWE)CWE-522, CWE-312
MalwareAokigahara, Clipper, Kamidere, Stygian
MITRE ATT&CK techniquesT1001.003 Protocol or Service Impersonation, T1005 Data from Local System, T1008 Fallback Channels, T1027 Obfuscated Files or Information, T1057 Process Discovery, T1071 Application Layer Protocol, T1071.001 Web Protocols, T1082 System Information Discovery, T1113 Screen Capture, T1140 Deobfuscate/Decode Files or Information, T1480 Execution Guardrails, T1497 Virtualization/Sandbox Evasion and 13 more in the attack flow
MotivationFINANCIAL
Target sectorstechnology, software-development, finance, cryptocurrency, gaming
Target regionsGlobal
Detection rules9 (1 shown free)
Sources6 cited sources

Detection coverage

As of 2026-10-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4514 across Splunk SPL, Microsoft KQL and Sigma, covering 26 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Aokigahara - Non-AI Process Reads Multiple AI Assistant Credential Stores

Behaviour-first detection of the Aokigahara (Aoki) 'aisessions' module (TL-2026-4514). Fires when a single process that is not an allow-listed AI/developer tool reads two or more distinct AI credential or session stores within 10 minutes: .claude\credentials.json, .codex\auth.json, Cursor/Windsurf/VS Code state.vscdb, Copilot config/hosts.json, ChatGPT Desktop LocalCache, JetBrains AIAssistantQuotaManager2.xml, Amazon Q data.sqlite3 and Gemini CLI tokens. Stolen tokens enable AI service abuse, account resale and data extortion. Requires Object Access > Audit File System with a read SACL on the targeted credential paths.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1552.001, T1528, T1555, T1539, T1005
  • Data sources: windows_security_4663_file_system_audit, wineventlog:security, SecurityEvent
  • Severity: high
  • Confidence: high

Splunk SPL

index=wineventlog sourcetype="WinEventLog:Security" EventCode=4663 earliest=-24h
Object_Name IN ("*\\.claude\\credentials.json", "*\\.claude.json", "*\\.codex\\auth.json", "*\\.codeium\\config.json", "*\\.copilot\\config.json", "*\\.copilot\\hosts.json", "*\\Cursor\\User\\globalStorage\\state.vscdb", "*\\Windsurf\\User\\globalStorage\\state.vscdb", "*\\Code\\User\\globalStorage\\state.vscdb", "*OpenAI.ChatGPT-Desktop_*\\LocalCache\\*", "*\\JetBrains\\*\\options\\AIAssistantQuotaManager2.xml", "*\\amazon-q\\data.sqlite3", "*gemini-cli-workspace-token.json")
| eval proc=lower(mvindex(split(Process_Name,"\\"),-1))
| where NOT match(proc,"^(claude|codex|cursor|code|windsurf|chatgpt|node|git|gh|msmpeng|searchprotocolhost|searchindexer|onedrive)\\.exe$")
| bin _time span=10m
| stats dc(Object_Name) as ai_stores_read values(Object_Name) as files_read count by _time, host, Process_Name
| where ai_stores_read>=2
| sort - ai_stores_read

Microsoft KQL

SecurityEvent
| where TimeGenerated > ago(24h)
| where EventID == 4663
| where ObjectName matches regex @"(?i)(\\\.claude\\credentials\.json|\\\.claude\.json|\\\.codex\\auth\.json|\\\.codeium\\config\.json|\\\.copilot\\(config|hosts)\.json|\\(Cursor|Windsurf|Code)\\User\\globalStorage\\state\.vscdb|OpenAI\.ChatGPT-Desktop_[^\\]+\\LocalCache\\|\\JetBrains\\[^\\]+\\options\\AIAssistantQuotaManager2\.xml|\\amazon-q\\data\.sqlite3|gemini-cli-workspace-token\.json)"
| extend Proc = tolower(extract(@"([^\\]+)$", 1, ProcessName))
| where Proc !in ("claude.exe", "codex.exe", "cursor.exe", "code.exe", "windsurf.exe", "chatgpt.exe", "node.exe", "git.exe", "gh.exe", "msmpeng.exe", "searchprotocolhost.exe", "searchindexer.exe", "onedrive.exe")
| summarize AiStoresRead = dcount(ObjectName), FilesRead = make_set(ObjectName, 25), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by Computer, SubjectUserName, ProcessName, Window = bin(TimeGenerated, 10m)
| where AiStoresRead >= 2
| order by AiStoresRead desc

Sigma

title: Aokigahara Infostealer - Non-AI Process Reads AI Assistant Credential Store
id: 3f1c7a52-8b0e-4d6a-9c41-2e5d7b9a1f01
status: experimental
description: Detects a process outside the expected AI/developer tooling reading credential or session files for Claude, Codex, Cursor, Windsurf, Copilot, Codeium, ChatGPT Desktop, JetBrains AI, Amazon Q or Gemini CLI, the aisessions module behaviour of the Aokigahara infostealer (TL-2026-4514).
references:
    - https://research.checkpoint.com/2026/infostealer-riding-the-ai-train/
author: Threadlinqs Team
date: 2026-10-27
tags:
    - attack.credential-access
    - attack.t1552.001
    - attack.t1528
    - attack.t1555
    - attack.t1539
    - attack.collection
    - attack.t1005
logsource:
    product: windows
    service: security
    # Requires Audit File System with SACLs on the targeted paths
detection:
    selection:
        EventID: 4663
        ObjectName|contains:
            - '\.claude\credentials.json'
            - '\.claude.json'
            - '\.codex\auth.json'
            - '\.codeium\config.json'
            - '\.copilot\config.json'
            - '\.copilot\hosts.json'
            - '\Cursor\User\globalStorage\state.vscdb'
            - '\Windsurf\User\globalStorage\state.vscdb'
            - 'OpenAI.ChatGPT-Desktop_2p2nqsd0c76g0\LocalCache'
            - 'AIAssistantQuotaManager2.xml'
            - '\amazon-q\data.sqlite3'
            - 'gemini-cli-workspace-token.json'
    filter_legit:
        ProcessName|endswith:
            - '\claude.exe'
            - '\codex.exe'
            - '\cursor.exe'
            - '\Code.exe'
            - '\windsurf.exe'
            - '\ChatGPT.exe'
            - '\node.exe'
            - '\git.exe'
            - '\gh.exe'
            - '\MsMpEng.exe'
            - '\SearchProtocolHost.exe'
            - '\SearchIndexer.exe'
            - '\OneDrive.exe'
    condition: selection and not filter_legit
falsepositives:
    - Backup, EDR or DLP agents scanning user profiles
    - Developer scripts (Python, PowerShell) legitimately reading AI tool config
    - Profile migration tools
level: high

Known false positives:

  • Backup, DLP or EDR scanners touching many user-profile files
  • Developer utilities (Python or PowerShell scripts) that legitimately read AI tool configuration
  • Profile migration or sync tools such as OneDrive Known Folder Move

Tuning notes: Allow-list further signed corporate tools by full Process_Name path rather than basename. node.exe is allow-listed because Claude Code and Codex run on it; this is bypassable, so alert separately on node.exe reading from unusual parent chains. Lower ai_stores_read to 1 for high-value hosts. Enable SACLs only on the listed paths to limit audit volume.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Aokigahara - Non-Developer Process Reads SSH Keys and Cloud Credentials · unlock with TL Creds
  • Aokigahara - akg_{hex}_{hex} Named Pipe Activity · unlock with TL Creds
  • Aokigahara - Endpoint Connections to Published C2 IP and Domains · unlock with TL Creds
  • Aokigahara - Non-Browser Process Reads Browser and Password Manager Credential Stores · unlock with TL Creds
  • Aokigahara - Known Sample Hash Execution or Launch from [indicator] · unlock with TL Creds
  • Aokigahara - DNS Resolution of C2 Domains and Fallback Infrastructure · unlock with TL Creds
  • Aokigahara - Staging Database kmd_w_*.db and Clipper [indicator] Artefacts · unlock with TL Creds
  • Aokigahara - [indicator]|chunk|complete Exfiltration with Microsoft-CryptoAPI/10.0 User-Agent · unlock with TL Creds

Indicators of compromise

As of 2026-10-27, Threadlinqs Intelligence tracks 26 indicators of compromise for TL-2026-4514.

Sample indicators (3 of 26)

  • IP address: 2.26.252[.]48
  • Domain: dfwioeiofwr[.]info
  • File hash: 8d6c86e0af7807f9b5baf15e9f076bb81e012515

Defanged, TLP:CLEAR. Full set of 26 indicators: unlock with TL Creds.

26 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Check Point Research published its analysis and IOCs on 2026-10-23.

Aokigahara is a modular Windows infostealer analysed by Check Point Research in the report 'Infostealer riding the AI Train' (2026-10-23). Press coverage states the family was first observed earlier in 2026 and previously lacked collection routines for AI applications; recent samples add an 'aisessions' module that collects credential and session files for Claude, ChatGPT Desktop, Codex, Cursor, Windsurf, GitHub Copilot, Gemini CLI, Codeium, JetBrains AI Assistant, Amazon Q and Kiro. Check Point notes that an earlier version may have been known as Kamidere or Stygian; the binary carries 'STGC' config markers and 'kamidere' strings that support this lineage.

The stealer is built from handler modules: sysinfo, browsers (Chromium and Firefox, 30+ variants), wallets (MetaMask, Phantom and others), discord/telegram, steam/gaming (Roblox, Epic Games, Battle.net), passman (KeePass, Bitwarden, 1Password, Dashlane), vpn (NordVPN, ProtonVPN, Surfshark), ftp (FileZilla, WinSCP, CoreFTP), outlook/thunderbird, aisessions, ide (Git credentials, SSH keys, AWS/Azure/Google Cloud configs), screenshot, clipboard and filegraber (Desktop/Documents/Downloads). AI targets include .claude\credentials.json, .claude.json, the OpenAI.ChatGPT-Desktop package LocalCache, Cursor/Windsurf/VS Code globalStorage state.vscdb, .copilot\config.json and hosts.json, .codex\auth.json, .codeium\config.json, gemini-cli-workspace-token.json and master key, JetBrains AIAssistantQuotaManager2.xml, amazon-q\data.sqlite3 and .aws\credentials, config and sso\cache. Check Point assesses that stolen AI credentials can be monetised through unauthorised use of paid AI services, account resale and data extortion over private conversations or proprietary code.

The malware stores its configuration in a '.stgcfg' PE section (magic 'STGC', AES-256-CBC, 16-byte IV, key derived from a seed via an FNV-style routine, decryption routine protected by control-flow flattening). The config holds the base URL, X25519 server public key, build ID, gate token, module bitmask, language/analysis check flags, a TLS certificate-pinning SHA-256 and up to three fallback URLs. When enabled, a language check terminates execution on Russian, Ukrainian, Belarusian, Tajik, Armenian, Azerbaijani, Georgian, Kazakh, Kyrgyz, Turkmen or Uzbek keyboard layout/UI language. Anti-analysis covers PEB, debug port/object and DR0-DR3 hardware breakpoint checks, CPUID hypervisor, VM registry and SMBIOS fingerprints, process-count, suspicious-username (sandbox, malware, virus, sample, test, admin, John Doe, WDAGUtilityAccount) and cursor-movement checks.

Exfiltration uses three HTTP endpoints: /gate/handshake (client's raw 32-byte X25519 public key), /gate/chunk (AES-256-GCM encrypted ZIP archives; nonce = 4-byte LE chunk index + 8 random bytes; AES key = SHA-256 of the X25519 shared secret plus the string 'aokigahara'; headers X-Chunk, X-Chunk-Index, X-Build-ID, X-HWID, X-Gate-Token, X-Session, X-KEX: x25519) and /gate/complete (8-byte 'COMPLETE' marker). The User-Agent is 'Microsoft-CryptoAPI/10.0'. Older samples sent unencrypted HTTP to an IP on port 8080. The malware does not execute remote commands; it collects and sends. A clipper component is installed under C:\Microsoft\Vault, and staging databases are named kmd_w_{int}_{int}.db. The delivery vector, persistence and loader stages are not documented in the available sources, and no operator attribution has been made. Severity is an analyst assessment; no CVE or CVSS applies.

MITRE ATT&CK techniques by tactic:

Command and Control

T1001.003 Protocol or Service Impersonation; T1008 Fallback Channels; T1071 Application Layer Protocol; T1071.001 Web Protocols; T1573 Encrypted Channel

Collection

T1005 Data from Local System; T1113 Screen Capture; T1560 Archive Collected Data

Defense Evasion

T1027 Obfuscated Files or Information; T1140 Deobfuscate/Decode Files or Information; T1480 Execution Guardrails; T1497 Virtualization/Sandbox Evasion; T1622 Debugger Evasion

Discovery

T1057 Process Discovery; T1082 System Information Discovery; T1518 Software Discovery

Credential Access

T1528 Steal Application Access Token; T1539 Steal Web Session Cookie; T1552 Unsecured Credentials; T1552.001 Credentials In Files; T1552.004 Private Keys; T1555 Credentials from Password Stores; T1555.003 Credentials from Web Browsers; T1555.004 Windows Credential Manager; T1555.005 Password Managers

Remediation

Immediate actions

  • Isolate suspected infected hosts and use a clean system to revoke AI sessions and tokens (ChatGPT, Claude, Codex, Cursor, Windsurf, Copilot, Gemini, JetBrains AI, Amazon Q, Kiro)
  • Rotate exposed API keys, SSH keys, Git/PAT tokens and AWS/Azure/GCP credentials found on affected endpoints
  • Review AI account activity and determine whether sensitive conversations or uploaded files were accessible
  • Block the published C2 IP 2.26.252.48 and domains at DNS/proxy/firewall
  • Hunt for the clipper under C:\Microsoft\Vault, kmd_w_*.db files and \\.\pipe\akg_* named pipes

Workarounds

  • Restrict developer workstation egress to approved destinations
  • Remove stored long-lived credentials from plaintext config files where possible

Longer-term hardening

  • Deploy EDR with detection for non-browser processes reading AI tool credential stores (.claude, .codex, .aws, state.vscdb)
  • Use short-lived, scoped tokens and hardware-bound or SSO-managed credentials for developer tooling
  • Review connected cloud and repository accounts after any infostealer exposure; password resets alone are insufficient
  • Alert on /gate/handshake, /gate/chunk and /gate/complete HTTP patterns and the 'Microsoft-CryptoAPI/10.0' User-Agent from non-CryptoAPI processes

Affected and fixed versions

  • Multiple — Windows endpoints with AI/developer tools (ChatGPT Desktop, Claude Code/Desktop, Codex, Cursor, Windsurf, GitHub Copilot, Gemini CLI, JetBrains AI Assistant, Amazon Q, Kiro, VS Code)
    Vulnerable versions: Credential and session files stored locally on Windows hosts

Timeline

  • Aoki/Aokigahara first observed earlier in 2026 (approximate date; press reports state early 2026), initially without AI-application collection routines
  • Report documents the aisessions and ide handler modules, the .stgcfg encrypted config with TLS pinning and three fallback URLs, and the X25519/AES-256-GCM chunked exfiltration protocol
  • Check Point's IOC table lists 142 Aokigahara sample SHA-1 hashes plus a separate clipper component (locked-ioc-4), indicating a large, actively rebuilt sample corpus
  • Check Point assesses that an earlier version of the family may have been known as Kamidere or Stygian; older samples used unencrypted HTTP to an IP on port 8080 while current ones use the encrypted /gate protocol
  • Check Point releases IOCs (C2 IP locked-ioc-18:8080, six domains plus gate subdomain, SHA-1 hashes) and a YARA rule for Aokigahara
  • Check Point Research publishes 'Infostealer riding the AI Train' documenting the aisessions module targeting Claude, ChatGPT, Codex, Cursor and other AI/developer tools
  • Cyber Security News and other outlets report Aokigahara targeting ChatGPT, Claude, Codex and Cursor login credentials
  • Press coverage notes the operators' monetisation methods remain unconfirmed and no attribution has been made; no delivery vector is documented

Sources cited

Previous and next in malware

Drafted by the Threadlinqs research pipeline from 6 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats