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 51 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Avoiding Pentest DOOM
EH-Net
May 21, 2013, 03:20:35 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
) >
Avoiding Pentest DOOM
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Avoiding Pentest DOOM (Read 4336 times)
0 Members and 1 Guest are viewing this topic.
tturner
Sr. Member
Offline
Posts: 432
Avoiding Pentest DOOM
«
on:
September 24, 2012, 12:36:31 PM »
I just had a blog post I wrote published at the SANS Pentest Blog entitled
Avoiding Pentest DOOM: Protecting Customer Data
where I discuss several ways you may be violating NDA's or mishandling customer data along with well defined solutions for addressing these very common failings. Check it out and tell me what you think.
http://pen-testing.sans.org/blog/2012/09/24/avoiding-pen-test-doom-protecting-customer-data
«
Last Edit: September 24, 2012, 12:43:07 PM 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
hayabusa
Hero Member
Offline
Posts: 1632
Re: Avoiding Pentest DOOM
«
Reply #1 on:
September 24, 2012, 12:56:24 PM »
Good read... Loved the opener:
"They want you to simulate a real attacker which means you can harvest credit card numbers and sell them on carder forums, post their password hashes on Pastebin and tweet about how lamebrain they are. Right?"
I've seen too many pentesters who do NOT safeguard the customer data, before / during / after a test, and in ONE case that I can recall, they got hammered for it, in the end, because said data DID get leaked. I think you're spot on with your recommendations.
(Edit - in the paragraph below, I'm referring to physical copies, as well as digital)
The one thing I'd add is that, when I complete a test, I completely destroy EVERY copy I have of ALL the data, including the end report. Once I've delivered it to the customer, whether in writing, face-to-face presentation, or BOTH, I completely remove any copy I had in my possession. Additionally, all of my tests (where applicable) are done from VM's, which are destroyed afterwards. If my own physical machines are used, I wipe them clean following the engagement. The ONLY time a machine remains in existence, is if it's their own (when I'm doing whitebox tests simulating employee access, etc,) though while I won't fdisk THEIR machines, I still remove all copies of anything I've done, while using their box(es).
I make it very clear to them that they have the ONLY copies of ANY data that remains, and as such, if they require me to re-test anything, in the future, it's their responsibility to present said data to me, if in fact, re-testing 'specific' past issues is in scope. Otherwise, I approach them as a fresh customer, for every future engagement.
«
Last Edit: September 24, 2012, 12:57:58 PM by hayabusa
»
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
tturner
Sr. Member
Offline
Posts: 432
Re: Avoiding Pentest DOOM
«
Reply #2 on:
September 24, 2012, 02:13:20 PM »
Agreed Hayabusa, but there are instances where the contract stipulates the pentester maintain copies of the report and associated notes for a predetermined period. We do this sometimes because we get 3 or 4 months into a remediation cycle and someone has a question about a particular finding and I know of some organizations that have to do this because remediation cycles are horrendously long, think Big Pharma for instance. Pentesters can't always remember why a particular finding wound up in the report, especially if it was a less than stellar report but if they can go back to tool output or notes, packet captures, etc they can provide additional clarification around the issue ar at least provide enough context where the organization can make a conscious risk decision regarding the finding. Ideally, sufficient context goes into the report to make this a a non-issue but ops will frequently look for any reason to not have to fix whatever it is we are telling them to fix. I'd prefer it always be like you said, but the reality is the operational side of the business doesn't always feel we are on the same side. Antagonistic relationships can develop especially when you are calling someone's baby ugly or asking them to do more work.
It's probably the best idea to have the pentest firm destroy all data and require all associated notes, pcaps, etc be delivered to customer as part of the deliverable package (but not in the report). I have been known to change requirements around depending on who was conducting the test or which assets were within the scope as a conscious risk decision. (external business partner stakeholders, scope too narrowly defined that doesn't take into account other contextual activities, etc)
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
Andrew Waite
Hero Member
Offline
Posts: 928
Re: Avoiding Pentest DOOM
«
Reply #3 on:
September 24, 2012, 02:53:33 PM »
Thanks for sharing the advice; and perfect timing, been meaning to look at improving data retention/destruction provisions, this should be a great foundation.
With regard to destroying data once report is in client possession, how do you handle client's losing/forgetting the report and then claiming you didn't fulfil contract if you can't provide deliverables down the line? It's the biggest argument I've encountered against destruction of data. I'm assuming project sign-off etc, but curious to know if there are other options I've not thought of.
And I'll apologise now, but I will be stealing
Resume Generation Event
for future use
«
Last Edit: September 24, 2012, 02:55:12 PM by Andrew Waite
»
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
tturner
Sr. Member
Offline
Posts: 432
Re: Avoiding Pentest DOOM
«
Reply #4 on:
September 24, 2012, 03:14:37 PM »
Quote from: Andrew Waite on September 24, 2012, 02:53:33 PM
With regard to destroying data once report is in client possession, how do you handle client's losing/forgetting the report and then claiming you didn't fulfil contract if you can't provide deliverables down the line? It's the biggest argument I've encountered against destruction of data. I'm assuming project sign-off etc, but curious to know if there are other options I've not thought of.
And I'll apologise now, but I will be stealing
Resume Generation Event
for future use
Yep Andrew, like anything else requirements may vary from engagement to engagement. Some customers will want you to retain data for a year, others may require that it never leaves the customer site, all testing done from corp owned machines and pay more to allow you to write the report onsite and providing a machine to do so.
As for the RGE line, I think that came from a DR class I took several years ago when I worked in state govt. I've used it ever since.
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
m0wgli
Full Member
Offline
Posts: 248
Re: Avoiding Pentest DOOM
«
Reply #5 on:
September 24, 2012, 03:29:02 PM »
Interesting read, thanks.
With regards to report retention (subject to client requirements), I found the following advice from Andrew Waite useful:
Quote
From experience it can also be wise to hash and document any reports provided to clients, I've once been asked from senior management to justify a finding/recommendation that had been edited by an IT ream to support their business-political viewpoint.
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,9048.msg50675/#msg50675
Although this would be mitigated by the advice already mentioned, I feel it's worth mentioning for those that may not know. When using a VM any files moved between the guest and host are stored in a temporary location on the host that doesn't clean up after itself:
http://pauldotcom.com/2012/08/penetration-testers-beware-vmw.html
«
Last Edit: September 24, 2012, 04:57:24 PM by m0wgli
»
Logged
Security + | OSWP | eCPPT | CSTA
hayabusa
Hero Member
Offline
Posts: 1632
Re: Avoiding Pentest DOOM
«
Reply #6 on:
September 24, 2012, 04:10:33 PM »
Danged session timeouts... yet another longer post lost... (Retyped in wordpad, and transferred in)
@Andrew -it's signed off on by the highest level management at the customer, who is responsible for the contract negotiation, and ultimately, the pentest. (Preferably the CEO / CIO, but if it's work being contracted below their level, then the highest level manager in the chain.
@tturner - I agree with you. If a client explicitly requires I keep a copy of their data, so be it. I'm not in the business of turning down business, over something like this. I just strongly emphasize that my preference is to NOT retain ANY data.
I DO have reasons for being so adamant with my clients about this issue. While I've NEVER had it come to a head over a pentest, or professional client data, of my own, I HAVE personally been involved with law enforcement cases, where the simple possession of digital / printed information, even remotely related to a case, was enough that law enforcement pointed fingers at an innocent party. (Credit card fraud, child pornography case)
When I say possession of, I refer to, very literally, the sheer owership of a computer, and the fact that it COULD have been used to perpetrate a crime, with NO pre-existing evidence that it had. Because the crime was IT-related, and the innocent party's name was even remotely involved (their credit card had been stolen, and used to open a child pornography site), I witnessed law enforcement confiscate EVERY piece of electronic equipment and media (including those that could NOT hold evidence), from them. The innocent party was left to prove their own innocence, because law enforcement very literally had no clue what they were doing, in said investigation. I watched the involved parties get dragged through the mud. Even when I was brought into the investigation, by the authorities, in order to help them gather information, when I proved the party wasn't involved, they continued to hold the materials until their 'investigation' concluded. Said investigation caused the innocent party's property to be held for almost 3 months, even when I showed, without a shadow of a doubt, that they could have had no involvement, by the end of day 3. (I literally handed law enforcement the IP addresses and names of the real perpetrator, from ISP records, research, etc, and was later told that jurisdiction on the case, from that point on, took any and all visibility away, as to whether they arrested the real offender. From what I have later learned from others in the law enforcement community, this isn't as uncommon as you'd hope.)
The point to my story is this... While not all law enforcement are as anally remiss about how to investigate IT-related crimes, the less responsibility I or my company maintain, and the more that is LEGALLY left in the customer's possession / rsponsibility, the easier it is to defend, in the event of any issues. That's not to say we STILL won't ever end up having to deal with a similar situation, nor that we absolutely won't hold data from a pentest, but it minimizes the chances of future headache, greatly, when all I's have been dotted and T's crossed, in a legally binding document.
«
Last Edit: September 24, 2012, 04:12:43 PM by hayabusa
»
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
tturner
Sr. Member
Offline
Posts: 432
Re: Avoiding Pentest DOOM
«
Reply #7 on:
September 24, 2012, 04:21:42 PM »
Quote from: m0wgli on September 24, 2012, 03:29:02 PM
Although this would be mitigated by the advice already mentioned, I feel it's worth mentioning for those that may not know. When using a VM any files moved between the guest and host are stored in a temporary location on the host that doesn't clean up after itself:
http://pauldotcom.com/2012/08/penetration-testers-beware-vmw.html
That's pretty awesome m0wgli, thanks for the share. Definitely something that needs to be considered. I'll have to check out my own machine when I get to the office.
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
hayabusa
Hero Member
Offline
Posts: 1632
Re: Avoiding Pentest DOOM
«
Reply #8 on:
September 24, 2012, 04:24:03 PM »
PS - also to tturner's point, he mentioned being able to go back and review packet captures, etc., and I completely agree. In all cases where I am handing over "ALL" data to the customer, said data includes encrypted storage, containing ALL captures, etc, which were taken / utilized in the test.
&@m0wgli - agreed with tturner on the great link. Good share!
«
Last Edit: September 24, 2012, 04:42:12 PM by hayabusa
»
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
hayabusa
Hero Member
Offline
Posts: 1632
Re: Avoiding Pentest DOOM
«
Reply #9 on:
September 24, 2012, 04:47:22 PM »
Also, while on the topic of information handling, tturner should've also posted (or did you, previously in another thread and I missed it COMPLETELY) a link to the following:
http://sentinel24.com/blog/?p=134
Titled "Bad Pentest Reports Part 1"
For those who are up-and-coming, this is a good one to pay attention to.
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
tturner
Sr. Member
Offline
Posts: 432
Re: Avoiding Pentest DOOM
«
Reply #10 on:
September 24, 2012, 05:20:25 PM »
I sort of did at
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,9048.msg50370/#msg50370
Thanks for the repost though
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
hayabusa
Hero Member
Offline
Posts: 1632
Re: Avoiding Pentest DOOM
«
Reply #11 on:
September 24, 2012, 05:32:31 PM »
<grin> yep... Completely missed it...
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
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
Network Pen Testing
: Ruby on Rails Vulnerabilities/Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
Programming
: Finished Python Course in Codecademy now what?
(12) by
3xban
Network Pen Testing
: AIX Vulnerability Assessments
(1) by
3xban
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
Tutorials
: Need guidance
(8) by
r0ckm4n
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
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
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.