Book Image

Practical Web Penetration Testing

By : Gus Khawaja
Book Image

Practical Web Penetration Testing

By: Gus Khawaja

Overview of this book

Companies all over the world want to hire professionals dedicated to application security. Practical Web Penetration Testing focuses on this very trend, teaching you how to conduct application security testing using real-life scenarios. To start with, you’ll set up an environment to perform web application penetration testing. You will then explore different penetration testing concepts such as threat modeling, intrusion test, infrastructure security threat, and more, in combination with advanced concepts such as Python scripting for automation. Once you are done learning the basics, you will discover end-to-end implementation of tools such as Metasploit, Burp Suite, and Kali Linux. Many companies deliver projects into production by using either Agile or Waterfall methodology. This book shows you how to assist any company with their SDLC approach and helps you on your journey to becoming an application security specialist. By the end of this book, you will have hands-on knowledge of using different tools for penetration testing.
Table of Contents (18 chapters)
13
Metasploit Cheat Sheet

Common web page checklist

This is at the heart of the checklist for web intrusion testing. As mentioned in the preceding workflow, you will need to apply this checklist to every page, regardless of its nature. Let's dive in:

  1. Identify the entry points to the web page (which lead to the backend; remember that we will use the entry points in the next steps), including:
    • URLs
    • Headers (for example, cookie, URL referrer, and so on)
    • HTML controls (drop-down list, radio button, hidden input, textbox, and so on)
  2. Check all of the backend or third-party web services and web APIs called using Burp Target.
  3. Force the URL into HTTP mode, and see if it works, or if it stays in HTTPS.
  4. Try to make the page generate an error; in another words, do error messages reveal clues to hackers?
  5. Test for logic flaws (for example, purchasing an item with zero dollars, or applying a randomly generated...