Understanding the Penetration Test Report

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Difficulty
Intermediate
Video Transcription
00:00
Welcome to module to setting the foundation for success
00:04
less than one Understanding the penetration test report
00:08
are. Learning objectives are to understand the components of the penetration test report, as well as hacking the penetration test report for relevant information.
00:17
You'll see books guides, all kinds of things describing what makes a good pen test report.
00:24
At the very core we have, we have three different sections. One is an executive summary.
00:29
So high level summary for executives describing what you found. So the totality of what you found, how severe it is as well as, you know, can I fix this? And if I'm an executive, I want to know, you know, what did you find? How bad is it and how do I fix it?
00:47
And in a very non technical way. So as as best as you can describe what you found in a without using any kind of technical jargon. Um just a general description goes a very long way as well as including things like graphs and charts that that really helps um
01:04
display exactly what you found and how severe it might be.
01:08
Methodologies are important information gathering at the end of O S T P. You don't want to realize that you didn't scan for every port and you didn't discover every service
01:19
are scanning and enumeration portion of our pen test is very, very, very critical
01:23
and it's important to include what you found in your penetration test report. You know, maybe port 22 is open and they didn't want port 22 to be open. Um so that's important to tell your customer attack path
01:38
as far as what vulnerability exploited. You know, this is a very important information of course you're basically going through your attack path
01:45
of how you exploit the vulnerability and got a shell um on on a vulnerable machine. So if you can describe what that vulnerability is, if there's a CBE attached to that, that's great. You may find exploit code and something like exploit dB google is your best friend here. Um as well as maybe you file you found something a vulnerability in a custom piece of software
02:07
in offensive security uh in their sample report. They have both they have both a C V E and something found in a custom piece of application. So there's a specific Cbe of course you can use that information from from your google searches and then for custom applications you may want to use something like a C. W E,
02:27
which is more of a broad category. So a CV might be
02:30
um a sequel injection and a wordpress plug in. Whereas um a C W E is just generally what a sequel injection is.
02:40
So you want to explain what the vulnerability is as well as how to fix it. If there's a C. D. E, you can be confident that the vendor has issued a patch or guidance on how to fix that.
02:52
C W s are great too because they you know, it's a sequel injection but they'll provide some on the sea on the miter website for CWS. They'll provide some general guidance on how to fix sequel injections.
03:07
I know this meme is used a lot but I don't think you have too many screenshots. That's not to say you should include all of them in your OS CPI report. The worst thing again is that is to have your O. S. E. P lab end and you can no longer take screenshots and then you realize that you didn't take enough.
03:23
So when I include screenshots, screenshots in my report, I will typically have a caption below and explain why I'm including that screenshot to show why it's relevant and why I'm including it in my pen test report.
03:36
There was an appendix back in the 2013 version of the P W K report on the off off sec website. Um I'm glad they took that out because it didn't really follow a logical flow. Now it really does. You know, you have your executive summary and then it kind of goes through each host and explains
03:53
what vulnerability was found, how severe it is and then your path of exploitation
03:58
and it lays that out for each different host rather than having different sections broken out for these are all my recommendations. These are all my attack paths. I don't think that was very clear. So I'm glad that the new version uh kind of breaks things out by by specific host
04:15
couple bonuses here.
04:16
If you already exploited those 10 different hosts in in the P. W. K. Lab, you've already had the experience of writing this and you know, you can take those the good and the bad that you found writing though that report
04:30
uh in the OS CPI report when you write it. So you already have some background of, you know, what worked for you and what didn't, if you finish up the osc p early? If you're one of the lucky for you to do that, um make sure you go through your attacks steps and and clearly document that in your report. So
04:48
my third oh SCP attempt, I had plenty of time. So while I was writing my report, I was going through my tax steps within the lab environment. That was very helpful. Um Also if you go to the offensive security forums, they already have a write up for two of their machines, Alpha and Beta.
05:09
I would look through those and see how they're written because of course the people scoring your exam
05:14
are the people that wrote those up so see how they themselves wrote up their pen test reports, so to speak.
05:23
Don't reinvent the wheel. You already have an exam, a sample report available to you on the offensive security website. I've seen other people come out with their own custom reports and things of that nature. I've used the Offensive security report not only for the O. S. C. P.
05:36
But for some other L. Learned tests and I found to be very useful. Um and I was successful in those exams. So
05:44
I really do like the offensive security report on their website.
05:49
Also if there's already a CV out there, google is your best friend. As I've said before, you know, research that C. V. E. Try to find um you know, fixes for clear explanations of what it is and if it's a custom piece of application again,
06:04
you can go back to CWS. Capek is kind of like more broad categories like CWS,
06:11
but they have great descriptions of vulnerabilities, you know, cross site scripting whatever it might be. Um and general fixes on on how to fix those types of vulnerabilities, severity is also a big one. If I could go back and change the severity in my report, I would because now that I'm, you know, in this, in this realm, I I didn't think, I don't think I escort my severity correctly and I think that's very important, especially for customers, customers are gonna want to know
06:35
if it is a is a critical vulnerability. They need to fix it immediately rather than maybe it's a low and then they have more time to fix that and they can focus on more of the severe vulnerabilities. So a lot of Cbs already have a severity assigned to them. But if not, if, if it's more of a general or custom piece of software,
06:54
you can use CVS s to score that and we'll show that in the demo.
06:59
If you didn't get the local or proof file, I've seen people go back and forth on this. Should I include information, my report? I don't think it hurts to include this information. You know, if you don't include it, you're definitely not going to get extra points. If you do include it, maybe, you know, maybe they will give you extra points. But
07:15
if I was a customer, I'd want to see that, you know, I'm paying for equality pen test.
07:19
Um, and even if, you know, even though the pen tester wasn't able to exploit something, maybe there's something that's concerning that I should know about. I I still want that included in the report.
07:30
So don't forget these things. The local improve files must show the I. P. Address. So you want to do I. P. Configure I. P. A. R. I. F. Config depending on what type of machine you have. You know you want to make sure you have both of those in your screenshots. Don't forget that because you know you'll lose points. Um
07:51
You want to submit your proof files in the control panel. You wanna make sure you do that accurately. You want to make sure that your accurately submitting the correct
07:59
hash for the correct machine and the correct file.
08:03
Follow the submission instructions very carefully. If you mix up hashes or you don't do something correctly, you could lose all your points for that machine even though you you got root on it.
08:13
So once you submit your lab report you can't go back and submit it again. I tried this, I wrote the report, realized I should have included more and then resubmitted it and they said no we're only taking your first report
08:28
so you can get
08:28
all the proofs you can you know hack every single machine
08:33
but you could fail because you wrote a bad report. So the report is equally as important as compromising as many machines as you can. So you know, pay attention to writing your lab report for the exam.
08:48
So here's the quiz question. What screenshots must you uh must report include original code and then modified code. Local. Improved files with hash and I. P. Address or obtaining a shell in the box.
09:01
Yeah.
09:01
Yeah.
09:03
So the correct answer is local and proof files with hash and I. P. Address.
09:09
In summary, we learned how to understand the components of the penetration test report, as well as how to hack the penetration test report itself
09:18
for relevant information on what we need to include when we write our report for the escape.
Up Next
Penetration Test Report Demo
Note Taking and Mind Mapping
Finding Resources to Prepare for the Offensive Penetration Testing
Setting up the Kali Linux VM
Overview of Tools in Kali Linux