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 31 guests online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
OSCP - Offensive Security Certified Professional
Preparing for the OSCP exam (again)
EH-Net
May 25, 2013, 01:30:07 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
>
OSCP - Offensive Security Certified Professional
(Moderator:
don
) >
Preparing for the OSCP exam (again)
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Preparing for the OSCP exam (again) (Read 8341 times)
0 Members and 1 Guest are viewing this topic.
zeroflaw
Full Member
Offline
Posts: 208
Preparing for the OSCP exam (again)
«
on:
May 30, 2011, 09:48:41 AM »
Hey guys,
So I've been preparing for the OSCP exam again. It's been a while ago since I failed it. Also haven't been doing any security related work/studies for a long time until recently.
The past 2 weeks I've been working on the De-Ice disks and pwnOS. I've just penetrated the last machine today (finally).
I've been going over the course materials again and watching the video's. The problem is, I'm not learning anything new, and I don't feel ready for re-taking the exam.
I mainly have issues with time management and spending too much time going the wrong direction (especially on the exam). I understand all the materials so that isn't a problem.
I'm concerned that when I'm retaking the exam I'll try to spend too much time on a service that seems vulnerable at first, but isn't the way to penetrate the box.
Anyone knows how I can practice some more? I'm thinking about downloading old programs with known exploits and try to attack those installed on a VM. I want my OSCP title lol!
Logged
ZF
H1t M0nk3y
Hero Member
Offline
Posts: 865
Re: Preparing for the OSCP exam (again)
«
Reply #1 on:
May 30, 2011, 10:01:59 AM »
I am planning on trying it again in the fall. My preparation will be simple: hack all machines in the Offensive-Security lab! It may cost me a few $$$, but in the end, I believe it's the only way to get ready for this exam. In addition, I think I will learn a lot in the lab, so the money is not wasted.
Also, I think one of Offensive-Security flaw is it is pretty difficult to know if you are ready or not for the exam, under than giving it a try...
Good luck ZeroFlaw!
Logged
OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
cd1zz
Recruiters
Hero Member
Offline
Posts: 561
Re: Preparing for the OSCP exam (again)
«
Reply #2 on:
May 30, 2011, 03:32:19 PM »
Zeroflaw,
Like H1t said, get into the labs because that is the best way to prepare. If you can get all the way into the Admin network in the PWB lab, you are ready for the exam. I actually only made it to the Dev and IT networks but got about 30ish boxes and passed. I really don't think there is a better way to prepare because there are no other labs like the one they built. Even if you build your own, you're kind of cheating yourself because you know what you installed, know what versions of software etc. etc. The only other advice I have is to be able to commit to it, work on it every day so that it stays fresh in your mind. Don't over think it, just pwn it.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
zeroflaw
Full Member
Offline
Posts: 208
Re: Preparing for the OSCP exam (again)
«
Reply #3 on:
May 30, 2011, 03:56:39 PM »
Thanks for the advice guys!
Actually, I did get into the admin network (got a few hints though). But I've learned a lot during the labs and pwned a fair amount of machines. I feel I should be ready but at the same time I feel I need more practice. At this point I simply can't afford extra lab time.
Many times, after pwning something, I realize that I've indeed been over thinking it. The answer turns out to be simple, but only after pwning, which makes sense lol
I wonder if there are more VM's to download from the net that I can pwn.
Logged
ZF
Agoonie
Full Member
Offline
Posts: 177
Re: Preparing for the OSCP exam (again)
«
Reply #4 on:
May 31, 2011, 02:07:42 PM »
Good luck guys! This link is posted somewhere on the site but I could not find it so I will just repost it. It might help. "
http://code.google.com/p/pentest-bookmarks/wiki/BookmarksList
". I am sure we will all be saying "Congrats" soon.
Logged
OSCE, OSCP, OSWP, CISSP, GPEN
www.agoonie.com
sil
Hero Member
Offline
Posts: 549
Re: Preparing for the OSCP exam (again)
«
Reply #5 on:
May 31, 2011, 03:22:40 PM »
I believe I mentioned this once upon a time, but will do so again. The key to OSCP if you ask me boils down to time management. You need to attack it with a gameplan as opposed to going at it blindly.
When I did the OSCP, I programmed an entire shell script to go through all the tedious tasks. In fact, my shell script (perl + python + shell) was designed to take the test for me. It was built to perform all the recon, bruteforcing, etc., prior to me even focusing on a machine. Problem was, my exam was a curveball. Never the less, I re-tailored my program to do everything BUT compromise the machines.
For example: You know you will be running network scanners, you know for certain services you will run hydra, etc. write a script that does something to the tune of this:
if [ output_of_nmap == 21,25,80,3389 ]
then
run hydra targeting those ports
fi
Do this for specific hosts in the background while you do something else. This allows you to continue with other tasks as opposed to focusing on one thing (while time dwindles on) in which you have already targeted and started that goal.
If you're doing ONE THING at any point in time... Fail. Take a good day or even a week to create your framework:
1) I will need to run a scanner --> program that
2) Once the nmap output is done, I will need to try some brute forcing --> program that
3) Once the nmap output is done, I will need to need to run nikto/wikto/etc. --> program that
Right a script to take realtime nmap output and fire away the moment you get data back to you. These are three simple core tasks you will NEED to do anyway. Practice it up on a lab. Take the core tasks and script them. No one said you couldn't do so. What I also have had for a hell of a long time is an pre-prepped arsenal of local exploits on who knows how many different machines. This enables to me to find specific exploits without having to run online and find em. E.g.:
Linux/Local/Kernel/{2.3.12,2.4,2.6} Windows/Local/{XP,2003,NT,2007,7}
Another thing I am a stickler for are config files. Write a program to do the recon for you. Let's say you needed to escalate permissions... What is visible to you? You may NOT need to focus on root all the time. Can you sudo, are you in a misconfigured group? Can you find and read any configuration files? E.g. find / -name "*.conf" It is always good to have a game plan.
Logged
http://www.infiltrated.net/mgz/puppylecter.jpg
zeroflaw
Full Member
Offline
Posts: 208
Re: Preparing for the OSCP exam (again)
«
Reply #6 on:
May 31, 2011, 04:09:04 PM »
Thanks for the detailed feedback Sil! I was hoping for a reply from you
I'm pretty good at scripting / programming, so I should put my time and effort into a game plan. Use scripts when possible. Enumerate services and versions, make a script that matches possible exploits with running services on the target. I'll have my list of exploits for different kernel versions ready.
Another thing I've come to realize. Well, I don't consider myself to be a noob with Linux. I can script and pretty much get anything up and running. Though, when it comes to config files and such, I'm not sure which are valuable. But I guess that completely depends on the target machine. I guess I should do like you said, look for all the *.conf files using a script or command.
I realize that I could have done much better at my first attempt if I managed my time better, have a game plan at least. I didn't really prepare the first time, sadly. I think I should just really put all my effort in a plan while I'll practice the tools on Backtrack.
I wonder how different the exam will be hmm, hope they don't make it harder at least
Logged
ZF
sil
Hero Member
Offline
Posts: 549
Re: Preparing for the OSCP exam (again)
«
Reply #7 on:
May 31, 2011, 04:57:21 PM »
All config files are to be viewed as valuable. Let's look at an Apache configuration file. (find / -name http*.conf (sometimes its httpd, sometimes not). Inside of a webserver, they may be calling some other function on another server. For config files like on a CMS (Joomla, etc.) those files are treasures since they often contain db usernames and passwords. Everything is fair game as are bash_history, .profile, .bashrc and others. Also don't forget users and groups:
Who are the users: awk -F ":" '!/nologin/{print $1}' /etc/passwd
What groups are there: awk -F ":" '{print $1}' /etc/group
Who is in multiple groups: awk -F ":" '/[a-z]/{print $4|"sort"}' /etc/group
... Don't solely focus on "root" otherwise you may miss out on other things. Helps to get root, but in a real world pentest, data is king. You will not meet a client who will tell you: "So what, you didn't get root, I don't care that you popped our Oracle DB."
Logged
http://www.infiltrated.net/mgz/puppylecter.jpg
cd1zz
Recruiters
Hero Member
Offline
Posts: 561
Re: Preparing for the OSCP exam (again)
«
Reply #8 on:
May 31, 2011, 10:03:19 PM »
Sil is right on. Pillage each box for as much info as possible. In a real life situation you'll likely run into password re-use or other juicy data that you get from all these places that you will use over and over.
Another point of Sil's I would emphasize is to organize your own set of local priv escalation exploits. There are so many different sploits, each depending on different apps on the box or different kernel versions... and finding them in a pinch while "the heat is on" might be a challenging task. If you use one in the lab, make sure you label it on your own box so you can get to the pwnage factor much faster
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
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
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.