P8RAT
- Type
- RAT
- Capabilities
- Defense evasionReconnaissancePost exploitation
- Platforms
- Windows
P8RAT, also known as GreetCake and HEAVYPOT, is a memory-resident remote access Trojan for Windows used in cyberespionage operations associated with APT10, also known as menuPass, and Earth Tengshe. It has been deployed in the A41APT campaign against Japanese organizations and their overseas branches. P8RAT serves as a remotely controlled staging implant, receiving and executing additional payloads from command-and-control infrastructure.
P8RAT collects operating-system version, hostname, and username information and checks running processes for evidence of virtualized or analysis environments. Its command set supports executing Portable Executable payloads, including through newly created threads, transmitting data, terminating command-and-control communications, and adjusting communication timing. It uses RC4 to encrypt outbound data and can include randomly generated data in command-and-control traffic. Configurable sleep intervals and environment checks help it evade analysis and detection.
P8RAT has been delivered through the multi-stage DESLoader/SigLoader framework, which decrypts and executes payloads in memory. Associated intrusion chains have used SSL-VPN exploitation for initial access and scheduled tasks to launch legitimate applications that side-load the loader. These deployment mechanisms are part of the surrounding attack chain rather than demonstrated native P8RAT functionality.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Earth Tengshe used custom malware, such as SigLoader, SodaMaster, P8RAT, FYAnti, and Jackpot.
Install malware by using Taskscheduler ... ●SigLoader ●SodaMaster ●P8RAT ●Cobalt Strike ●FYAntiLoader
Techniques & procedures
10 distinct techniques documented for this family, organized by ATT&CK tactic.
Stealth
4 techniques
Stealth
Decrypt multiple PEs and shellcodes sequentially in multiple stages. Multiple algorithms are used for decryption. Finally, the payload is executed in memory.
[P8RAT](https://attack.mitre.org/software/S0626) can check the compromised host for processes associated with VMware or VirtualBox environments.(Citation: Securelist APT10 March 2021)
[P8RAT](https://attack.mitre.org/software/S0626) has the ability to "sleep" for a specified time to evade detection.(Citation: Securelist APT10 March 2021)
その後、復号したペイロードをメモリ領域に展開し実行します。
Discovery
3 techniques
Discovery
[P8RAT](https://attack.mitre.org/software/S0626) can check for specific processes associated with virtual environments.(Citation: Securelist APT10 March 2021)
[P8RAT](https://attack.mitre.org/software/S0626) can check the compromised host for processes associated with VMware or VirtualBox environments.(Citation: Securelist APT10 March 2021)
[P8RAT](https://attack.mitre.org/software/S0626) has the ability to "sleep" for a specified time to evade detection.(Citation: Securelist APT10 March 2021)
Command and Control
5 techniques
Command and Control
[P8RAT](https://attack.mitre.org/software/S0626) can send randomly-generated data as part of its C2 communication.(Citation: Securelist APT10 March 2021)
最終的に実行されるペイロード(DelfsCake)は、DLL形式で、C2サーバからデータやペイロードなどを受信して実行する機能を有します。
Application Layer Protocol: Web Protocols (T1071.001)
[P8RAT](https://attack.mitre.org/software/S0626) can download additional payloads to a target system.(Citation: Securelist APT10 March 2021)
Data Encoding: Non-Standard Encoding (T1132.002)
Observables
10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.