Penetration Testing mailing list archives
Re: Metasploit Bind_shell
From: Miguel Dilaj <miguel.dilaj () oissg org>
Date: Thu, 06 Apr 2006 08:39:25 +0100
Hi!I will assume from your last sentence that we are speaking about two different machines (i.e., the MS-SQL is not running on the same box as Metasploit).
You probably noticed a delay between the second and third steps.You probably also spotted both ends of the "connection" are 127.0.0.1, that's your local machine (the one you're running Metasploit).
Other than suggesting that you to "Read The Fine Manual" (RTFM) available, that situation happens because you can't connect to the bind shell (either due to the firewall or because of the machine not being vulnerable). When that happens Metasploit helps the waiting connection to finish by doing a dummy connection from localhost after a certain delay.
Does this module have a "check" functionality? Does it tell you the machine is vulnerable?
Try other ports (in the high range), or try a reverse shell to either port 80 or a high port on your end.
Regars, Miguel Dilaj Vice-President of IT Security Research, OISSG www.oissg.org ceo () rootkitted com wrote:
msf mssql2000_preauthentication(win32_bind) > exploit [*] Starting Bind Handler. [*] Saying hello to Microsoft SQL Server 2000 / MSDE 2000 (0x42b68aba / 0x42d01e50) [*] Got connection from 127.0.0.1:2109 <-> 127.0.0.1:33334 both machines are behind a fiewall.. does this mean I got a shell on 127.0.0.1 that connects to the remote box?
------------------------------------------------------------------------------ This List Sponsored by: CenzicConcerned about Web Application Security? Why not go with the #1 solution - Cenzic, the only one to win the Analyst's Choice Award from eWeek. As attacks through web applications continue to rise, you need to proactively protect your applications from hackers. Cenzic has the most comprehensive solutions to meet your application security penetration testing and vulnerability management needs. You have an option to go with a managed service (Cenzic ClickToSecure) or an enterprise software (Cenzic Hailstorm). Download FREE whitepaper on how a managed service can help you: http://www.cenzic.com/news_events/wpappsec.php And, now for a limited time we can do a FREE audit for you to confirm your results from other product. Contact us at request () cenzic com for details.
------------------------------------------------------------------------------
Current thread:
- Metasploit Bind_shell ceo (Apr 05)
- RE: Metasploit Bind_shell Andy Meyers (Apr 07)
- Re: Metasploit Bind_shell Miguel Dilaj (Apr 07)
- <Possible follow-ups>
- Re: Metasploit Bind_shell gregariousguy (Apr 07)