PhantomRAT
- Type
- RAT
- Capabilities
- ExfiltrationPersistencePost exploitationDefense evasionReconnaissance
- Delivery
- PhishingSpearphishingLure
- Platforms
- Windows
PhantomRAT is a Windows remote-access trojan developed and deployed by the PhantomCore cyberespionage group against Russian organizations since at least January 2024. Associated campaigns have targeted manufacturing, IT, technology parks, leasing, and oil-and-gas organizations. Originally implemented in C# using .NET, PhantomRAT was rewritten in Go by May 2024 and subsequently expanded with modular functionality.
PhantomRAT supports bidirectional file transfers, file exfiltration, downloading and executing additional payloads, changing working directories, and executing Windows shell commands while returning their output. It collects host and user identifiers, operating-system details, and local and external network addresses. The original .NET implementation communicates through RSocket over TCP, encrypts command-session exchanges with AES-256-CBC, and supports primary and secondary command-and-control endpoints. Evasion techniques include .NET single-file packaging, obfuscation and executable packing in later samples, virtual-machine checks, and debugger detection.
Observed delivery chains use spearphishing emails, including messages sent from compromised corporate accounts, with business-document lures and password-protected RAR attachments. Crafted archives exploit WinRAR vulnerability CVE-2023-38831 to execute malware when users attempt to open an embedded PDF in vulnerable versions earlier than 6.23. PhantomCore.Downloader retrieves PhantomRAT and establishes scheduled-task persistence. Later PhantomRAT versions can install and launch additional modules, including a persistence component that creates scheduled tasks.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
«PhantomRAT — это троян удаленного доступа, основанный на .NET. PhantomRAT имеет следующие возможности: загрузка файлов с C2-сервера, выгрузка файлов со скомпрометированного хоста на C2-сервер, а также выполнение команд в интерпретаторе командной строки cmd.exe.»
Techniques & procedures
25 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
3 techniques
Resource Development
PhantomCore регистрируют домены и используют их в качестве управляющих серверов.
PhantomCore gains access to corporate email accounts at legitimate companies and uses them to distribute PhantomRAT and PhantomRShell
PhantomCore используют уникальное вредоносное ПО PhantomRAT.
Initial Access
1 technique
Initial Access
PhantomCore sends phishing emails with PhantomRAT and PhantomRShell attached
Execution
4 techniques
Execution
schtasks -create -tn MicrosoftStatisticCore /XML %AppData%\Microsoft\Windows\link.xml
Using PhantomRAT, PhantomRShell, PhantomTaskShell, and the Phantom control panel, PhantomCore runs commands in PowerShell on infected hosts
PhantomRAT ... может использовать cmd.exe для выполнения команд на зараженной системе.
They have been observed executing malicious code through specially crafted RAR archives, different from previous attacks exploiting vulnerabilities.
Persistence
1 technique
Persistence
schtasks -create -tn MicrosoftStatisticCore /XML %AppData%\Microsoft\Windows\link.xml
Privilege Escalation
1 technique
Privilege Escalation
schtasks -create -tn MicrosoftStatisticCore /XML %AppData%\Microsoft\Windows\link.xml
Stealth
6 techniques
Stealth
Вредоносный модуль хранится в теле файла в сериализованном виде.
PhantomCore uses UPX (the Ultimate Packer for Executables) to pack PhantomRAT, PhantomRShell, and lure documents disguised as archives
PhantomCore используют вредоносное ПО PhantomRAT, которое расшифровывает полученные команды от сервера перед их выполнением.
Цель данной задачи, запуск следующей стадии через инструмент системы – pcalua.exe (Program Compatibility Assistant).
PhantomRAT checks for virtualization and analysis tools on the infected host by reading the Windows registry keys DriverDesc and SYSTEM\ControlSet001\Services\Disk and looking for the string "vmware"
PhantomRAT checks for a debugger on the infected host by calling the WinAPI function IsDebuggerPresent()
Discovery
3 techniques
Discovery
информация о версии операционной системы ... WMI-запроса “SELECT * FROM Win32_OperatingSystem”
PhantomRAT checks for virtualization and analysis tools on the infected host by reading the Windows registry keys DriverDesc and SYSTEM\ControlSet001\Services\Disk and looking for the string "vmware"
PhantomRAT checks for a debugger on the infected host by calling the WinAPI function IsDebuggerPresent()
Collection
1 technique
Collection
PhantomCore используют вредоносное ПО PhantomRAT, которое собирает данные о системе.
Command and Control
8 techniques
Command and Control
В случае PhantomRAT, RSocket-протокол выполняет передачу данных посредством TCP-протокола.
«PhantomCore.Downloader ... загружает следующую стадию с filetransfer[.]io используя HTTP-протокол.»
PhantomCore используют PhantomRAT, который по команде socks5 (start | stop) {arg} выполняет запуск/остановку socks5-proxy.
по команде «install» получают от управляющего сервера URL-адрес для загрузки следующей стадии
PhantomCore используют PhantomCore.Downloader, для загрузки PhantomRAT на зараженную систему.
PhantomCore uses MeshAgent along with its in-house RAT utilities PhantomRAT and PhantomRShell
В некоторых случаях конфигурация PhantomRAT содержала C2-адреса с указанным портом – 7000.
Алгоритмом шифрования строки является AES-256 CBC ... вектором инициализации является последовательность из 16 нулевых байт.
Exfiltration
1 technique
Exfiltration
Команда Download ... выполняет эксфильтрацию файла на C2-сервер.
Observables
32 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.