Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 56 guests and 5 members online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Test network - Windows Firewall
EH-Net
May 24, 2013, 09:39:56 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Test network - Windows Firewall  (Read 2924 times)
0 Members and 1 Guest are viewing this topic.
HaoleHero
Newbie
*
Offline Offline

Posts: 5


View Profile
« on: September 28, 2011, 09:23:54 PM »

Got stuck on an issue hoping some of the ethicalhacker.net community would be willing to help me with.

I'm running a VMware test network with 2 xp machines and backtrack 5.  I'm going through the book : Metasploit: The Penetration Testers Guide 

http://www.amazon.com/Metasploit-Penetration-Testers-David-Kennedy/dp/159327288X/ref=sr_1_1?ie=UTF8&qid=1317262561&sr=8-1

I'm able to open a reverse_tcp connection and drop the payload successfully only when windows(xp) firewall is turned off.

My question is this: How can I exploit the system when windows firewall is turned on?  Undecided

Anyone know of a good tutorial or book dealing with getting around the firewall?

Thanks!

HH
Logged
cd1zz
Hero Member
*****
Offline Offline

Posts: 561


View Profile WWW
« Reply #1 on: September 28, 2011, 09:30:33 PM »

What exploit are you using?

Unless there is a local port exception made in the Windows firewall that allows the port to be opened and accessed remotely, your only option would be be to use a client side exploit.
Logged

HaoleHero
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #2 on: September 28, 2011, 09:47:29 PM »

Thanks for the reply!

I'm using the good o'l easy xp ms08_067_netapi with meterpreter payload.

Will a nmap scan like -sT or aggressive -A find the open ports through a firewall?
Logged
cd1zz
Hero Member
*****
Offline Offline

Posts: 561


View Profile WWW
« Reply #3 on: September 28, 2011, 09:54:37 PM »

If the firewall is functioning as designed without any exceptions, then the port wont show up in portscan. That's what firewalls do...block stuff...

For 08 067 you'd have to have a firewall exception for SMB file sharing on port 445 (if I recall, it also works on port 139).
Logged

3xban
Hero Member
*****
Offline Offline

Posts: 608


View Profile WWW
« Reply #4 on: September 29, 2011, 08:33:07 AM »

By default Windows firewall blocks all incoming unless the user adds it as an exception.  So unless you made changes to the XP firewall configuration, you will probably not be successful with the attack.  And even a client-side attack might prove difficult since user interaction may be required to OK the outgoing traffic.  Then again if the user is local admin, you may be able to sneak in the OK through the payload.
Logged

Certs: GCWN
(@)Dewser
HaoleHero
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #5 on: September 29, 2011, 01:56:26 PM »

Thanks guys, cleared this up for me!  Wink
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.087 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
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:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.