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 41 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Advice needed for pentest lab setup
EH-Net
May 22, 2013, 01:02:45 PM *
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: Advice needed for pentest lab setup  (Read 6502 times)
0 Members and 1 Guest are viewing this topic.
AndyB
Full Member
***
Offline Offline

Posts: 100



View Profile
« on: March 15, 2011, 04:24:12 PM »

Have recently aquired the recommended WAP and USB Wifi device for my attempt at Backtrack WiFU after easter.  My initial plans were to just run the WAP in various configurations and keep experimenting with aircrack as it's currently not connected to anything.

As well as my laptop that dual boots Ubuntu and Backtrack, I also have a reasonable spec PC (with 2 network cards) setup with just Backtrack on and sat on my home network/internet connection.

Have just had a thought that I could run a couple of VM's off my backtrack PC (dam vunerable linux and a poorly patched xp), tie them down to the 2nd network card and connect that to my new WAP so I have something to have a go at when I crack into the WAP.

Bearing in mind that my training WAP is going to be potentially vunerable, whats the best way to secure my backtrack system so I don't allow someone an easy way in. 

I plan to put the second network card, vm's and the wap on a class B network address and subnet compared with my class c address for my network but want to do everything else I can to keep the two networks separated on the PC???

Logged

Net+ Sec+ More to come
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #1 on: March 15, 2011, 10:56:32 PM »

something to remember. In order to attack WiFi there as to be traffic on it in some form.
Logged

OSWP, Sec+
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1057


aka dynamik


View Profile WWW
« Reply #2 on: March 15, 2011, 11:00:33 PM »

Bearing in mind that my training WAP is going to be potentially vunerable, whats the best way to secure my backtrack system so I don't allow someone an easy way in. 

Just put all your vulnerable VMs on a virtual network that isn't connected to anything else (as opposed to bridged, NAT, or host-only).

something to remember. In order to attack WiFi there as to be traffic on it in some form.

You need the handshake for WPA, but you can use something like fragmentation or chopchop for WEP.
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
TheXero
Full Member
***
Offline Offline

Posts: 112


Try Harder!


View Profile WWW
« Reply #3 on: March 16, 2011, 09:39:58 AM »

When I was enrolled in the course, I had the WRT54GL router on its own and not connected to anything

Now that I've passed, it part of my PenTest lab (made up of VM's).  For now don't connect it to anything unless you want it broken into just stick to the course material, then once you have passed the exam you can experiment to your hearts desire Smiley
Logged

chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #4 on: March 16, 2011, 10:01:24 AM »

When I did wifu, I had an Linksys WRT54GL with a xubuntu box connected to it via wireless, and another on connected to it via wire. The router itself was not connected to the internet.

I use the traffic between them for the labs where I needed to have traffic running (handshake, capture, etc). I also used being able to connect into those boxes as proof I had the right key when I connected to wireless from my laptop running backtrack.
Logged

OSWP, Sec+
AndyB
Full Member
***
Offline Offline

Posts: 100



View Profile
« Reply #5 on: March 16, 2011, 03:20:49 PM »

something to remember. In order to attack WiFi there as to be traffic on it in some form.
I have an old(ish) dell PDA that is capable of wep and wpa wireless so that can give me some wirless traffic.

Thanks for the advice guys had fogotten about VM's virtual networks as it's a while since I used it in anger
Logged

Net+ Sec+ More to come
AndyB
Full Member
***
Offline Offline

Posts: 100



View Profile
« Reply #6 on: March 24, 2011, 02:28:11 PM »

Bit more advice required here if possible as my 'hacking' PC has two nics in and i'm having an issue with them

The 1st is a 100M onboard one (eth0) currently connected to my WAP and vunerable machines that has no external connection to the internet.  This gets a 10.0 address off my WAP (subnetted)

The 2nd is a 1G add in card (eth1) connected to my home network that has a connection to the internet.  This gets a 192 address off my internet router

With eth1 up, I am able to browse the internet and do all the good stuff.  The moment I bring eth 0 up, I lose my connection to the internet as it tries to route all my traffic through the WAP.

What would be the best way to get my system to route all external traffic through my home net? 
Should I swap the nic cables over so that eth1 connects to my WAP and eth0 my home network?
Do I just need to make modifications to the routing table on my PC?

My next question is re VMware and virtual networks.  I've currently got VMWare Player but could get my hands on a (legal) copy of Workstation if needed.
I'd like to bridge any virtual machines I create onto which ever NIC is attached to the WAP.  Is there any way to force which nic the VM binds to?

Thanks in advance
Logged

Net+ Sec+ More to come
lorddicranius
Sr. Member
****
Offline Offline

Posts: 447



View Profile WWW
« Reply #7 on: March 24, 2011, 02:38:12 PM »

Bit more advice required here if possible as my 'hacking' PC has two nics in and i'm having an issue with them

The 1st is a 100M onboard one (eth0) currently connected to my WAP and vunerable machines that has no external connection to the internet.  This gets a 10.0 address off my WAP (subnetted)

The 2nd is a 1G add in card (eth1) connected to my home network that has a connection to the internet.  This gets a 192 address off my internet router

With eth1 up, I am able to browse the internet and do all the good stuff.  The moment I bring eth 0 up, I lose my connection to the internet as it tries to route all my traffic through the WAP.

What would be the best way to get my system to route all external traffic through my home net? 
Should I swap the nic cables over so that eth1 connects to my WAP and eth0 my home network?
Do I just need to make modifications to the routing table on my PC?

My next question is re VMware and virtual networks.  I've currently got VMWare Player but could get my hands on a (legal) copy of Workstation if needed.
I'd like to bridge any virtual machines I create onto which ever NIC is attached to the WAP.  Is there any way to force which nic the VM binds to?

Thanks in advance

No experience with VMWare, but the other issue sounds like a routing issue.  Make sure the default gw on your 'hacking' PC is set to the IP of your Internet router, then configure another route to route all 10 network traffic to the WAP IP.
« Last Edit: March 24, 2011, 02:40:32 PM by lorddicranius » Logged

GSEC, eCPPT, Sec+
TheXero
Full Member
***
Offline Offline

Posts: 112


Try Harder!


View Profile WWW
« Reply #8 on: March 24, 2011, 03:20:18 PM »

Set eth0 to a static address, but leave the default gateway blank

I've had this trouble in the past, multiple default gateway's can only lead to trouble
Logged

AndyB
Full Member
***
Offline Offline

Posts: 100



View Profile
« Reply #9 on: March 24, 2011, 03:55:40 PM »

Set eth0 to a static address, but leave the default gateway blank

Bingo, got my internet back with eth0 up.  It's always the little things that trip me up!!

Just need to dig out my vmware notes and working out the VMnetwork side of things now. 

Thanks guys
Logged

Net+ Sec+ More to come
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.085 seconds with 22 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.