Trojan.Win32.DarkGateLoader (multi variants) / Arbitrary Code Execution
2024-6-8 05:43:47 Author: cxsecurity.com(查看原文) 阅读量:10 收藏

Trojan.Win32.DarkGateLoader (multi variants) / Arbitrary Code Execution

Discovery / credits: Malvuln (John Page aka hyp3rlinx) (c) 2024 Original source: https://malvuln.com/advisory/afe012ed0d96abfe869b9e26ea375824.txt Contact: [email protected] Media: x.com/malvuln Threat: Trojan.Win32.DarkGateLoader (multi variants) Vulnerability: Arbitrary Code Execution Description: Multiple variants of this malware look for and execute x32-bit "urlmon.dll" PE file in its current directory. Therefore, we can hijack that DLL and execute our own code to intercept and terminate the malware. Once loaded the exploit dll will check if the current directory is "C:\Windows\System32", if not we grab our process ID and terminate. Leverage RansomLord v3.1 for DLL generation, while written as a proof-of-concept to specifically defeat ransomware, it can also be used to generate DLLs to try an exploit other types of malwares. All basic tests were conducted successfully in a virtual machine environment. Family: DarkGateLoader Type: PE32 MD5: afe012ed0d96abfe869b9e26ea375824 SHA256: 18d87c514ff25f817eac613c5f2ad39b21b6e04b6da6dbe8291f04549da2c290 Other vulnerable samples: cad102af0d2709fd57f62d9cce9ba174 ca2ef9d3146341428657295892894170 3c609ac6b2de29578a2383d71e12caa9 Vuln ID: MVID-2024-0685 Disclosure: 06/05/2024 Exploit/PoC: 1) Download RansomLord v3.1 https://github.com/malvuln/RansomLord 2) Locate the x32 urlmon.dll entry using the -m flag (DLL Map) 3) Use -g flag (Generate Exploit) to output an x32 DLL urlmon.dll, based on an existing vulnerable malware in the victims list. 4) (Optional) -e flag to setup Windows event IOC logging in the registry, this will attempt to log the SHA256 hash, full path and filename. Disclaimer: The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information or exploits by the author or elsewhere. Do not attempt to download Malware samples. The author of this website takes no responsibility for any kind of damages occurring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) Malvuln.com (TM).



 

Thanks for you comment!
Your message is in quarantine 48 hours.

{{ x.nick }}

|

Date:

{{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1


{{ x.comment }}


文章来源: https://cxsecurity.com/issue/WLB-2024060018
如有侵权请联系:admin#unsafe.sh