Rewterz Threat Alert – Revenge RAT aka Revetrat – Active IOCs
September 22, 2023Rewterz Threat Alert – AsyncRAT – Active IOCs
September 25, 2023Rewterz Threat Alert – Revenge RAT aka Revetrat – Active IOCs
September 22, 2023Rewterz Threat Alert – AsyncRAT – Active IOCs
September 25, 2023Severity
High
Analysis Summary
Ducktail Malware is a malicious program designed by hackers to infiltrate computers and networks globally. Ducktail malware is typically delivered through a spear-phishing email that contains a malicious attachment or a link to a malicious website. Once the malware infects a system, it establishes a persistent presence and begins to gather information about the system and the network it is connected to.
This info-stealer is being disseminated through Facebook URLs, employing a technique that redirects users to suspicious websites or pages. Once redirected, users are prompted to manually click on a download button, which initiates the download of malicious files onto their devices. This method of distribution capitalizes on user interaction and engagement to deceive them into downloading the malware. The malicious files obtained through this process pose a significant threat to the security and privacy of the affected users, potentially leading to various harmful consequences such as unauthorized access to sensitive information, system compromise, or further malware infections.
The research team has been analyzing a series of info-stealing malware, and they have recently come across an interesting campaign involving the PHP version of Ducktail Infostealer. This malware is being actively distributed by disguising itself as a free or cracked application installer for popular software, including games, Microsoft Office applications, and Telegram. Ducktail Infostealer, attributed to a Vietnamese threat group, has been active since 2021 and has primarily targeted Facebook Business accounts with the objective of manipulating pages and gaining access to financial information.
The Ducktail Infostealer instances were first identified in late 2021. In July 2022, researchers observed that the threat actors were specifically targeting higher-level employees with access to Facebook Business accounts to steal data and take control of the accounts. The earlier versions of Ducktail were based on a binary written in .NET Core and utilized Telegram as its command and control (C2) channel for exfiltrating data. However, in August 2022, a new campaign was observed involving a PHP version of Ducktail Infostealer with new tactics, techniques, and procedures (TTPs).
According to an analysis, the threat actors have shifted their focus from targeting specific employees with administrative or financial access to Facebook Business accounts to a broader audience. The malicious executable files are typically in .ZIP format and are hosted on file sharing platforms, posing as cracked or free versions of popular applications like Office, games, subtitles, and explicit content files. Compared to previous campaigns, changes have been made in the execution of the malicious code. The threat actors now employ a scripting version where the main stealer code is a PHP script instead of a .NET binary.
The execution flow begins with a fake installer that generates a temporary file, which then re-initiates the installer with a “/Silent” parameter. Another temporary file is created, which drops all the supporting files and malicious files at a specific location on the victim’s machine. To achieve persistence, a series of events take place, scheduling tasks to execute the malicious payload, named “libbridged.exe,” on a daily basis and at regular intervals.
The stealing of data and its exfiltration are achieved by decrypting the stealer code at runtime in memory. The PHP script performs various actions, such as fetching browser information, extracting stored browser cookies, targeting Facebook Business accounts, searching for cryptocurrency account information in the wallet.dat file, and sending the collected data to the command and control (C&C) server.
The PHP script creates PHP associative arrays to prepare for data transmission to the C&C server. The CURL command is used for sending and receiving files over HTTP, and specific switches are employed during communication.
The script also collects information about installed browsers, retrieves data from the local state file in the Chrome user data directory, decodes sensitive data protected by Chrome’s local data encryption, encodes stolen information to base64, and saves it to log files. It specifically targets Facebook pages, including Facebook API graph, Facebook Ads Manager, and Facebook Business accounts, to gather account details, payment cycles, account statuses, funding sources, and other relevant information.
After completing the data stealing activities, the PHP script connects to the C&C server to obtain a list of targeted folders and URLs stored in JSON format, which are then used to gather further information. The stolen data is sent to the C&C server in JSON format.
To conclude, the threat actors behind the Ducktail Infostealer campaign are continuously evolving their delivery mechanisms and tactics to steal a wide range of sensitive user and system information, particularly targeting Facebook Business accounts.
Impact
- Sensitive Information Theft
- Credential Theft
Indicators of Compromise
MD5
- fbf84e74be28cceff222d8144d727347
- 3670f11f0c864c5759b953deaaa03753
- d901f79927ae3fefa940a6ff6c5868c0
- ce0b2e12196e7a0bc54f4fa54e0dbf0a
- 40d35a154374baf1c3e60bfe0b2bb045
- c508ff1ecef935d6210b93469dbfcce9
- 664af762526acf659625e6e6dcd0d72a
- 9943edbe0782f719d11dcbee79b7c96b
- e4e90b6c43dff684e18316befa086dea
- d0124b4e4bbc37d1389b0e1d5806ff02
- 78cfb4b99987de41fe29a6631206c1e2
SHA-256
- 835b997d46f5b1db7b832acc08461e13566279fdba4ee75078fff572ef8786aa
- d3b951e4e0bea09f29335e68017c5c138aa5e3239a38f2238f9344101c47c9ed
- 07500d00528f5ec72a86ad015340d0fde12ddbcd559bf6ba4d46d2177aebbaca
- c2a1bc90f32f2507e71873b33f884fd3e01c954800de641247ff02d576629574
- f57fdb7dc066f318ecde829c51403ee92f3188574b1528bda94374d30ee5b940
- aa1e374e661b520a0d5d0dc8aaecc2826379e45bfbc9f558ff1b6a8dbd69c344
- 7a43d53fc1bff9b318eea7eebe5ef4ab4c83f6b70c9a3dab95325179d6605b23
- 688d7a6a44a3ac633fbe2934e1fe0fd9c90fa98338e40dc1f7b80c358a6cbb24
- 2c580390a8a3e5ae8f05e2bb7158d0f62ce40fb81390808f87f72134934e8d19
- 3a28ae3aa56c1d08b6b2f0d110a80e08c6d76470dab47a2b612b93809212912f
- ffbf3fbbde18000ab677c8fd9cf786a9723dc96412dd96c3bd3f2a6eba64164e
SHA-1
- 43634e4b16a961b3f9b39ca1f9d63e2ec40e474e
- 051b8adb8ed952c24f92b1cff2001005ee9925fe
- 5dfb7d2ab9f1bcc4816c2f079ccd4bdadc285281
- e2895e8065bc069084f4741e10cee95832f2112e
- 2acdd59642530626437a469e4b3bc83c6d10352c
- b2c626b7a55b8a02fa3ab71a2bc04f182e5aefe3
- b94b635beb6fb5fe24291c19e0a1d8fe3cdce28d
- 187d4fb81047c0ab70abb9b9220e35bcd470287e
- 2093736f9cbcc8b3da36273eeab0991a4f8263a6
- bf741cd4151aa1eee4fac57ea121205bc0d55ad6
- 233440d42f48096f69ead2cf7e57c151fc2b7f42
Remediation
- Block all threat indicators at your respective controls. Search for Indicators of compromise (IOCs) in your environment utilizing your respective security controls
- Enable two-factor authentication (2FA) on your accounts adds an extra layer of security and can help prevent unauthorized access even if your login credentials have been stolen.
- Regularly backing up your important data can help ensure that you don’t lose any critical information in the event of a malware infection or other data loss event.
- Be wary of emails, attachments, and links from unknown sources. Also, avoid downloading software from untrusted sources or clicking on suspicious ads or pop-ups.
- Make sure all of your software, including your operating system and applications, are up-to-date with the latest security patches. This can help prevent vulnerabilities that could be exploited by info-stealers and other types of malware.
- Promptly apply security patches and updates for operating systems, software applications, and browsers. This helps to address vulnerabilities that threat actors may exploit to deliver malware.
- Utilize web filtering solutions and URL reputation services to block access to known malicious websites and prevent users from visiting potentially dangerous links, such as those used in Ducktail infostealer campaigns.
- Implement network segmentation to restrict access and isolate critical systems, such as those hosting sensitive financial information or Facebook Business accounts. This prevents lateral movement of malware and limits the impact of a potential compromise.
- Implement robust monitoring solutions to detect any unusual or suspicious activities, such as unauthorized access attempts or data exfiltration. Establish an effective incident response plan to quickly respond to and mitigate any potential breaches.
- Maintain regular backups of critical data, including Facebook Business account information, and ensure they are stored securely offline. This enables quick recovery in case of a successful attack or data loss.