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 56 guests and 3 members online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Your First Pentest
EH-Net
May 19, 2013, 01:21:14 AM
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
) >
Your First Pentest
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Your First Pentest (Read 7183 times)
0 Members and 1 Guest are viewing this topic.
Agoonie
Full Member
Offline
Posts: 176
Your First Pentest
«
on:
July 27, 2011, 10:29:00 PM »
I know there are a lot of Professional Pentester here so I wanted to ask if anyone would share their story of their first pentest? Without breaking their NDA of course. Was it a piece of cake or a train-wreck? What would you have done differently knowing what you know now? Did your customer's restrictions kind of ruin the fun for you or made it more challenging? Would you have added more tools to your arsenal or just focused more on the tools you already had? Meh, just thought I would ask.
Logged
OSCE, OSCP, OSWP, CISSP, GPEN
www.agoonie.com
impelse
Hero Member
Offline
Posts: 563
Re: Your First Pentest
«
Reply #1 on:
July 27, 2011, 10:30:22 PM »
Yep, I would like to read about that
Logged
CCNA, Security+, 70-290, 70-291
CCNA Security
Taking Hackingdojo training
Website:
http://blog.thehost1.com/
lorddicranius
Sr. Member
Offline
Posts: 447
Re: Your First Pentest
«
Reply #2 on:
July 27, 2011, 10:31:19 PM »
Great question! *grabs some popcorn* (I'll come back here and reply after I secure a pentest position and do my first pentest)
Logged
GSEC, eCPPT, Sec+
hayabusa
Hero Member
Offline
Posts: 1630
Re: Your First Pentest
«
Reply #3 on:
July 27, 2011, 11:02:10 PM »
Quote from: lorddicranius on July 27, 2011, 10:31:19 PM
Great question! *grabs some popcorn* (I'll come back here and reply after I secure a pentest position and do my first pentest)
Too funny!
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
sil
Hero Member
Offline
Posts: 549
Re: Your First Pentest
«
Reply #4 on:
July 28, 2011, 09:54:08 AM »
I will bite on this although it will not be the first pentest but one of the funniest. It is also summarized as I'm swamped with work, studies, etc
Client
- contractor in the defense sector. SOW - Attempt to pierce a tunnel between a moving vehicle and their connection to a five sided building in DC. Caveat according to the douchebag contractor: "There are M16s on each side of the tunnel"
Technology
- Sprint EVDO private connection, moving GMC Tahoe with connections made via RSA tokens, etc.
We first thought about the parameters:
1) Hacking while driving, not an easy task, rent a truck, car, someone else driving? Too complex besides, we'd be so filled with false positive connections throughout the airways, we'd have a better chance at winning the powerball then finding a right connection. Even if we did, would be hellish to MITM 1) Sprint 2) anything in the truck. Even if we did, RSA keyfobs would be a hurdle
2) Social engineering was off the table. Besides, we didn't know who would be driving the vehicle, etc
3) Clusterfuck - we can't walk into the other endpoint not SE anyone there
Solution:
Visitor client side attack
Won't get too technical nor give away too much info. One of the contractors accidently decided to check their e-mail from a network with a loaded NAC (Packet Fence) with iFrames injected to compromise their machine.
They were owned before they got into the truck
Game time:
They get in the van, we drive maybe 100 feet, pull over, hazard lights on, explain, game over
Lessons learned:
Use your own darn connections. It doesn't matter if there are 50 cal sniper rifles behind any tunnel when you have no attacker to aim at. We explained to the client the difficulties associated with attacking them head on. We explained that "Hollywood" attacks are so unlikely that it would be an expensive task to pull off not to mention that driving while doing so would not be worth the effort. We explained why client sides are far more dangerous in the long run. They needed to understand this in order to understand the nature of defense via offense.
This was now 3 1/2 years ago
I miss those days. Nowadays things have sort of slowed down for me
Logged
http://www.infiltrated.net/mgz/puppylecter.jpg
tturner
Sr. Member
Offline
Posts: 432
Re: Your First Pentest
«
Reply #5 on:
July 28, 2011, 10:40:52 AM »
Not my first pentest, but one of the early ones where I compromised the network from an empty office with an IP phone (not even on a separate voice vlan so no vlan-hopping tricks needed), found a server with an extremely weak local administrator account that I bruteforced via RDP, grabbed the hashes and starting having some serious fun on the rest of the network. The funny thing was when I started scanning the internal network I found a server full of really disgusting porn. (I can never un-see some of those images *shudder*) In addition to the porn, but likely as a result of it, after further inspection I realized the server had been compromised and had a persistent outbound connection to a server in South America. I immediately reported it to my contact and was told it was the CEO's private stash and to please please not mention it in the report and they would clean up the infection.
Here is where I reached a moral and professional dilemma. I stand by the contents of my report. I sign off on the validity of it. How could I with a good conscience neglect to mention such an egregious security issue? I went back to my rules of engagement to see if I could find anything contained within that would give me some leeway to honor the customer's request. I'm being paid for a service and want to honor that request but I have to draw a line at compromising my own professional integrity. Nothing in the rules of engagement gave me what i was looking for so I opted to include the discovered connection but omit any mention of the images or what caused the issue other than what I described as "indiscriminate internet usage." When I met the CEO later at the exit meeting he was introduced to me by my contact as "a man of discriminating tastes" ostensibly referring to his rather high priced Mercedes and love of expensive wines. When my contact walked away I could see him holding two crossed fingers behind his back as he winked at me. Funniest.Pentest.EVAR!
I also want to point out that we should include policy violations in our reports as they are indicative of a systemic security issue. Un-enforcable policies or inconsistently applied policies are actually worse than no policy at all in my opinion. Good pentests will identify those meta-issues that have far greater impact on the security of an organization than any single SQLi flaw or single missing patch. I had to make a call and to this day I'm still not sure if it was the right one but sometimes we do what we have to to satisfy the customer. Luckily I was able to identify other policy violations so I could still identify that meta-issue without embarassing the CEO but if I had not, I'm not sure how I would have handled it. These are the kinds of situations that no certification program on the planet will prepare you for.
«
Last Edit: July 28, 2011, 10:44:02 AM by tturner
»
Logged
Certifications:
CISSP, CISA, GPEN, GWAPT, GAWN, GCIA, GCIH, GSEC, OPSE, CSWAE, CSTP, VCP
WIP: OSWP, GSSP-JAVA, GXPN
Udacity on hold, again. I suck.
http://sentinel24.com/blog
@tonylturner
http://bsidesorlando.org
chrisj
Hero Member
Offline
Posts: 1163
Re: Your First Pentest
«
Reply #6 on:
July 28, 2011, 02:13:46 PM »
Probably doesn't count:
Last job, PM walked in to my office and handed me a sticky note. The note contained an ip address, a user name and a password. She told me to tell her everything I could about the box. And wouldn't give me any other information on it.
What had happened, we had a contract with a business partner, they created a box for us to use, but we were getting performance issues. the software we were running was known to have issues in Virtual Servers. What the partner had done was charged us for a physical box, and then gave us a VPS on one of their systems.
Literally 30 seconds after I got my CYA email from her, I asked her if it was supposed to be a virtual. I had to repeat the procedure when they actually gave us the physical box.
My list contained that it was a virtual, what virtual software they were using, what OS, mem allocated, cpu acclocated, software installed, and list of missing patches.
I would love to do something like that again.
Logged
OSWP, Sec+
j0rDy
Hero Member
Offline
Posts: 590
Re: Your First Pentest
«
Reply #7 on:
July 29, 2011, 02:54:01 AM »
not my first (which was a complete fiasco because i was into security for about two weeks, firing random exploits and such) but a funny one:
i was doing a pentest on a web application that offered e-commerce functionality. it was possible to view the service after you purchased it. after providing your credentials it did around 2 or 3 authentication checks, but then you were redirected to an url that had the ordernr as an url parameter. changing this provided you with the order information of other customers. now the funny part was that all the information was provided in formfields, but were not editable. in the code there was a parameter like: CanModify=false. setting this to true lets you change the order and contact details of the person...
Logged
ISC2 Associate, CEH, ECSA, OSCP, OSWP
earning my stripes appears to be a road i must travel alone...with a little help of EH.net
millwalll
Guest
Re: Your First Pentest
«
Reply #8 on:
July 29, 2011, 01:41:57 PM »
I just landed my first job but its junior role so I guess I be training for the first 6 months trying to get up to speed on stuff.
lorddicranius are you based in the UK ?
Logged
lorddicranius
Sr. Member
Offline
Posts: 447
Re: Your First Pentest
«
Reply #9 on:
July 29, 2011, 01:44:10 PM »
Quote from: Jamie.R on July 29, 2011, 01:41:57 PM
lorddicranius are you based in the UK ?
Nope, west coast U.S.
Logged
GSEC, eCPPT, Sec+
Agoonie
Full Member
Offline
Posts: 176
Re: Your First Pentest
«
Reply #10 on:
August 04, 2011, 07:10:50 AM »
First, thanks for all the replies. I was curious of the "lessons learned" during everyone's pentests. I have watched some of Joe McCray's videos and he always has some crazy stories. I guess I should have asked not only for first pentests, but craziest/funniest also. From the stories, it seems like the customers make the situation more unusual than it has to be. I have never heard of a pentest with those kind of parameters. A moving target in a van. Ouch. And tturner brings up a good point. "These are the kinds of situations that no certification program on the planet will prepare you for". Anyone would have to agree with that. I guess that is why Sil made the point about paper certificates. Experience with knowledge helps with most obstacles especially with the unusal scenarios. I guess that is what brought up the question. I definitely learned a thing or two just by reading these stories.
Client side and web app attacks seem to crack any perimeter for one. Thanks again for all the replies. Oh yeah, I did want to say, CONGRATS on the new job Jamie.R! Time to update the 'ol SET to v2....
Logged
OSCE, OSCP, OSWP, CISSP, GPEN
www.agoonie.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
General Certification
: CPT Practical Submission
(0) by
z28power4u
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(5) by
MrTuxracer
Career Central
: Starter cert?
(0) by
Alert
Web Applications
: Nessus and Nikto
(4) by
Seen
Tutorials
: Need guidance
(7) by
impelse
Malware
: EICAR?
(2) by
SephStorm
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.