Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 27 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
CEH - Certified Ethical Hacker
Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
EH-Net
May 25, 2013, 07:22:37 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
>
CEH - Certified Ethical Hacker
(Moderator:
don
) >
Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
Pages: [
1
]
2
3
4
Go Down
« previous
next »
Print
Author
Topic: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug (Read 72445 times)
0 Members and 1 Guest are viewing this topic.
rebrov
Full Member
Offline
Posts: 130
Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
on:
May 18, 2010, 08:55:23 PM »
well 1st of all : my first question is :
can't i exploit windows xp sp3 at port 445
cuz itried many payloads reverse with no use :S
so is there any way to exploit port 445 at xp sp3 ?
second while trying to exploit it via Metasploit i couldn't and the meta got bug and then disappear i took screenshot fast be4 it disappear here it is :
any idea ?
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #1 on:
May 18, 2010, 10:35:18 PM »
Are you sure your target is MS08-067 vulnerable? Any chance it was patched?
Logged
~~~~~~~~~~~~~~
Ketchup
rebrov
Full Member
Offline
Posts: 130
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #2 on:
May 19, 2010, 03:59:11 AM »
Quote from: Ketchup on May 18, 2010, 10:35:18 PM
Are you sure your target is MS08-067 vulnerable? Any chance it was patched?
well , its sp3 so i think its not Vulnerable since the MS08_067 exploit not working into sp3 patched system
thats why i ask about is there anyway to exploit port 445 at xp sp3 system ??
and what do u think about this bug
btw this bug also happened when i successfuly exploited vulnerable MS08_067 system after the exploit complete and session has been opened it disappeared :S dunno why this happen only in Metasploit 3.3.3
any idea ?
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #3 on:
May 19, 2010, 07:20:45 AM »
I do believe that SP3 is vulnerable by default.
http://www.microsoft.com/technet/security/bulletin/ms08-067.mspx
Yes, you can exploit port 445 on an XP SP3 machine. Bug, why are you just randomly sanding exploits against this machine? Why not identify the vulnerability first? Coincidentally, I find that the MS08-067 is the one most common false positives.
Logged
~~~~~~~~~~~~~~
Ketchup
rebrov
Full Member
Offline
Posts: 130
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #4 on:
May 19, 2010, 03:25:54 PM »
Quote from: Ketchup on May 19, 2010, 07:20:45 AM
I do believe that SP3 is vulnerable by default.
http://www.microsoft.com/technet/security/bulletin/ms08-067.mspx
Yes, you can exploit port 445 on an XP SP3 machine. Bug, why are you just randomly sanding exploits against this machine? Why not identify the vulnerability first? Coincidentally, I find that the MS08-067 is the one most common false positives.
Not shown: 997 filtered ports
PORT STATE SERVICE VERSION
139/tcp open netbios-ssn
445/tcp open microsoft-ds Microsoft Windows XP microsoft-ds
5101/tcp open admdog?
thats what i got from Nmap
what do u think ?
Logged
hayabusa
Hero Member
Offline
Posts: 1633
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #5 on:
May 19, 2010, 03:40:42 PM »
@rebrov -
Glad to see you're still hanging around, and learning!
That list shows open ports, and generically defined services. Your next steps should be connecting to those ports, and banner grabbing / researching, to see what service versions, etc, are reported as running on those ports, then follow up with searches for vulnerabilities existing on those versions and services.
For instance, you might find that some other service is actually using that port, and it's not really Microsoft ds on there, at all. Conversely, you could be hitting a honeypot (if this were a real-life pentest,) where that port isn't really even running the exploitable service, but responds to queries as if it was. You need to adequately try to determine what's running, not just gather a basic list of responding ports, and start attacking.
These are very tried and true principles for pentesting, and you need to do some digging on them, rather than just throwing a list of nmap reported open ports to the list. We're here to help, and to answer educated questions, not to lead you through every step. (No offense intended, just recommending you spend more time on this than simply a base nmap scan, followed by, "why doesn't an exploit work on 445?")
I understand that you're running a tool, like Metasploit, to perform these tests, but sometimes, you need to have a clearer understanding of the target system and it's services, before just throwing Metasploit and other tools at it, in the hopes that generically defined exploits will 'just work' as you'd like / expect them to.
Good luck, and as you continue, let us know what more you find.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
rebrov
Full Member
Offline
Posts: 130
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #6 on:
May 19, 2010, 03:45:18 PM »
Quote from: hayabusa on May 19, 2010, 03:40:42 PM
@rebrov -
Glad to see you're still hanging around, and learning!
That list shows open ports, and generically defined services. Your next steps should be connecting to those ports, and banner grabbing / researching, to see what service versions, etc, are reported as running on those ports, then follow up with searches for vulnerabilities existing on those versions and services.
thanks for info i will try telnet or netcat for banner grabbing
For instance, you might find that some other service is actually using that port, and it's not really Microsoft ds on there, at all. Conversely, you could be hitting a honeypot (if this were a real-life pentest,) where that port isn't really even running the exploitable service, but responds to queries as if it was. You need to adequately try to determine what's running, not just gather a basic list of responding ports, and start attacking.
These are very tried and true principles for pentesting, and you need to do some digging on them, rather than just throwing a list of nmap reported open ports to the list. We're here to help, and to answer educated questions, not to lead you through every step. (No offense intended, just recommending you spend more time on this than simply a base nmap scan, followed by, "why doesn't an exploit work on 445?")
I understand that you're running a tool, like Metasploit, to perform these tests, but sometimes, you need to have a clearer understanding of the target system and it's services, before just throwing Metasploit and other tools at it, in the hopes that generically defined exploits will 'just work' as you'd like / expect them to.
Good luck, and as you continue, let us know what more you find.
Logged
hayabusa
Hero Member
Offline
Posts: 1633
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #7 on:
May 19, 2010, 04:20:02 PM »
Sounds good. Keep us posted.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
rebrov
Full Member
Offline
Posts: 130
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #8 on:
May 20, 2010, 04:02:26 PM »
Quote from: hayabusa on May 19, 2010, 04:20:02 PM
Sounds good. Keep us posted.
i couldn't banner grabbing the service running under port 445 at the machine :S
tried telnet with no use
tried netcat with no info
what do u think ?
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #9 on:
May 20, 2010, 04:35:46 PM »
NetBIOS is a binary protocol. You can run the following nmap command to check for a few vulnerabilities. There are also any number of scanners that will identify NetBios vulnerabilities.
Code:
nmap -sV -PN <IP Address> -p 445,137,139 --script=smb-check-vulns.nse
Logged
~~~~~~~~~~~~~~
Ketchup
hayabusa
Hero Member
Offline
Posts: 1633
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #10 on:
May 20, 2010, 07:25:38 PM »
Pay close attention to what Ketchup told you. When I mentioned banner grabbing, I wasn't specifically doing so, for 445. It was a generalization, that is something you should be doing to any list you get from your initial scans, before trying to just jump in and exploit.
But Ketchup's advice is very valid, for your port 445 scenario.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
rebrov
Full Member
Offline
Posts: 130
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #11 on:
May 21, 2010, 08:23:30 AM »
Quote from: hayabusa on May 20, 2010, 07:25:38 PM
Pay close attention to what Ketchup told you. When I mentioned banner grabbing, I wasn't specifically doing so, for 445. It was a generalization, that is something you should be doing to any list you get from your initial scans, before trying to just jump in and exploit.
But Ketchup's advice is very valid, for your port 445 scenario.
yes i know Hayabusa but why i did it for port 445 only because i know that port 139 netbios not possible to exploit under windows xp sp3 patched system
i tried many times with no success :S
its on sp1 i think only
Logged
rebrov
Full Member
Offline
Posts: 130
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #12 on:
May 21, 2010, 08:31:05 AM »
Quote from: Ketchup on May 20, 2010, 04:35:46 PM
NetBIOS is a binary protocol. You can run the following nmap command to check for a few vulnerabilities. There are also any number of scanners that will identify NetBios vulnerabilities.
Code:
nmap -sV -PN <IP Address> -p 445,137,139 --script=smb-check-vulns.nse
thanks for the info i tried this with this results
nmap -sV -PN 10.0.0.3 -p 445,139 --script=smb-check-vulns.nse
Starting Nmap 5.00 (
http://nmap.org
) at 2010-05-21 13:27 Egypt Dayl
Interesting ports on 10.0.0.3:
PORT STATE SERVICE VERSION
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
and also tried to send Fin scan to bypass firewall with this result
nmap -sF -P0 10.0.0.3 -p 445
Starting Nmap 5.00 (
http://nmap.org
) at 2010-05-21 1
Interesting ports on 10.0.0.3:
PORT STATE SERVICE
445/tcp open|filtered microsoft-ds
and also with Xmas scan this is the result
nmap>nmap -sX -P0 10.0.0.3 -p 445
Starting Nmap 5.00 (
http://nmap.org
)
Interesting ports on 10.0.0.3:
PORT STATE SERVICE
445/tcp open|filtered microsoft-ds
Logged
hayabusa
Hero Member
Offline
Posts: 1633
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #13 on:
May 21, 2010, 09:13:15 AM »
Quote from: rebrov on May 21, 2010, 08:23:30 AM
Quote from: hayabusa on May 20, 2010, 07:25:38 PM
Pay close attention to what Ketchup told you. When I mentioned banner grabbing, I wasn't specifically doing so, for 445. It was a generalization, that is something you should be doing to any list you get from your initial scans, before trying to just jump in and exploit.
But Ketchup's advice is very valid, for your port 445 scenario.
yes i know Hayabusa but why i did it for port 445 only because i know that port 139 netbios not possible to exploit under windows xp sp3 patched system
i tried many times with no success :S
its on sp1 i think only
Understood, but I seem to recall your list also showed port 5101 tcp, as well.... (I don't have the time to assist further, today (heavy workload,) so I'll leave this one in Ketchup's hands, and maybe pick up again, tomorrow, if things lighten up.
Good luck.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
Ketchup
Hero Member
Offline
Posts: 1021
Re: Metasploit - Win XP sp3 - port 445 exploit !! and Meta bug
«
Reply #14 on:
May 21, 2010, 09:22:58 AM »
rebov, those ports coming back as filtered could indicate that there is a firewall in place.
Logged
~~~~~~~~~~~~~~
Ketchup
Pages: [
1
]
2
3
4
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(30) by
don
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.