Burp Suite Tutorial – Get started with Burp Suite

Burp Suite TUtorial

Burp Suite is PortSwigger’s toolkit for web application security testing. To get started, install the free Community Edition, open Proxy > Intercept, click Open browser and browse your target. Burp captures every request so you can inspect, forward or modify it. Only test sites you are authorized to test.

Short version

  1. Download Burp Suite Community Edition from portswigger.net and start it with a temporary project.
  2. Go to Proxy > Intercept and click Open browser. This browser is already set up for Burp, no certificate needed.
  3. Browse the target. Turn Intercept on to hold requests, then Forward or Drop them. Review everything in Proxy > HTTP history.
  4. Add the target under Target > Scope so tools only touch what you are allowed to test.
  5. Right-click a request and choose Send to Repeater (Ctrl+R) to edit and resend it, or Send to Intruder (Ctrl+I) to automate it.

In this Burp Suite Tutorial you will learn everything you need to know to get started in Web Application Security Testing. Burp Suite is arguably one of the most popular tools when it comes to Penetration Testing, or specifically Web Application Testing. Grab a cup of coffee, you are in for a ride!

burp logo

Burp Suite

Burp Suite is a web application framework developed by Portswigger which is used by security professionals to perform penetration testing, check for security flaws and other red team operations. Burp Suite is a collection of multiple tools bundled into a single suite made for Web Application Security or Penetration testing. This Burp Suite tutorial will be the detailed guide to learn about it. I will be demonstrating how to configure and utilize most of Burp Suite’s features properly.

Burp Suite is a collection of multiple tools bundled into a single suite. One of the main features of Burp Suite is the HTTP proxy which sits between the browser and the internet (website) to forward traffic in either direction with the ability to decrypt and read the HTTPS traffic using its SSL certificate, just like a man-in-the-middle attack on ourselves. During the forwarding of traffic, it records, intercepts, replays, and analyzes it while allowing you to manipulate requests and responses from and to the web server.

burp proxy

Other than this, it can be extended with the third-party extensions where you can develop and integrate your own or other’s extension written in Java, Ruby, or Python to automate the testing and the attacks.

Burp Suite is a Java executable file which makes it supportable on all popular platforms. It comes in three editions from which you can choose from:

  1. Burp Suite DAST (the former Enterprise edition)
  2. Burp Suite Professional
  3. Burp Suite Community
burp editions

More details regarding the differences between the versions can be found on the PortSwigger website. The community edition also comes pre-installed with Kali Linux. It is free and includes the Proxy, Repeater, Decoder, Comparer and Sequencer. Intruder is a limited demo, and the automated Scanner, the crawler and project files are Professional features. I mark those sections below.

Note: This post was written in 2019, and the Burp interface has changed since then. The screenshots show the old layout, with a Spider tab and an Options sub-tab under Proxy. Today the settings live in one Settings dialog, the first tab is a Dashboard, and Burp ships its own browser. The steps and menu paths in the text are current.

The features and their usage In this Burp Suite tutorial I will be covering are the following:

  • Main interface
  • Configure Outbound SOCKS Proxy
  • Intercepting HTTP/S Traffic
  • Configuring Intercept
  • Configuring the Target Scope
  • Searching for a specific term
  • Using the Crawler (Professional)
  • Using the Repeater
  • Using the Intruder
  • Passive Scanning (Professional)
  • Active Scanning (Professional)
  • Utilizing Sequencer
  • Decoder
  • Comparer
  • Using the Third Party Extension
  • Exporting the Results (Professional)
  • Saving the Burp Session (Professional)

Main Interface

The main interface of Burp Suite which you will get right after starting the application is divided into several sections and panels to work with. The screenshot is the 2019 layout. Today the main window opens on the Dashboard, and the numbered areas below map to the tool tabs, the Target site map and the Issues pane:

burp interface
  1. Tool & Options Tabs - Select between the options and tools to perform different types of operations according to the situation.
  2. Sitemap View - Displays the sitemap which gets updated by visiting the websites manually or through spidering the websites using the Burp Proxy.
  3. Requests Queue - Shows the requests being made to the URLs present in the Sitemap View.
  4. Request/Response Details - The HTTP requests and responses can be read in detail as a result of this selecting the specific request from the Request Queue.
  5. Issues - The section to view the vulnerability and other application functionality issues regarding the website by selecting the specific website from the Sitemap view.
  6. Advisory - The section where the Issues are explained in detail how they affect, where they are affecting, their severity, and how to remediate them.

Configure Outbound SOCKS Proxy

Sometimes it is necessary, depending on the scope of your engagement, that you may need to tunnel your Burp Suite proxy traffic through an outbound SOCKS Proxy. It will ensure that all the traffic that passes to the target web application will go through a SOCKS proxy instead of your public IP.

For configuring it, you open Settings (top right or the Burp menu), go to Network > Connections, scroll to the SOCKS proxy section, switch on Use SOCKS proxy and enter the details of your SOCKS proxy there.

burpsocks

Intercepting HTTP/S Traffic

While using the Burp Suite as a proxy, we will need to configure the proxy to make it active and working or else, it will not log and show the URLs and data that is sent or received from the web server. In this Burp Suite tutorial, I will show multiple ways to configure the Burp Proxy in the browser. The easiest way is Burp’s built-in browser: open Proxy > Intercept and click Open browser. It is preconfigured and needs no setup. For your own browser, open Settings > Proxy and check the Proxy listeners section. By default Burp listens on 127.0.0.1 port 8080.

burp proxy

Once the proxy configuration is done in Burp Suite, then navigate to your browser and set the proxy configuration there so that the browsers will send the traffic copy to Burp Suite. Chrome and Edge use the operating system proxy settings, so changing them affects both.

In Chrome, open Settings, search for “proxy”, choose Open your computer’s proxy settings and enter the same proxy details you use in Burp Suite (127.0.0.1, port 8080). The Chrome screenshot below shows the old menu path.

burp chrome setting

Alternatively, a proxy switcher extension lets you set the proxy once and then toggle it with a single click. Proxy SwitchySharp, shown below, is no longer maintained. FoxyProxy is a current option for Chrome and Firefox.

switchy sharp

Now we come to the Firefox configuration part, Firefox doesn’t share its proxy with any other application and uses its configuration to use the Proxy. To configure the proxy settings in Firefox, you need to navigate to Settings > General > Network Settings > Settings and enter the same proxy details which you had entered in Burp Suite.

burp firefox settings

Alternatively, for Firefox, there is the FoxyProxy extension, where you set the proxy once and then switch between proxy and no proxy with a single click.

foxy proxy

Configuring Intercept

Now comes the proxy intercept feature configuring part of this Burp Suite tutorial. You will need to set and configure it to capture, pass, reject and manipulate the request going to or coming from the web server of the target site. To configure it, open Settings > Proxy and find Request interception rules and Response interception rules. Set the rules accordingly. The screenshot shows the older Proxy Options tab.

burp intercept

I leave them to the default as they are good to go on that. Meanwhile, the interceptor acts as the man in the middle and is operated from Proxy > Intercept. Use the Intercept is on/off toggle to hold requests, then click Forward to release them or Drop to discard them. Everything that passes through is logged in Proxy > HTTP history, even with interception off.

burp intercepter

Configuring the Target Scope

Now comes to the part of how Burp Suite will analyze the target application by examining its GETs and POST requests. Before starting any testing, it is recommended and a good practice to set the scope first. By placing a web application in the scope, Burp will only target that specific web application, and whenever you perform any operation against the scope, it will only target the web application(s) that have been set in the scope.

burp target

It will ensure that any potentially malicious traffic or payload(s) will not get any web application which you are not authorized to test. Go to Target > Scope, click Add and insert the target URL which you are authorized to test. You can also right-click a request anywhere in Burp and choose Add to scope.

Searching for a specific term

You can rely on Burp Suite to make complicated things easy for you. You can search for any specific term or keyword from the ton of data and information just by typing a keyword. It becomes convenient when you have to look for details like a username or password from the bug results pages. Like I have searched for the “test” parameter which I can further process later.

burp term

Searching for a specific term or keyword from the Request or Response data, you need to select a request from the Request Queue and then navigate to either Request tab or Response tab from where you would like to search and enter your desired keyword in the textbox below. It will highlight the text in yellow colour for whatever will match your query keyword.

Using the Crawler (Professional)

Starting with what the spider is? A creepy insect? No. In the web terminology, a spider (today Burp calls it the crawler) is a process where a robot goes to the internet and crawls through all of the pages that are available on the target web application. All the pages it finds on the specific web application get added to the site map under the Target tab.

The separate Spider tab was removed from Burp years ago. Crawling is now part of Burp Scanner and is available in Burp Suite Professional only. Community Edition users can still browse the app and build the site map through the proxy.

burp sitemap

In Professional, right-click the host in the site map, or click New scan on the Dashboard, and choose a crawl. Set your scope first, as in this Burp Suite tutorial, so the crawl stays on the target you are allowed to test. The screenshot shows the old Spider control tab.

burp spider

Using the Repeater

The Repeater tab is another one of the most useful features in Burp Suite. I use it hundreds of times during a penetration test. It is used to manipulate any part of the HTTP request including its header and to watch the behaviour of the data which comes back from the server.

To send and process any request in the Repeater, you need to select and right click on any of the requests from the Request queue and select “Send to Repeater”. Alternatively, there is also a shortcut key that is Control + R to perform this task. Do this from Proxy > HTTP history.

burp repeater

Next click on to the “Repeater” tab and make your desired change in the HTTP request, in this Burp Suite tutorial I have made the changes in the value of pid parameter from 1 to 100 and I hit the Send button (it was called Go in 2019) and then you can observe the changes in the response from the web application server according to your request which you manipulated.

burp repeater

Using the Intruder

The Intruder comes into play when you perform automated testing instead of the manual one. The Burp Intruder is a powerful way to perform automated or semi-targeted fuzzing. In Community Edition, Intruder is a rate-limited demo, so large attacks are slow there. You can target it against one or multiple parameters in the HTTP request at the same time.

To send and process any request in the Intruder, you need to select and right click on any of the requests from the Request queue and select “Send to Intruder”. Alternatively, there is also a shortcut key that is Control + I to perform this task.

burp intruder

Now go to the Intruder tab. You will see the payload positions, wrapped in § characters, already highlighted by Burp Suite. You can choose your own choice of position or any position suggested by the Burp Suite. In this Burp Suite tutorial, I have gone along with the Burp Suite suggested position.

burp intruder

Now head over the Payloads panel and choose the type of payload you want to target against the specific position and click the “Start attack” button. It will push all the payloads against that specific input parameter and shows the results in detail.

burp intruder

Passive Scanning (Professional)

Whenever you go to the browser and visit some pages of the target web application the Burp Suite passively goes into the details of those web pages and analyzes them for the security and other issues and report them in the Issues section which is number 5 on the main interface.

burp issues

The Scanner is part of Burp Suite Professional and is not in Community Edition. In Professional, you can scan a host by selecting it in the site map, right-clicking it and choosing a passive scan. The exact menu entries differ from the 2019 screenshot. It never sends any request to the web server, instead it only analyzes the data that has already been sent by the user while browsing the particular web application.

burp scanning

Active Scanning (Professional)

In active scanning, Burp Suite goes over to the target web application and analyzes and explores it more actively and in greater detail and analyzes it for security and other issues and reports them in the Issues section which is number 5 on the main interface.

burp issues

In Professional, you can start an active scan from the same right-click menu on the host, or with New scan on the Dashboard. Only run it against targets you are authorized to test. It sends different types of requests to the web server and creates and analyzes the that it got from the particular web application.

burp scanning

Utilizing Sequencer

The function of the Sequencer is to check the level of randomness in session tokens provided by the web server. It performs various types of advanced tests to figure it out. In most cases, the session tokens are used to provide authentication for a user so they should not get compromised. The web server must use a high degree of randomness for session tokens, so an adversary can not guess it.

You can perform this test by selecting any request from the Request Queue and right click on it and choose “Send to Sequencer”.

burp sequencer

Move on to the Sequencer tab, then under the Live Capture sub-tab, hit the “Start Live Capture” button.

burp sequencer

Now the Sequencer will repeatedly send the request, thus obtaining a high number of session IDs. The recommended amount to capture is a minimum of 1000 session IDs for an accurate analysis. Once it reaches 1000, click the Stop button and click “Analyze Now” button, it will provide the result through various statistical tests to determine the randomness.

burp sequencer

Decoder

The Decoder feature is used to decode or encode the data between the different types of encoding schemes. You can enter the encoded data into the encoded field and decode it into plaintext or any other encoding you like. In this Burp Suite tutorial, I have decoded a Base64 encoded string and decoded it into plaintext. You can do the same vice versa.

burp decoder

Comparer

The Comparer is the feature of Burp Suite which is used to perform a comparison between any two requests, responses or any other form of data. It could be useful when comparing the responses with different inputs or results. It will show the comparison in the highlighted color.

burp comparer

Using the Third Party Extension

Burp extensions are made to enhance the capability of Burp Suite by including the extension in the Burp Suite framework that were developed by other Pentesters. Click on the Extensions tab within Burp Suite (it was called Extender in 2019) and click the BApp Store sub-tab. Select your desired extension and click “Install” to add it to Burp Suite.

burp extensions

Exporting the Results (Professional)

Once you have collected all the results, you might want to generate some reports. Report generation is part of Burp Suite Professional. There are two report formats available, HTML and XML. To create a report, select all the issues which you want to be included in the report, then press right click and choose “Report selected issues”.

burp export

Go through the Wizard and select which items you want in your report and which format. The HTML report can be opened in any browser.

Saving the Burp Session (Professional)

Many times during a penetration test, it is necessary to pause or hold the assessment and continue any time later, or you will be required to share your session with another security analyst. In these situations, the easiest thing is to save a local copy of your session. Burp Suite Professional does this with project files: choose a project file when you start Burp, or use the Burp menu to save a copy of the project. Community Edition only offers temporary projects, which are lost when you close Burp. The screenshot shows the old “Save legacy state file” entry.

burp save

It will create a file which you can restore at any point or share with another consultant.

FAQ

Is Burp Suite Community Edition free?

Yes. Community Edition is free and includes the Proxy, Repeater, Decoder, Comparer and Sequencer. Intruder is a rate-limited demo, and the Scanner, crawler, report export and project files need Burp Suite Professional.

Do I need to configure my browser to use Burp Suite?

No. Click Open browser on the Proxy > Intercept tab and use Burp’s built-in browser, which is preconfigured. For Chrome or Firefox, point the proxy at 127.0.0.1:8080 and install Burp’s CA certificate from http://burpsuite to avoid HTTPS warnings.

Why is Burp Suite not intercepting any traffic?

Check that Intercept is on, the proxy listener is running on 127.0.0.1:8080 under Settings > Proxy, and your browser actually uses that proxy. Also check that no other tool already uses port 8080.

Where did the Spider go?

PortSwigger replaced it with the crawler, which is part of Burp Scanner in Burp Suite Professional. Community Edition has no crawler, so you build the site map by browsing through the proxy.

No. Only test applications you own or have written permission to test. Set the Target > Scope first so Burp does not send requests to anything else.

Conclusion

This Burp Suite tutorial has covered a lot of details, and hopefully, after reading this article, you would feel confident while performing a Web Application Penetration Test. We have even a tutorial on Burp Suite that is demonstrating how you can use it in different scenarios which you can find here. You should also experiment with all the features of Burp Suite and test them hands-on. And do comment below, tell us how was your experience going through this tutorial.