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 37 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Hardwarearrow Newbie Lab setup!
EH-Net
May 25, 2013, 02:15:42 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: Newbie Lab setup!  (Read 9801 times)
0 Members and 1 Guest are viewing this topic.
Birdcr
Guest
« on: March 03, 2009, 04:29:34 PM »

Hi there, i have very little work experience but a degree in networking, and hopefully the other part to my A+ and Net+ when i sit both the exams next week. also studing CCNA ATM. i played around with programming at university (Perl,Java,C++) but to say we didnt get on would be an understatement! although i have recently taken a keen interest in security. as i am quite familiar with Cisco kit i have just taken an approach that seems rather unusual (after reading a few posts on the forum regarding other peoples home setup).

- I configured 2 routers
- connected routers to a  switch (Configured)
connected laptop and PC to get a small working LAN.
-setup wireshark on a PC
-telnetted from pc to router and viewed the Plaintext data captured using wireshark.
-also used wireshark to collect plaintext between 2 machines on the lan using MSN messenger.

Although all this was rather basic, i was quite impressed with what i had done/learned. and the small problems i discovered along the way provided good real-life hands on education:
-Didnt set exec password but set telnet, therefore locking me out router  -Having to break into a 2950 switch which someone previously set up with a username/password)

the problem is now im running out of ideas, any ideas of any other data i could try sniffing or any other labs i can perform with this kind of setup?

I was thinking of experimenting with NMAP and other software which could allow me to exploit vunrubilities found within the NMAP scan but this will be another milestone

thanks.
Logged
timmedin
Sr. Member
****
Offline Offline

Posts: 469



View Profile WWW
« Reply #1 on: March 03, 2009, 05:25:56 PM »

Turn on some different services on the router/switch (ssh, telnet, http, https, ...). That will give you an idea how to setup the router/switch.

Next see what it takes to get access it. Use some password brute forcing tools (i.e. Hydra et al) and try to get into the the device (use an easy password first). Run NMAP against it an see what it takes to do OS fingerprinting or determine the version of the services.

Depending on the IOS version check out milw0rm.com (and others) and see if you can find any thing to attack on the switch. Unless you have a pretty recent IOS there are some issues with XSS and (I think) DoS. If the XSS works, try to see what it takes to get credentials from someone (yourself).

If you have a few PCs you could try some ARP cache poisoning on the switch or CAM table overflow to sniff or rewrite some traffic.

Beyond that, you could run some Virtual Machines (VMs) and attack the other hosts.

Hopefully that gives you a good start.
Logged

twitter.com/timmedin | http://blog.securitywhole.com
Birdcr
Guest
« Reply #2 on: March 03, 2009, 06:03:38 PM »

Cheers for the reply Timmedin, that gives me a lot to get reasearching on! what do you mean by: 'try to see what it takes to get credentials from someone (yourself)' is this to do with socal engineering? 
Logged
timmedin
Sr. Member
****
Offline Offline

Posts: 469



View Profile WWW
« Reply #3 on: March 03, 2009, 06:55:32 PM »

Cheers for the reply Timmedin, that gives me a lot to get reasearching on! what do you mean by: 'try to see what it takes to get credentials from someone (yourself)' is this to do with socal engineering? 

1. Find XSS
2. Figure out how to use the XSS to catch login credentials.

Obviously, you know the password, but this will get you familiar with the tools. I was trying to make a [crappy] joke about you stealing the password from yourself. Hope that is a bit more clear.
Logged

twitter.com/timmedin | http://blog.securitywhole.com
Birdcr
Guest
« Reply #4 on: March 03, 2009, 07:19:09 PM »

ah just did a bit of brief research on XXS, seems to be a popular source of attack, ill have to see if i can dig up some more info or find a simple tutorial. couldnt work out if u were joking or talking tech in the last post, but good ideas, thanks for the replies
Logged
Andrew Waite
Hero Member
*****
Offline Offline

Posts: 928



View Profile WWW
« Reply #5 on: March 04, 2009, 03:09:02 AM »

Birdcr,

might take the fun away, but as you've got physical access to the device this link should help
Logged

Birdcr
Guest
« Reply #6 on: March 08, 2009, 02:36:00 PM »

I had already done this before my last post, but thanks for the link anyway, i heard it was possibleso i used the only toll in my hackers toolkit (ATM) Google!
Logged
sh4d0wman
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #7 on: March 09, 2009, 07:25:13 AM »

You could try some of the following attacks:
- Arp spoofing
- Vlan hopping
- Double tag vlan hopping
- Mac overflow attack
- Spanning Tree attack

Look at the Allied Telesys website for attack info.
From the main page choose, "Solutions", and then "Lan Security". In the drop down menu you will find a summary of above listed attacks. This is something I still want to look at myself as well. Dunno yet what tools to use and I have no time at the moment. Too bad haha.
Logged

Comptia Security+ Certified
WIP: CCNA / CHFI
Birdcr
Guest
« Reply #8 on: March 10, 2009, 07:50:01 AM »

You could try some of the following attacks:
- Arp spoofing
- Vlan hopping
- Double tag vlan hopping
- Mac overflow attack
- Spanning Tree attack

Look at the Allied Telesys website for attack info.
From the main page choose, "Solutions", and then "Lan Security". In the drop down menu you will find a summary of above listed attacks. This is something I still want to look at myself as well. Dunno yet what tools to use and I have no time at the moment. Too bad haha.

Had a look at these types of attacks, but finding it hard to find any documentation which really explain how to perform these attacks although  very keen to learn and play around with.
« Last Edit: March 10, 2009, 07:51:55 AM by Birdcr » Logged
sh4d0wman
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #9 on: March 10, 2009, 08:58:15 AM »

True, the info is a bit scattered around. Some background in networking and protocols is highly recommended.

Here some reading:
http://en.wikipedia.org/wiki/VLAN_hopping
Cisco info: http://www.cisco.com/en/US/products/hw/switches/ps708/products_white_paper09186a008013159f.shtml#wp39054

And tools:
http://www.perihel.at/sec/mz/index.html
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,535.0/
Logged

Comptia Security+ Certified
WIP: CCNA / CHFI
charlottebandit
Newbie
*
Offline Offline

Posts: 49


View Profile
« Reply #10 on: June 20, 2009, 05:45:15 AM »

You could try some of the following attacks:
- Arp spoofing
- Vlan hopping
- Double tag vlan hopping
- Mac overflow attack
- Spanning Tree attack

Look at the Allied Telesys website for attack info.
From the main page choose, "Solutions", and then "Lan Security". In the drop down menu you will find a summary of above listed attacks. This is something I still want to look at myself as well. Dunno yet what tools to use and I have no time at the moment. Too bad haha.

A great tool that focuses on these attacks is called Yersinia.  Here's a list of some of the attacks it can do:

Spanning Tree Protocol (STP)
Cisco Discovery Protocol (CDP)
Dynamic Trunking Protocol (DTP)
Dynamic Host Configuration Protocol (DHCP)
Hot Standby Router Protocol (HSRP)
IEEE 802.1Q
IEEE 802.1X
Inter-Switch Link Protocol (ISL)
VLAN Trunking Protocol (VTP)

You can also use Gobbler for DoS & DHCP starvation attacks against a switch. 

VLAN hopping was considered a "dead" attack that was almost a waste until IP Telephony converged together with an IP Network.  Now, there are several VOIP tools out there that take advantage of this because now this attack has re-emerged into a crippling one.  You could use VoIP Hopper for this.  Do a search for "vlan hopping tool" to find even more tools.

On the router, you could easily implement IOS IPS to have a fully-functional Cisco IPS on the router.  You could also setup IOS F/W to simulate an ASA and try to get past that.  There's much more you could do but it requires deeper understanding of routers which may take you down the path of network engineering. 
Logged

MS, CCSP, CCNP, CCDP, CEH, CHFI, CPTS
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.08 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.