GHOSTENGINE: The New Cryptojacking Menace Exploiting Vulnerable Drivers to Evade EDRs
In the ever-evolving landscape of cybersecurity threats, a new cryptojacking campaign dubbed GHOSTENGINE has emerged, showcasing sophisticated tactics to disable endpoint detection and response (EDR) systems and deploy cryptocurrency mining software. This campaign, tracked by Elastic Security Labs as REF4578 and previously known as HIDDEN SHOVEL by Antiy Labs, leverages vulnerable drivers in a method known as Bring Your Own Vulnerable Driver (BYOVD) attack. The primary payload, GHOSTENGINE, represents a significant leap in complexity and stealth for cryptojacking operations.
Anatomy of the GHOSTENGINE Attack:
The GHOSTENGINE attack begins with the execution of a file named "Tiworker.exe," which launches a PowerShell script. This script retrieves an obfuscated PowerShell script disguised as a PNG image ("get.png") from a command-and-control (C2) server. The retrieved script then downloads additional payloads, including various executables and system files, from either the C2 server or a backup server via HTTP. The inclusion of an FTP-based fallback mechanism ensures redundancy in payload delivery.
The malicious payloads, such as aswArPot.sys, IObitUnlockers.sys, curl.exe, and others, are executed on the infected system. The malware disables Microsoft Defender Antivirus, clears Windows event logs, and ensures sufficient free space on the C: volume to store downloaded files, which are typically hidden in the C:\Windows\Fonts folder. If necessary, large files are deleted to create space, and alternative volumes are used if the primary one is insufficient.
Ensuring Persistence and Execution
The PowerShell script also establishes three scheduled tasks to maintain persistence:
- Every 20 minutes: Runs a malicious DLL.
- Every hour: Launches the script via a batch file.
- Every 40 minutes: Executes smartsscreen.exe (GHOSTENGINE).
The core of the attack, smartsscreen.exe, uses a vulnerable Avast driver (aswArPot.sys) to deactivate security processes and enable the XMRig miner. Another vulnerable driver from IObit (iobitunlockers.sys) is used to delete security agent binaries, facilitating the execution of the XMRig client downloaded from the C2 server. The PowerShell script "backup.png" functions as a backdoor, allowing remote command execution, while "kill.png" mirrors smartsscreen.exe's capabilities, ensuring redundancy in disabling security agents.
The BYOVD Technique and Broader Implications:
The BYOVD technique, where attackers load a known-vulnerable signed driver to exploit system privileges, is central to the GHOSTENGINE campaign. This method grants attackers high-level access to critical system resources, enabling them to disable security mechanisms effectively. Despite Microsoft's Vulnerable Driver Blocklist in Windows 11 22H2, the list's infrequent updates necessitate manual intervention for optimal protection.
GHOSTENGINE's emergence coincides with another significant discovery: the EDRaser technique, which exploits vulnerabilities in Microsoft Defender (CVE-2023-24860 and CVE-2023-36010) and Kaspersky to manipulate malware detection and deletion processes. Additionally, the HookChain method, which combines IAT hooking, dynamic system service numbers (SSN) resolution, and indirect system calls, further exemplifies the sophisticated tactics cybercriminals employ to evade detection.
The GHOSTENGINE campaign underscores the escalating complexity and ingenuity of modern cyber threats. By exploiting vulnerable drivers and employing sophisticated evasion techniques, attackers can effectively bypass advanced security solutions, highlighting the need for continuous vigilance and adaptive security measures in the cybersecurity landscape. As cryptojacking and other malicious activities become increasingly sophisticated, the importance of robust, updated defenses and proactive threat hunting cannot be overstated.
- Other (42)
- Ransomware (128)
- Events and News (26)
- Features (45)
- Security (433)
- Tips (79)
- Google (22)
- Achievements (9)
- Products (33)
- Activation (7)
- Dealers (1)
- Bank Phishing (42)
- Malware Alerts (195)
- Cyber Attack (221)
- Data Backup (11)
- Data Breach (80)
- Phishing (139)
- Securty Tips (1)
- Browser Hijack (16)
- Adware (15)
- Email And Password (67)
- Android Security (56)
- Knoweldgebase (38)
- Botnet (15)
- Updates (3)
- Alert (71)
- Hacking (57)
- Social Media (7)
- vulnerability (54)
- Hacker (31)
- Spyware (8)
- Windows (6)
- Microsoft (21)
- Uber (1)
- YouTube (1)
- Trojan (2)
- Website hacks (3)
- Paytm (1)
- Credit card scam (1)
- Telegram (3)
- RAT (5)
- Bug (3)
- Twitter (2)
- Facebook (7)
- Banking Trojan (5)
- Mozilla (2)
- COVID-19 (5)
- Instagram (2)
- NPAV Announcement (5)
- IoT Security (1)
- Deals and Offers (1)
- Cloud Security (8)
- Offers (5)
- Gaming (1)
- FireFox (2)
- LinkedIn (2)
- WhatsApp (4)
- Amazon (1)
- DMart (1)
- Payment Risk (4)
- Occasion (2)
- firewall (1)
- Cloud malware (2)
- Cloud storage (2)
- Financial fraud (7)
- Impersonation phishing (1)
- DDoS (4)
- Smishing (2)
- Whale (0)
- Whale phishing (3)
- WINRAR (2)
- ZIP (2)