Arkanix Stealer is malware designed to steal credentials and personal data. It’s actively being developed and promoted on Discord, with frequent updates and new features. The malware comes in two versions:

  • Standard Version: Written in Python
  • Premium Version: Written in C++, offering additional theft capabilities

Both versions are distributed through Discord (disguised as legitimate tools) and various online forums.

Distribution and Access

The malware’s control panel is located at arkanix[.]pw/login. Access requires an invite code distributed through Discord channels. The Premium version includes features like:

  • VPN account theft
  • Steam account theft
  • Screenshot capture
  • WiFi credential extraction
  • Paid technical support

To avoid detection, the malware uses VMProtect obfuscation.

Core Capabilities

1. Security Evasion

The malware disables Windows security features by bypassing:

  • AMSI (Anti-Malware Scan Interface): Prevents malware scanners from detecting threats
  • ETW (Event Tracing for Windows): Blocks security tools from logging malicious activity

2. Anti-Analysis Protection

Arkanix uses multiple techniques to avoid detection in security analysis environments:

  • VMProtect: Commercial obfuscation tool
  • Debugger detection: Identifies if security researchers are analyzing it
  • Virtual machine detection: Checks if running in VM environments
  • Sleep timing checks: Detects sandbox acceleration techniques

Hardware Checks:

  • Rejects systems with less than 2 CPU cores
  • Rejects systems with less than 2GB RAM
  • Scans registry for VM-related identifiers (VBOX, VMware, QEMU, Virtual)

Process Monitoring: The malware scans for analysis tools including:

  • Process Monitor, Process Hacker, Process Explorer
  • Wireshark, Fiddler, Charles (network sniffers)
  • OllyDbg, x64dbg, WinDbg, IDA, Ghidra (debuggers)
  • dnSpy, ILSpy (decompilers)

Environment Checks:

  • Searches for sandbox drivers (Sandbox, VBoxGuest)
  • Checks hostnames and usernames for analysis-related keywords: “CUCKOO”, “ANALYSIS”, “VIRUS”, “MALWARE“, “ADMIN”, “TEST”

3. Browser Data Theft

Targeted Browsers: Arkanix targets 24+ Chromium-based browsers, including Chrome, Edge, Brave, Opera (GX/One), Vivaldi, Yandex, and many regional variants.

App-Bound Encryption Bypass: Starting with Chrome 127, Google implemented App-Bound Encryption (ABE) to protect sensitive data like cookies, passwords, and session tokens. Arkanix bypasses this using ChromElevator, a tool that:

  • Injects code into a legitimate browser process
  • Uses the browser’s own decryption content to access protected data
  • Currently works with Chrome, Brave, and Edge only

Data Extraction Process:

  1. ChromElevator runs for up to 60 seconds per browser
  2. Extracts data to temporary folder
  3. Moves extracted credentials to C:\ArkanixData\[BrowserName]
  4. Collects additional data like autofill information

Fallback Method: The malware includes a secondary decryption method using Windows COM interfaces, though testing shows this method is ineffective against modern browser versions.

4. Browser Extension Theft

Arkanix specifically targets high-value browser extensions in three categories:

Cryptocurrency Wallets: MetaMask, Phantom, Coinbase, Trust Wallet, Binance Chain, TronLink, Ronin, Exodus, Rabby, Core, OKX, Keplr, Solflare, Nami, Eternl

Password Managers: LastPass, 1Password, Bitwarden, Dashlane, NordPass, Keeper, RoboForm

Two-Factor Authentication: Authenticator, Authy, Google Authenticator

5. Application Credential Harvesting

Gaming Platforms: Steam, Epic Games, Battle.net, Riot Games, Unreal Engine, Origin, Ubisoft, GOG.com

Discord Variants:

  • Official clients: Discord, Discord Canary, Discord PTB, Discord Development
  • Modified clients: Lightcord, BetterDiscord, Vencord, GooseMod, EnhancedDiscord
  • Web-based Discord (through Chrome, Edge, Brave, Opera, Opera GX)

The malware scans Discord’s LevelDB database files for authentication tokens, decrypts them, and verifies them using Discord’s API. According to security researchers, if self-spreading is enabled, Arkanix can send itself to the victim’s contacts and channels.

Remote Desktop (RDP): Searches desktop and downloads folders for .rdp files and extracts:

  • Server address
  • Username
  • Encrypted password
  • Port number

Uses Windows DPAPI to decrypt passwords and saves information to rdp.json.

6. WiFi Credential Theft

The malware:

  1. Uses Windows WLAN APIs to find all wireless network interfaces
  2. Lists all saved WiFi profiles
  3. Retrieves XML configuration for each profile
  4. Extracts SSID and security settings
  5. Decrypts passwords using Windows DPAPI

7. System Information Collection

Gathers comprehensive system details:

  • Hardware ID (HWID)
  • Computer name and username
  • IP address
  • Operating system version
  • CPU, GPU, and RAM specifications
  • Screen resolution
  • Time zone and language
  • Installed antivirus software
  • Administrator privileges status
  • Virtual machine detection result

8. Screenshot Capture

Uses Windows API (capCreateCaptureWindowA) to capture full-screen screenshots, saved to a screenshots folder.

Infrastructure Analysis

Network Setup

The domain arkanix[.]pw is protected by Cloudflare, which hides the real server location. When you look up the domain, you only see Cloudflare’s IP addresses, not the actual server.

However, security researchers discovered two origin IP addresses:

  • 195.246.231[.]60 (Primary – hosts control panel on port 5000)
  • 93.95.226[.]152 (Secondary)

Both are hosted by 1984 Hosting in Iceland (AS44925). The primary server runs a Python backend using the Waitress WSGI application server and accepts requests from arkanix[.]pw.

Data Exfiltration Process

  1. Compression: All stolen data in C:\ArkanixData folder is compressed into %temp%\arkanix_data.zip
  2. Upload: The archive is sent via HTTP POST to https://arkanix[.]pw/api/upload/direct
  3. Authentication: Custom HTTP headers identify the upload:
    • User-Agent: ArkanixStealer/2.0
    • Content-Type: application/zip
    • X-Payload-ID: [Unique identifier]
    • X-User-ID: [User number]
    • X-Timestamp: [Unix timestamp]
    • X-Signature: [HMAC-SHA256 signature for verification]

Technical Details: Security Bypasses

AMSI Bypass (Memory Patching)

  1. Loads amsi.dll library
  2. Finds AmsiScanBuffer function address
  3. Changes memory permissions to allow writing
  4. Overwrites function start with: B8 57 00 07 80 C3
  5. This forces the function to return error code 0x80070057, making Windows think the scan failed rather than detecting malware

ETW Bypass

  1. Loads ntdll.dll library
  2. Finds EtwEventWrite function
  3. Changes memory permissions
  4. Writes 0xC3 (RET instruction) at function start
  5. Function immediately returns without logging any events

Anti-Debugging Trap

If no debugger is detected, the malware triggers a breakpoint exception (INT 3). In normal execution, its exception handler catches this and continues running. If a debugger is present, behavior changes, alerting security researchers.

Sleep Timing Detection

  1. Records current time using GetTickCount64
  2. Sleeps for 1000 milliseconds
  3. Checks elapsed time
  4. If less than 900ms elapsed, assumes sandbox accelerated the sleep (common analysis technique)
  5. Performs same test using CPU cycles for additional verification

Summary

AI used to code a malwareArkanix Stealer is sophisticated credential-stealing malware with extensive capabilities for:

  • Bypassing modern security protections
  • Evading analysis in virtual environments
  • Extracting data from browsers, applications, and system configurations
  • Stealing cryptocurrency wallets, passwords, and authentication tokens
  • Exfiltrating collected data to remote servers

Its use of ChromElevator to bypass App-Bound Encryption demonstrates the ongoing evolution of malware techniques to defeat new security measures. Organizations and individuals should maintain updated security software, enable multi-factor authentication, and remain vigilant about downloading software from untrusted sources.

References