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 32 guests and 1 member online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Advice needed for pentest lab setup
EH-Net
May 24, 2013, 06:22:17 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
(Moderator:
don
) >
Advice needed for pentest lab setup
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Advice needed for pentest lab setup (Read 6511 times)
0 Members and 1 Guest are viewing this topic.
AndyB
Full Member
Offline
Posts: 100
Advice needed for pentest lab setup
«
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
Posts: 1163
Re: Advice needed for pentest lab setup
«
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
Posts: 1060
aka dynamik
Re: Advice needed for pentest lab setup
«
Reply #2 on:
March 15, 2011, 11:00:33 PM »
Quote from: AndyB on March 15, 2011, 04:24:12 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).
Quote from: chrisj 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.
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
Posts: 112
Try Harder!
Re: Advice needed for pentest lab setup
«
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
Logged
OSCP | OSWP
www.thexero.co.uk
chrisj
Hero Member
Offline
Posts: 1163
Re: Advice needed for pentest lab setup
«
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
Posts: 100
Re: Advice needed for pentest lab setup
«
Reply #5 on:
March 16, 2011, 03:20:49 PM »
Quote from: chrisj 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.
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
Posts: 100
Re: Advice needed for pentest lab setup
«
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
Posts: 447
Re: Advice needed for pentest lab setup
«
Reply #7 on:
March 24, 2011, 02:38:12 PM »
Quote from: AndyB 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
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
Posts: 112
Try Harder!
Re: Advice needed for pentest lab setup
«
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
OSCP | OSWP
www.thexero.co.uk
AndyB
Full Member
Offline
Posts: 100
Re: Advice needed for pentest lab setup
«
Reply #9 on:
March 24, 2011, 03:55:40 PM »
Quote from: TheXero on March 24, 2011, 03:20:18 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
« 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
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
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(29) 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
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.