<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Methodology on Edbro.net - A Cybersecurity Blog</title>
    <link>https://edbro.net/tags/methodology/</link>
    <description>Recent content in Methodology on Edbro.net - A Cybersecurity Blog</description>
    <image>
      <title>Edbro.net - A Cybersecurity Blog</title>
      <url>https://edbro.net/images/edbro</url>
      <link>https://edbro.net/images/edbro</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 07 Dec 2024 07:25:55 +0100</lastBuildDate>
    <atom:link href="https://edbro.net/tags/methodology/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Kinds of Penetrationtesting</title>
      <link>https://edbro.net/posts/kinds-of-penetrationtesting/</link>
      <pubDate>Sat, 07 Dec 2024 07:25:55 +0100</pubDate>
      <guid>https://edbro.net/posts/kinds-of-penetrationtesting/</guid>
      <description>&lt;p&gt;As a penetration tester, you will inevitably find yourself involved in scoping engagements, navigating the challenges of aligning a client’s needs with their expectations. “Penetration testing” is a term that almost everyone believes they understand, yet it often carries vastly different interpretations. This ambiguity makes it more of an umbrella term, offering little insight into how the test will actually be executed or what it will cover. In this post, I’ll share my perspective on one approach to differentiating how penetration tests can be executed, helping both testers and clients clarify their expectations.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>As a penetration tester, you will inevitably find yourself involved in scoping engagements, navigating the challenges of aligning a client’s needs with their expectations. “Penetration testing” is a term that almost everyone believes they understand, yet it often carries vastly different interpretations. This ambiguity makes it more of an umbrella term, offering little insight into how the test will actually be executed or what it will cover. In this post, I’ll share my perspective on one approach to differentiating how penetration tests can be executed, helping both testers and clients clarify their expectations.</p>
<p>When discussing penetration testing, it’s helpful to break down the ways a test can be executed into distinct approaches. This is just one of many ways to clarify expectations and align the scope of a test with the goals of both the tester and the client. In this post, I’ll focus on three key areas, each of which requires a different set of skills and expertise:</p>
<ol>
<li><strong>Compliance testing</strong> involves executing a predetermined list of test cases to ensure the system adheres to specific standards or regulatory requirements. This type of testing benefits from familiarity with the relevant compliance frameworks and the ability to systematically assess against defined criteria.</li>
<li><strong>Configuration weaknesses and known vulnerabilities</strong> focuses on identifying and exploiting known vulnerabilities and misconfigurations within the system’s components, leveraging established methods to evaluate the system’s current posture. Expertise in vulnerability databases, common misconfigurations, and practical exploitation techniques is critical here.</li>
<li>In <strong>vulnerability research</strong> the goal is to discover zero-day vulnerabilities—previously unknown flaws within the system—through deeper analysis. This requires advanced skills in reverse engineering, protocol analysis, and often a creative mindset to uncover new attack vectors.</li>
</ol>
<p>Each of these approaches offers valuable insights, but understanding their differences is essential for setting clear expectations and aligning the test to the organization’s needs.</p>
<h3 id="compliance-testing">Compliance Testing</h3>
<p>Compliance testing is valued for its repeatability. By following a predetermined set of test cases, it ensures consistency across tests, making it easier to measure improvements over time and identify recurring issues. This makes it an excellent choice for organizations with strict standards or regulatory requirements.</p>
<p>However, the structured nature of compliance testing can also be a limitation. It lacks the exploratory element that allows testers to uncover novel or unexpected vulnerabilities, as it focuses strictly on predefined test cases. Despite this, compliance testing can be particularly useful in rapidly changing environments, as it ensures consistent coverage with every iteration.</p>
<p>Frameworks like <a href="https://www.pcisecuritystandards.org/standards/pci-dss/">PCI-DSS</a>, focused on securing payment card data, and <a href="https://owasp.org/www-project-application-security-verification-standard/">OWASP ASVS</a>, which sets security standards for web applications, provide clear guidelines for compliance testing. While this approach may not catch everything, it is essential for organizations to demonstrate adherence to industry standards, build trust, and maintain accountability.</p>
<h3 id="configuration-weaknesses-and-known-vulnerabilities">Configuration Weaknesses and Known Vulnerabilities</h3>
<p>This type of testing often covers a broad scope, such as an entire organization or a data center. Unlike compliance testing, it is typically black or gray box, focusing on what can be observed or accessed from a specified starting point. The goal is to identify and exploit known vulnerabilities or misconfigurations to see how far an attacker could progress towards a predetermined objective.</p>
<p>This approach is particularly valuable for assessing the organization’s current security posture against well-documented risks. Testers rely on vulnerability databases, exploit frameworks, and knowledge of common misconfigurations to simulate realistic attack scenarios. For example, they might exploit unpatched software, default credentials, or exposed services to gain deeper access into the environment.</p>
<p>The advantage of this method is its ability to uncover weaknesses that arise from day-to-day operations or overlooked configurations. However, it is not designed to find new, undiscovered vulnerabilities, as its focus remains on existing attack vectors. Organizations benefit from this type of testing by identifying practical areas for improvement, such as patch management, network segmentation, and access controls.</p>
<h3 id="vulnerability-research">Vulnerability Research</h3>
<p>Vulnerability research is typically narrower in scope, focusing on a single system, application, or specific component. Unlike other types of testing, its primary goal is to uncover unknown vulnerabilities—commonly referred to as zero-days—that have not yet been documented or exploited. This makes it one of the most resource-intensive approaches to penetration testing.</p>
<p>The process often involves deep analysis of the target system, including reverse engineering, protocol analysis, and code review. Testers employ creative problem-solving and advanced techniques to identify weaknesses that standard testing methods might miss. For example, they might analyze how an application processes input, searching for subtle errors that could lead to memory corruption or privilege escalation.</p>
<p>This type of testing is particularly important for vendors and organizations managing critical systems. For vendors, performing even basic vulnerability research during development helps identify and address zero-day vulnerabilities before release, reducing the risk of shipping insecure software. For critical systems or those likely to face targeted attacks, discovering even a single zero-day can have significant implications, making this approach invaluable in safeguarding users and maintaining trust.</p>
<h2 id="conclusion">Conclusion</h2>
<p>Penetration testing is not a one-size-fits-all process. Each of the approaches discussed—compliance testing, configuration weaknesses and known vulnerabilities, and vulnerability research—serves a unique purpose, addressing different aspects of an organization’s security. Compliance testing ensures consistency and alignment with standards, configuration testing identifies practical vulnerabilities within a broader scope, and vulnerability research uncovers critical zero-days within specific systems.</p>
<p>Choosing the right type of penetration test depends on your goals, resources, and the systems in scope. Equally important is finding the correct expertise for the job. Each approach requires specialized skills, from regulatory knowledge for compliance testing to deep technical expertise for vulnerability research. The success of a penetration test lies not only in the methodology but also in the proficiency of the testers conducting it.</p>
<p>By understanding the differences and value of each approach, organizations can better align their testing strategies with their needs, ultimately strengthening their overall security posture.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Handling Penetration Test Findings can be more than Vulnerabilities</title>
      <link>https://edbro.net/posts/handling-penetration-test-findings-can-be-more-than-vulnerabilities/</link>
      <pubDate>Sat, 19 Sep 2020 00:00:00 +0100</pubDate>
      <guid>https://edbro.net/posts/handling-penetration-test-findings-can-be-more-than-vulnerabilities/</guid>
      <description>&lt;p&gt;In my years of working as an application security (appsec) penetration tester I&amp;rsquo;ve come to the conclusion that there are so much more value to be added than pure technical vulnerabilities. To deliver the most value you have to be willing and able to walk the extra mile. Before getting into what can be done to increase the value, let&amp;rsquo;s dig into the two most common types of vulnerabilities.&lt;/p&gt;
&lt;h3 id=&#34;technical-vulnerabilities&#34;&gt;Technical Vulnerabilities&lt;/h3&gt;
&lt;p&gt;The technical vulnerabilities are the most common vulnerabilities we see. This is where the application is abused to do something it shouldn&amp;rsquo;t, for example by injecting code or abusing weak cryptography. Even though the vulnerability is technical, it is important for the reporter to describe how it will impact the business. Otherwise the receiving organisation might not have enough of an understanding to prioritise the issues, and handle them accordingly. Even though a code injection can be used to pivot to other machines, the main impact for the business can often be linked to the confidentiality, integrity and availability of the application. As a tester it can be hard to accept, but a dom based &lt;a href=&#34;https://owasp.org/www-community/attacks/xss/&#34;&gt;XSS&lt;/a&gt; might be an accepted risk if the only impact is defacing the sight by pasting code into the searchbox.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>In my years of working as an application security (appsec) penetration tester I&rsquo;ve come to the conclusion that there are so much more value to be added than pure technical vulnerabilities. To deliver the most value you have to be willing and able to walk the extra mile. Before getting into what can be done to increase the value, let&rsquo;s dig into the two most common types of vulnerabilities.</p>
<h3 id="technical-vulnerabilities">Technical Vulnerabilities</h3>
<p>The technical vulnerabilities are the most common vulnerabilities we see. This is where the application is abused to do something it shouldn&rsquo;t, for example by injecting code or abusing weak cryptography. Even though the vulnerability is technical, it is important for the reporter to describe how it will impact the business. Otherwise the receiving organisation might not have enough of an understanding to prioritise the issues, and handle them accordingly. Even though a code injection can be used to pivot to other machines, the main impact for the business can often be linked to the confidentiality, integrity and availability of the application. As a tester it can be hard to accept, but a dom based <a href="https://owasp.org/www-community/attacks/xss/">XSS</a> might be an accepted risk if the only impact is defacing the sight by pasting code into the searchbox.</p>
<h3 id="logical-vulnerabilities">Logical Vulnerabilities</h3>
<p>Logical vulnerabilities are closer connected to the business risks. Instead of abusing the technical capacities of the application, the attacker here abuses the logic of the application. The most common example would be to order -1 books from a webshop. Will that remove cost from the total? Since these logical vulnerabilities are coupled to the business logic, it is often easier to explain them to the business and therefore get them fixed.</p>
<p>There are exceptions however. I would like to split the Logical vulnerabilities into to categories:</p>
<ol>
<li>Abusing unintended behaviour</li>
<li>Abusing intended behaviour</li>
<li>Risks introduced by behaviour</li>
</ol>
<p>The previously described example for webshops is an example of an unintended behaviour. Abusing intended behaviours however is harder to pinpoint, and even harder to explain to the business. This is when a feature is used as intended, but has an unintended consequence. This would for example include a forgot password function sending the password to the users email. The feature works as intended, but it&rsquo;s still a security problem, or even multiple problems.</p>
<ol>
<li>Sending the password to the email is a low risk vulnerability, since email is an unsafe way to send information <a href="#references">[1]</a></li>
<li>The application sending the password to the user means that the password is stored either in clear text, or with reversible cryptography. This increases the risk that if the application gets hacked the passwords will be leaked, and due to password reuse this might mean that users are affected on other sites as well.</li>
</ol>
<p>The third category, risks introduced by behaviours are even more tricky. It could be functionality that is added, but introduces the risk. This can be the possibility to send a download link via text to a validated phonenumber. Spamming one self might not be a huge risk, but if each text message costs 1 cent for the sending company sending enough texts will have a financial impact. I would also argue that privacy of the user falls into this category, since it might impact the public relations of the company as well as adding value to the customers.</p>
<h2 id="the-extra-mile">the Extra Mile</h2>
<p>So with this knowledge, how can we as tester go the extra step to increase the value for our customers? I would argue that in addition to the usual findings that clearly can be exploited, it is our duty to inform the customers about their more subtle risks. By understanding their business as well as their application it is possible to find and report risks introduced by their behaviours. We should think outside the CIA (Confidentiality, Integrity, Availability) triad and think of other risks. With our expertise we have a good possibility to think about privacy and other business impact. It requires a bit more work, but in my experience it is often worth it. The testers experience with security, privacy, and thinking outside the box will often lead to some findings that give aha moments to the client, even if they are not traditional security risks.</p>
<h2 id="references">References</h2>
<ol>
<li><a href="https://en.wikipedia.org/wiki/Email#Privacy_concerns">https://en.wikipedia.org/wiki/Email#Privacy_concerns</a></li>
</ol>
]]></content:encoded>
    </item>
  </channel>
</rss>
