Authored by malvuln | Site malvuln.com

Trojan-Mailfinder.Win32.VB.p malware suffers from an insecure permissions vulnerability.

Discovery / credits: Malvuln (John Page aka hyp3rlinx) (c) 2022
Original source: https://malvuln.com/advisory/20e438d84aa2828826d52540d80bf7f.txt
Contact: [email protected]
Media: twitter.com/malvuln

Threat: Trojan-Mailfinder.Win32.VB.p
Vulnerability: Insecure Permissions
Description: The malware writes a dir with multiple PE files to c drive granting change (C) permissions to the authenticated user group. Standard users can rename the executable dropped by the malware to disable it or replace it with their own executable. Then wait for a privileged user to logon to the infected machine to potentially escalate privileges.
Family: VB
Type: PE32
MD5: 20e438d84aa2828826d52540d80bf7fa
Vuln ID: MVID-2022-0616
Disclosure: 06/23/2022

Exploit/PoC:
C:>cacls IMB
C:IMB BUILTINAdministrators:(OI)(CI)(ID)F
NT AUTHORITYSYSTEM:(OI)(CI)(ID)F
BUILTINUsers:(OI)(CI)(ID)R
NT AUTHORITYAuthenticated Users:(ID)C
NT AUTHORITYAuthenticated Users:(OI)(CI)(IO)(ID)C


C:>dir IMB
Volume in drive C has no label.

Directory of C:IMB

09/12/2003 09:07 PM 140,288 comdlg32.ocx
06/16/2004 01:17 PM 282,624 IMB.exe
09/12/2003 09:07 PM 1,388,544 msvbvm60.dll
09/12/2003 09:07 PM 108,336 MSWINSCK.OCX
09/15/2003 05:16 PM 192 Readme.txt
10/04/2001 12:16 AM 147,483 scrrun.dll
10/04/2001 12:16 AM 17,920 stdole2.tlb
09/12/2003 09:07 PM 2,864 winsock.dll
8 File(s) 2,088,251 bytes


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).