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 33 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Setting up my own hack lab
EH-Net
May 25, 2013, 08:48:57 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
) >
Setting up my own hack lab
Pages:
1
[
2
]
Go Down
« previous
next »
Print
Author
Topic: Setting up my own hack lab (Read 14670 times)
0 Members and 1 Guest are viewing this topic.
3xban
Hero Member
Offline
Posts: 608
Re: Setting up my own hack lab
«
Reply #15 on:
September 28, 2011, 08:15:25 AM »
yeah you lost me. Lets back track...
You have an XP SP3 VM that you want to exploit correct?
But you can't find any modules in Metasploit that work right?
What is the patch status of your XP VM? SP3 fixed a good amount of security holes, so review the dates. Also some of those MS Security notices may require other services/applications to be fully exploited which is why I suggested installing a few other apps on the victim XP system. Old versions of Adobe Reader, Java etc...
Logged
Certs: GCWN
(@)Dewser
Preestar
Newbie
Offline
Posts: 14
Re: Setting up my own hack lab
«
Reply #16 on:
September 28, 2011, 08:40:32 AM »
Yes thats correct 3xban sorry if im confusing you. My victim pc is a windows cx professional with service pack 2. The reason being is because I couldnt find any iso's that had no packs or just service pack 1 so I had to go with that one.
I am going onto the microsoft website and searching for exploits that work for windows x professional with sp3. Now on the microsoft wesbite it lists many exploits for that O/S but when I search for the same exploit on metasploit it isnt there, so how can I exploit this O/S if metasploit doesnt have any exploits?
If you can find me a good trusted download for windows xp that is totally unpatched that would be awesome!
I see some exploits for things like windows media player and adobe reader ect but I cant think why you would ever wanna exploit these programs? What can be acheived......
Logged
cd1zz
Recruiters
Hero Member
Offline
Posts: 561
Re: Setting up my own hack lab
«
Reply #17 on:
September 28, 2011, 08:57:35 AM »
While metasploit is a great tool, it's not the end all be all for exploitation. Here are some notes about what to do when there isn't a metasploit module:
Just because Microsoft releases a security update, doesn't mean there is publicly available exploit code. It simply means someone found a bug (either internally at MS or externally) and they're patching it. Not all bugs are exploitable.
You'll have to become very good at searching for public exploit code if you want to be good at this. Until you can discover your own bugs and write your own exploits, you'll have to find publicly available exploit code, that is the key.
For starters and just to get you pointed in the right direction, run a vulnerability scan on your victim and get a list of all the patches the box is missing. If you're using Nessus, make sure you use a credential scan so you get every patch its missing. From there, start searching the internet for exploit code. You can use securityfocus.com exploit-db.com packetstormsecurity.org and
www.osvdb.org
for a few examples.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
Preestar
Newbie
Offline
Posts: 14
Re: Setting up my own hack lab
«
Reply #18 on:
September 28, 2011, 11:05:15 AM »
Great thanks for those links I shall look into that. One thing that puzzles me though is I have found exploit code on websites such as exploit-db but I dont know how to actually use it once I download it, Is there anyway to add the code to the metasploit module list?
Logged
cd1zz
Recruiters
Hero Member
Offline
Posts: 561
Re: Setting up my own hack lab
«
Reply #19 on:
September 28, 2011, 01:11:19 PM »
What exploit are you looking at?
I think you might need to slow down and think bigger picture here. If you're not really sure how to exploit the box, you're probably not really sure how or why the exploit works. You really need to know, "Ok, I've found a vulnerable version of "X" software on my victim, and I know this because I've banner grabbed the service....and now I see some code that is a buffer overflow for this specific version...(do you know why buffer overflows are problematic?)...and because I know all that, I'm going to run the code to exploit the vulnerable service and get a shell...."
See where I'm going? If you want, provide the exploit-db link and I'll give you some pointers.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
3xban
Hero Member
Offline
Posts: 608
Re: Setting up my own hack lab
«
Reply #20 on:
September 28, 2011, 01:36:10 PM »
Also many of the modules in metasploit have been added by the community. Don't focus on popping shell on everything, although that is what you want to try and get in most cases, it is not necessarily the keys you are looking for. Popping shell on one system may be the first step in gaining a foothold in the environment as well as doing additional recon to discover your true target.
The reason why one would want to exploit the applications is because the bug/exploit available for them will pop shell. For instance metasploit has a number of modules for Adobe Reader. Some will help you created a bogus PDF or web link that will exploit a bug in older versions of reader and allow the attacker to get a reverse shell using Metepreter.
In most cases you will see MS say the bug "could" allow remote code execution. This does not necessarily mean you will gain remote access, but you can use the exploit to drop code that will allow you remote access.
Like cd1zz says, sometimes you need to take a step back and look at things as a whole. An excellent book to take a look at is Professional Penetration Testing. It goes into a bit about some tools but what it ultimately provides is great insight on the pen testing process. It also has a number of challenges that use WebGoat, De-Ice vms and Hackedermia.
Logged
Certs: GCWN
(@)Dewser
Preestar
Newbie
Offline
Posts: 14
Re: Setting up my own hack lab
«
Reply #21 on:
September 28, 2011, 01:52:07 PM »
Thanks to both of you. I'm definately going to have to take a step back and read some. I saw 1 video of 1 exploit and thought wow this is so easy ill just follow this video and success.... sadly that is not the case lol.
I dont know what a shell is, I dont know how they work, I dont know why buffer overflows work and I dont truely understand buffer overflow
Gunna go back to the basics which is reading, getting an understand of why this stuff works and how it works which should give me a much better understanding.
Thank you so much for all your help guys much appreciated.
Logged
TheXero
Full Member
Offline
Posts: 112
Try Harder!
Re: Setting up my own hack lab
«
Reply #22 on:
September 28, 2011, 01:57:17 PM »
Preestar check out my
PenTest video
where I attack a client using an outdated version of Internet Explorer in order to compromise the machine and eventually the rest of the network.
~TheXero
Logged
OSCP | OSWP
www.thexero.co.uk
cd1zz
Recruiters
Hero Member
Offline
Posts: 561
Re: Setting up my own hack lab
«
Reply #23 on:
September 28, 2011, 02:33:18 PM »
That's the idea Preestar. Go get a copy of counter hack reloaded and that will open your eyes. That was the first book I read that really put everything into perspective for me.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
Preestar
Newbie
Offline
Posts: 14
Re: Setting up my own hack lab
«
Reply #24 on:
September 28, 2011, 05:26:49 PM »
Nice video TheXero clearly you remember all of the payloads, commands and their uses off by heart lol whereas I hae no idea what any of that stuff means. Therefor I need to do some reading.
Logged
3xban
Hero Member
Offline
Posts: 608
Re: Setting up my own hack lab
«
Reply #25 on:
September 29, 2011, 08:28:49 AM »
It is a lot to take in, which is why you don't typically see too many testers that don't already have a strong background in some facet of IT. I am nowhere near the level to be a full pen tester, but I know enough background due to my years configuring firewalls, sniffers, servers, workstations etc, to understand what I am looking at and how to defend against it. And its tough when you want to play in the arena with tools like metasploit or create scripts to assist you with gaining shell access (Shell is basically command line access to a system). But you sometimes need to step back and realize to be good at some of these fun projects, you need to fill up on some background requirements so they are useful. If you want a good challenge, try to crack something without the use of a tool using only what you have. Remember someone had written these tools to make their life easier and we all benefit immensely from it.
Logged
Certs: GCWN
(@)Dewser
Preestar
Newbie
Offline
Posts: 14
Re: Setting up my own hack lab
«
Reply #26 on:
September 29, 2011, 08:58:20 AM »
I wouldnt know where to begin to crack something with no scripts or hacking programs ect
Logged
3xban
Hero Member
Offline
Posts: 608
Re: Setting up my own hack lab
«
Reply #27 on:
September 29, 2011, 09:52:17 AM »
Which is what separates us from the pros. You can use scripts, but you gotta write them yourself
Logged
Certs: GCWN
(@)Dewser
hayabusa
Hero Member
Offline
Posts: 1633
Re: Setting up my own hack lab
«
Reply #28 on:
October 01, 2011, 11:02:19 AM »
Yeah... The ability to write scripts is important, and will come with time and experience. Just make sure, as I'd noted in the one other thread, today, that you also spend time on the existing tools (NMAP comes to mind, but all tools in general,) learning how to use them, what they do "under the covers" (not just run this to get 'xyz' result,) and really get familiar with them. Even the best still rely on existing tools, too. The difference is in the level of understanding, around those tools.
Videos help. Books help. Professional networking helps (meeting like-minded IT-security pro's, like those of us at EH-net, who will openly discuss with you, and teach you.) Get yourself into a mindset that "This is what I want, so I will wholeheartedly pursue learning and growth."
You WILL reach new levels. Just stay focused.
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
YuckTheFankees
Sr. Member
Offline
Posts: 324
Re: Setting up my own hack lab
«
Reply #29 on:
October 10, 2011, 07:34:06 PM »
Preestar,
Just like you said, I had to take a step back and actually take in how much it really takes to be a pentester. I had all the same questions, "what is a shell", "buffer overflow wtf", and etc..
I felt I learned a lot faster by watching video's after I read the material. So you "kind of" know what they are talking about in the video.
Logged
OSCP in progress
Pages:
1
[
2
]
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
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(30) by
don
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
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
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.