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 26 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
CPT Cert and Practical (new guy here)
EH-Net
May 25, 2013, 11:40:53 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
) >
CPT Cert and Practical (new guy here)
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: CPT Cert and Practical (new guy here) (Read 4612 times)
0 Members and 1 Guest are viewing this topic.
SamoletMaj
Newbie
Offline
Posts: 8
CPT Cert and Practical (new guy here)
«
on:
June 03, 2012, 11:12:01 AM »
Hello there gents...
I am a programmer trying to break in the Sec business...
I'm excited about all the new things to learn and cool people to meet here.
I have a question, i don't know if anyone here can offer some guidance.
I am "technically" done with the Practical part of the CPT as i've gained the root passwords for both of the VM's however, the instructions given to me dictate that i do a privilege escalation exploit on the second VM after i have obtained some level of access...
i did get root to the first VM and after getting all of the accounts on that one i got user level access to the other VM but after trying a gazzilion things i finally gave up and "pretended" i had physical access to the second VM, booted up a live image, got a copy of the shadow file to my attack VM via SSH and then managed to crack the root password with john.
Do you think this will be a problem? in the end i got the existing root pass which was my assignment but i am not sure if the CPT people are going to like the way i got the shadow file.
i know there are multiple ways to skin a cat but my expertise level was obviously not enough to do a local privilege esc.
Any help of guidance would be greatly appreciated.
ps: i dont want someone to tell me how to do it, i have really enjoyed the challenges and want to "EARN" my cert, however, i dont want to send my report like this and end up failing.
THANKS!
«
Last Edit: June 03, 2012, 11:15:04 AM by SamoletMaj
»
Logged
UNIX
Hero Member
Offline
Posts: 1235
Re: CPT Cert and Practical (new guy here)
«
Reply #1 on:
June 03, 2012, 11:52:23 AM »
I don't remember the exact wording of the instructions I was given when I took the exam, but I'm pretty sure the goal was to obtain access through the other machine and do some kind of privilege escalation afterwards.
I don't think going the easy way through 'pretending I have physical access' would adhere to the rules. To be on the safe side, I'd just drop a message to
exams@iacertification.org
and ask directly at the source.
Logged
SamoletMaj
Newbie
Offline
Posts: 8
Re: CPT Cert and Practical (new guy here)
«
Reply #2 on:
June 03, 2012, 06:42:36 PM »
Good info, i will shoot them an email to ask...
does anyone have any pointers as to what angle to pursue for the local exploit?
I have downloaded, complied and ran about 30 to 50 different exploits with no success, i also spent a considerable amount of time exploring remote options with metasploit also with no success...
i've tried to attack services running as root, snmp, scripts etc... i really don't know what i'm missing here and im fresh out of ideas!!
Again, im not looking for someone to tell me how, but with my lack of linux experience im afraid the answer is staring right at me and i cant see it.
I did not do the boot camp with infosec, i'm doing the online course. and the info on the videos seems and feels a little outdated.
Logged
UNIX
Hero Member
Offline
Posts: 1235
Re: CPT Cert and Practical (new guy here)
«
Reply #3 on:
June 04, 2012, 02:36:25 AM »
There are a couple of exploits that will work - some might work without further modifications, some might need some minor tweaks. Just downloading and running exploits won't do any good, you need to do a proper enumeration of your targets.
Some things to look for:
Check which OS in which version is running on which kernel version
Check the environment variables
Check running services, their version and under which user they are running
Check if any 3rd party applications are installed/running
Check config files, scripts, databases, logs etc. and look for credentials, misconfigurations etc.
Check if any jobs are scheduled
Check if you can sniff any further network traffic
...
Logged
SephStorm
Hero Member
Offline
Posts: 530
Re: CPT Cert and Practical (new guy here)
«
Reply #4 on:
June 04, 2012, 05:08:21 AM »
aweSEC is correct, You certainly can elevate your privileges on that box. Honestly, I am a little skeptical that you cracked the root PW with john. The (root) PW's for my exam were not in any wordlist I used, and bruteforce ran for nearly a week before I shut it off.
Logged
Support my hactivities.
http://www.cafepress.com/TRUEHacker
SamoletMaj
Newbie
Offline
Posts: 8
Re: CPT Cert and Practical (new guy here)
«
Reply #5 on:
June 04, 2012, 08:29:54 AM »
Cool i will re-focus on doing the escalation.
I did run exploits for the specific os on the running kernel but i did not modify any of them.
I also ran exploits to specific versions of services.
Thanks for the Tip aweSEC, i tried to do a good Job enumerating but again i am afraid to be in a situation of : "i don't know what i don't know"
SephStorm, i don't want to post it here but i can tell you on which word-list the pass was found. I was also afraid of this because i read online some guys setting up clusters of computers in order to do a distributed john against the shadow and it didn't work. yikes... But once i got that word-list, i ran it for maybe 2 hours and the password was cracked.
Logged
sil
Hero Member
Offline
Posts: 549
Re: CPT Cert and Practical (new guy here)
«
Reply #6 on:
June 04, 2012, 09:53:49 AM »
Quote from: SephStorm on June 04, 2012, 05:08:21 AM
aweSEC is correct, You certainly can elevate your privileges on that box. Honestly, I am a little skeptical that you cracked the root PW with john. The (root) PW's for my exam were not in any wordlist I used, and bruteforce ran for nearly a week before I shut it off.
Weird how we all have different experiences. I got the password in under an hour (maybe 30ish or so minutes). Local "kernel" compromise/escalation (spoiler alert there) took me about 10 minutes off the uname.
I try to tell / write / inform testers, one needs to literally get a storage device, create dirs (Windows, Linux, Solaris, etc) then subdivide those folders into something like Local/Remote further subdivided again:
Exploits/Windows/Local/XP/Microsoft
Exploits/Windows/Local/XP/3rdParty/RealPlayer
Exploits/Unix/Linux/Local/Kernel/2.6.13
Exploits/Unix/Linux/Local/Kernel/2.6.20
Exploits/Unix/Linux/Local/Kernel/2.6General
Then go from there. On real world scenarios it cuts down so much time. If you REALLY wanna be spiffy about it, get yourself some cloud storage so you can ALWAYS download your tools at will
Logged
http://www.infiltrated.net/mgz/puppylecter.jpg
SamoletMaj
Newbie
Offline
Posts: 8
Re: CPT Cert and Practical (new guy here)
«
Reply #7 on:
June 04, 2012, 10:39:37 AM »
Yes it is very funny...
i have tried pretty much every kernel exploit out there written for my specific kernel and it has worked for a ton of guys, just not me! I've been at it for about 6 days off the uname and nada...
i'm moving on to another angle, and i am waiting for a response from IACRB... i will post up.
Logged
sil
Hero Member
Offline
Posts: 549
Re: CPT Cert and Practical (new guy here)
«
Reply #8 on:
June 04, 2012, 10:57:21 AM »
Quote from: SamoletMaj on June 04, 2012, 10:39:37 AM
Yes it is very funny...
i have tried pretty much every kernel exploit out there written for my specific kernel and it has worked for a ton of guys, just not me! I've been at it for about 6 days off the uname and nada...
i'm moving on to another angle, and i am waiting for a response from IACRB... i will post up.
Sometimes it not about finding a kernel level exploit that matches your EXACT kernel. Sometimes its about finding one that causes an outcome and investigating from there. E.g., If you're on say 2.4.20 and you can find something like a 2.6 exploit, try to see what occurs when running. Does it crash an application, if so can you figure out what its doing via gdb.
Logged
http://www.infiltrated.net/mgz/puppylecter.jpg
SamoletMaj
Newbie
Offline
Posts: 8
Re: CPT Cert and Practical (new guy here)
«
Reply #9 on:
June 04, 2012, 12:19:41 PM »
Oh lord, serendipity......
I went back to look at some exploits i had downloaded in the past
And decided to look trough some of the code and i found a notefrom the developer
To compile with -static, did that and presto, root shell...
Typical case of RTFM...
Mission acomplished.
Thank you all for the comments i am really looking forward to
Learning more about this business.
Logged
SephStorm
Hero Member
Offline
Posts: 530
Re: CPT Cert and Practical (new guy here)
«
Reply #10 on:
June 05, 2012, 12:45:54 PM »
I think that ISI has different exam images. Its a good thing, if you did some looking, you can find an report but while the usernames were the same as my exam, all of the root passwords were different.
Logged
Support my hactivities.
http://www.cafepress.com/TRUEHacker
Joshsevo
Sr. Member
Offline
Posts: 278
Re: CPT Cert and Practical (new guy here)
«
Reply #11 on:
June 12, 2012, 07:31:34 PM »
Once you get the root password for both machines the practical side of the cert is done and there is nothing else that you really have to do. Turn your report in and be happy that you got the cert. Just make sure everything is documented.
I just passed this in December and thought I failed but a few days later got word that I passed.
Logged
Security+, Network+, C|EH, CHFI, CPT
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
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(95) by
zeebee
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.