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 and 5 members online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
pen test documentation
EH-Net
May 21, 2013, 09:35:46 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
) >
pen test documentation
Pages: [
1
]
2
3
Go Down
« previous
next »
Print
Author
Topic: pen test documentation (Read 11748 times)
0 Members and 1 Guest are viewing this topic.
LT72884
Jr. Member
Offline
Posts: 95
pen test documentation
«
on:
August 01, 2012, 09:36:50 PM »
when documenting your findings for a pen test, is it a good idea to briefly explain what the tool is doing and the basics of how it works? For example should i state why nmap found what it found and how it does that? Here is a small excerpt from my documentation as i scan the de-ice disk.
-----------------
Output and displays of various mapping tools used against targets 192.168.1.100 and 1.110:
First tool used is ping:
root@bt:~# ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
^C
--- 192.168.1.100 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7026ms
root@bt:~# ping 192.168.1.110
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
^C
--- 192.168.1.100 ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 7084ms
As you can see, no targets were identified. Either they are un-responsive to ICMP requests or they are physically down. I assume the first. For more information on ICMP, please refer to the man pages.
Next i will use a series of namp switches to see what information i can pull from the target. Nmap by default(nmap x.x.x.x) will create a tcp connection to open ports and establish the 3 way handshake which is very detectable by firewalls and IDS's. Imagine your a firewall, and all of a sudden, 8 ports on your machine just had a complete tcp connection on them. wouldnt you be suspicious? hmm? Thats where stealth scans come in. more on this later:
root@bt:~# nmap 192.168.1.100 (nmap -sT 192.168.1.100 does the exact same method)
Starting Nmap 5.61TEST4 (
http://nmap.org
) at 2012-08-01 17:57 EDT
Nmap scan report for 192.168.1.100
Host is up (0.00027s latency).
Not shown: 992 filtered ports
PORT STATE SERVICE
20/tcp closed ftp-data
21/tcp open ftp
22/tcp open ssh
25/tcp closed smtp
80/tcp open http
110/tcp open pop3
143/tcp open imap
443/tcp closed https
MAC Address: 00:0C:29:9A:56:D7 (VMware)
Nmap done: 1 IP address (1 host up) scanned in 17.73 seconds
As you can see, the target has 6 or so ports open. Why is this important you say? Well, think of it this way, you just made a CONNECTION using tcp to an oen port... What happens if you know a username and a possible passwod???
Using the ping sweep switch -sP will send a ICMP packet and a TCP syn packet to the system as well since most targets are set up to drop ICMP:
Thats just my documentation of the hands on portion. i will be suing this info for a final report. Am i supposed to explain what the commands are doing and why in the final report?
thanks guys so much for the last few weeks of help and answers.
Logged
ZeroOne
Jr. Member
Offline
Posts: 59
Re: pen test documentation
«
Reply #1 on:
August 01, 2012, 09:52:43 PM »
refer
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,5456.msg28488/topicseen,1/
also
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,4295.0/
«
Last Edit: August 01, 2012, 09:54:21 PM by ZeroOne
»
Logged
LT72884
Jr. Member
Offline
Posts: 95
Re: pen test documentation
«
Reply #2 on:
August 01, 2012, 11:18:00 PM »
Quote from: ZeroOne on August 01, 2012, 09:52:43 PM
refer
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,5456.msg28488/topicseen,1/
also
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,4295.0/
first one has a dead link in it and it looked like a good read. haha. I have read the other ones before but i did not find what i was looking for. I know the format using APA and what not. im just wondering if im supposed to explain what i did as if i was talking to a begineer in the networking world.
ill read the second links agan and see if i an find some more info.
thanks
Matt
Logged
cd1zz
Hero Member
Offline
Posts: 561
Re: pen test documentation
«
Reply #3 on:
August 02, 2012, 09:14:41 AM »
If this is for a corporate pen test then no, you don't have to walk through using NMAP. They're not paying you for a tutorial on nmap. They want to know where their risk is by way of exploitation and gaining access to sensitive information etc.
There should be something in your report in regards to scanning/discovery/enumeration but simply listing the targets and ports will suffice. However, when you get to the exploitation part of the report, you should walk through your steps. This may be a chained set of attacks that got you domain admin or got you access to their databases etc... Remember, the client is paying you for that part of the report, not a list of hosts and open ports. You're supposed to be the expert in exploitation, not them.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
ajohnson
Recruiters
Hero Member
Online
Posts: 1057
aka dynamik
Re: pen test documentation
«
Reply #4 on:
August 02, 2012, 10:08:20 AM »
I'll tailor my reports to the client. Just in the last few weeks, my tests have ranged from networks consisting of a couple VLANs to 135. The technical knowledge of my contacts will obviously range significantly as well.
If I feel that a lot of the concepts are foreign to them, I'll mention the tool I used and add a couple sentences on how it generally works. I'm not going to write paragraphs on how something like nmap works though. Like cd1zz said, that's not the point of the engagement. I want to make sure they're able to understand and adequately follow along with how the attack progressed, but I'm not providing training documentation. I'll gladly take follow-up calls/emails if something isn't clear, but it's not worthwhile or feasible to put in that level of detail up-front.
On the other hand, sometimes my contact will check-in halfway through the engagement, and when he finds that I was able to exploit some obscure service, he gets excited and says he's going to go try it himself. I don't do any hand-holding on those reports. I'm not going to waste my time adding unnecessary information, and I'm not going to waste his time by having him read it. I'll just cut to the chase on those.
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
cd1zz
Hero Member
Offline
Posts: 561
Re: pen test documentation
«
Reply #5 on:
August 02, 2012, 10:15:00 AM »
I agree. In my experience, the ability to "tell the story" of total domination often helps the client understand why a medium vuln should be taken seriously for example. Totally depends on the situation but that works for me.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
LT72884
Jr. Member
Offline
Posts: 95
Re: pen test documentation
«
Reply #6 on:
August 02, 2012, 11:45:22 AM »
PERFECT. ok thats what i was thinking. The above was originally going to be from my hands on exp portion as i follow along the movie for my actual pen test.
But after reading my notes, i felt like it was a tutorial rather than an actual document.
I have actually never written a technical report for anything haha so this will be new to me.
However, i can use part of the notes i ahve for the final report i bet.
thansk guys
Logged
Jamie.R
Sr. Member
Offline
Posts: 429
Re: pen test documentation
«
Reply #7 on:
August 06, 2012, 10:12:32 AM »
Hmm in all the pen test I have done I have never explained how the tools works I dont see that as part of the job. I am there to identify an issue and advise them on that issue not to teach them how to use the tools.
I think doing so could lead to problems where client will say oh I get how they done that I dont need to pay x amount for a pentest I can do it myself.
If they trying to recreate the issue they can call me and I can help.
Logged
OSWP | Hackingdojo Nidan | eCPPT
LT72884
Jr. Member
Offline
Posts: 95
Re: pen test documentation
«
Reply #8 on:
August 06, 2012, 04:46:50 PM »
yeah i didnt think about that part. haha. yeah i have decideto use hose as my notes for research and then actually write a completly different report for the pen test. i figure in order for me to learn, i must document how the tools work for my sake and then perform te test and document the findings in a real report.
thanks
Logged
3xban
Hero Member
Offline
Posts: 608
Re: pen test documentation
«
Reply #9 on:
August 06, 2012, 08:20:27 PM »
You will want to start off the report with an executive summary. Don't go too flashy. It should cover a brief overview of the scope and objective of the test, the summary of the vulnerable systems using like a heat map or something. Again, nothing too detailed. Then the outcome of the test. What were you able to do. Then you can move to the details as to how you accomplished the goals. The CIO types will want to be able to read the first 2-3 pages and understand how at risk they are. The technical guys like myself, will want to know how you did it and how we prevent it from happening again.
Logged
Certs: GCWN
(@)Dewser
Jamie.R
Sr. Member
Offline
Posts: 429
Re: pen test documentation
«
Reply #10 on:
August 07, 2012, 03:23:16 AM »
ok on this subject I had idea for kinder security tool just wanted to get some feedback.
I was thinking of making an open source report enging for the security community of course people can get involved with it.
The plan is to have a reporting engine where professional can make entry for everyone to use this would be great for OSCP and other course where you need to write reports but also small pen testing companies that are currently using word.
The idea is to try and get a good standard so reprots looks professional.
What do people think is it good idea ? or do you see problems ? what technology would you use ?
Logged
OSWP | Hackingdojo Nidan | eCPPT
LT72884
Jr. Member
Offline
Posts: 95
Re: pen test documentation
«
Reply #11 on:
August 07, 2012, 11:25:58 AM »
Thanks for the info on the executive summery. My problem is i am a very detailed write so flashy is my type. Now to learn how not to be flashy in the right moments.
@jamie.
That would be awesome. I have downloaded so many pdf's on how to write a technical report, it aint funny. haha. It seems that apa style is the norm.
you could have a wiki page or google docs that only certain people can edit.
for standard sakes i think apa is great. but my biggest concern i have seen is un-organized screen shots of attacks and command line stuff.
In my mechanical engineering class, we were taught "that in order to make your ceo happy, show lots of organized pictures. big bosses in business love pictures. they are pretty and fun to look at. Makes you feel special" so i think there should be a standard of how a body of pictures should be placed in the report AND easy to understand. IE proper names of x and y axis on graphs. I have seen some pen test reports where the x axis was the percentage but the y axis was just numbers from 0 - 20 with no title so people had no idea what the 75% at 11 ment. Was it that 11 of the scans showed 75% high risk or was it that it found 11 high risk cases and that that made up 75% of the total?
The hardest part, every professional out there including you and i, think we are the best at writing a report. So colaberating and effectivly communicating our ideas without stepping on toes, thats the hard part... oh and my spelling sux. haha
Logged
tturner
Sr. Member
Offline
Posts: 432
Re: pen test documentation
«
Reply #12 on:
August 07, 2012, 01:04:42 PM »
Quote from: 3xban on August 06, 2012, 08:20:27 PM
You will want to start off the report with an executive summary. Don't go too flashy. It should cover a brief overview of the scope and objective of the test, the summary of the vulnerable systems using like a heat map or something. Again, nothing too detailed. Then the outcome of the test. What were you able to do. Then you can move to the details as to how you accomplished the goals. The CIO types will want to be able to read the first 2-3 pages and understand how at risk they are. The technical guys like myself, will want to know how you did it and how we prevent it from happening again.
I will agree with this but the executive summary is the LAST part you write, even if it comes first. In a recent report writing course I took at BsidesLV with Mike Murray and Josh Sokoly it was recommended to make things a bit more granular with CEO executive summary on page 1, page 2 and 3 targeted at Technology executives like CIO and CISO, then technical mgmt and lastly the IT Ops guys actually fixing things. They actually suggested those heat maps on page 2-3. They also suggested keeping the report as short as possible and expending a lot of effort in reducing the word count. Much of the data we find in reports like scans, and tool output really belongs in an appendix or possibly an archive attachment external to the report.
Avoid technical terms on that first page and try to address things like meta-issues over specific vulnerabilities. ("There does not appear to be a standard process for updating system files" vs 5 pages of "server x was missing patch ms08-067") Also try to identify impacts a CEO might care about like shareholder value, SEC reportable findings, findings that might carry compliance fines, brand damage, etc.
Also on the topic of using templates for this, I've created Infopath forms for my own report needs for common findings and recommendations but you need to be really careful here because it's easy to get lazy. Make sure you take the time to document the specifics around the finding and determine if your canned recommendation makes sense within the context of the system environment in question. For instance, I might recommend AV on a Linux box that hosts a Samba share for Windows clients, but not on another Linux server that has iptables configured in such a way that only other Linux servers are communicating, has no access to internet or any other client facing technologies.
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
LT72884
Jr. Member
Offline
Posts: 95
Re: pen test documentation
«
Reply #13 on:
August 07, 2012, 01:39:47 PM »
that four letter word LAZY is the death of a lot of things in the business/work field. I am very guilty of this at times. I struggle with not getting bord. I have to be active all the time. i can focus like mad but i get stuff done and if it bores me, then i dont want to do it. hhaha.
awesome info above. thanks for htat
Logged
Jamie.R
Sr. Member
Offline
Posts: 429
Re: pen test documentation
«
Reply #14 on:
August 07, 2012, 02:51:39 PM »
The structure I tened to follow is this:
Exec summary - Bit bout the job, bighest issue found, Fixes for biggest issue and conclusion
Scope of work - What was covered and not covered
Issue found - Title, Description, Port number,Ip address, and Impact
Issue impact - What could this cause if exploited
Issue Recommendation - How to fix it with maybe useful links to OWASP
FInal conclusion - Explain how to fix all the issue and a time frame when they should be done.
all my reprots pretty much following this method be only happy to help more if you need it...
Logged
OSWP | Hackingdojo Nidan | eCPPT
Pages: [
1
]
2
3
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
Programming
: Finished Python Course in Codecademy now what?
(14) by
3xban
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
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.