{"id":5027,"date":"2024-08-26T16:33:17","date_gmt":"2024-08-26T21:33:17","guid":{"rendered":"https:\/\/www.darkreading.com\/application-security\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs"},"modified":"2024-08-26T16:33:17","modified_gmt":"2024-08-26T21:33:17","slug":"hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs","status":"publish","type":"post","link":"https:\/\/ddi.mohflo.net\/index.php\/2024\/08\/26\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs\/","title":{"rendered":"Hackers Use Rare Stealth Techniques to Down Asian Military, Gov&#8217;t Orgs"},"content":{"rendered":"<div class=\"media_block\"><a href=\"https:\/\/i0.wp.com\/eu-images.contentstack.com\/v3\/assets\/blt6d90778a997de1cd\/blt175c188f8dcf04d1\/66ccea3ffc4e2199aa727ce9\/Philippine_military_academy-Siegfried_Kraker-Alamy.jpg?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs.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\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs.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\">An ongoing campaign is using two largely unheralded stealth techniques to infect high-level organizations in southeast Asia.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The first, &#8220;GrimResource,&#8221; is a new technique that allows attackers to execute arbitrary code in the Microsoft Management Console (MMC).<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The second trick, &#8220;AppDomainManager Injection,&#8221; uses malicious dynamic link libraries (DLLs), but in a way that&#8217;s easier than traditional sideloading. It&#8217;s been around for seven years, used by <\/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\/iran-apt-targets-mediterranean-watering-hole-attacks\" rel=\"noopener\">threat actors from Iran<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">, China, the broader open source community, pen testers, and others. Still, it&#8217;s rarely seen in malicious campaigns in the wild.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Since July, say NTT researchers in a new blog post, an attacker with similarities 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\/vulnerabilities-threats\/apt41-subgroup-plows-through-asia-pacific-utilizing-layered-stealth-tactics\" rel=\"noopener\">China&#8217;s APT41<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> has been <\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"><a class=\"ContentText-BodyTextChunk ContentText-BodyTextChunk_link\" target=\"_blank\" href=\"https:\/\/jp.security.ntt\/tech_blog\/appdomainmanager-injection\" rel=\"noopener\">using these techniques in combination<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> to drop Cobalt Strike onto IT systems belonging to Taiwanese government agencies, the Philippine military, and energy organizations in Vietnam.<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"How GrimResource Works\">How GrimResource Works<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Attacks as part of this campaign begin with a ZIP file, contained in a phishing email or malicious website.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The ZIP contains a file with a Windows certificate or PDF icon. In fact, it is a management saved console (MSC) file, a type of file used to save configurations and settings within the MMC.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">MSCs have been growing in popularity lately among threat actors. As Jake King, head of threat and security intelligence at Elastic explains, it began when Microsoft released a number of <\/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\/how-malware-delivery-adapted-to-microsoft-blocking-macros-by-default\" rel=\"noopener\">changes to default controls<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\"> that were available to execute payloads from emails. &#8220;We started to see low-hanging fruit exploitations using MSIs, ISOs, and LNK files. But more advanced groups started to take advantage of MSC as that initial vector,&#8221; he says.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;It&#8217;s a pretty interesting, capable file format, [and] it had drawn less attention than many of the more common file formats that were commonly being abused,&#8221; he adds, noting, &#8220;MMC has a number of persistence mechanisms you can kind of take advantage of \u2014 some old vulnerabilities.&#8221;<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">One technique for exploiting just such a vulnerability is <\/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\/grimresource\" rel=\"noopener\">GrimResource<\/a><\/span><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">, first discovered by Elastic in July. GrimResource takes advantage of a six-year-old cross site scripting (XSS) issue in Windows&#8217; Authentication Protocol Domain Support (APDS) library to enable arbitrary code execution in MMC. In this campaign, the attackers use it to eliminate a step in the infection process: Rather than having a victim click a malicious link in the MSC file, simply opening the MSC file will trigger embedded Javascript.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">The malicious Javascript then downloads and runs a legitimate, signed Microsoft executable \u2014 &#8220;dfsvc.exe&#8221; \u2014 renamed to &#8220;oncesvc.exe.&#8221; But if the file is perfectly honest, how can it be used to download malware?<\/span><\/p>\n<h2 class=\"ContentText ContentText_variant_h2 ContentText_align_left\" data-testid=\"content-text\" id=\"Activating AppDomainManager Injection\">Activating AppDomainManager Injection<\/h2>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">All applications built with Microsoft&#8217;s .NET framework run one or multiple application domains, created and managed by the &#8220;AppDomainManager&#8221; class. In AppDomainManager injection, an attacker creates an AppDomainManager class with malicious code, then dupes a targeted application into loading it instead of the legitimate one. This can be done by configuring three particular environment variables (APPDOMAIN_MANAGER_ASM, APPDOMAIN_MANAGER_TYPE, and COMPLUS_VERSION) or, as is the case in this campaign, uploading a custom configuration file that simply directs the app to run their malicious AppDomainManager.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;You&#8217;re effectively telling the Common Language Runtime (CLR) \u2014 the piece of the Windows operating system that tells the operating system how to load and handle .NET applications \u2014 to include a malicious DLL anytime you run a .NET process,&#8221; explains Nicholas Spagnola, lead security consultant for penetration testing at Rapid7. &#8220;It effectively allows you to turn almost any .NET application into a living-off-the-land binary,&#8221; or lolbin.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;Currently, DLL side-loading is the most common method of executing malware,&#8221; the NTT researchers wrote, &#8220;but AppDomainManager Injection is much easier than DLL side-loading, and there are concerns that exploitation may increase in the future.&#8221;<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">Because it can be so difficult to spot these kinds of malicious injections, King recommends an approach to defense that blocks such attacks before they can get rolling.<\/span><\/p>\n<p class=\"ContentParagraph ContentParagraph_align_left\" data-testid=\"content-paragraph\"><span class=\"ContentText ContentText_variant_bodyNormal\" data-testid=\"content-text\">&#8220;The biggest thing that you&#8217;re looking at here is being able to prevent the execution of the payloads in the first place,&#8221; he says. In the case of this latest campaign, for example, &#8220;These are spear phishing attacks bringing in ZIP files. There are rudimentary controls that you can put in place at the MMC level, but [prevention] really just boils down to great practices around email hygiene.&#8221;<\/span><\/p>\n<p><a href=\"https:\/\/www.darkreading.com\/application-security\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>An ongoing campaign is using two largely unheralded stealth techniques<\/p>\n","protected":false},"author":12,"featured_media":5028,"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-5027","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\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?fit=2560%2C1440&ssl=1",2560,1440,false],"thumbnail":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?resize=150%2C150&ssl=1",150,150,true],"medium":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?fit=300%2C169&ssl=1",300,169,true],"medium_large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?fit=640%2C360&ssl=1",640,360,true],"large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?fit=640%2C360&ssl=1",640,360,true],"1536x1536":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?fit=1536%2C864&ssl=1",1536,864,true],"2048x2048":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?fit=2048%2C1152&ssl=1",2048,1152,true],"chromenews-featured":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?fit=1024%2C576&ssl=1",1024,576,true],"chromenews-large":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?resize=825%2C575&ssl=1",825,575,true],"chromenews-medium":["https:\/\/i0.wp.com\/ddi.mohflo.net\/wp-content\/uploads\/2024\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-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\/08\/hackers-use-rare-stealth-techniques-to-down-asian-military-govt-orgs-scaled.jpg?fit=2560%2C1440&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts\/5027","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=5027"}],"version-history":[{"count":0,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/posts\/5027\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/media\/5028"}],"wp:attachment":[{"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/media?parent=5027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/categories?post=5027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ddi.mohflo.net\/index.php\/wp-json\/wp\/v2\/tags?post=5027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}