TonRAT
- Type
- RAT
- Capabilities
- ReconnaissancePersistencePost exploitationDefense evasionExfiltration
- Delivery
- PhishingLure
- Platforms
- Windows
TonRAT is a Node.js-based remote access trojan used in phishing campaigns targeting hospitality organizations, particularly hotel operators and front-desk environments in Europe and Asia. It has been delivered through booking-themed social engineering lures, including fake guest complaints and bedbug-related messages, with victims redirected to archives containing malicious Windows shortcut files. Execution typically begins with a PowerShell-based loader chain that decrypts an obfuscated JavaScript payload, installs or reuses a legitimate Node.js runtime, and launches the implant in user space.
The malware combines remote access and downloader functionality. It performs host reconnaissance by collecting system and user information, establishes persistence through Windows autorun mechanisms, and communicates with operators over encrypted WebSocket channels. TonRAT supports arbitrary command execution and can download and run additional payloads, enabling broader post-compromise activity. Observed tradecraft also includes defense evasion measures such as heavy JavaScript obfuscation, hidden PowerShell execution, mutex use, and the addition of Microsoft Defender exclusions in some intrusion chains.
A distinctive feature of TonRAT is its use of The Open Network (TON) ecosystem for command-and-control discovery. Rather than relying on a fixed embedded domain, the implant queries a public TON API to retrieve current C2 domain information associated with attacker-controlled blockchain data, allowing operators to rotate infrastructure without rebuilding the malware. After resolving the active endpoint, TonRAT establishes an encrypted session using a key-exchange mechanism and then protects subsequent traffic with symmetric encryption over WebSocket.
TonRAT has been associated with Booking.com-themed phishing operations and broader hospitality-focused intrusion activity observed in 2026. Public reporting has not conclusively attributed the campaign to a named threat actor. The malware’s delivery chain, resilient persistence, dynamic C2 resolution, and support for follow-on payload execution indicate its role as a flexible access platform for sustained compromise of Windows systems.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
Booking.com を騙ってホテル関係者へ送信したフィッシングメールであると判断できます。
The investigation uncovered a layered execution flow in which an initial ZIP archive contains an LNK file that launches PowerShell to retrieve a secondary script.
Booking.com を装ったメールがホテル運営会社へ送付される / メール内のリンクをクリックすると zip ファイルがダウンロードされる
Execution
5 techniques
Execution
TonRAT は任意のコマンド実行の機能を持ちます。C2 サーバーからコマンドを受け取り、実行結果を以下の通り応答します。
lnk ファイルには PowerShell コマンドが含まれており、ユーザーがこのlnkファイルを開くことで実行されます。このコマンドが実行されると、 Invoke-WebRequest を使用してハードコードされている通信先から別の PowerShell ファイルを取得し、実行します。
Some hosts showed headless browser automation with --headless --no-sandbox flags, a geolocation check via ip-api.com, and a forced shutdown through cmd /c shutdown -s -t 0 .
PowerShell コマンドがファイル内の暗号化された JavaScript ファイル(TonRAT)を復号し、ファイルとして書き出す
zip ファイル内の lnk ファイルを実行すると PowerShell コマンドが実行され、追加で PowerShell ファイル(ps1)がダウンロードされ実行される
Persistence
2 techniques
Persistence
PowerShell 経由で HKCU\Software\Microsoft\Windows\CurrentVersion\Run キーの既存値を確認
lnk ファイルには PowerShell コマンドが含まれており、ユーザーがこの lnk ファイルを開くことで、PowerShell コマンドが実行されます。
Privilege Escalation
2 techniques
Privilege Escalation
PowerShell 経由で HKCU\Software\Microsoft\Windows\CurrentVersion\Run キーの既存値を確認
lnk ファイルには PowerShell コマンドが含まれており、ユーザーがこの lnk ファイルを開くことで、PowerShell コマンドが実行されます。
Stealth
6 techniques
Stealth
今回、当社が観測した攻撃には以下の特徴があります。… 難読化された PowerShell ローダー、JavaScript ファイル
Booking.com を装ったメール
PowerShell コマンドがファイル内の暗号化された JavaScript ファイル(TonRAT)を復号し、ファイルとして書き出す
zip ファイルの中には lnk ファイルと mp4 ファイルがあります... lnk ファイルには PowerShell コマンドが含まれており、ユーザーがこのlnkファイルを開くことで実行されます。
That challenge serves double duty as an anti-analysis gate and a geolocation filter before the payload lands... Some hosts showed... a geolocation check via ip-api.com
ShowWindow メソッドを使ってウィンドウを非表示にすることで、ユーザーに異常を気づかれにくくしていると考えられます。
Defense Impairment
1 technique
Defense Impairment
It also adds a Microsoft Defender exclusion for its own dropped file, which helps it avoid scans.
Discovery
2 techniques
Discovery
TonRAT が感染端末の情報収集と動作の永続化を行い... / 感染端末のシステム情報を C2 サーバーへ送信
That challenge serves double duty as an anti-analysis gate and a geolocation filter before the payload lands... Some hosts showed... a geolocation check via ip-api.com
Collection
2 techniques
Collection
Some hosts also showed headless browser automation (--headless --no-sandbox)...
最終的に zip ファイルがダウンロードされます。
Command and Control
8 techniques
Command and Control
This implant communicates with its command and control servers using the TON blockchain API and opens an encrypted WebSocket channel.
TonRAT が TON API から取得した C2 へ WebSocket で接続する
Victims are directed through multiple redirects to a malicious .cfd domain.
Invoke-WebRequest を使用してハードコードされている通信先から別の PowerShell ファイルを取得し、実行します。
The implant supports remote code execution. It can download and run Windows programs, plus PowerShell and JavaScript.
TonRAT が TON API を使用して C2 のドメインを取得する
Communications sur ports non-standard : 8443, 8445, 8453, 5555, 56001, 56002, 56003
WebSocket 接続後、クライアントと C2 間で ECDH(Elliptic Curve Diffie-Hellman)鍵交換によるハンドシェイクが行われます。
Impact
1 technique
Impact
Some hosts also showed headless browser automation (--headless --no-sandbox), an ip-api.com geolocation check, and a forced shutdown via cmd /c shutdown -s -t 0.
Observables
132 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.