Source: heimdalsecurity.com – Author: Mihaela Marian
RedClouds is a recently uncovered cyberespionage and hacking campaign that uses RDStealer malware to steal data from drives shared over Remote Desktop connections. The threat actors behind this campaign, whose identities remain unknown, exhibit advanced skills reminiscent of government-sponsored APT groups.
According to the researchers, the hackers involved in this campaign have been active since 2020, leaving behind several traces of their activities. Initially, they relied on off-the-shelf tools, but in 2021, they transitioned to their own custom-built malware.
Custom Malware Exploiting RDP
The Remote Desktop Protocol (RDP), developed by Microsoft, facilitates remote connections to Windows computers, enabling seamless control and a virtual in-person experience. However, the primary objectives of this malware are stealing credentials and exfiltrating data.
The threat actors employ various malicious tools throughout their campaign, concealing them in the following locations:
- c:windowssystem32
- c:windowssystem32wbem
- c:windowssecuritydatabase
- %PROGRAM_FILES%f-securepsbdiagnostics
- %PROGRAM_FILES_x86%dellcommandupdate
- %PROGRAM_FILES%dellmd storage softwaremd configuration utility
To make the malware appear legitimate, the attackers frequently choose two commonly used locations for genuine software:
- %PROGRAM_FILES%
- %PROGRAM_FILES_x86%
Additionally, the malware was discovered in the following folder where Windows stores its security files:
- c:windowssecuritydatabase
By opting for this location, the threat actors aim to evade detection and mask their presence as legitimate.
To ensure persistence, the Logutil backdoor capitalizes on the Winmgmt service indirectly. The exploit leverages DLL Hijacking, facilitated by the presence of a malicious loader located at:
- %SYSTEM32%wbemncobjapi.dll
The campaign utilizes the “Microsoft WMI Provider Subsystem” DCOM, which is revealed through the behavior of Winmgmt and primarily found in c:windowssystem32wbemwmiprvsd.dll.
For the wmiprvsd.dll file to function, it requires the ncobjapi.dll file, which is mainly located in c:windowssystem32. However, due to the DLL search order, the %SYSTEM32%wbem folder is checked first, enabling the loading of the malicious loader.
Attack Packages Used
According to Cyber Security News, the following packages are utilized in the attack:
- cli: Implements clipboard content capture using Windows API functions such as OpenClipboard and GetClipboardData.
- key: Implements keystroke capture along with window name tracking.
- main: Acts as the orchestrator, setting up persistence and initiating data collection routines based on specific conditions.
- modules: Implements various functions to collect and stage data for subsequent exfiltration.
- utils: Implements encryption and decryption functions, file attribute manipulation, and logging.
Furthermore, researchers have discovered mentions of ESXi and Linux within Logutil’s command and control (C2) framework. This suggests that the malicious actors may be exploiting the versatility of the Go programming language to develop a backdoor capable of operating on multiple platforms.
If you liked this article, follow us on LinkedIn, Twitter, Facebook, and YouTube for more cybersecurity news and topics.
If you liked this post, you will enjoy our newsletter.
Get cybersecurity updates you’ll actually want to read directly in your inbox.
Original Post URL: https://heimdalsecurity.com/blog/redclouds-apt-deploys-rdstealer-against-remote-desktop/
Category & Tags: Cybersecurity News – Cybersecurity News
Views: 0