GodRAT: Gh0st‑style Espionage Targeting Financial Institutions

17 سبتمبر 2025
GodRAT

By Mario Rojas, Senior Security Researcher, ORYXLABS

A campaign uncovered by Kaspersky in late 2024 is using malicious screen‑saver (.scr) and program information (.pif) files disguised as financial documents to deploy a new remote‑access trojan dubbed GodRAT.

GodRAT, an evolution of the long‑standing Gh0st RAT, hides its first‑stage code inside images before downloading the main payload from a C2 server. Targets include financial trading and brokerage firms in Hong Kong, the United Arab Emirates, Lebanon, Malaysia and Jordan.

The operator’s tactics and ties to Winnti APT, paired with GodRAT’s similarities to the AwesomePuppet backdoor, suggest that the goal is espionage rather than immediate financial theft. Organisations in the UAE should monitor key indicators (outlined below) and adopt proactive controls to mitigate the risk of attack.

Threat actor profile and strategic context

  • Motivation and attribution: The malware’s code and the unusual “puppet” command‑line argument point to AwesomePuppet, a Gh0st‑based tool previously linked to the Winnti APT. Winnti is known for espionage against high‑value targets.
  • Target geography: Detections have occurred in Hong Kong, the UAE, Lebanon, Malaysia and Jordan, especially in financial trading and brokerage firms.
  • Operational timeline: The earliest artefacts date back to September 2024 and continued until at least August 2025. In the early phases, attackers relied on Skype messages to distribute weaponised .scr files; later phases involved .pif files masquerading as PDFs and ZIP archives.

Technical analysis of the attack chain

  • Steganographic loaders: Two loader types decode shellcode, either embedded in the binary or stored in a .jpg image. Self‑extracting .scr files drop legitimate‑looking binaries (valve.exe) signed with an expired certificate and a loader DLL (SDL2.dll) that extracts the hidden shellcode. Persistence is achieved by creating a registry run‑key pointing to the legitimate executable.
  • Second‑stage delivery: The first‑stage shellcode decodes configuration data using a single‑byte XOR key to obtain the C2 address and port, then requests the second stage from the server. The second stage injects the main GodRAT (ONLINE.dll) into memory and invokes its run export.
  • GodRAT capabilities: At runtime, the malware launches itself under legitimate processes such as curl.exe or cmd.exe using a -Puppet parameter. It gathers host information (OS version, process name, user account, installed antivirus) and compresses and XOR‑encodes this data before exfiltration. Supported commands include loading DLL plugins, downloading and executing files, opening URLs and modifying configuration files.
  • Plugins and implants: The FileManager plugin performs file‑system enumeration and operations such as listing, reading, writing and deleting files or launching applications. Additional payloads include password stealers for Chrome and MS Edge that harvest browser login databases and an injector for AsyncRAT that bypasses AMSI/ETW for stealth.

Indicators of compromise (IOCs)

The following is a non-extensive list of IOCs that were directly highlighted in Kaspersky’s original research. For the full set of indicators, please refer to the original report.

IndicatorHash (MD5)2024-08-01_2024-12-31Data.scrd09fd377d8566b9d7a5880649a0192b42025TopDataTransaction&.scra6352b2c4a3e00de9e84295c8d505dad2024-2025Top&Data.scr6c12ec3795b082ec8d5e294e6a5d6d01Corporate customer transaction &volume.pifbb23d0e061a8535f4cb8c6d724839883corporate customer transaction &volume.zipbb23d0e061a8535f4cb8c6d724839883company self-media account application qualifications&.zipbb23d0e061a8535f4cb8c6d7248398832025TopClineData&1.scr2750d4d40902d123a80d24f0d0acc454

 

Campaign visualisation and enrichment

To better understand the relationships across the campaign, we constructed a network graph based on the IOCs. The goal was to visualise infrastructure reuse, filename patterns, and cross-regional targeting.

  • The complete graph is extensive, connecting entities across several geographies.
  • The screenshot below focuses on UAE-related findings.


Campaign visualisation and enrichment

Additional IOCs from pivoting

By pivoting off the original IOCs and shared infrastructure, we identified additional artefacts potentially connected to these campaigns. These include executables, archives, and DLLs that follow the same naming conventions (“Data,” “Transaction,” date ranges), suggesting continuity of social engineering lures and tool reuse.

IndicatorTypeHash (MD5)Hong Kong Company Details& (2).zipArchive1475f34f4123f717860e3452372a6d2a2024-08-01-08-30Data&.zipArchive6ac3b5796f8a6d750da6422ebe76e8b8SDL3.dllDLL66afb755b03bd1fd41f54be5fabfab87LoggerCollector.dllDLLc893d6de622dbc4b2d70170af6044986j56yfx8i.exeFile0249d93782dd692bf073bc2548b1589a2024_2025data1&.scrFile21f5d3035afb91717728cd4a002ffb9b2024-05-01_2024-12-31Data.scrFile2fb55ae0b3f8a6f412657306651ee4e82024-08-01-08-30Data&.scrFile57731ce0ac20a00136e6d6cc1edfad34隐私保护程序 (Privacy Protection Program)File646abc719d31b3a92562ba5bb73a200edata2024&xlsx.scrFileb6d15337ec0e1a82472aa45f7cd57f4fphoto_2024-09-06_15-44-17&.scrFilebe6276a980fb50d4a5343ec88500d1292024-2025TopData1&.scrFilecfbddb12651f19efa7a302db2f24e68eTransactionData(2024)&.scrFileea0fb64bc4b639a15f33758bbebde338

 

MITRE ATT&CK mapping 

TacticTechnique (TID) / DescriptionInitial AccessT1566 Spearphishing via .scr/.pif attachments disguised as financial docsExecutionT1059 Command and Scripting Interpreter (loader extracts shellcode from image)PersistenceT1547.001 Registry Run Keys / Startup Folder (loader creates registry entry)Defense EvasionT1070.004 File Deletion; sandbox evasionCollectionT1005 Data from Local System (password-stealer targeting Chrome/Edge credentials)Command and ControlT1090 Proxy, T1102 Web Service (GodRAT communicates back to C2)

 

Recommendations for mitigation and risk reduction

Defenders should adopt a proactive, intelligence‑led approach to reduce exposure:

  • Credential breach monitoring: Utilise digital risk monitoring solutions such as Discovery to detect compromised credentials and stolen cookies before attackers use them for lateral movement and email impersonation.
  • DNS‑based threat detection: Deploy a DNS Firewall to block connections to malicious domains and identify abnormal domain‑generation patterns or steganographic C2 channels. Monitoring DNS queries can reveal attempts to reach GodRAT infrastructure.
  • Attachment and URL filtering: Block or quarantine suspicious .scr, .pif and .zip files at email and instant‑messaging gateways. Educate employees about the dangers of opening unsolicited attachments.
  • Endpoint and behaviour analytics: Use EDR solutions capable of detecting reflective code injection, suspicious process chains (e.g., curl.exe launched by unknown parents) and registry persistence modifications. Monitor for legitimate processes loading unknown DLLs.
  • Browser credential protection: Encourage the use of password managers and multi‑factor authentication. Regularly clear saved credentials and restrict file‑system access to browser databases to hinder password stealers.

Conclusion and strategic takeaways

GodRAT demonstrates how legacy malware codebases like Gh0st RAT can be repurposed and enhanced with modern tradecraft such as steganographic loaders and modular plugins. The campaign’s focus on financial trading firms and its connection to the Winnti APT highlight the strategic value of espionage over immediate monetisation. By integrating the indicators and mitigation actions outlined above and leveraging tools such as Discovery and DNS Firewall, organisations can strengthen detection and response capabilities against this and similar threats.

There’s always more intelligence to uncover.