{"id":3692,"date":"2024-05-22T09:11:54","date_gmt":"2024-05-22T14:11:54","guid":{"rendered":"https:\/\/www.darkreading.com\/cyberattacks-data-breaches\/novel-edr-killing-ghostengine-malware-stealth"},"modified":"2024-05-22T09:11:54","modified_gmt":"2024-05-22T14:11:54","slug":"novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth","status":"publish","type":"post","link":"https:\/\/ddi.mohflo.net\/index.php\/2024\/05\/22\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth\/","title":{"rendered":"Novel EDR-Killing &amp;apos;GhostEngine&amp;apos; Malware Is Built for Stealth"},"content":{"rendered":"<div class=\"media_block\"><a href=\"https:\/\/i0.wp.com\/eu-images.contentstack.com\/v3\/assets\/blt6d90778a997de1cd\/blt878fc555b5e5de99\/664df399159aa12c4c48dbbe\/ghost-Jack_Maguire-Alamy.jpg?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth.jpg?w=640&#038;ssl=1\" class=\"media_thumbnail\"><\/a><\/div>\n<div><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth.jpg?w=640&#038;ssl=1\" class=\"ff-og-image-inserted\"><\/div>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">A novel malware that targets vulnerable drivers to <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/cyberattacks-data-breaches\/-researchers-detail-vuln-that-allowed-for-windows-defender-update-process-hijack\" rel=\"noopener\">terminate and thus evade<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> endpoint detection and response (EDR) solutions has come to light, for now used in service of an elaborate cryptomining campaign.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Researchers at Elastic Security Labs identified what they are calling an &#8220;intrusion set&#8221; dubbed &#8220;REF4578,&#8221; that uses a multimodal malware called GhostEngine; it can disable EDR, <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.elastic.co\/security-labs\/invisible-miners-unveiling-ghostengine\" rel=\"noopener\">they revealed<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> in a blog post published today. The attack also demonstrates capabilities to establish persistence as well as install a previously undocumented backdoor in addition to executing a cryptominer.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;GhostEngine leverages vulnerable drivers to terminate and <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/application-security\/sneaky-shellcode-windows-fibers-edr-proof-code-execution\" rel=\"noopener\">delete known EDR agents<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> that would likely interfere with the deployed and well-known coin miner,&#8221; Elastic researchers Salim Bitam, Samir Bousseaden, Terrance DeJesus, and Andrew Pease wrote in the post. &#8220;This campaign involved an uncommon amount of complexity to ensure both the installation and persistence of the XMRig miner.&#8221;<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Meanwhile, a team at Antiy Labs <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.antiy.com\/response\/HideShoveling.html\" rel=\"noopener\">also observed<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> the attacks, calling the payload &#8220;Hidden Shovel&#8221; and characterizing it as a &#8220;mining Trojan&#8221; that delivers a two-stage approach to disabling EDR and installing a backdoor, according to a blog post.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Ultimately, the goal of the campaign as described by both sets of researchers is to take out the security barriers present in a corporate network and use it to mine cryptocurrency without administrators detecting the action. The legitimate miner XMRig leveraged by attackers is used for mining Monero.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Neither security team outlined which organizations or individuals are the targets of the campaign, nor did they identify which threat actor might be behind it.<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"The GhostEngine Attack Vector\">The GhostEngine Attack Vector<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">As described by Elastic, REF4578&#8217;s initial intrusion occurs with the execution of a PE file named Tiworker.exe that impersonates the legitimate Windows TiWorker.exe file.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;This file downloads and executes a PowerShell script that orchestrates the entire execution flow of the intrusion,&#8221; the researchers wrote. This process downloads attacker tools, GhostEngine malware modules, and configurations from the attacker&#8217;s command-and-control (C2) server.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">GhostEngine then proceeds to download and execute its various attack modules on the machine. Its tasks also include purging the system of remnants of prior infections belonging to the same family of malware but from different campaigns, as well as attempting to disable Windows Defender and clean various Windows event log channels.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The malware also has a persistence mechanism and a process for downloading its modules on the infected system. These modules &#8220;can tamper with security tools, create a backdoor, and check for software updates,&#8221; the Elastic researchers wrote.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Most interestingly, the modules include an EDR agent controller and miner module that primarily terminates any active EDR agent processes before downloading and installing a cryptominer. It&#8217;s written in C++, and has redundancy built into its operation, according to Elastic. It also includes a PowerShell script that functions like a backdoor, enabling remote command execution on the system. Elastic researchers also extracted the configuration file from the XMRig miner used in the campaign, &#8220;which was tremendously valuable, as it allowed us to report on the Monero Payment ID and track the worker and pool statistics, mined cryptocurrency, transaction IDs, and withdrawals,&#8221; they wrote.<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"Detecting GhostEngine\">Detecting GhostEngine<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">As attackers have been known to mount attacks that <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/application-security\/dangerous-apache-activemq-exploit-allows-stealthy-edr-bypass\" rel=\"noopener\">evade EDR solutions<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> before, it&#8217;s important for defenders to identify how to detect when these barriers <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/cybersecurity-operations\/quash-edr-xdr-exploits-with-these-countermeasures\" rel=\"noopener\">have been breached<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">In terms of the GhostEngine malware, its first objective is to incapacitate endpoint security solutions and disable specific Windows event logs \u2014 such as security and system logs, which record process creation and service registration.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">As such, the researchers recommended that organizations prioritize the detection and prevention of these initial actions to detect its presence on a network, including: suspicious <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/www.darkreading.com\/cyberattacks-data-breaches\/ukraine-military-targeted-with-russian-apt-powershell-attack\" rel=\"noopener\">PowerShell execution<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">; execution from unusual directories; elevating privileges to system integrity; and deploying vulnerable drivers and establishing associated kernel mode services.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;Once the vulnerable drivers are loaded, detection opportunities decrease significantly, and organizations must find compromised endpoints that stop transmitting logs to their SIEM,&#8221; the Elastic researchers wrote.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Further, network traffic may generate and be identifiable if DNS record lookups point to known mining pool domains over well-known ports such as HTTP (80) and HTTPS (443), the researchers noted. Meanwhile, Stratum is also another popular network protocol for miners, by default, over port 4444, they said.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Detection rules and behavior prevention events associated with the campaign include the following: suspicious PowerShell downloads; service control spawned via Script Interpreter; local scheduled task creation; process execution from an unusual director; unusual parent-child relationship; clearing Windows event logs; and tampering with Microsoft Windows Defender, among others.<\/span><\/p>\n<p><a href=\"https:\/\/www.darkreading.com\/cyberattacks-data-breaches\/novel-edr-killing-ghostengine-malware-stealth\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A novel malware that targets vulnerable drivers to terminate and<\/p>\n","protected":false},"author":12,"featured_media":3693,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[809],"class_list":["post-3692","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-dark-reading"],"featured_image_urls":{"full":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?fit=2560%2C1707&ssl=1",2560,1707,false],"thumbnail":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?resize=150%2C150&ssl=1",150,150,true],"medium":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?fit=300%2C200&ssl=1",300,200,true],"medium_large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?fit=640%2C427&ssl=1",640,427,true],"large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?fit=640%2C427&ssl=1",640,427,true],"1536x1536":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?fit=1536%2C1024&ssl=1",1536,1024,true],"2048x2048":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?fit=2048%2C1366&ssl=1",2048,1366,true],"chromenews-featured":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?fit=1024%2C683&ssl=1",1024,683,true],"chromenews-large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?resize=825%2C575&ssl=1",825,575,true],"chromenews-medium":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?resize=590%2C410&ssl=1",590,410,true]},"author_info":{"display_name":"Dark Reading","author_link":"https:\/\/ddi.mohflo.net\/index.php\/author\/darkreading\/"},"category_info":"<a href=\"https:\/\/ddi.mohflo.net\/index.php\/category\/uncategorized\/\" rel=\"category tag\">Uncategorized<\/a>","tag_info":"Uncategorized","comment_count":"0","jetpack_featured_media_url":"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/05\/novel-edr-killing-aposghostengineapos-malware-is-built-for-stealth-scaled.jpg?fit=2560%2C1707&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts\/3692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/comments?post=3692"}],"version-history":[{"count":0,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts\/3692\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/media\/3693"}],"wp:attachment":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/media?parent=3692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/categories?post=3692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/tags?post=3692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}