{"id":48686,"date":"2022-05-07T05:01:43","date_gmt":"2022-05-06T22:01:43","guid":{"rendered":"https:\/\/deepquest.code511.com\/blog\/2022\/05\/trojan-ransom-lockergoga-code-execution\/"},"modified":"2022-05-07T05:01:43","modified_gmt":"2022-05-06T22:01:43","slug":"trojan-ransom-lockergoga-code-execution","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2022\/05\/trojan-ransom-lockergoga-code-execution\/","title":{"rendered":"Trojan-Ransom.LockerGoga Code Execution"},"content":{"rendered":"<p>LockerGoga ransomware looks for and loads a DLL named &#8220;wow64log.dll&#8221; in WindowsSystem32. Therefore, we can drop our own DLL to intercept and terminate the malware pre-encryption. Four processes are created. For instance, there is &#8220;imtvknqq9737.exe&#8221; running under AppDataLocalTemp, the process name is &#8220;imtvknqq&#8221; plus an appended random number. Our exploit DLL will simply display a Win32API message box and call exit(). The exploit DLL must export &#8220;InterlockedExchange&#8221; function or it fails with an error. We do not need to rely on hash signature or third-party products as the malware&#8217;s own flaw will do the work for us. Endpoint protection systems and or antivirus can potentially be killed prior to executing malware, but this method cannot as there&#8217;s nothing to kill as the DLL just lives on disk waiting. From a defensive perspective, you can add the DLLs to a specific network share containing important data as a layered approach. All basic tests were conducted successfully in a virtual machine environment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LockerGoga ransomware looks for and loads a DLL named &#8220;wow64log.dll&#8221; in WindowsSystem32. Therefore, we can drop our own DLL to intercept and terminate the malware pre-encryption. Four processes are created&#8230;.<\/p>\n","protected":false},"author":439,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-48686","post","type-post","status-publish","format-standard","hentry","category-exploit"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-cFg","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/48686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/439"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=48686"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/48686\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=48686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=48686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=48686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}