About Penetration Testing: Standards and Guides
Tags: nist, owasp, standards, guides
Published: 2019-07-05 14:03:00

---
title: About Penetration Testing: Standards and Guides
published: true
description: For what do you need standards and how classify vulnerabilities.
tags: nist, owasp, standards, guides
---

![Outsourcing]
(https://thepracticaldev.s3.amazonaws.com/i/ka3j5hgohajkbmqbie4s.jpg "About penetration testing: Guides & Standards")

<h2>What's this for?</h2>
Everybody knows that penetration testing process is some kind of "art". It requires knowledge of wide variety of technologies, OS etc, understanding of how things works. In addition, you should be attentive to details and have a rich imagination of how any weaknesses can be used, be it a system or a human.

Pentesters are unique persons with their own style of work, but in enterprise world and even if take into account commercial basics - we should follow some kind of standards to be sure that scope of works will be covered in full, we need somehow classify vulnerabilities - yes, here comes commonly used standards, guides and classifications.

Furthermore sometimes customers may even ask you about your plans and skills and you'll need to describe the process of work (penetration testing).

<h2>Popular standards and guides in penetration testing</h2>
The most popular standards comes to mind are:
* <a href="https://www.owasp.org/index.php/OWASP_Testing_Guide_v4_Table_of_Contents" target=_blank>OWASP Testing Guide</a> - popular standard and guide for web application security testing, which covers lots of security checks against web application and it's logic.
* <a href="https://www.owasp.org/index.php/OWASP_Mobile_Security_Testing_Guide" target=_blank>OWASP Mobile Testing Guide</a> - is a comprehensive manual for mobile app security testing and reverse engineering for iOS and Android mobile security testers which covers everything from deployment of testing environment to tools and techniques which can be used during security tests execution.
* <a href="http://projects.webappsec.org/f/WASC-TC-v2_0.pdf" target=_blank>WASC</a> - Old and extended guidance for web application security testing. WASC includes huge amount of security checks which security specialist can execute against web application. Officially it sounds like: "The WASC Threat Classification is a cooperative effort to clarify and organize the
threats to the security of a web site."
* <a href="https://csrc.nist.gov/publications/detail/sp/800-115/final" target=_blank>NIST 800-115</a> - Very popular commonly used standard (including GOV) for network and infrastructure security evaluation.
* Penetration Testing Framework - easy step by step guide on how to execute <a href="https://dev.to/sm0k3/about-penetration-testing-143l" target=_blank>penetration testing</a> (like from zero to hero).

<h2>Why should we use those guides</h2>
In the first place, the use of such guides helps to perform pentesting not only correctly, but also guarantees a certain minimum of checks that will be done by following the instructions from for example OWASP Testing Guide or NIST. All those standards are based on previously made mistakes and previous experience as well as on current and past statistics and best practices.

Let's highlight some key points:
 1. Understanding of how pentest goes not only from the perspective of the performer but also from potential customer perspective (less questions to us).
 2. We must do things right, from first steps. Thus we can rely on standards which are commonly recognized.
 3. We must have some kind of basic minimum of checks performed, you won’t keep everything in your head and here again standards help us. Everything beyond - will be based on your imagination and experience.
 4. All compliance checks are based on such standards.
 5. If you don't know something - you always can refer to standards. Especially this is very useful when you just beginning your way in cyber security or you for example need to request penetration testing but don't know what questions to ask and how to create scope of works, how understand if specialists from hired company execute checks properly.

<h2>Vulnerabilities classification and proper risk assessment</h2>
Vulnerabilities can also be classified with help of standards and classifications. Let's take a look at some popular classifications:

 * <a href="https://www.owasp.org/index.php/Top_10-2017_Top_10" target=_blank>OWASP TOP10</a> - used for web applications.
 * <a href="https://www.owasp.org/index.php/Mobile_Top_10_2016-Top_10" target=_blank>OWASP TOP10 Mobile</a> - used for mobile applications.
 * <a href="https://www.first.org/cvss/" target=_blank>CVSS</a> - The Common Vulnerability Scoring System can be used for everything else.

When you need to create report and describe vulnerabilities, explain technical owner that this or that vulnerability is critical, how can you do this ?

All identified vulnerabilities (or security misconfigurations) should be somehow classified with such parameters like:
 * Severity
 * Likelihood
 * Impact (business) level

Based on results obtained from your scans and/or manual research you can correlate them later with information from OWASP or CVSS and assign specific level (i.e.: low, medium, high) of criticality for each vulnerability.